Best way to trigger sound files to reduce latency

icilian fenner's icon

I've been recently attempting to make a patch that uses the onset of a sound to trigger a stored sample. The band I'm making this demo for is super-funky, which means I want to reduce latency to as small a value as possible.

As far as I'm aware, max runs on a slower refresh rate than MSP, so I was wondering if there was a way to take a signal with that switches to 1 to trigger a sound file [i]without[/i] using edge or somesuch to take the process into max. Am I right in my impression? and if so, have any of you got any suggestions for a purely MSP way to play a buffer/file.

Many thanks,

Hugh

Jesse's icon

[thresh~] or [>~] connected to [edge~] triggering [groove~] should be pretty responsive.

While you're right that the audio rate processing is happening much faster than the Max scheduler, your perception of latency in this case is probably more tied to the I/O settings of your audio interface (I/O and signal vector size in DSP Status) and the inherent latencies of your interface's connection to the host computer (USB vs. Firewire vs. PCI).