[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Multi-voice sound file to single-voice sound files



hi,

there is a bug in the "/b_readChannel" implementation of scsynth :

b = Buffer.alloc( s, 32768 );
s.listSendMsg( b.readChannelMsg( "/Volumes/Loomis/Kalligraphie/ Papier1.aif", 0, 32768, channels: [ 0 ]))
----> "Channel mismatch. Requested 2 channels. Buffer has 1 channels."
s.listSendMsg([ "/b_readChannel", b.bufnum, "/Volumes/Loomis/ Kalligraphie/Papier1.aif", 0, 32768, 0, 0, 0 ])
----> ok works

the error occurs when a completionMsg is provided. seems it counts the last argument for another channel index...

ciao, -sciss-



Am 31.12.2006 um 19:55 schrieb Joshua Parmenter:

(\b_allocReadChannel, 0, f.path, 0, 0, i,