[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Multi-voice sound file to single-voice sound files
I think something like this would do what you want:
s.boot;
(
// make this the path to your soundfile... this is a test file I
used with three channels
f = SoundFile.new("sounds/DyneTromBF.aif");
f.openRead;
f.numChannels;
f.close;
f.path;
c = Condition.new;
Routine.run({
f.numChannels.do({arg i;
s.sendMsg(\b_allocReadChannel, 0, f.path, 0, 0, i,
// alter this below to make the pathnames you want
[\b_write, 0, "sounds/"++f.path.basename++i++".aiff"]);
s.sync(c);
("Channel "++i++" saved").postln;
})
})
)
Josh
On Dec 31, 2006, at 10:27 AM, TomD wrote:
Sorry yes that's the term : a multi-channel file to as many mono
files as there are channels in the multi-channel file...
Le 31 déc. 06 à 17:05, Joshua Parmenter a écrit :
Do you mean multi-channel? Stereo to mono?
Josh
On Dec 31, 2006, at 7:32 AM, TomD wrote:
Hello,
what is the quickest way to dispatch a multi-voices soundfile
into many single-voice soudfiles in SC3 ?
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users
******************************************
Joshua D. Parmenter
http://www.realizedsound.net/josh/
“Every composer – at all times and in all cases – gives his own
interpretation of how modern society is structured: whether
actively or passively, consciously or unconsciously, he makes
choices in this regard. He may be conservative or he may subject
himself to continual renewal; or he may strive for a
revolutionary, historical or social palingenesis." - Luigi Nono
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users
******************************************
Joshua D. Parmenter
http://www.realizedsound.net/josh/
“Every composer – at all times and in all cases – gives his own
interpretation of how modern society is structured: whether actively
or passively, consciously or unconsciously, he makes choices in this
regard. He may be conservative or he may subject himself to continual
renewal; or he may strive for a revolutionary, historical or social
palingenesis." - Luigi Nono