[chuck-users] stk Ugens between 1.2.0.6 -> 7
Graham Coleman
gc at gehennom.net
Wed Oct 25 20:44:03 EDT 2006
ChucKtivists,
I'm having a problem with some of the Stk Ugens in 1.2.0.7--
certain Stk instruments no longer seem to play.
Originally I noticed the problem in audicle 1.0.0.4 from 1.0.0.3.
I prepared musical material for a local music competition using ...3
to be risk averse, but ...4 doesn't seem to play the parts using these
instruments. Then I tracked it back to chuck.
testStk.ck should demonstrate the basic problem--
if you are subject you may only hear one scale by one instrument (1.2.0.7)
testStkAll.ck tests the whole gamut of StkInstruments.
I have not yet tested the STK Ugens that are not StkInstruments.
I'm on win32 and using lots of deprecated names, but hopefully neither
make a difference.
has anyone else seen this?
best,
Graham
-------------- next part --------------
//are the Stk working?
StkInstrument inst[21];
Clarinet clari @=> inst[0] => dac;
Moog moog @=> inst[1] => dac;
ModalBar modal @=> inst[2] => dac;
modal.preset(1);
BandedWG banded @=> inst[3] => dac;
BlowBotl blow @=> inst[4] => dac;
BlowHole blowH @=> inst[5] => dac;
Brass brass @=> inst[6] => dac;
Flute flute @=> inst[7] => dac;
Mandolin mand @=> inst[8] => dac;
Saxofony sax @=> inst[9] => dac;
Shakers shake @=> inst[10] => dac;
Sitar sitar @=> inst[11] => dac;
StifKarp karp @=> inst[12] => dac;
VoicForm vox @=> inst[13] => dac;
//fm
BeeThree bee @=> inst[14] => dac;
HevyMetl hevy @=> inst[15] => dac;
FMVoices fm @=> inst[16] => dac;
PercFlut pflute @=> inst[17] => dac;
Rhodey rhodes @=> inst[18] => dac;
TubeBell tube @=> inst[19] => dac;
Wurley wurl @=> inst[20] => dac;
[0,2,4,5,7,9,11,12] @=> int maj[];
//don't work for me in 1.2.0.7:
//0: Clarinet
//2: ModalBar
//5: BlowHole
//9: Saxofony
//13: VoicForm
//inexplicably, when I run this on 1.2.0.6, it starts skipping
//frames at instrument 10, but runs without skips on 1.2.0.7
//send a noteOff to all instruments
//this should really be unnecessary
for (0=>int i; i<inst.cap(); i++) {
inst[i].noteOff( 0.5 );
}
for (0=>int i; ; i++) {
i%inst.cap() => int whichInst;
<<<"instrument: ",whichInst>>>;
for (0=>int j; j<5; j++) {
maj[j]+60 => std.mtof => inst[whichInst].freq;
inst[whichInst].noteOn( 0.6 );
300::ms => now;
inst[whichInst].noteOff( 0.5 );
10::ms => now;
}
10::ms => now;
}
-------------- next part --------------
//are the Stk working?
StkInstrument inst[3];
Clarinet clari @=> inst[0] => dac;
Moog moog @=> inst[1] => dac;
ModalBar modal @=> inst[2] => dac;
modal.preset(1);
[0,2,4,5,7,9,11,12] @=> int maj[];
for (0=>int i; ; i++) {
i%3 => int whichInst;
for (0=>int j; j<5; j++) {
maj[j]+60 => std.mtof => inst[whichInst].freq;
inst[whichInst].noteOn( 0.6 );
300::ms => now;
inst[whichInst].noteOff( 0.001 );
}
}
More information about the chuck-users
mailing list