Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

my small linear interpolator

For general discussion related FlowStone

Re: my small linear interpolator

Postby RJHollins » Thu May 23, 2013 12:04 am

Thanks for citing an example 'tester' !

Gives me something to hang on to as I follow along ... and definitely a useful programming concept.

Thanks!
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: my small linear interpolator

Postby tester » Thu May 23, 2013 12:08 am

You're welcome.

The size of that X,Y table is not limited. By making it denser (more points) - you get more accurate curve, but I guess at greater arrays - it will start to work slower (may be of importance if using multiple at once).

It would be interesting to compare various (as many as possible?) interpolation approaches.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: my small linear interpolator

Postby Drnkhobo » Thu May 23, 2013 8:38 am

Thanks tester ;)

Its quite awesome actually! I suppose its like a function then, which can be used for calculating/deploying volume loudness curves?
Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: my small linear interpolator

Postby tester » Thu May 23, 2013 9:35 am

Yes. But you can also track other parameters this way.

Regarding loudness curves, there are two additional topics:
viewtopic.php?f=2&t=1373
http://synthmaker.co.uk/forum/viewtopic ... 12&t=12071

I created this one, because I wanted to understand what actually I'm looking for, and how it should work. I needed to "mess from scratch" so to speak.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: my small linear interpolator

Postby acg2010 » Sun May 26, 2013 3:28 pm

@tester

While I have not have the chance to check out your schematic, your project sounded interesting and might help me in my project. I am working on a guitar cabinet sim. My first idea was to obtain readily and freely available on the internet (guitar forums, cab manuafacturers, etc.) frequency response curves of actual guitar cabs, then digitize that graph to obtain x (frequency) and y (db) values. These would be used either in an array or used to generate a transfer function that would modulate the volume depending on the frequency. Your interpolator work seems to fit well with the array approach. Of course this is just a simplistic approach as it would not create any phase distortion/shift that a real guitar cab might.

Does my approach make sense? Would just modulating volume or db of the input signal according to the frequency accomplish what I am trying to do?
acg2010
 
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

Re: my small linear interpolator

Postby tester » Sun May 26, 2013 8:51 pm

I know that I may look like a guru, but unfortunately I am not one yet. ;-)
But let me clarify what (I think) this module can, and what can't.

1. You can automatically have different scalings for one input value.
(you can obtain input freq from pitch tracking elements)

2. You can assign different correction curves, depending on secondary input parameter
(like fundamental gain ranges, or some gain-to-gain rations, or else)

3. It will not work directly for live compensating FFT spectra of an input signal.
(consider FFT spectra as multiple input values at once).
For this one - you would require some sort of a filter?

My design here is rather simple. You probably rather will need filters, that will add a curve to FFT spectra - live.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: my small linear interpolator

Postby tester » Sat Jun 15, 2013 1:08 am

Following the idea - how to make it in streamed version, to pass blue wires through?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: my small linear interpolator

Postby tester » Mon Jun 24, 2013 1:56 pm

Is it possible to make stream version of such type of interpolator/follower?

Two options are in the game I guess: external array of correction values (would be great) or internal list (fixed).
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 80 guests