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

Any Whittaker–Shannon Interpolation module?

For general discussion related FlowStone

Any Whittaker–Shannon Interpolation module?

Postby Nowhk » Sat May 05, 2018 9:50 am

Hi there,

I've a collection of 100 samples that describe a discrete signal (from 1hz to 40hz), and I'd like to plot a graph that show the analog/continuos-bandlimited signal after an ideal DAC.

Is there any Whittaker–Shannon Interpolation module out of the box that will already draw it?
Or somethings made by community in these years that emulate this?

Thanks
Nowhk
 
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Re: Any Whittaker–Shannon Interpolation module?

Postby martinvicanek » Sat May 05, 2018 7:37 pm

Here is one for sample size power of two.
Attachments
SincInterpolation.fsm
(8.9 KiB) Downloaded 795 times
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Any Whittaker–Shannon Interpolation module?

Postby Nowhk » Mon May 07, 2018 9:13 am

martinvicanek wrote:Here is one for sample size power of two.

Thanks for the help and the fancy module :) Tried to edit the input signal with a sin. But it messes the graph, not sure why:

sine.png
sine.png (41.57 KiB) Viewed 8481 times

Here's the DSP code:

Code: Select all
streamin sr;
streamin freq;
streamout x;
float i=0;
x = sin1(i/sr);
i = i + sr/freq;


Schematic:
SincInterpolation_Sine.fsm
(10.04 KiB) Downloaded 798 times

Sometimes, it draw correctly :) Where's the bug? Thanks
Nowhk
 
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Re: Any Whittaker–Shannon Interpolation module?

Postby Nowhk » Mon May 07, 2018 9:28 am

I think I've got it! I just need to retrigger the [F] SyncInterpolation module, so it propagates the changes ;)

Thanks boss!!!!
Nowhk
 
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm


Return to General

Who is online

Users browsing this forum: No registered users and 70 guests