Search code examples
audioprocessinginteractivepuredataminim

Overlapping one sound multiple times in processing


I'm working on the sound part of an interactive installation that would need an event to be triggered by osc an undefined number of times, making the sound linked to it overlaps instead of being rewinded and started again.

Would it be possible to do that without needing to make an array of loadings of the same sound?

I'm actually trying to do it with processing and minim library. Do you think it would be easier to achieve it with another programming software? I've found myself in the same difficulties trying to do it with puredata. Any tip or clue would be extremely welcome.

Thanks a lot.


Solution

  • You will need multiple readers ([tabread~] resp [tabplay~] in Pd; i don't know about Processing/minim, but the same principle applies) to read the table multiple times (in parallel), where each one can be started separately.

    However, you only need a single instance of your data array (e.g. [table]), as the various readers can access the same array independently.