Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ac888 opened this issue Oct 6, 2017 · 5 comments
Open

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

ac888 opened this issue Oct 6, 2017 · 5 comments

Comments

@ac888
Copy link

ac888 commented Oct 6, 2017

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.

@ac888 ac888 closed this as completed Oct 6, 2017
@ac888 ac888 reopened this Oct 6, 2017
@lathertonj
Copy link

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 markcerqueira changed the title COMPUTER CRASHES EVERY TIME I LOAD SOUND FILE Computer (Windows 8) crashes every time sound file is loaded Oct 6, 2017
@markcerqueira
Copy link
Member

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

@ac888
Copy link
Author

ac888 commented Oct 7, 2017

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
Copy link
Author

ac888 commented Oct 7, 2017

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants