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

Ease the hard switching

For general discussion related FlowStone

Re: Ease the hard switching

Postby stw » Sat Feb 08, 2014 9:06 pm

Forget the follower thing. It was just a fast mockup of a first idea. But it does nothing else than the DeZipper Nubeat mentioned. I totally forgot that the easiest solution is already in your toolbox :lol:
However i think i don't fully understand what you're trying to do so i can't give any serious advice here. Just keep in mind that switching any a stream with a selector causes audio glitches. No matter if the stream is muted or faded out pre or post the selector.

BTW: There are others here or the SM forum which do way cooler things than what i do.
stw
 
Posts: 111
Joined: Tue Jul 13, 2010 11:09 am

Re: Ease the hard switching

Postby RJHollins » Sat Feb 08, 2014 9:13 pm

Hi TrojakEW,

I started with the HARD switcher ... using the MULTIPLEX PRIM ... that worked BUT was not pleasant to hear in the real-world scenario.

Right now I'm trying to work a type of fade OUT and then fade IN during the switch over from stereo MAINs to Stereo AUX.

I have a basic concept wired up ... I've just now discovered that I need to be able to reverse the order. Hard to explain ... easy to hear when it's a problem. But basically trying a fade out [using SLIDE], with a delayed fade-IN [SLIDE].

Trouble I'm at, when it comes time to switch back, I need to change the order of the fade IN and OUTS.

Kinda tricky this one :lol:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Ease the hard switching

Postby RJHollins » Sat Feb 08, 2014 9:22 pm

stw wrote:Forget the follower thing. It was just a fast mockup of a first idea. But it does nothing else than the DeZipper Nubeat mentioned. I totally forgot that the easiest solution is already in your toolbox :lol:
However i think i don't fully understand what you're trying to do so i can't give any serious advice here. Just keep in mind that switching any a stream with a selector causes audio glitches. No matter if the stream is muted or faded out pre or post the selector.

BTW: There are others here or the SM forum which do way cooler things than what i do.

Hi stw ... ok ... but it DID work!

But I think you're getting the right sense of the problem ... I AM having to switch audio streams. The 'glitch' can be enough to hit the PEAK LED in the DAW.

It did seem to help using the FADE OUT and IN.

But your last sentence was like ........ a LAST SENTENCE :shock:
:lol:

So I wonder ... if the switching is going to be audible ... well ... if I first fade OUT, Switch, then fade IN ... might this not soften the transition??
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Ease the hard switching

Postby TrojakEW » Sat Feb 08, 2014 10:39 pm

I was trying to do something similar before with multiplex and was able to do it with trigger delay, but this also cause lag to preset change. So I never get really "working" version. Only solution for me was asm multiplex.
User avatar
TrojakEW
 
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia

Re: Ease the hard switching

Postby Nubeat7 » Sun Feb 09, 2014 1:31 am

so you dont really wish a slide or, it just would be to avoid glitches...

here i have 2 more solutions, one is just a simple if statement in code form, which shouldnt produce any glitches when switching

the second is like fade out before setting the channel to 'off' and fade in after setting the channel to 'on'
here are selectors in use to disconnect the channel completely which also results in recompiling the prject
Attachments
xfade_switch.fsm
(7.68 KiB) Downloaded 748 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Ease the hard switching

Postby RJHollins » Sun Feb 09, 2014 4:04 am

Nubeat7 wrote:so you dont really wish a slide or, it just would be to avoid glitches...

here i have 2 more solutions, one is just a simple if statement in code form, which shouldnt produce any glitches when switching

the second is like fade out before setting the channel to 'off' and fade in after setting the channel to 'on'
here are selectors in use to disconnect the channel completely which also results in recompiling the prject

Absolutely AMAZING Mr NuBeat ! :o :shock: :D

I just 'real-world' tested the 'second' design ... that being the fade out-off-fade in. I tested at the 1000ms setting first ... smooth :lol:

I then went back, cleaned up a small section of my code, and then knocked the transition time down to 250ms.
Everything transitioned wonderfully ... even doing a 'master bypass' that switches 8 samplers ... not even a HINT of a glitch or any time warp dance :o

This is fantastic !!

Of course, I went inside to take a look ... just a handful of PRIMS :roll: but, the logic AND the solution ... it works!!
I just learned a little something with the way you handled the selectors with yin/yang conditions. It's such a simple, elegant way of handling those dual conditions ... I just never thought to do it that way. [I won't tell ya how I've been doing them ... but I'll start setting the condition straight at the input].

Thank-you NuBeat ... this put a nice smile to whats been a rough time. Much appreciated.

I need to test the transition time to see how tight we can go with this. The 250 worked great ... but I have a feeling I can halve that [or less]. This is something that I need to add to another project ... glitch-LESS transition.
Even my monitors are happy about this !!!
:lol:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Ease the hard switching

Postby Nubeat7 » Sun Feb 09, 2014 11:55 am

you `re welcome Rj,
if the green triggerdelay isn`t precise enough at small times (20ms or so) you could use a ruby triggerdelay which should be more precise (this you also can do in samples)..
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Previous

Return to General

Who is online

Users browsing this forum: Google [Bot] and 88 guests