Forums > MaxMSP

Audio file loading – mono and multichannel compatibility

July 2, 2008 | 2:08 pm


I am working on a kind of multichannel sound file player. This player should be able to load audio files by two ways:

(1) loading a N-channel interleaved audio file to the first N channels of the system

(2) loading one single mono file to one specific track of the system

I can’t find a solution that fits both the (1) and (2) requirements. Here are the limitations I encountered (the examples are given for a 6-track system):

- using [sfplay~ 6] or [buffer~ x 6], how can you load ONE MONO FILE to the third track of [sfplay~ 6] (or [buffer~ x 6]) and leave the 5 other tracks untouched ?

- using six [sfplay~ 1] or [buffer~ x 1], how can you load THE THIRD CHANNEL OF A 6-CHANNEL INTERLEAVED FILE to the third [sfplay~ 1] (or [buffer~ x 1]) ?

Thanks for your help

July 3, 2008 | 9:57 am

May someone confirm that it’s not possible to do this ?

July 3, 2008 | 1:46 pm

On 3 juil. 08, at 11:57, julienbreval wrote:

> May someone confirm that it’s not possible to do this ?

I would use a 6 tracks [sfplay~ 6] and route its right output to the
correct system track with [matrix~]. With [sfinfo~], you can get the
number of tracks in a file and take some decisions about the routing.
Or I would use only mono files read with a mono [sfplayer~ 1] and
route them.

But I don’t think you can do what you’re after.


Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

Viewing 3 posts - 1 through 3 (of 3 total)