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
Sine in ruby, output float.
9 posts
• Page 1 of 1
Re: Sine in ruby, output float.
it really depends on "what value do you want to get from the stream?"
- Attachments
-
- Frame to float.fsm
- (6.39 KiB) Downloaded 949 times
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Sine in ruby, output float.
Need real-time, Complex number, real numbers and imaginary unit.
- borodadada
- Posts: 47
- Joined: Sun Jun 02, 2013 5:58 pm
Re: Sine in ruby, output float.
Don't understand what you mean. Stream data has no imaginary parts.
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Sine in ruby, output float.
I guess it's about converted values into complex numbers. We had a lot of it on electronics looong time ago. Calculations made on complex numbers (a+ ib) refered to AC signals. @borodadada - better describe what you would like to get with it.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: Sine in ruby, output float.
guys, I can use any option, the amplitude values in real time, as in the picture I uploaded, need output with Ruby, in a numbers format.
- borodadada
- Posts: 47
- Joined: Sun Jun 02, 2013 5:58 pm
Re: Sine in ruby, output float.
white noise...............
Last edited by borodadada on Sat Aug 10, 2013 9:31 am, edited 1 time in total.
- borodadada
- Posts: 47
- Joined: Sun Jun 02, 2013 5:58 pm
Re: Sine in ruby, output float.
ohh... done
code not working... because sound card is not active, DS OUT
def event i,v
a = v.to_array
output(a)
end
for some reason, flowstone die.....
code not working... because sound card is not active, DS OUT
def event i,v
a = v.to_array
output(a)
end
for some reason, flowstone die.....
Last edited by borodadada on Sat Aug 10, 2013 10:09 am, edited 1 time in total.
- borodadada
- Posts: 47
- Joined: Sun Jun 02, 2013 5:58 pm
Re: Sine in ruby, output float.
MyCo, tester
Thank you very much. We began to teach programming a week ago, We began to teach the sound of 10 years ago. and very frustrating when such simple topics so hard to understand
Thank you very much. We began to teach programming a week ago, We began to teach the sound of 10 years ago. and very frustrating when such simple topics so hard to understand
- (_zb_)
- Posts: 1
- Joined: Sat Aug 10, 2013 9:53 am
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 122 guests