[chuck-users] miniAudicle crashing on Windows 10

mario buoninfante mario.buoninfante at gmail.com
Thu Oct 1 16:01:42 EDT 2020


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 at 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 at 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 at 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



More information about the chuck-users mailing list