From michael.j.pierluissi at gmail.com Fri Feb 1 09:37:28 2019 From: michael.j.pierluissi at gmail.com (Michael Pierluissi) Date: Fri, 1 Feb 2019 09:37:28 -0500 Subject: [chuck-users] CoreAudio Error Message-ID: <32085DE0-6EA4-4C6E-9CDF-4E00193289F3@gmail.com> When opening MiniAudicle, I am met with this message: [chuck]: system error: (CoreAudio unknown error) getting sample rate info... 2019-02-01 09:23:31.733 miniAudicle[7678:327644] Failed to connect (table_menu) outlet from (miniAudicleVMMonitor) to (NSMenu): missing setter or instance variable 2019-02-01 09:23:31.733 miniAudicle[7678:327644] Failed to connect (audio_changes_warning) outlet from (miniAudiclePreferencesController) to (NSTextField): missing setter or instance variable [chuck]: system error: (CoreAudio unknown error) getting sample rate info? I am running ChucK version 1.4.0.0 on macOS Mojave 10.14.2. My output works fine. However, my input does not connect properly. From ssmallwo at ualberta.ca Mon Feb 18 12:45:24 2019 From: ssmallwo at ualberta.ca (Scott Smallwood) Date: Mon, 18 Feb 2019 10:45:24 -0700 Subject: [chuck-users] Routing stereo sound file to dac channels Message-ID: Dear chuckians? This is bizarre? I was sure I have done this in the past, but it isn?t working and now I?m a bit flummoxed?. Any ideas here? PS: I?m trying to route channels 0 and 1 of a stereo .wav file to dac channels 2 and 3. Should be simple. So why doesn?t this work?? I realize that I could just spit it into mono files? but why? I thought SndBuf supported up to 8 channels. ? SndBuf sb; //read in stereo sound file "snd/squeakies/bell_4.wav" => sb.read; //works - and routes channel 0 of sb to dac.chan(3) sb.chan(0) => dac.chan(2); //doesn't work - claims NullPointerException sb.chan(1) => dac.chan(3); 1::minute => now; ?ss [ - ] Scott Smallwood - Associate Professor - University of Alberta [ - ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From Douglas.Nunn at anglia.ac.uk Mon Feb 18 14:39:09 2019 From: Douglas.Nunn at anglia.ac.uk (Nunn, Douglas) Date: Mon, 18 Feb 2019 19:39:09 +0000 Subject: [chuck-users] Routing stereo sound file to dac channels In-Reply-To: References: Message-ID: Hi Scott, Are you on Windows? Did you specify the -in and -out flags? When I last tested it, the non-ASIO build doesn't support multi-channel audio. Also, the -dac flag needs an extra character before the number. If you start the ASIO build of ChucK like this, it works. chuckasio --dac_3 --adc3 --in8 --out8 test.ck Here, 3 is the audio device number. See http://electro-music.com/forum/topic-69370.htmlhttp://electro-music.com/forum/topic-69370.html Hope this helps, Doug ________________________________ From: chuck-users-bounces at lists.cs.princeton.edu [chuck-users-bounces at lists.cs.princeton.edu] on behalf of Scott Smallwood [ssmallwo at ualberta.ca] Sent: 18 February 2019 17:45 To: ChucK Users Mailing List Subject: [chuck-users] Routing stereo sound file to dac channels Dear chuckians? This is bizarre? I was sure I have done this in the past, but it isn?t working and now I?m a bit flummoxed?. Any ideas here? PS: I?m trying to route channels 0 and 1 of a stereo .wav file to dac channels 2 and 3. Should be simple. So why doesn?t this work?? I realize that I could just spit it into mono files? but why? I thought SndBuf supported up to 8 channels. ? SndBuf sb; //read in stereo sound file "snd/squeakies/bell_4.wav" => sb.read; //works - and routes channel 0 of sb to dac.chan(3) sb.chan(0) => dac.chan(2); //doesn't work - claims NullPointerException sb.chan(1) => dac.chan(3); 1::minute => now; ?ss [ - ] Scott Smallwood - Associate Professor - University of Alberta [ - ] -- TAKE CARE: this message originates from an email service outside of our University. Do not click on any links or open attachments unless you recognise the sender and are absolutely sure that the content is safe -- Please click here to view our e-mail disclaimer http://www.anglia.ac.uk/email-disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario.buoninfante at gmail.com Mon Feb 18 15:16:54 2019 From: mario.buoninfante at gmail.com (Mario Buoninfante) Date: Mon, 18 Feb 2019 20:16:54 +0000 Subject: [chuck-users] Routing stereo sound file to dac channels Message-ID: Hi, I think you should use SndBuf2 instead of SndBuf. Cheers, Mario Sent from my WIKO U PULSE LITEOn 18 Feb 2019 19:39, "Nunn, Douglas" wrote: > > Hi Scott,? > > Are you on Windows? Did you specify the -in and -out flags? When I last tested it, the non-ASIO build doesn't support multi-channel audio. Also, the -dac flag needs an extra character before the number. > > If you start the ASIO build of ChucK like this, it works. > chuckasio --dac_3 --adc3 --in8 --out8 test.ck? > > Here, 3 is the audio device number.?See?http://electro-music.com/forum/topic-69370.htmlhttp://electro-music.com/forum/topic-69370.html > > ? ?Hope this helps, > > ? ? ? ? ? Doug > > > ________________________________ > From: chuck-users-bounces at lists.cs.princeton.edu [chuck-users-bounces at lists.cs.princeton.edu] on behalf of Scott Smallwood [ssmallwo at ualberta.ca] > Sent: 18 February 2019 17:45 > To: ChucK Users Mailing List > Subject: [chuck-users] Routing stereo sound file to dac channels > > Dear chuckians? > > This is bizarre? I was sure I have done this in the past, but it isn?t working and now I?m a bit flummoxed?. Any ideas here? > > PS: ?I?m trying to route channels 0 and 1 of a stereo .wav file to dac channels 2 and 3. ?Should be simple. ?So why doesn?t this work?? > > I realize that I could just spit it into mono files? but why? ?I thought SndBuf supported up to 8 channels. > > ? > > > SndBuf?sb; > > //read in stereo sound file > "snd/squeakies/bell_4.wav"?=>?sb.read; > > //works - and routes channel 0 of sb to dac.chan(3) > sb.chan(0)?=>?dac.chan(2); > > //doesn't work - claims NullPointerException > sb.chan(1)?=>?dac.chan(3); > > 1::minute?=>?now; > > ?ss > > [ - ] ?Scott Smallwood?- Associate Professor - University of Alberta ?[ - ] > > > > -- > > TAKE CARE: this message originates from an email service outside of our University. Do not click on any links or open attachments unless?you recognise the sender and are absolutely sure that the content is safe > > ? > > > -- > http://www.anglia.ac.uk/email-disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From prc at cs.princeton.edu Mon Feb 18 15:27:43 2019 From: prc at cs.princeton.edu (Perry Cook) Date: Mon, 18 Feb 2019 12:27:43 -0800 Subject: [chuck-users] Routing SndBuf (Skot) In-Reply-To: References: Message-ID: <9BCEEA04-B594-4AF5-8CBD-4ED2693A0A4B@cs.princeton.edu> I don?t remember SndBuf ever being multichannel. In fact, there is a SndBuf2 just for stereo. That UG can be chucked to dac for auto stereo, or allows access to .chan(#) for arbitrary routing. SndBuf mixes everything down to mono, and I fear there is no support for > 2 channels via SndBuf. If my statements above are true, then Someone could do us all a cool favor by making a SndBufN chug. Prc Sent from my iPhone > On Feb 18, 2019, at 11:39 AM, chuck-users-request at lists.cs.princeton.edu wrote: > > Send chuck-users mailing list submissions to > chuck-users at lists.cs.princeton.edu > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > or, via email, send a message with subject or body 'help' to > chuck-users-request at lists.cs.princeton.edu > > You can reach the person managing the list at > chuck-users-owner at lists.cs.princeton.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of chuck-users digest..." > > > Today's Topics: > > 1. Routing stereo sound file to dac channels (Scott Smallwood) > 2. Re: Routing stereo sound file to dac channels (Nunn, Douglas) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 18 Feb 2019 10:45:24 -0700 > From: Scott Smallwood > To: ChucK Users Mailing List > Subject: [chuck-users] Routing stereo sound file to dac channels > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Dear chuckians? > > This is bizarre? I was sure I have done this in the past, but it isn?t working and now I?m a bit flummoxed?. Any ideas here? > > PS: I?m trying to route channels 0 and 1 of a stereo .wav file to dac channels 2 and 3. Should be simple. So why doesn?t this work?? > > I realize that I could just spit it into mono files? but why? I thought SndBuf supported up to 8 channels. > > ? > > > SndBuf sb; > > //read in stereo sound file > "snd/squeakies/bell_4.wav" => sb.read; > > //works - and routes channel 0 of sb to dac.chan(3) > sb.chan(0) => dac.chan(2); > > //doesn't work - claims NullPointerException > sb.chan(1) => dac.chan(3); > > 1::minute => now; > > ?ss > > [ - ] Scott Smallwood - Associate Professor - University of Alberta [ - ] > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 2 > Date: Mon, 18 Feb 2019 19:39:09 +0000 > From: "Nunn, Douglas" > To: ChucK Users Mailing List > Subject: Re: [chuck-users] Routing stereo sound file to dac channels > Message-ID: > > Content-Type: text/plain; charset="windows-1252" > > Hi Scott, > > Are you on Windows? Did you specify the -in and -out flags? When I last tested it, the non-ASIO build doesn't support multi-channel audio. Also, the -dac flag needs an extra character before the number. > > If you start the ASIO build of ChucK like this, it works. > chuckasio --dac_3 --adc3 --in8 --out8 test.ck > > Here, 3 is the audio device number. See http://electro-music.com/forum/topic-69370.htmlhttp://electro-music.com/forum/topic-69370.html > > Hope this helps, > > Doug > > > ________________________________ > From: chuck-users-bounces at lists.cs.princeton.edu [chuck-users-bounces at lists.cs.princeton.edu] on behalf of Scott Smallwood [ssmallwo at ualberta.ca] > Sent: 18 February 2019 17:45 > To: ChucK Users Mailing List > Subject: [chuck-users] Routing stereo sound file to dac channels > > Dear chuckians? > > This is bizarre? I was sure I have done this in the past, but it isn?t working and now I?m a bit flummoxed?. Any ideas here? > > PS: I?m trying to route channels 0 and 1 of a stereo .wav file to dac channels 2 and 3. Should be simple. So why doesn?t this work?? > > I realize that I could just spit it into mono files? but why? I thought SndBuf supported up to 8 channels. > > ? > > > SndBuf sb; > > //read in stereo sound file > "snd/squeakies/bell_4.wav" => sb.read; > > //works - and routes channel 0 of sb to dac.chan(3) > sb.chan(0) => dac.chan(2); > > //doesn't work - claims NullPointerException > sb.chan(1) => dac.chan(3); > > 1::minute => now; > > ?ss > > [ - ] Scott Smallwood - Associate Professor - University of Alberta [ - ] > > > > -- > > TAKE CARE: this message originates from an email service outside of our University. Do not click on any links or open attachments unless you recognise the sender and are absolutely sure that the content is safe > > > > -- > Please click here to view our e-mail disclaimer http://www.anglia.ac.uk/email-disclaimer > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > _______________________________________________ > chuck-users mailing list > chuck-users at lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > > > End of chuck-users Digest, Vol 162, Issue 2 > ******************************************* From ssmallwo at ualberta.ca Tue Feb 19 08:53:22 2019 From: ssmallwo at ualberta.ca (Scott Smallwood) Date: Tue, 19 Feb 2019 06:53:22 -0700 Subject: [chuck-users] Routing SndBuf (Skot) In-Reply-To: <9BCEEA04-B594-4AF5-8CBD-4ED2693A0A4B@cs.princeton.edu> References: <9BCEEA04-B594-4AF5-8CBD-4ED2693A0A4B@cs.princeton.edu> Message-ID: Hi all - totally forgot about SndBuf2! It might be a good idea to add this to the unit generator list on the website?? Thanks everyone! ?ss [ - ] Scott Smallwood - Associate Professor - University of Alberta [ - ] > On Feb 18, 2019, at 1:27 PM, Perry Cook wrote: > > I don?t remember SndBuf ever being multichannel. In fact, there is a SndBuf2 just for stereo. That UG can be chucked to dac for auto stereo, or allows access to .chan(#) for arbitrary routing. SndBuf mixes everything down to mono, and I fear there is no support for > 2 channels via SndBuf. > > If my statements above are true, then Someone could do us all a cool favor by making a SndBufN chug. > > Prc > > Sent from my iPhone > >> On Feb 18, 2019, at 11:39 AM, chuck-users-request at lists.cs.princeton.edu wrote: >> >> Send chuck-users mailing list submissions to >> chuck-users at lists.cs.princeton.edu >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users >> or, via email, send a message with subject or body 'help' to >> chuck-users-request at lists.cs.princeton.edu >> >> You can reach the person managing the list at >> chuck-users-owner at lists.cs.princeton.edu >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of chuck-users digest..." >> >> >> Today's Topics: >> >> 1. Routing stereo sound file to dac channels (Scott Smallwood) >> 2. Re: Routing stereo sound file to dac channels (Nunn, Douglas) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Mon, 18 Feb 2019 10:45:24 -0700 >> From: Scott Smallwood >> To: ChucK Users Mailing List >> Subject: [chuck-users] Routing stereo sound file to dac channels >> Message-ID: >> Content-Type: text/plain; charset="utf-8" >> >> Dear chuckians? >> >> This is bizarre? I was sure I have done this in the past, but it isn?t working and now I?m a bit flummoxed?. Any ideas here? >> >> PS: I?m trying to route channels 0 and 1 of a stereo .wav file to dac channels 2 and 3. Should be simple. So why doesn?t this work?? >> >> I realize that I could just spit it into mono files? but why? I thought SndBuf supported up to 8 channels. >> >> ? >> >> >> SndBuf sb; >> >> //read in stereo sound file >> "snd/squeakies/bell_4.wav" => sb.read; >> >> //works - and routes channel 0 of sb to dac.chan(3) >> sb.chan(0) => dac.chan(2); >> >> //doesn't work - claims NullPointerException >> sb.chan(1) => dac.chan(3); >> >> 1::minute => now; >> >> ?ss >> >> [ - ] Scott Smallwood - Associate Professor - University of Alberta [ - ] >> >> >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: >> >> ------------------------------ >> >> Message: 2 >> Date: Mon, 18 Feb 2019 19:39:09 +0000 >> From: "Nunn, Douglas" >> To: ChucK Users Mailing List >> Subject: Re: [chuck-users] Routing stereo sound file to dac channels >> Message-ID: >> >> Content-Type: text/plain; charset="windows-1252" >> >> Hi Scott, >> >> Are you on Windows? Did you specify the -in and -out flags? When I last tested it, the non-ASIO build doesn't support multi-channel audio. Also, the -dac flag needs an extra character before the number. >> >> If you start the ASIO build of ChucK like this, it works. >> chuckasio --dac_3 --adc3 --in8 --out8 test.ck >> >> Here, 3 is the audio device number. See http://electro-music.com/forum/topic-69370.htmlhttp://electro-music.com/forum/topic-69370.html >> >> Hope this helps, >> >> Doug >> >> >> ________________________________ >> From: chuck-users-bounces at lists.cs.princeton.edu [chuck-users-bounces at lists.cs.princeton.edu] on behalf of Scott Smallwood [ssmallwo at ualberta.ca] >> Sent: 18 February 2019 17:45 >> To: ChucK Users Mailing List >> Subject: [chuck-users] Routing stereo sound file to dac channels >> >> Dear chuckians? >> >> This is bizarre? I was sure I have done this in the past, but it isn?t working and now I?m a bit flummoxed?. Any ideas here? >> >> PS: I?m trying to route channels 0 and 1 of a stereo .wav file to dac channels 2 and 3. Should be simple. So why doesn?t this work?? >> >> I realize that I could just spit it into mono files? but why? I thought SndBuf supported up to 8 channels. >> >> ? >> >> >> SndBuf sb; >> >> //read in stereo sound file >> "snd/squeakies/bell_4.wav" => sb.read; >> >> //works - and routes channel 0 of sb to dac.chan(3) >> sb.chan(0) => dac.chan(2); >> >> //doesn't work - claims NullPointerException >> sb.chan(1) => dac.chan(3); >> >> 1::minute => now; >> >> ?ss >> >> [ - ] Scott Smallwood - Associate Professor - University of Alberta [ - ] >> >> >> >> -- >> >> TAKE CARE: this message originates from an email service outside of our University. Do not click on any links or open attachments unless you recognise the sender and are absolutely sure that the content is safe >> >> >> >> -- >> Please click here to view our e-mail disclaimer http://www.anglia.ac.uk/email-disclaimer >> >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: >> >> ------------------------------ >> >> _______________________________________________ >> chuck-users mailing list >> chuck-users at lists.cs.princeton.edu >> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users >> >> >> End of chuck-users Digest, Vol 162, Issue 2 >> ******************************************* > > _______________________________________________ > chuck-users mailing list > chuck-users at lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario.buoninfante at gmail.com Sat Feb 23 12:07:43 2019 From: mario.buoninfante at gmail.com (mario buoninfante) Date: Sat, 23 Feb 2019 17:07:43 +0000 Subject: [chuck-users] Gen10 issue with odd harmonics Message-ID: <18a626a0-8af9-dc30-6ad3-698af4cde861@gmail.com> Hi, I found out that Gen10 has an issue with dealing with odd harmonics (not fundamental). It's easy to repro simply taking the example code and using the following coefficients instead: g10.coefs( [0., 0., 0.5] ); - shows the issue g10.coefs( [0., 0.5, 0.] ); - doesn't show the issue Hooking ChucK up to a spectrum analyzer it's easy to see the difference. In case there are odd harmonics, there are a lot of unwanted partials/sidebands, instead of having only the components specified in .coefs(). Gen9 doesn't seem to have this issue. Cheers, Mario -- Electronic Musician, Creative Coder, QA Engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com/ https://github.com/mariobuoninfante https://bitbucket.org/mariobuoninfante/ From mario.buoninfante at gmail.com Sat Feb 23 12:15:24 2019 From: mario.buoninfante at gmail.com (mario buoninfante) Date: Sat, 23 Feb 2019 17:15:24 +0000 Subject: [chuck-users] Gen10 issue with odd harmonics Message-ID: further testing shows that it's not about the odd harmonics, from the 5th harmonic (6th partials) onwards, sometimes you get unwanted sidebands with odd harmonics, sometimes with even ones. I'm monitoring the output (DFT) with Baudline and I tried driving Gen10 at different frequencies. -- Electronic Musician, Creative Coder, QA Engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com/ https://github.com/mariobuoninfante https://bitbucket.org/mariobuoninfante/ From casper.schipper at gmail.com Sat Feb 23 16:58:35 2019 From: casper.schipper at gmail.com (Casper Schipper) Date: Sat, 23 Feb 2019 22:58:35 +0100 Subject: [chuck-users] Gen10 issue with odd harmonics In-Reply-To: References: Message-ID: <5B8FA275-1286-4078-A960-60FE3D179F17@gmail.com> hi Mario, I have once experimented increasing the table size of gen10 in the source code of chuck because of similar quality problems. I think it may be too small for certain parameter combinations. best, Casper > On 23 Feb 2019, at 18:15, mario buoninfante wrote: > > further testing shows that it's not about the odd harmonics, from the 5th harmonic (6th partials) onwards, sometimes you get unwanted sidebands with odd harmonics, sometimes with even ones. > I'm monitoring the output (DFT) with Baudline and I tried driving Gen10 at different frequencies. > > -- > Electronic Musician, Creative Coder, QA Engineer > https://vimeo.com/creativecodingsalerno > http://mbuoninfante.tumblr.com/ > https://github.com/mariobuoninfante > https://bitbucket.org/mariobuoninfante/ > > _______________________________________________ > chuck-users mailing list > chuck-users at lists.cs.princeton.edu > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users