miniAudicle crashing on Windows 10
Hi all, I was wondering if anyone has had any issues with MiniAudicle crashing on Windows 10 when trying to play an audio sample it seems to crash immediately. I am using the most recent version of miniAudicle. Below is the code I am using but it seems to close out when trying to play any audio file. SndBuf hihat => dac; me.dir() + "/audiosamples/drums/HiHats.wav" => string hd; 0 => hihat.pos; 1.0 => hihat.rate; 1.0 => hihat.gain; hd => hihat.read; 1::second => now; No errors get a chance to print out to the console. Thanks, Scott
Hi Scott, Unfortunately there are cases when miniAudicle crashes instead of returning an error. I'm not sure what could cause that to happen in the code you shared. I don't have a Windows machine where I can check. The only thing that pops into my mind is the fact that Windows usually wants backslashes "\" instead of forward slashes "/". Or maybe some issues with the audio file? is the name correct? Cheers, Mario On 01/10/2020 17:42, soshiro@ccrma.stanford.edu wrote:
Hi all,
I was wondering if anyone has had any issues with MiniAudicle crashing on Windows 10 when trying to play an audio sample it seems to crash immediately. I am using the most recent version of miniAudicle. Below is the code I am using but it seems to close out when trying to play any audio file.
SndBuf hihat => dac;
me.dir() + "/audiosamples/drums/HiHats.wav" => string hd;
0 => hihat.pos; 1.0 => hihat.rate; 1.0 => hihat.gain; hd => hihat.read;
1::second => now;
No errors get a chance to print out to the console.
Thanks, Scott _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- electronic musician, sound artist, creative coder, QA engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com/ https://github.com/mariobuoninfante
Hi Mario, Thanks for the reply! I am actually teaching a chuck course for high school students and I have half mac users and half windows users. It seems that the mac users do not have a problem with the code below and it runs fine, so I don't think it is an issue with the audio file or the filename. I'm not a Windows user so I'm not too sure of what is causing the issue. Would using backslashes in the path work in miniAudicle on Windows? Or would miniAudicle not recognize the backslashes? Thanks, Scott On 2020-10-01 12:42, mario buoninfante wrote:
Hi Scott,
Unfortunately there are cases when miniAudicle crashes instead of returning an error.
I'm not sure what could cause that to happen in the code you shared. I don't have a Windows machine where I can check.
The only thing that pops into my mind is the fact that Windows usually wants backslashes "\" instead of forward slashes "/".
Or maybe some issues with the audio file? is the name correct?
Cheers,
Mario
On 01/10/2020 17:42, soshiro@ccrma.stanford.edu wrote:
Hi all,
I was wondering if anyone has had any issues with MiniAudicle crashing on Windows 10 when trying to play an audio sample it seems to crash immediately. I am using the most recent version of miniAudicle. Below is the code I am using but it seems to close out when trying to play any audio file.
SndBuf hihat => dac;
me.dir() + "/audiosamples/drums/HiHats.wav" => string hd;
0 => hihat.pos; 1.0 => hihat.rate; 1.0 => hihat.gain; hd => hihat.read;
1::second => now;
No errors get a chance to print out to the console.
Thanks, Scott _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hi Scott, About the backslashes, I have to admit I'm not sure whether or not miniAudicle/ChucK would deal with them. You could give it a quick try and in case that doesn't work, I would make sure you can run any other script on the Windows machine. Maybe try some examples. Just to make sure the issue is not with the machine itself, OS, configurations, etc. Cheers, Mario On 01/10/2020 20:56, soshiro@ccrma.Stanford.EDU wrote:
Hi Mario,
Thanks for the reply! I am actually teaching a chuck course for high school students and I have half mac users and half windows users. It seems that the mac users do not have a problem with the code below and it runs fine, so I don't think it is an issue with the audio file or the filename. I'm not a Windows user so I'm not too sure of what is causing the issue. Would using backslashes in the path work in miniAudicle on Windows? Or would miniAudicle not recognize the backslashes?
Thanks, Scott
On 2020-10-01 12:42, mario buoninfante wrote:
Hi Scott,
Unfortunately there are cases when miniAudicle crashes instead of returning an error.
I'm not sure what could cause that to happen in the code you shared. I don't have a Windows machine where I can check.
The only thing that pops into my mind is the fact that Windows usually wants backslashes "\" instead of forward slashes "/".
Or maybe some issues with the audio file? is the name correct?
Cheers,
Mario
On 01/10/2020 17:42, soshiro@ccrma.stanford.edu wrote:
Hi all,
I was wondering if anyone has had any issues with MiniAudicle crashing on Windows 10 when trying to play an audio sample it seems to crash immediately. I am using the most recent version of miniAudicle. Below is the code I am using but it seems to close out when trying to play any audio file.
SndBuf hihat => dac;
me.dir() + "/audiosamples/drums/HiHats.wav" => string hd;
0 => hihat.pos; 1.0 => hihat.rate; 1.0 => hihat.gain; hd => hihat.read;
1::second => now;
No errors get a chance to print out to the console.
Thanks, Scott _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- electronic musician, sound artist, creative coder, QA engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com/ https://github.com/mariobuoninfante
participants (2)
-
mario buoninfante
-
soshiro@ccrma.stanford.edu