ccrma / miniAudicle

miniAudicle: integrated development + performance environment for the ChucK programming language
https://chuck.stanford.edu/
GNU General Public License v2.0
65 stars 9 forks source link

Computer (Windows 8) crashes every time sound file is loaded #39

Open ac888 opened 6 years ago

ac888 commented 6 years ago

I copied the code line for line in episodes 5, 6 and 7 of session 3 of the Kadenze tutorial into miniAudicle installed on my Windows 8 machine, but for some reason every time I click 'Add Shred' the software crashes and shuts down. Any idea why this is? I've not had any success in playing back my code even though I know it should work.

I have Version 1.3.5.2-beta-3 of Chuck and miniAudicle.

lathertonj commented 6 years ago

It's hard to know what might be going on without more information, but have you tried opening the miniAudicle preferences and verifying all the settings before turning on the virtual machine? Sometimes also the act of opening the preferences and pressing OK causes something to reset somewhere that prevents a crash from happening.

If that doesn't work, can you post the code you're running? I'm not familiar with all of the tutorials on Kadenze.

markcerqueira commented 6 years ago

Updated the title to be less loud. Thank you for reporting this issue!

ac888 commented 6 years ago

I've tried verifying and still no joy. This is the code I'm running:

// sound chain SndBuf mySound => dac; // create path name as string me.dir() + "/audio/snare_01.wav" => string filename; // read sound file filename => mySound.read; // no. of samples mySound.samples() => int numSamples; // infinite loop while( true ) { numSamples => mySound.pos; // playhead to end -1.0 => mySound.rate; 1::second => now; }

ac888 commented 6 years ago

Sorry that came out weirdly; I'll try not formatting it as code:

// sound chain SndBuf mySound => dac; // create path name as string me.dir() + "/audio/snare_01.wav" => string filename; // read sound file filename => mySound.read; // no. of samples mySound.samples() => int numSamples; // infinite loop while( true ) { numSamples => mySound.pos; // playhead to end -1.0 => mySound.rate; 1::second => now; }

lathertonj commented 6 years ago

Doesn't crash miniAudicle on OS X 10.9. I can check Windows 8 after the weekend.