clickless audio cut

Mar 29, 2013 at 9:57pm

clickless audio cut

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 !

#67395
Mar 30, 2013 at 12:06am

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

#242449
Mar 30, 2013 at 3:15am

I think MSP Tutorial 2 will be helpful for you.

#242450
Mar 30, 2013 at 3:47am

wow thanks guys ! awesome !

#242451
Mar 30, 2013 at 9:47pm

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]

Attachments:
  1. delay.JPG
#242452
Mar 30, 2013 at 9:52pm

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 .

#242453
Mar 30, 2013 at 10:08pm

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]

Attachments:
  1. click.bmp
#242454
Mar 31, 2013 at 12:11am

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!

#242455

You must be logged in to reply to this topic.