[chuck-users] chuck-1.4.1.0 (numchucks) released!

2021-06-27 Thread mario buoninfante
Hi all, I just installed and quickly checked ChucK 1.4.1.0 on Ubuntu Studio 20.04 LTS and it perfectly works! Thank you all, you did an amazing job with this release. Cheers, Mario PS I only now noticed we now also have SndBuf .frames() method ;) -- musician, QA engineer http://mbuoni

Re: [chuck-users] SndBuf | accessing samples from stereo file

2021-06-17 Thread mario buoninfante
03, Dana Batali wrote: Hi Mario , I’m not at my computer right now, but wonder if you’ve tried SndBuf2? On Wed, Jun 16, 2021 at 8:57 AM mario buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Hi, I'm working on an algorithm that requires accessing samples from a

Re: [chuck-users] ResonZ Documentation

2021-06-17 Thread Mario Buoninfante
did just document the vec3 and vec4 items > in latex for the project. Would be happy to publish to the FLOSS manual. > Do you have the info on how to participate? > > > On Jun 15, 2021, at 11:58 PM, Mario Buoninfante < > mario.buoninfa...@gmail.com> wrote: > > Hi M

Re: [chuck-users] SndBuf | accessing samples from stereo file

2021-06-16 Thread mario buoninfante
t now, but wonder if you’ve tried SndBuf2? On Wed, Jun 16, 2021 at 8:57 AM mario buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Hi, I'm working on an algorithm that requires accessing samples from a stereo file and am using SndBuf to achieve that. I was e

Re: [chuck-users] SndBuf | accessing samples from stereo file

2021-06-16 Thread mario buoninfante
Hi Dana, Yap, I forgot to call that out, I get the same results with SndBuf2. Cheers, Mario On 16/06/2021 17:03, Dana Batali wrote: Hi Mario , I’m not at my computer right now, but wonder if you’ve tried SndBuf2? On Wed, Jun 16, 2021 at 8:57 AM mario buoninfante mailto:mario.buoninfa

[chuck-users] SndBuf | accessing samples from stereo file

2021-06-16 Thread mario buoninfante
Hi, I'm working on an algorithm that requires accessing samples from a stereo file and am using SndBuf to achieve that. I was expecting that to work so that samples were returned in "frames", for example: ''' buffer.valueAt(0) = sample 0 on left channel buffer.valueAt(1) = sample 0 on right

Re: [chuck-users] ResonZ Documentation

2021-06-15 Thread Mario Buoninfante
Hi Matt, I did work a bit on documenting all the UGens (and not only) last year and updated the FLOSS manual you can find here: https://en.flossmanuals.net/chuck/_full/ Hope this might be of some help.. and also let me know if you want to contribute! ;) Cheers, Mario On Wed, 16 Jun 2021 at 05:43

Re: [chuck-users] MidiIn/MidiMsg expansion

2021-01-20 Thread Mario Buoninfante
Hi, I suppose one solution could be to have a new dedicate class (ie SysexMsg) with a getSysex() method, and then tweak the various bits that deal with receiving MIDI so that if the incoming msg is a sysex we can use a SysexMsg object instead of a MidiMsg one. The end result could be something al

[chuck-users] MidiIn/MidiMsg expansion

2021-01-20 Thread Mario Buoninfante
Hi all, As you know I was trying to add sysex support to ChucK, and there are some progress there. I managed to let sysex msg through, and I can get the first 3 bytes using the data1, data2 and data3 member variables (MidiMsg). But of course sysex messages can have any length, so I was trying to f

Re: [chuck-users] MidiFileIn class

2020-10-24 Thread Mario Buoninfante
Hi David, You can find an example here https://github.com/ccrma/chuck/blob/main/examples/midi/playmidi.ck Cheers, Mario -- electronic musician, sound artist, creative coder, QA engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com https://github.com/mariobuoninfante h

[chuck-users] Ambisonics library

2020-10-24 Thread mario buoninfante
Hi all, Does anybody know of an Ambisonics library for ChucK (ie chugins)? I'm particularly interested in the /decoder/ side of the thing :) Cheers, Mario -- electronic musician, sound artist, creative coder, QA engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.c

Re: [chuck-users] miniAudicle crashing on Windows 10

2020-10-01 Thread mario buoninfante
iniAudicle 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 c

Re: [chuck-users] miniAudicle crashing on Windows 10

2020-10-01 Thread mario buoninfante
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 want

[chuck-users] Novation QA Eng - "a bit off topic"

2020-10-01 Thread Mario Buoninfante
Hi all, Sorry if this is not strictly ChucK related, but I suppose is still of some interest for people on this mailing list. Novation are looking for a QA engineer, thus somebody really into audio and MIDI, a bit of programming, synth and controller testing, etc. Here is the link to the job adv

Re: [chuck-users] web integration (fao Jack Atherton)

2020-07-27 Thread Mario Buoninfante
10 times more expensive than what Spencer suggested, but I think worth checking this out anyway https://www.blokas.io/pisound/ I've been using it on my RaspPi 3 with ChucK in the last 3 months, and is great. I'm using they're Patchbox OS, and that is great as well. Cheers, Mario -- electron

Re: [chuck-users] visualizing UGens and UAnae

2020-07-20 Thread Mario Buoninfante
e other > than dac. > > On Mon, Jul 20, 2020 at 2:02 PM Mario Buoninfante > wrote: >> >> Also, if you're on Linux I recommend Baudline (http://www.baudline.com/). >> I often just leave it connected all the time. >> >> Cheers, >> Mario >> >

Re: [chuck-users] visualizing UGens and UAnae

2020-07-20 Thread Mario Buoninfante
Also, if you're on Linux I recommend Baudline (http://www.baudline.com/). I often just leave it connected all the time. Cheers, Mario -- electronic musician, sound artist, creative coder, QA engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com https://github.com/mari

Re: [chuck-users] visualizing UGens and UAnae

2020-07-20 Thread Mario Buoninfante
Hi Curtis Few months ago I was wondering the same and ended up with a temporary solution, a library that uses gnuplot to visualize waveforms. https://github.com/mariobuoninfante/ChucK_various Then it seems that with the latest version of ChucK is now possible again to have Chugins that deal wi

Re: [chuck-users] multiple osc addresses

2020-07-08 Thread Mario Buoninfante
;    [put it into those other variables]; > } > ? > > On Wed, Jul 8, 2020 at 11:58 AM Mario Buoninfante > wrote: >> >> Hi, >> >> You can have a look at this example >> >> https://github.com/ccrma/chuck/blob/6217b3b08c3b8bb561730fb112d1b3a204cd

Re: [chuck-users] multiple osc addresses

2020-07-08 Thread Mario Buoninfante
Hi, You can have a look at this example https://github.com/ccrma/chuck/blob/6217b3b08c3b8bb561730fb112d1b3a204cd1834/examples/osc/osc_dump.ck Cheers, Mario -- electronic musician, sound artist, creative coder, QA engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com

Re: [chuck-users] chuck-users Digest, Vol 178, Issue 1

2020-06-01 Thread mario buoninfante
.cs.princeton.edu <mailto:chuck-users-requ...@lists.cs.princeton.edu> You can reach the person managing the list at chuck-users-ow...@lists.cs.princeton.edu <mailto:chuck-users-ow...@lists.cs.princeton.edu> When replying, please edit your Subject line so it is more specific

Re: [chuck-users] Shreds fade out

2020-05-31 Thread mario buoninfante
Hi Claudio, I suspect ChucK just 'kills' the programs when you run > chuck - 1 from terminal. What it does it's just sending the 'remove' command to the Virtual Machine, so the program itself is not really aware of what's going on. If you want to fade the program out (or do any other operat

Re: [chuck-users] chuck-1.4.0.1 (numchucks) released!

2020-05-11 Thread Mario Buoninfante
Hi, I second what Michael said, the streaming was really cool and interesting! About the new features and "libchuck", I am more than happy to help out as much as I can. I am not a C/C++ programmer, but I'm currently studying it. Recently I have done few little things in ChucK (mainly Chugins and

Re: [chuck-users] Efficient analysis & resynthesis for game audio

2020-05-01 Thread mario buoninfante
now and then when you upgrade ChucK in the future, "external" will still work, but it will print a message saying it's deprecated and to use "global" instead. ~Jack On Fri, May 1, 2020 at 9:10 AM Mario Buoninfante mailto:mario.buoninfa...@gmail.com>> wrote:

Re: [chuck-users] Efficient analysis & resynthesis for game audio

2020-05-01 Thread Mario Buoninfante
Hi Jack, That's super interesting, especially the bit about global variables. How's that suppose to work? I don't seem to be able to make it work on ChucK 1.4.0.0 . Just tried on MacOS High Sierra 10.13.6 . Cheers, Mario On Fri, 1 May 2020 at 15:34, Jack Atherton wrote: > Hello! > > There's do

[chuck-users] Bela + ChucK

2020-04-24 Thread Mario Buoninfante
Hi, I just got my Bela board, and I was wondering if anybody has done anything with ChucK on it. I found this https://forum.bela.io/d/117-chuck so it seems somebody could have done something. Cheers, Mario ___ chuck-users mailing list chuck-users@lists.

Re: [chuck-users] sndBuf.valueAt (Forrest Curo asks)

2020-04-20 Thread Mario Buoninfante
Hi, In case you're interested I made a SampHold chugin that you can find here: https://github.com/mariobuoninfante/ChucK_chugins Cheers, Mario On Mon, 20 Apr 2020 at 18:05, Forrest Curo wrote: > "A sample and hold uses a periodic wave as an input. The wave is sampled > at regular > intervals.

[chuck-users] memory usage

2020-04-16 Thread Mario Buoninfante
Hi, I was trying to better understand how ChucK deals with memory management. I know there's no garbage collector in place and I also checked on the mailing list, where I found several really interesting conversations about this topic. But still, I've got this scenario where the memory in use keep

Re: [chuck-users] Oscillosope UI

2020-04-15 Thread Mario Buoninfante
eparate real-time audio >> thread).  >> >> There are other considerations such as what happens if two GUI chugins >> compete with each other, how GUI chugins are meant to work in miniAudicle, >> Windows/Linux, etc. But the basic idea is there / not crazy!   >> &g

Re: [chuck-users] Chugin for UI (oscilloscope)

2020-04-15 Thread Mario Buoninfante
princeton.edu > > > > You can reach the person managing the list at > >chuck-users-ow...@lists.cs.princeton.edu > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of chuck-users digest..." > > > &

[chuck-users] Oscillosope UI

2020-04-15 Thread Mario Buoninfante
Hi, Recently I've been poking around with Chugins and created a couple of things I thought were 'missing' in the official ChucK and Chugin repos, UGens like Wrap, Clip, Sample and Hold, etc. ( https://github.com/mariobuoninfante/ChucK_chugins), and I was thinking about adding an oscilloscope as we

Re: [chuck-users] Closing MIDI Ports (Mario asks)

2020-03-28 Thread Mario Buoninfante
r body 'help' to >>    chuck-users-requ...@lists.cs.princeton.edu >> >> You can reach the person managing the list at >>    chuck-users-ow...@lists.cs.princeton.edu >> >> When rep

[chuck-users] Closing MIDI ports

2020-03-26 Thread mario buoninfante
Hi, Is it possible to close a MIDI port? I'm working on a MIDI class, and to print all the available ports, I open them one at the time and get the name. Then I end up with tons of open MIDI ports I'm not actually using. Apart from this, another user case could be a live set where different

[chuck-users] ChucK as LV2 or AudioUnit v3 plugin?

2020-02-29 Thread Mario Buoninfante
+1 LV2 & Linux :) ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Re: [chuck-users] smoothing and scaling RMS data

2020-02-29 Thread Mario Buoninfante
Hi Andrew, It seems to me you need an envelope follower. You can find more info about a possible implementation here: https://www.bbc.co.uk/rd/publications/rdreport_1983_17 It's about dynamic range control (compressor, expander, limiter, gate), and all of them use an envelope follower. In alterna

[chuck-users] overloading (assignment) operators

2020-02-28 Thread mario buoninfante
Hi all, I think I know the answer, but I'd like to ask the question anyway since it could trigger interesting discussions. Is it possible to overload operators in ChucK? I was thinking about having something like the following: private class PInt {     0 => int value;     function void __

Re: [chuck-users] SndBuf : the meaning and use of .loop and .interp

2020-02-23 Thread mario buoninfante
Hi Herman, I have to admit I never used LiSa, so I can't help with this one. Just one thing, I think it would be better if you could use titles that better reflect the content of your messages. It's not a critique, don't get me wrong, just it would make it easier to get proper help and keep

Re: [chuck-users] While loop with condition =>NOW

2020-02-22 Thread mario buoninfante
Hi, 'while' continuously evaluates the condition in () parenthesis (that in your case is 20::ms => now, a "pause"), and if that's true then executes the code in between {}. That is the equivalent of having while(true) {     your code;     20::ms => now; } Cheers, Mario On 22/02/20

Re: [chuck-users] ADSR AttackRate, decayRate, sustainRate

2020-02-18 Thread Mario Buoninfante
Hi Herman, These functions (attackRate, decayRate, releaseRate) are the inverse of the time ones (attackTime, decayTime and releaseTime). Looking at the source code you'll find the methods at row 4911 of ugen_stk.cpp. You can try the following script to see them in action: Step step => ADSR a1 =>

Re: [chuck-users] => now

2020-02-11 Thread Mario Buoninfante
in the example before I wrote 0.5::sample , but it is 0.5::samp sorry On Tue, 11 Feb 2020 at 13:21, Mario Buoninfante wrote: > Hi Herman, > > In ChucK you can also go sub-sample rate (ie 0.5::sample => now;). > I wouldn't worry about the *rate* of the events (how fast the

Re: [chuck-users] => now

2020-02-11 Thread Mario Buoninfante
up chuck to do the nex thing on the list? e.g. > read the incoming message? > > Cheers, > > Herman > > > > > > > ------ > *Van:* chuck-users-boun...@lists.cs.princeton.edu < > chuck-users-boun...@lists.cs.princeton.edu> namens Mario Buoninfante < > mario.buoninfa...@

Re: [chuck-users] => now

2020-02-11 Thread Mario Buoninfante
to be a bit more precise, when you have something like min => now; your program waits for a MIDI event in order to advance, but the ChucK time is still running. Anyway, more info in the link I shared :) On Tue, 11 Feb 2020 at 11:03, Mario Buoninfante wrote: > Hi Herman, > > You ca

Re: [chuck-users] => now

2020-02-11 Thread Mario Buoninfante
Hi Herman, You can use Events/MIDI/HID to advance in time. Have a look at this chapter if you want to know more about it https://en.flossmanuals.net/chuck/_full/#events In a nutshell what happens is that a MIDI event is received and that turns into a *trigger*, so your program advances in time. Ot

Re: [chuck-users] Array of SndBufs at different rates

2020-01-10 Thread Mario Buoninfante
you can also find more info here: https://en.flossmanuals.net/chuck/_full/#arrays On Fri, 10 Jan 2020 at 12:28, Matthew.Noone wrote: > Hi all, > I'm trying to figure out the easiest way to setup an array of the same > SndBuf playing at different rates. > > I'm using a Gong sample. Playing that

Re: [chuck-users] Array of SndBufs at different rates

2020-01-10 Thread Mario Buoninfante
Hi James, here's an example that shows how you can get/set values when dealing with arrays: [0.25, -0.5, 1., 0.25] @=> float rates[]; <<< "GET VALUES\n-" >>>; // get values from the array for(0 => int c; c < rates.size(); c++) { <<< rates[c] >>>; } <<< "\nSET VALUES\n-" >>>;

Re: [chuck-users] multi-tap delay vs multi-delay

2020-01-07 Thread Mario Buoninfante
Hi Michael, I'm not sure what would be the difference with your implementation, but I'd do something like that, where basically the various delays are in series: Impulse impulse => dac; impulse => DelayL tap_1 => dac.left; tap_1 => DelayL tap_2 => dac.right; tap_1 => Gain fback_1 => tap_1; tap_2

Re: [chuck-users] SndBuf Error.

2019-12-19 Thread Mario Buoninfante
Hi Maria, me.dir() doesn't accept strings but integers (or no arguments at all) to return the path, starting from the current folder (ie the folder where the ChucK script/program resides). Assuming your ChucK program is saved in a folder called: "~/Users/Me/Documents/ChucKFiles" if you use me.dir(

Re: [chuck-users] Sequencing with Launchpad and ChucK | Talk

2019-12-06 Thread Mario Buoninfante
emo) when I happened upon it after the Audio Developer > Conference this year. > > Spencer > > -- > > Spencer Salazar, PhD > spen...@spencersalazar.com | 831.277.4654 > https://spencersalazar.com > > > > On Tue, Dec 3, 2019 at 12:08 PM Mario Buoninfante < &g

[chuck-users] Sequencing with Launchpad and ChucK | Talk

2019-12-03 Thread Mario Buoninfante
Hi everybody, For those who are in London, the 10th of December I'm giving a talk about sequencing with Launchpad and ChucK at the Novation pop-up shop in Shoreditch. It's a free entry event. Hope to see someone from the list :) https://www.eventbrite.co.uk/e/novation-london-learn-hackspace-sequ

Re: [chuck-users] Generate midi file

2019-09-22 Thread Mario Buoninfante
Hi Claudio, What do you exactly mean with *create a wav file, bit in relation to MIDI*? Cheers, Mario On Sun, 22 Sep 2019 at 18:46, Claudio Rogerio wrote: > Hi people fine! > I'd like to record a midi file from any melody phrase via STK or > oscillator, is it possible? > There is a way to crea

Re: [chuck-users] New version of VSCode ChucK extension has been released

2019-09-11 Thread Mario Buoninfante
any problems, but ... you never know. > > Forrest > > On Tue, Sep 10, 2019 at 10:22 AM mario buoninfante > wrote: >> >> Hi Forrest, >> >> >> That's simply great, I'll give it a try as soon as possible :) >> >> Also cause I'v

Re: [chuck-users] New version of VSCode ChucK extension has been released

2019-09-10 Thread mario buoninfante
Hi Forrest, That's simply great, I'll give it a try as soon as possible :) Also cause I've recently started using VSCode, coming from Atom, and this is a really good excuse for me to dive a little bit more into it. Cheers, Mario On 10/09/2019 04:45, Forrest Cahoon wrote: Hey all! I jus

Re: [chuck-users] ChucK | Users Chugins/Chubgraphs/Chugens

2019-09-01 Thread Mario Buoninfante
> or to the docs via FLOSS manuals.  Or if a new shared library should be > created from scratch, for another try at broader community involvement, I'm > all for that as well. > > Cheers, > >    michael > > > On Sun, Aug 25, 2019 at 2:58 PM Mario Buoninfante >

Re: [chuck-users] ChucK | Users Chugins/Chubgraphs/Chugens

2019-08-25 Thread Mario Buoninfante
om/discussion/419/homemade-teensyduino-pedal-works-well-with-loopy > >    michael > > >> On Aug 21, 2019, at 4:07 PM, mario buoninfante >> wrote: >> > Hi Sarerac, > > > You can find more info about LiCK here: > https://en.flossmanuals.net/chuck/_full/#

Re: [chuck-users] ChucK | Users Chugins/Chubgraphs/Chugens

2019-08-21 Thread mario buoninfante
desde mi iPhone El 20 ago 2019, a las 0:29, mario buoninfante mailto:mario.buoninfa...@gmail.com>> escribió: Ehehe you're perfectly right Michael, and I have to say I love LiCK. I've learned tons just looking at the code in there. The reason why I didn't think abou

Re: [chuck-users] ChucK | Users Chugins/Chubgraphs/Chugens

2019-08-19 Thread mario buoninfante
de style if necessary. E.g. nearly all Chubgraphs extend from Effect or one of its subclasses https://github.com/heuermh/lick/blob/master/lick/effect/Effect.ck    michael On Aug 19, 2019, at 2:53 PM, mario buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Hi, I've been loo

[chuck-users] ChucK | Users Chugins/Chubgraphs/Chugens

2019-08-19 Thread mario buoninfante
Hi, I've been looking at CSound recently and I was impressed by the quantity of Opcodes (Ugens) it has. I know we have official Chugins, but still it's a small collection and I'm pretty sure there are plenty of interesting ones flying around that we all use every day (even if Chubgraphs), just

Re: [chuck-users] Embedded ChucK

2019-08-16 Thread mario buoninfante
in the water for iOS going forward, as Apple no longer allows the system exec calls.    michael On Aug 16, 2019, at 6:06 AM, Mario Buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Hi, Do we have anything like ctcsound (https://csound.com/docs/ctcsound/ctcsound-API.html) or lib

[chuck-users] Embedded ChucK

2019-08-16 Thread Mario Buoninfante
Hi, Do we have anything like ctcsound ( https://csound.com/docs/ctcsound/ctcsound-API.html) or libpd ( http://libpd.cc/) for ChucK. I know changes have been made in the latest release, I was just wondering if there's anything to look at out there. Cheers, Mario ___

[chuck-users] HPF | having issues with 'set' method

2019-07-28 Thread mario buoninfante
Hi, I just noticed that the 'set' method doesn't seem to work properly with HPF. the following code shows the difference between using 'set' and 'freq' Noise noise => HPF filter => dac; 100 => float f; filter.Q(1); while( true ) {     f + 100 => f;     if( f > 5000 )     {     100 => f;

Re: [chuck-users] ChucK + Launchpad

2019-07-27 Thread mario buoninfante
2019 16:47, Julien Saint-Martin wrote: Hi Mario, I have a Launchpad S and I'm interested in your project if someday it is supported ;-) Cheers, Julien Le jeu. 25 juil. 2019 à 13:53, Mario Buoninfante mailto:mario.buoninfa...@gmail.com>> a écrit : Hi Raul, At the moment onl

[chuck-users] ChucK + Launchpad

2019-07-25 Thread Mario Buoninfante
Hi Raul, At the moment only LP Pro is supported, but the plan is to support all of them. I've already received several responses form others who own the standard launchpad, so probably I'll re-prioritize the thing and work on supporting them first. Which LP have you got exactly? Cheers, Mario ___

[chuck-users] ChucK + Launchpad

2019-07-25 Thread Mario Buoninfante
Hi, is there anyone who owns a Novation Launchpad Pro and wants to be a beta tester for a new open source project that involves ChucK+Launchpad? Cheers, Mario ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu

[chuck-users] faust2ck | stereo to mono Chugins

2019-07-21 Thread Mario Buoninfante
Hi, I've been working on some new Chugins using faust2ck (that I got working with ChucK 1.4.0.0 - https://github.com/mariobuoninfante/faust2ck), and it seems that when a Chugin has a stereo input, then will automatically have a stereo output as well. For example, I've created a "sample and hold" t

[chuck-users] Expanding MIDI support

2019-07-07 Thread mario buoninfante
I suppose trying to use the latest version of RtMidi would require more work than simply address the issue I've reported. But, we could at least fix the problem on Linux where you cannot send 1 and 2 bytes messages (program changes, real-time and aftertouch), that seems a big one to me. What

Re: [chuck-users] Expanding MIDI support

2019-07-03 Thread mario buoninfante
it!    michael On Jul 2, 2019, at 3:53 PM, Mario Buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Nice :) MIDI clock works fine now (ChucK 1.4.0.0). There's a flag you can use to activate it that I don't remember whether is ON or OFF by default, but anyway is there.

Re: [chuck-users] Expanding MIDI support

2019-07-03 Thread mario buoninfante
On 02/07/2019 22:15, Michael Heuer wrote: Great, thanks!  I'll start a new thread asking how best to use it!    michael On Jul 2, 2019, at 3:53 PM, Mario Buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Nice :) MIDI clock works fine now (ChucK 1.4.0.0). There's a

Re: [chuck-users] how to use MIDI clock in ChucK

2019-07-02 Thread Mario Buoninfante
// wait another minute, then decelerate the tempo by 0.8 over the next 30 > seconds > 1::minute => now; > spork ~ ts.decel(0.8, 30::second); > > etc. > > If I can calculate the BPM from external clock, then I can adjust the BPM > in the TimeSignature class as it is running. &

Re: [chuck-users] how to use MIDI clock in ChucK

2019-07-02 Thread Mario Buoninfante
about receiving external clock, I think the goal there is to use the clock to drive the algorithm. I wouldn't try to calculate the BPM if not for just displaying it somewhere. On Tue, 2 Jul 2019 at 22:17, Michael Heuer wrote: > All, > > I'm curious how to use MIDI clock effectively in ChucK, in

Re: [chuck-users] Expanding MIDI support

2019-07-02 Thread Mario Buoninfante
out.send( msg_out ); } } else if( c % 3 == 2 ) { sys_msg[c] => msg_out.data3; out.send( msg_out ); } } } On Tue, 2 Jul 2019 at 22:15, Michael Heuer wrote: > Great, thanks! I'll start a new thread asking how best to use it! >

Re: [chuck-users] Expanding MIDI support

2019-07-02 Thread Mario Buoninfante
abled in ChucK for > performance reasons? > >michael > > > > On Jul 2, 2019, at 3:23 PM, Mario Buoninfante < > mario.buoninfa...@gmail.com> wrote: > > > > Hi everybody, > > > > One month ago I got started with an Open Source project whose goal i

[chuck-users] Expanding MIDI support

2019-07-02 Thread Mario Buoninfante
Hi everybody, One month ago I got started with an Open Source project whose goal is to support some hardware on various platforms/environments/programming languages (Pd, SC, Processing, Lua, Python, JS, etc.) and of course my goal is to have ChucK on board as well (hopefully I'll share more info a

[chuck-users] Makey Makey and miniAudicle (Windows)

2019-06-12 Thread Mario Buoninfante
Hi David, Could it be matter of permissions? On Linux I remember initially I had something similar, then I gave miniAudicle and ChucK the right permissions and everything was fine. I don't remember how to check this on Windows off the top of my head, maybe try to run miniAudicle as administrator a

Re: [chuck-users] Miniaudicle preferences error

2019-06-05 Thread Mario Buoninfante
o!! How can i build Chuck in Atom > > Enviado desde mi iPhone > > > El 1 jun 2019, a las 19:11, mario buoninfante < > mario.buoninfa...@gmail.com> escribió: > > > > Hi, > > > > > > Unfortunately I'm not a Mac user, and I don't really know wh

Re: [chuck-users] Miniaudicle preferences error

2019-06-01 Thread mario buoninfante
Hi, Unfortunately I'm not a Mac user, and I don't really know what could cause that. Only thing I can do is offering you an alternative to MiniAudicle, while someone more qualified than me (a C++ programmer basically :) ) replies to your question, I usually work with Atom+PlatformIO+"ChucK

[chuck-users] ChucK Bela

2019-05-03 Thread Mario Buoninfante
Hi, I just saw this online https://blog.bela.io/2019/05/03/bela-learn-csound/?fbclid=IwAR0N5zr36AD2bgkBd1PNQ8UmWlwYLsCsmSkVkwM4KcTWKzajkqsoE0NJp3I and wondering if anybody ever thought about porting ChucK on Bela as well. Cheers, Mario ___ chuck-users m

Re: [chuck-users] LiSa.feedback behavior

2019-05-02 Thread Mario Buoninfante
Hi Greg, I must admit I never used Lisa, I can try to have a look in the next couple of days and get back to you. Cheers, Mario -- Electronic Musician, Creative Coder, QA Engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com https://github.com/mariobuoninfante https:

Re: [chuck-users] FLOSS Manual update

2019-04-09 Thread Mario Buoninfante
Sorry Scott :( Anyway, sure let's have a chat in a couple of weeks, in the meanwhile I'll have a look at the tool Spencer shared. Cheers, Mario -- Electronic Musician, Creative Coder, QA Engineer https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com https://github.com/mariobu

Re: [chuck-users] FLOSS Manual update

2019-04-09 Thread Mario Buoninfante
t would be good to have a list of un documented stuff as crazy as that >> sounds! >> >> Scott >> >> -- >> visit me >> >> http://scotthewitt.co.uk >> @scotthewitt >> >> http://ablelemon.co.uk >> >> >> On Sun, 7 A

Re: [chuck-users] FLOSS Manual update

2019-04-07 Thread mario buoninfante
ersity of Alberta  [ - ] On Apr 7, 2019, at 4:37 AM, mario buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Hi, I just added 2 chapters (and updated an existing one), to the ChucK FLOSS manual (https://en.flossmanuals.net/chuck <https://l.facebook.com/l.php?u=https%3A%

Re: [chuck-users] Date and Time (Mario)

2019-04-07 Thread mario buoninfante
s more specific than "Re: Contents of chuck-users digest..." Today's Topics: 1. Get date and time (Mario Buoninfante) -- Message: 1 Date: Wed, 3 Apr 2019 14:17:32 +0100 From: Mario Buoninfante To: ChucK S

[chuck-users] FLOSS Manual update

2019-04-07 Thread mario buoninfante
Hi, I just added 2 chapters (and updated an existing one), to the ChucK FLOSS manual (https://en.flossmanuals.net/chuck

[chuck-users] Get date and time

2019-04-03 Thread Mario Buoninfante
Hi, Is there any way to get date and time in ChucK? I was hoping for something that's not Std.system(). Cheers, Mario ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

[chuck-users] issue adding elements to an array

2019-03-28 Thread Mario Buoninfante
Sorry, this is the right code that shows 'the issue': function static void insert_1( string array[], string x, int pos ) { string mom_arr[0]; if( pos < array.size() && pos >= 0 ) { for( pos => int c; c < array.size(); c++ ) { mom_arr << array[c]; }

[chuck-users] issue adding elements to an array

2019-03-28 Thread Mario Buoninfante
Hi, I suspect I'm probably doing something stupid and just not realizing it, but I don't understand why these 2 functions ("insert_1" and "insert_2") are giving me 2 different results: function static void insert_1( string array[], string x, int pos ) { string mom_arr[0]; if( pos < array.

[chuck-users] Eval function

2019-03-28 Thread Mario Buoninfante
Hi, Do we have anything like an 'eval' function in ChucK? Cheers, Mario ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Re: [chuck-users] ChucK Ubuntu package

2019-03-20 Thread Mario Buoninfante
maintainable for future releases, that would be awesome.  >> >> Spencer >>   >> >> >> On Wed, Mar 20, 2019 at 3:40 AM Mario Buoninfante >> wrote: >>> >>> Hi, >>> >>> I just noticed that the ChucK Ubuntu package is quite

[chuck-users] ChucK Ubuntu package

2019-03-20 Thread Mario Buoninfante
Hi, I just noticed that the ChucK Ubuntu package is quite old (v 1.2). Would it be possible to update it? What's the procedure for that? Cheers, Mario ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman

[chuck-users] FaucK - issue with 'v' methods

2019-03-19 Thread Mario Buoninfante
Hi, I'm using the FaucK chugin and I don't know why when I use the 'compile' method to load a Faust script, then I cannot change the parameter in it (ie my_faust.v("param", value) ). The same script, when 'embedded' in the ChucK code using 'eval', works fine. I also tried specifying the entire pat

[chuck-users] FaucK inquiry

2019-03-18 Thread Mario Buoninfante
Hi, Is there any plan to allow the FaucK chugin to deal with more than 1 input and output? Cheers, Mario Sent from my WIKO U PULSE LITE___ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuc

[chuck-users] Gen10 issue with odd harmonics

2019-02-23 Thread mario buoninfante
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. -- Ele

[chuck-users] Gen10 issue with odd harmonics

2019-02-23 Thread mario buoninfante
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 Hookin

Re: [chuck-users] FaucK compilation/installation problem?

2019-01-27 Thread Mario Buoninfante
Hi Marc, I installed the package you can find under 'Linux'. Cheers, Mario Sent from my WIKO U PULSE LITEOn 27 Jan 2019 13:35, Marc Lavallée wrote: > > Le 2019-01-27 à 3:07 a.m., Mario Buoninfante a écrit : > > Hi Marc, > > > > I had the same on Ubuntu St

Re: [chuck-users] FaucK compilation/installation problem?

2019-01-27 Thread Mario Buoninfante
Hi Marc, I had the same on Ubuntu Studio 16.04, then I installed FaucK from here and everything worked https://ccrma.stanford.edu/~rmichon/fauck/ Worth giving a try. Cheers, Mario Sent from my WIKO U PULSE LITEOn 27 Jan 2019 01:13, Marc Lavallée wrote: > > Hello Chuck users (and gurus). Th

[chuck-users] running() doesn't return status of the shred

2019-01-03 Thread mario buoninfante
Hi, I found out that running() always return the value 0, doesn't matter if the shred is actually running or not. done() instead seems to work fine. I tried on my Linux machine running Ubuntu Studio 16.04 using ChucK 1.4.0.0. Here's a little script that shows the issue: 0 => int c; spork ~ l

[chuck-users] SysExIn and SysExOut classes

2018-12-19 Thread Mario Buoninfante
Hi, I made 2 simple classes that allow to send/receive SysEx messages on ChucK: https://bitbucket.org/mariobuoninfante/sysex/src/master/ All they do it's basically sending/receiving messages via OSC to/from Pure Data that deals with actual SysEx messages. It seems to work fine, but I didn't do a

[chuck-users] Gen10 issue with coefficients

2018-12-08 Thread mario buoninfante
Hi, I'm working with the Gen10 UGen and it seems like once I set up the coefficients, I can't change them on the fly anymore. To be more precise I can only add new sines to the table but I can't get rid of the ones that are already there. Here's an example where I try to remove the fundamen

Re: [chuck-users] TCP protocol

2018-12-04 Thread mario buoninfante
hem and then forward them to the intended recipient over just one TCP connection and continue to use that one connection the whole time. It may or may not respond to your ChucK program over OSC, depending on whether you want the ChucK program to get responses to its requests (

Re: [chuck-users] TCP protocol

2018-12-03 Thread Mario Buoninfante
nd continue to use that > one connection the whole time. It may or may not respond to your ChucK > program over OSC, depending on whether you want the ChucK program to get > responses to its requests (probably not?). > > > On Sat, Dec 1, 2018 at 1:25 PM mario buoninfante < >

Re: [chuck-users] TCP protocol

2018-12-01 Thread mario buoninfante
know if anyone has a better solution. Cheers, Mario On 01/12/2018 18:04, mario buoninfante wrote: Hi, I also tried opening a file in /dev/tcp//, but it didn't work. I'm on Ubuntu 16.04. Any idea? Cheers, Mario On 30/11/2018 16:52, Mario Buoninfante wrote: Hi, Does

  1   2   >