MSP noob question: stop clicks between switching sound files


    Mar 21 2014 | 6:18 am
    Sorry for the noob question but I have very little confidence in the MSP world.
    I am trying to switch between several sound files playing on loops and can't work out how to stop the clicks that are intermittently  heard.
    I tried adjusting the mixer latency to 100ms but it has little effect. I gather that I need a combination of line~ and cycle~, but i'm just not sure where these objects should go when there are multiple files going to a single ezdac~.
    Any help is greatly appreciated!!

    • Mar 21 2014 | 1:05 pm
      Forget [selector~]
    • Mar 21 2014 | 2:05 pm
      Great thanks MATTYO!
      I was using selector~ as I thought it the best way to easily choose between several sound files. Would you mind elaborating on why it isn't a good idea?
      Your method seems great and i'll get back to the drawing board.
      Cheers.
    • Mar 21 2014 | 2:28 pm
      Since [selector~] switches between sound sources without any kind of interpolation (in essentially zero time) you're going to get a click. You need a fast fade in/out. If you're working with a bunch of sources, you might also want to look at [matrix~], which automatically interpolate if you have a third floating-point argument. Check out the docs.
      \M