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

audio on and off switch

For general discussion related FlowStone

audio on and off switch

Postby ordinarydyon » Sat May 30, 2015 5:38 pm

hii there im new here and i have a problem i need a stereo on and off switch for a audio signal but i dont know how to make that can please anybody help me out please i willl appreciate it a lot
:)
ordinarydyon
 
Posts: 12
Joined: Fri May 29, 2015 11:46 am

Re: audio on and off switch

Postby glitchcpt » Sat May 30, 2015 9:02 pm

Just use the stock "stereo amp", open it up, remove the knob and replace it with a switch, wire the Boolean output to the Float input and should work ;)
glitchcpt
 
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: audio on and off switch

Postby Spogg » Sun May 31, 2015 11:28 am

I remember looking in the toolbox for such a thing when I started on my addiction.
In fact the multiplexor is dead easy to use for this. Here's a little module ready to go. It can be used for many signal types based on what you wire into it.

Have fun with Flowstone but beware of becoming dependant!

Cheers

Spogg
Attachments
Signal on-off and changeover.fsm
simple but useful (I hope)
(354 Bytes) Downloaded 837 times
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: audio on and off switch

Postby ordinarydyon » Sun May 31, 2015 4:55 pm

thank you !!!!!! this helped me out im verry happy now
ordinarydyon
 
Posts: 12
Joined: Fri May 29, 2015 11:46 am

Re: audio on and off switch

Postby MyCo » Sun May 31, 2015 5:21 pm

Don't use multiplexer in streams, they don't disconnect the "off" path. Use selectors instead, this'll reduce the CPU usage a lot. Selectors force a recompile of the stream processing code, so only the parts that are "on" are using CPU. All other parts are completely shut down.
Attachments
Stereo switch.fsm
(3.7 KiB) Downloaded 821 times
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: audio on and off switch

Postby Spogg » Sun May 31, 2015 6:03 pm

Hi MyCo

This is "fascinating" (as my second cousin Spock would say).

I found just the opposite when developing my Quilcom Adder. I started using selectors to disable a Partial strip when the partial ratio was set to zero (turning off the audio output to avoid CPU load) but I had problems until I used the Multiplexor. I can't recall the exact issues but I can look back into my Devs folder if there's any interest. I believe the issue was in the resulting VST, in Reaper.
My problems seemed counter-intuitive - to have to switch the output routing rather than the input side. One would expect either to work but, in spite of my searching for a reason, I had to concede and go with the Multiplexor because this worked and did what I wanted it to do.

This is a great forum and I love it when the experts get involved!

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: audio on and off switch

Postby RJHollins » Sun May 31, 2015 9:19 pm

I can't recall the exact issues but I can look back into my Devs folder if there's any interest. I believe the issue was in the resulting VST, in Reaper.

I'd be interested.

I had a small VST plug that switched a stereo audio into 2 output pairs ... basically a audio router that would allow sending audio to one of 2 different paths.

The issue came when using the VST plug in the Plogue BIDULE chainer app. I contacted Plogue support and they were not able to help.

I'm still looking for a workable solution.

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

Re: audio on and off switch

Postby Spogg » Mon Jun 01, 2015 5:10 pm

Hi

I've had a look at my development stages and, naturally, I didn't save the non-working output switching. I develop and experiment in stages and only keep the stages that work as they should.
I do recall the issue though. When I selected a preset that had a channel (synth) with a Ratio set to zero the selector disconnected the routing from the synth but the complete audio went off. Clear Audio Prim didn't bring it back. I had to unload and reload the VST. This was eventually cured by using the Mulipexor to disconnect the poly audio stream instead of the selector.
However, I can't reproduce this behaviour. I threw together a 2 channel (double) synth and tried both methods, multiplex and selector, to turn off the streams, and it worked as one would expect. Both otherwise identical instruments worked fine in Reaper. The two version are below and I've upploaded these to show another point or two. Both output switching methods work and both seem to result in the same reduction in CPU cycles when one or both synth channels are switched off (slider switch).
Something else happened which was new to me. If I bought out the poly streams and fed both into a single combiner outside the synth modules I could only ever hear the last one I connected. Prviously I was able to wire multiple streams into one combiner and hear them all, as is the case with my Quilcom Adder.
I have to assume that this change may be due to me going from FS 3.07 to 3.08.1 and also the Reaper version is new and that may have some influence.
Any ideas?

Cheers

Spogg

EDIT: Just to be clear, the original Selector-based problem was only in the VST, tested in Reaper. It worked fine in Flowstone.
The combiner issue I mentioned is in Flowstone, 3.08.1.
Attachments
Using selector to switch poly output.fsm
(104.89 KiB) Downloaded 817 times
Using multiplexor to switch poly output.fsm
(105.01 KiB) Downloaded 804 times
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England


Return to General

Who is online

Users browsing this forum: No registered users and 119 guests