clickless audio cut


    Mar 29 2013 | 9:57 pm
    Hey there , I'd like to make an audio cut (1 or 0) in Max MSp , as I'm building a scratching system like Ms Pinky or Serato.
    I'm controlling from the APC40 crossfader and my current way to do is pretty simple :
    I'm multiplicating my audio signal with a signal being 1 or 0, it works but it makes CLICKS when 0 occurs at non zero signal value time.
    I know of the zerox~ object it I'm struggling to make it work . , it is outputting click at zero crossing, but how to convert this into a bang?
    or mybe there a btter solution than zerox~?
    merci !

    • Mar 30 2013 | 12:06 am
      zerox~wont tell you when the signal is at 0. at signal rate, so it doesnt do this job at all.
      furthermore, cutting a signals at 0. doesnt automatically ensure that there will be no clicks.
      your best bet is to use in/out interpolation between 0. and 1. using [line~ 40.] or higher. (40 ms = 25 Hz)
      -110
    • Mar 30 2013 | 3:15 am
      I think MSP Tutorial 2 will be helpful for you.
    • Mar 30 2013 | 3:47 am
      wow thanks guys ! awesome !
    • Mar 30 2013 | 9:47 pm
      hi, I may have done something wrong but there is is a huge delay ( around 45-50 ms) even if I set the ramp time to 10 ms , which makes my scratching impossible . (especially the high fast motion one)
      Please see the patch attached , I also tried 1ms , same problem , it seems that teh system cannot keep up (
      Thanks for your help .
      [attachment=219512,5337] [attachment=219512,5338]
    • Mar 30 2013 | 9:52 pm
      PS: I also tried with 500ms and 1000ms at start , and it worked fine ( despite being unusable for live performance) .
      Also, the clicks are still audible with the ramp, beside the big delay .
    • Mar 30 2013 | 10:08 pm
      I found the issue with the delay : the number~ box has its interval time, I jut removed it ( as it iwas useless to go to Max Signal amnyway)
      no more delay, but still the click, it seems my ramp isnt working , see picture ..
      I will think more then :)
      [attachment=219515,5339]
    • Mar 31 2013 | 12:11 am
      problem solved ! my 0-1 input from crossfader MIDI values wasn't clean, I was continuously sending 1 when crossfader was opened, which made the line reset each time , thus the weird behavior!