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
Filter construction kit
Re: Filter construction kit
Yes I know it is not optimal. But it is the only option at the moment for complete double float filter design
User Guide Quote:
User Guide Quote:
FlowStone processes high data rate signals such as audio using Streams. These allow you to perform
one-sample-at-a-time processing at rates of 44.1Khz and beyond with minimal compromise in
performance.
Frames allow you to process this data via the Ruby component without losing a single sample.
Because of the high data rates involved you can't do this processing one sample at a time – the
processing overhead would be way too much. What we can do is give you access to the data in
batches of samples. We call these batches Frames.
Processing frames in Ruby can never compete with the speed of streams, so there is a performance
cost. However, if squeezing everything out of your cpu is not that critical then, together with Ruby,
Frames provide a very flexible way of analysing high data rate signals.
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Filter construction kit
tor wrote:Back to the filter topic. Is it possible to make a biquad filter in the Ruby component?
Not exactly what you want, but I've added ruby filter processing to the kit... but it's not only biquad, I made it for multipole filters, because it's not possible to do this in code.
Toolbox Update
- Added Multi-Coeff processing module
Downloads are in the first post.
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Filter construction kit
By "code" do you mean the Code primitive, or Ruby-code?MyCo wrote:Not exactly what you want, but I've added ruby filter processing to the kit... but it's not only biquad, I made it for multipole filters, because it's not possible to do this in code.tor wrote:Back to the filter topic. Is it possible to make a biquad filter in the Ruby component?
- infuzion
- Posts: 109
- Joined: Tue Jul 13, 2010 11:55 am
- Location: Kansas City, USA, Earth, Sol
Re: Filter construction kit
infuzion wrote:By "code" do you mean the Code primitive, or Ruby-code?
Yeah, I mean the code primitive and assembler, too.
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Filter construction kit
Thank you!
Nice work but why does this thing not work now. I changed the green array connectors to ruby connectors. Then I got an Nil error in the filter component regarding loadstate method. I just tried to move it to the top. Then the error disappeared but I get no audio any more.
***Edit: I just found that moving the frequency knob made the sound reappear
Just a little wish: Would love to see more comments in your code. Like more decriptions of how, when and why things happen in the code.
***Edit: I also wonder if the code in the coeff ruby component get calculated every sample now or only when the green inputs change? Is there ways to simplifiy it?
Nice work but why does this thing not work now. I changed the green array connectors to ruby connectors. Then I got an Nil error in the filter component regarding loadstate method. I just tried to move it to the top. Then the error disappeared but I get no audio any more.
***Edit: I just found that moving the frequency knob made the sound reappear
Just a little wish: Would love to see more comments in your code. Like more decriptions of how, when and why things happen in the code.
***Edit: I also wonder if the code in the coeff ruby component get calculated every sample now or only when the green inputs change? Is there ways to simplifiy it?
Last edited by tor on Thu Feb 28, 2013 12:20 am, edited 1 time in total.
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Filter construction kit
Well, your ruby in the schematic is in an undefined state, maybe because of your changes. You can fix that this way:
1. load schematic
2. edit something in the ruby code (just insert spaces or comments)
3. then click outside the ruby edit (the ruby error should be gone now)
4. turn the filter knobs
5. save schematic
I added 2 fixes to the code, so maybe, this doesn't happen anymore.
1. load schematic
2. edit something in the ruby code (just insert spaces or comments)
3. then click outside the ruby edit (the ruby error should be gone now)
4. turn the filter knobs
5. save schematic
I added 2 fixes to the code, so maybe, this doesn't happen anymore.
- Attachments
-
- RubyFilter.fsm
- (132.45 KiB) Downloaded 1547 times
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Filter construction kit
Great!
Thanks again.
Have you seen my recent edits in comment above?
Thanks again.
Have you seen my recent edits in comment above?
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Filter construction kit
The coeff calculation, eg. in the RBJ is just as simple as possible. So the coeffs are recalculated on every incoming green trigger. In the filter processing, it is a little bit more optimized. The coeffs come in, are validated and stored for the filter processing. The filter processing can be optimized, but the code can get very complex then, and I don't think that this would make sense, because Ruby & Streams is slow as hell, and nobody should use that in plugins/programs.
The comment thing is just: I know what lines do (ruby is quite good readable)... and also as long as there is no code folding, I don't want to waste space
The comment thing is just: I know what lines do (ruby is quite good readable)... and also as long as there is no code folding, I don't want to waste space
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Filter construction kit
Ok, thank for answering and help
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Filter construction kit
Documentation Update
- Fixed some spelling here and there
- changed Introduction
- Added some more explanations to several calc. steps
Downloads are in the first post.
- Fixed some spelling here and there
- changed Introduction
- Added some more explanations to several calc. steps
Downloads are in the first post.
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Who is online
Users browsing this forum: Google [Bot] and 89 guests