STK instrument segmentation fault
Hi, I'm using chuck version: 1.3.1.2-rc1 (chimera) mac os x 10.7.4 : intel : 64-bit. In preparing a demo of all STK instrument sounds for class each of the instruments instruments played OK at their default settings except these three: Brass, Mandolin, and FM. Here's the code I used ============================== //Twinkle Twinkle // STK instruments /* BandedWG BlowBotl BlowHole Bowed
Brass - very distorted Clarinet Flute Mandolin - segmentation fault ModalBar Moog Saxofony Shakers Sitar StifKarp VoicForm FM - segmentation fault BeeThree FMVoices HevyMetl PercFlut Rhodey TubeBell Wurley */
Wurley inst => dac; // Melody, Number Of Beats [ [67.0, 1.0], [67.0, 1.0], [74.0, 1.0], [74.0, 1.0], [76.0, 1.0], [76.0, 1.0], [74.0, 2.0], [72.0, 1.5], [72.0, 0.5], [71.0, 1.5], [71.0, 0.5], [69.0, 1.5], [69.0, 0.5], [67.0, 2.0] ] @=> float tune[][]; 0 => int transpose; 120 => int tempo; // Play phrase 1 for( 0 => int i; i < tune.cap(); i++) { Std.mtof( tune[i][0] + transpose ) => inst.freq; inst.noteOn(1.0); 60000::ms * tune[i][1] / tempo => now; inst.noteOff(0); } John John Ellinger email: info@mibac.com MiBAC Music Software 1019 College St. Music Instruction By A Computer Northfield MN 55057 http://www.mibac.com
Hi John!
I'm using chuck version: 1.3.1.2-rc1 (chimera) mac os x 10.7.4 : intel : 64-bit.
In preparing a demo of all STK instrument sounds for class each of the instruments instruments played OK at their default settings except these three: Brass, Mandolin, and FM.
Thanks for the info! We did run through all the STK examples when testing 64-bit, but it would seem we missed something. Will look into it! Ge!
Hi John!
I'm using chuck version: 1.3.1.2-rc1 (chimera) mac os x 10.7.4 : intel : 64-bit.
In preparing a demo of all STK instrument sounds for class each of the instruments instruments played OK at their default settings except these three: Brass, Mandolin, and FM.
Thanks for the info! We did run through all the STK examples when testing 64-bit, but it would seem we missed something. Will look into it!
Having ran the code, I could not reproduce the crash for Brass or Mandolin on OS X 10.7.4 and Windows (both resulted in audio, and I did not detect distortion with Brass). FM did crash for me, and the cause is because FM is an abstract class, and shouldn't be instantiable (oops, go ChucK). That's an issue - we hope to address it in a near future release. Can you provide more information about the crash with Mandolin? Does it happen consistently? Hope to figure it out! Thanks! Ge!
participants (2)
-
Ge Wang
-
John Ellinger