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
Generate data set from curve
4 posts
• Page 1 of 1
Generate data set from curve
Hi folks,
Got a question. I would like to generate a table of data points, from an arbitrarily drawn waveform curve. My intent is to use the generated data to generate a polynomial algorithm that I can subsequently use in a lookup table, that I can ultimately use to characterize waveform shapes. My ultimate goal is to be able to sample a signal over period, t, generate an algorithm, and if the coefficients fall within a certain range, match that up in a lookup table that corresponds to certain waveforms. I want to empirically sample several sequential different waveform samples, and have them stored in a table, and perform a go, no-go check on subsequent samples as being similar.
I've seen several waveform GUI's, that I can perhaps modify a bit to do what I'd like, but was wondering if the forum had any other ideas on how to best approach this. I would need the ability to add points as needed on the curve, as well as set the X and Y range and resolution.
Since a picture is worth a 1000 words and all that, I've included a .fsm that illustrates what I'm talking about. Obviously its non-functional, but I'm using the wire to illustrate how the waveform can be manipulated. Anyone know of an example I can use to modify to do this?
Heck, if anyone knows of a third party application that can generate data from a drawn waveform, would be useful, even if I had to purchase it.
Thanks in advance for any help.
Got a question. I would like to generate a table of data points, from an arbitrarily drawn waveform curve. My intent is to use the generated data to generate a polynomial algorithm that I can subsequently use in a lookup table, that I can ultimately use to characterize waveform shapes. My ultimate goal is to be able to sample a signal over period, t, generate an algorithm, and if the coefficients fall within a certain range, match that up in a lookup table that corresponds to certain waveforms. I want to empirically sample several sequential different waveform samples, and have them stored in a table, and perform a go, no-go check on subsequent samples as being similar.
I've seen several waveform GUI's, that I can perhaps modify a bit to do what I'd like, but was wondering if the forum had any other ideas on how to best approach this. I would need the ability to add points as needed on the curve, as well as set the X and Y range and resolution.
Since a picture is worth a 1000 words and all that, I've included a .fsm that illustrates what I'm talking about. Obviously its non-functional, but I'm using the wire to illustrate how the waveform can be manipulated. Anyone know of an example I can use to modify to do this?
Heck, if anyone knows of a third party application that can generate data from a drawn waveform, would be useful, even if I had to purchase it.
Thanks in advance for any help.
- Attachments
-
- waveform_example.fsm
- (913 Bytes) Downloaded 782 times
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
Re: Generate data set from curve
fixstuff555 wrote:would like to generate a table of data points, from an arbitrarily drawn waveform curve
Use 'draw wave osc", attach text prim to float array output...that's your table of data points..
X/Y Range is there but can be tricky to modify.....
The FS 'draw wave osc' uses ruby for the graph draw, and "it" advises that adding point data
to view is not effecient.
So to view the points on the wave, best probably to use the old SM draw wave,
has the points set up, and works great.
Hope this helps....
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Generate data set from curve
Here is the one MyCo built, that billv is referring to.
There is my mod there too.
IIRC there is something wrong with the preset recalling in the green & white one.
The grey one is my mod that fixes this.
Hope it speeds ur development
little edit-
AFAIK the wave is only 512 points long. I was resampling/interpolating it to 2048
If anyone can get this to be more than 512 samples long before resampling,
I would love to have that in my toolbox.
If you make it more than 512 points /samples long,
it glitches the last 16th of the form
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: Generate data set from curve
Both of those examples are great. thanks.
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 33 guests