Req: How to eliminate clicks/pops with Selector

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

Req: How to eliminate clicks/pops with Selector

Postby sunsynth on Fri Sep 15, 2006 9:53 pm

I use Selectors for disable/enable Effects.

When i switch an Audio-Stream in action the selector produces distortions!

My 1st Idea is: bridge the selector and after timer-delay open the bridge...

The reason 4 this is - i don't want to mute a live signal!

Are there any other technics to avoid these artifacts? DC-Filter etc. ?

SUN
User avatar
sunsynth
smaniac
 
Posts: 1494
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Postby MyCo on Fri Sep 15, 2006 11:22 pm

you could use the code component to build a smooth fade-in of the effect signal.

But there is a disadvantage: the effect section is always on, so it uses a lot of CPU power even if it is switched off.
User avatar
MyCo
smaniac
 
Posts: 1016
Joined: Mon Dec 19, 2005 1:43 am
Location: Germany

Postby Shifrin on Sat Sep 16, 2006 10:23 am

This is something that bugged me in the past - ideally the devs could write a new selector for stream signals with a user-definable fade-out/fade-in time when switching between signals ;)

I had a look into this, using a code component after the selector you can cause the new signal to fade in when the selector changes. That's pretty easy, the hard part is fading the old signal out. By definition when the signal path changes in the selector you no longer have access to the old signal so there's no simple way to fade it out! You need AFAIK both the old and new signals running at the same time in order to fade one out and the other in without clicks.

I've got an idea that uses two selectors both connected to the same streams. One selector routes the main stream, the other routes the previously chosen stream if that makes sense. Then you can fade between them easily. The downside is this requires two streams to be running continuously. Then again if you did it all in code you have all of the streams that would have been connected to the selector running so there's still the chance to reduce CPU if you have more than 2 streams connected to the selector!

Whew! Don't know if any of that makes sense, I'll try to build a schematic to do it - unless someone else has a more elegant solution ;)

Shif.
User avatar
Shifrin
smaniac
 
Posts: 1498
Joined: Sun Mar 06, 2005 1:54 pm
Location: Newcastle, UK

Postby sunsynth on Sat Sep 16, 2006 10:38 am

Thanks MyCo & Shifrin...

@MyCo: 1. i don't know how 2 code this, 2. i want 2 reduce cpu-use

@Shifrin: Yes - 2 me that makes sense!
Please try to build a schematic to do it

SUN
User avatar
sunsynth
smaniac
 
Posts: 1494
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Postby Shifrin on Sat Sep 16, 2006 11:36 am

sunsynth wrote:@Shifrin: Yes - 2 me that makes sense!
Please try to build a schematic to do it


I'll give it a go, can't promise if/when I'll post anything though ;)

Shif.
User avatar
Shifrin
smaniac
 
Posts: 1498
Joined: Sun Mar 06, 2005 1:54 pm
Location: Newcastle, UK

Postby sunsynth on Sat Sep 16, 2006 12:36 pm

Fine... I'll try it also, but with my little knowledge... ;-)
User avatar
sunsynth
smaniac
 
Posts: 1494
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Postby Shifrin on Sat Sep 16, 2006 2:19 pm

Just a little update, I've tried to do what I described but I still get clicks. So either there's some error with what I've done - or this is down to the selector switching not being sample-accurate - or maybe both - or something else entirely due to the nature of the relinking of code when using a selector :o

If I can't get it to work I'll post what I've done and maybe someone else can fix it - I know people have asked about this in the past but the fact I'm not aware anyone has posted a solution to this (including the devs) makes me think it might not be possible. Then again maybe someone's worked it out but wants to keep it private for commercial endeavours ;)

Shif.
User avatar
Shifrin
smaniac
 
Posts: 1498
Joined: Sun Mar 06, 2005 1:54 pm
Location: Newcastle, UK

Postby sunsynth on Sat Sep 16, 2006 2:48 pm

Hmm...

I'm fiddeling with Triggers...Triggers...Triggers...
FlipFlop...timers...Sliders...Switches...Led's...Selectors...

i think i must not only write down some notes...
a Timesheet is needed 4 this more and more growing Project... ;-)

SUN
User avatar
sunsynth
smaniac
 
Posts: 1494
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Postby sunsynth on Sat Sep 16, 2006 7:03 pm

It's done: (1st Version)
Image

and:
Image

blender mono source: rl

i left the diagnose Led's just for fun!

Who has a better Name for this beauty? she don't like big Level dif.

After 6 days trial my 1st Module :-) :-) :-)

P.S: Who want's .OSM? PM me... Say what...

Ooops i forget: YYEESS - this Beauty reduces the CPU Load!
User avatar
sunsynth
smaniac
 
Posts: 1494
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Postby Shifrin on Sun Sep 17, 2006 11:15 am

Check this thread out - example posted :-

http://www.synthmaker.com/forum/viewtopic.php?p=25725

Shif.
User avatar
Shifrin
smaniac
 
Posts: 1498
Joined: Sun Mar 06, 2005 1:54 pm
Location: Newcastle, UK


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest