[chuck-users] Wrap/Modulo UGen

2017-08-02 Thread mario buoninfante
Hi All, do you guys know if there's a Modulo/Wrap Ugen? I'd like to use the same Phasor to read 2 or more different arrays (Wavetable UGen), but I must read them from a different starting point. cheers, Mario ___ chuck-users mailing list

Re: [chuck-users] Can I use ADSR UGen to envelope parameters other than gain (e.g. pitch)?

2017-11-01 Thread Mario Buoninfante
Hi, yap, the following is a possible solution: Step step => ADSR adsr => SinOsc oscil => dac; step.next(500); adsr.set(5::ms, 150::ms, 1, 500::ms); while(true){ adsr.keyOn(); 400::ms => now; adsr.keyOff(); 1000::ms => now; } cheers, Mario 2017-11-01 16:17 GMT+00:00 Michael

[chuck-users] Fwd: Re: polyphony with MIDI

2017-12-11 Thread mario buoninfante
Forwarded Message Subject:Re: [chuck-users] polyphony with MIDI Date: Mon, 11 Dec 2017 20:54:30 + From: mario.buoninfante To: Michael Hi Michael, There should be a really good script in the examples

Re: [chuck-users] ChucK FLOSS - MIDI reference

2018-05-22 Thread mario buoninfante
Hi Juan, thanks a lot for that. I forgot there was an example about it. despite I work quite a lot with MIDI in general, from both programming and musical purposes, I've almost never used MIDI files. so, honestly I've never paid attention to that example, mea culpa :) apart from that, now

Re: [chuck-users] Chugin/Faust issue

2018-06-18 Thread Mario Buoninfante
could be that Faust is including a >> slightly older version of chuck_dl.h when building the chugin ? >> Chugins built with Version 1.3.6.0 are no longer compatable with 1.4.0.0, >> I also had to recompile my own chugins because of this. >> >> Best, >> Casper

[chuck-users] Chugin/Faust issue

2018-06-16 Thread mario buoninfante
Hi, I'm having issue with a chugin generated with faust2ck. I'm on a 64bit Linux machine (Ubuntu Studio 16.04) and I created a simple /sample and hold/ component in Faust (SampleAndHold.dsp that contains /declare name "SampleAndHold"//;/) and then turned it into a chugin using faust2ck.

[chuck-users] FLOSS manual on floss website

2018-06-20 Thread mario buoninfante
Hi, in the next days the ChucK manual we'll be brought back to http://flossmanuals.net (there's always been a version there, in the meanwhile on the new platform we were updating a copy of it). as I reported here when I started working on it, at that time I've been asked to test a new

Re: [chuck-users] Chugin/Faust issue

2018-06-20 Thread mario buoninfante
<https://spencersalazar.com/> On Mon, Jun 18, 2018 at 7:18 AM, Mario Buoninfante mailto:mario.buoninfa...@gmail.com>> wrote: Hi Casper, that's a really good point, in fact I had to do the same with my chugins after installed ChucK 1.4.0.0 I'll double check. cheers,

Re: [chuck-users] Critter & Guitari Organelle OS3

2018-01-10 Thread mario buoninfante
Hi Michael, thanks, I'm glad you like it :) I'm happy to hear that at Critter & Guitari they at least gave it a try. honestly I didn't know that Organelle's HW spoke OSC, that's really cool. Unfortunately I don't own an Organelle, I just saw it once at work, but I'm really interested in it

Re: [chuck-users] static strings and the future

2018-01-13 Thread mario buoninfante
Hi, I'd like to ask the same question about the development status. the only thing I can say is that also if the development seems to be a bit stuck, on the other side I noticed that they're pushing on the educational side (see Kadenze courses), and if you look at the github repository,

[chuck-users] Sysex (again, I Know ;) )

2018-02-18 Thread mario buoninfante
Hi, still experimenting with sysex, I noticed that on MacOS it is possible to send sysex with a length not multiple of 3 will fill, while on Linux I cannot do the same. does anyone know why this happens? I suspect the "issue" is ALSA, can anyone confirm that? cheers, Mario

Re: [chuck-users] ChucK Floss manual

2018-02-24 Thread mario buoninfante
Absolutely, translations are really important as well. Now I got an ID that allows me access the floss manual and this afternoon I'll have a look at it. I'll report here what is the current status. In this way we all can think about how to tackle it. Cheers, Mario On 24/02/18 14:12, tth

Re: [chuck-users] ChucK Floss manual

2018-02-22 Thread mario buoninfante
://www.ablelemon.co.uk http://www.theaudiopodcast.co.uk On 22 February 2018 at 23:55, mario buoninfante <mario.buoninfa...@gmail.com> wrote: Hi everybody, I had a quick look at the FLOSS manual (http://write.flossmanuals.net/chuck/introduction/) and I noticed the link is broken. since I'm disco

[chuck-users] ChucK Floss manual

2018-02-22 Thread mario buoninfante
Hi everybody, I had a quick look at the FLOSS manual (http://write.flossmanuals.net/chuck/introduction/) and I noticed the link is broken. since I'm discovering a lot of hidden stuff in the source code (Teabox, CNoise, DelayP, etc.), stuff not documented anywhere, I thought it would be

[chuck-users] Organelle OS3

2018-01-01 Thread mario buoninfante
Hi everybody, I just read about Organelle OS 3 release by Critter and Guitari (https://www.critterandguitari.com/blogs/news/organelle-os-3), where they say, I quote: /The Organelle is no longer for only Pd patches and will load patches written in other languages (e.g. SuperCollider)/ I

Re: [chuck-users] FLOSS manual on floss website

2018-07-05 Thread mario buoninfante
Hi, sure thing, I mean I can't help with that since I don't speak French. but of course I think it's a great thing, so I'm happy to help in whatever way. cheers, Mario On 05/07/18 21:14, tth wrote: On 07/05/2018 09:30 PM, mario buoninfante wrote: hi everybody, ChucK FLOSS manual has

[chuck-users] FLOSS manual on floss website

2018-07-05 Thread mario buoninfante
hi everybody, ChucK FLOSS manual has been brought back on https://flossmanuals.net/ PDF

[chuck-users] ChucK Floss manual

2018-02-28 Thread mario buoninfante
Hi all, I know it's only a start, but now ChucK manual is online again (there was an issue with 2 chapters sharing the same name). I also updated the /Installation/ chapter, now the /Linux building and dependencies/ paragraph has been refers to Ubuntu 16.04, the latest LTS version. I'm not

Re: [chuck-users] ChucK Floss manual / bug reporting

2018-04-07 Thread mario buoninfante
Manual and the OmniBook version of the manual? Which one is the primary version? Scott -- visit me http://www.scotthewitt.co.uk @scotthewitt http://www.ablelemon.co.uk http://www.theaudiopodcast.co.uk On 7 April 2018 at 14:23, mario buoninfante <mario.buoninfa...@gmail.com>

Re: [chuck-users] ChucK Floss manual / bug reporting

2018-04-07 Thread mario buoninfante
Hi Doug, would you like to send me your email address so that I can send you an invite to join us on Omnibook? if you prefer you can send it directly on my mail. cheers, Mario On 07/04/18 13:52, Nunn, Douglas wrote: Hi, First, thanks to Ge and the development team for a great program.

[chuck-users] ChucK Floss manual / bug reporting

2018-04-08 Thread mario buoninfante
Hi Scott, sure I only need your email address to send you the invite. if you want you can also send it to my personal mail: mario.buoninfa...@gmail.com cheers, Mario ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu

[chuck-users] FLOSS manual - FM chapter

2018-04-09 Thread mario buoninfante
Hi everybody, I also added a small introduction to FM synthesis. as usual, feedback are welcome :D FM Chapter cheers, Mario ___ chuck-users mailing list chuck-users@lists.cs.princeton.edu

Re: [chuck-users] FLOSS manual - FM chapter

2018-04-09 Thread mario buoninfante
udicle with a chuck class file? Thank you for the FM guide. ZS Sent from my iPhone On Apr 9, 2018, at 3:39 PM, mario buoninfante <mario.buoninfa...@gmail.com <mailto:mario.buoninfa...@gmail.com>> wrote: Hi everybody, I also added a small introduction to FM synthesis. as usual, fe

Re: [chuck-users] ChucK Floss manual / bug reporting

2018-04-07 Thread mario buoninfante
Hi Doug, I'm currently working on updating the FLOSS manual (https://omnibook.pro/chuck/_full/), and of course it would be great to have someone else helping out. would you like to join the team? :D cheers, Mario On 07/04/18 13:52, Nunn, Douglas wrote: Hi, First, thanks to Ge and the

[chuck-users] FLOSS manual - AM chapter

2018-04-07 Thread mario buoninfante
Hi everybody, new chapter has been added to the FLOSS manual, simple AM introduction. feedback is welcome synthesis basics - part III then I'm also happy to announce that other 2 persons are helping out with the manual update

Re: [chuck-users] SndBuf - audio file with samplerate different from 44100

2018-03-24 Thread Mario Buoninfante
e inexact nature of floating point arithmetic means > that resampling from 44100 -> 48000 -> 44100 will most likely result in a > different series of actual values. > > Spencer > > [1] http://floating-point-gui.de/errors/comparison/ > > > On Sat, Mar 24,

Re: [chuck-users] SndBuf - audio file with samplerate different from 44100

2018-03-24 Thread Mario Buoninfante
) ) - sorry for the terrible syntax, it's just to show the logic behind. all this makes me think that it would be great having a method that returns the sample rate of the audio file loaded. :) cheers, Mario cheers, Mario On Sat, Mar 24, 2018 at 5:29 PM, Mario Buoninfante < mario.buoni

Re: [chuck-users] code to run when "remove shread" command is sent

2018-03-27 Thread mario buoninfante
, This doesn't exist currently, but usually the way this is handled is to run any cleanup before removing the shred. It requires a bit more planning up front in terms of code architecture, but isn't too insane. Spencer On Tue, Mar 27, 2018 at 4:47 PM, mario buoninfante <mario.buoninfa...@gmail.

[chuck-users] code to run when "remove shread" command is sent

2018-03-27 Thread mario buoninfante
Hi all, is there a way to run a bit of code after then ChucK receives the command to remove the shread? I'll try to be a bit more clear. I'm using a MIDI controller and my script controls its LEDs. the point is, when I remove the shread, the LEDs remain on. so I'd like to turn them off

[chuck-users] FLOSS manual new paragraphs

2018-03-17 Thread mario buoninfante
Hi, as I mentioned few weeks ago I started updating the ChucK FLOSS manual (ChucK_FLOSS ). today I also added a new paragraph (Synthesis Basics - Part I ). the idea is to expand the tutorial chapter

Re: [chuck-users] Latency Vs Midi timings precision

2018-03-19 Thread Mario Buoninfante
Hi Julien, I work on Linux as well, using Jack as audio core. there's a specific setup I've got that uses ChucK as slave (an external hardware sends MIDI clock to it and Pure Data). I have to say I've never experienced anything like this, but honestly this specific ChucK script I'm using is in

[chuck-users] generate Chugins using Faust

2018-03-19 Thread Mario Buoninfante
Hi, does anybody know if it's still possible to create ChucK chugins using Faust? I know about Fauck, that is an amazing project, but I remember a couple of years ago it was possible to generate Chugins as well. but now it looks like it's not possible anymore, also if I read about it on Kadenze

Re: [chuck-users] Latency Vs Midi timings precision

2018-03-19 Thread Mario Buoninfante
> > Midi Driver: None > > I call ChucK (Jack version) with parameter --bufsize8192 > > What is the specific setup your are talking about ? > > Thanks! > Julien > > > > 2018-03-19 15:16 GMT+01:00 Mario Buoninfante <mario.buoninfa...@gmail.com> > : >

[chuck-users] ChucK FLOSS - MIDI reference

2018-03-22 Thread Mario Buoninfante
Hi everybody, I added a new chapter to the ChucK FLOSS manual, MIDI Reference https://omnibook.pro/chuck/_full/#midi at the moment there are info about MIDI also under the Event Reference, which I don't wanna touch for now. anyway, there are a couple of classes I've never seen before,

[chuck-users] ChucK FLOSS - MIDI reference

2018-03-23 Thread mario buoninfante
Hi, I merged the new chapter with the Event one, I thought was the best thing to do. so now everything is under the Event chapter like it was before, which is simply been expanded. cheer, Mario ___ chuck-users mailing list

[chuck-users] SndBuf - audio file with samplerate different from 44100

2018-03-24 Thread mario buoninfante
Hi, It seems like SndBuf deals in a different way with audio files which have different sample rate. I tried this simple program where the 2 audio files samples are compared (perc.wav and perc2.wav which are the same file one 44100 and the other 48000 Hz sample rate), so that I can check if

[chuck-users] SndBuf - audio file with samplerate different from 44100

2018-03-24 Thread mario buoninfante
I forgot to say, that the program I posted in the previous mail returns a lot of errors, basically 97% of the file length. I suppose the samples which are the same are all 0. btw the bit depth is the same, they're both 16 bit. cheers, Mario ___

Re: [chuck-users] ChucK FLOSS - MIDI reference

2018-03-24 Thread mario buoninfante
things covered here that are not covered elsewhere.  Thanks again. Regards, Mitch Regards, Mitch *From:* chuck-users-boun...@lists.cs.princeton.edu <chuck-users-boun...@lists.cs.princeton.edu> on behalf of mario buoni

[chuck-users] ChucK Floss manual

2018-03-03 Thread mario buoninfante
Hi all, ChucK Floss manual has been ported here: ChucK FLOSS we're testing this new writing system, that I have to say at the first sight looks more advanced that the one used on the old website (FLOSS ). of course nothing

[chuck-users] miniAudicle source - chuck folder is empty

2018-03-03 Thread mario buoninfante
Hi all, I downloaded miniAudicle source code (miniAudicle github ) and I noticed that the ChucK folder (miniAudicle-master/src/chuck/) is empty. am I doing something wrong? cheers, Mario

Re: [chuck-users] miniAudicle source - chuck folder is empty

2018-03-03 Thread mario buoninfante
: https://gist.github.com/gitaarik/8735255 -Jack On Sat, Mar 3, 2018 at 11:42 AM, mario buoninfante <mario.buoninfa...@gmail.com <mailto:mario.buoninfa...@gmail.com>> wrote: Hi all, I downloaded miniAudicle source code (miniAudicle github <https://github.com/ccrma/m

[chuck-users] SinOsc UGen

2018-10-23 Thread Mario Buoninfante
Hi, As already pointed out by someone else here, I noticed we've got the SinOsc UGen that doesn't use a wavetable but instead uses the sin function. I don't know what the reason behind this decision, but I was wondering whether it would be possible to also have a variant that uses wavetable as

[chuck-users] SinOsc UGen

2018-10-24 Thread mario buoninfante
Hi, I ran the same simple test on my Linux machine (Asus i5-6198DU 2.30 GHz, 8 Gb RAM - Ubuntu Studio 16.04) and here I've got different results: SndBuf x 50 - 15.3% CPU usage SinOsc x 50 - 15.7% CPU usage What could explain this? cheers, Mario

Re: [chuck-users] Biweekly appointment with ChucK on the Facebook group

2018-11-01 Thread Mario Buoninfante
tic Mario, thanks for organizing this! Couldn't >>> join this time, but will aim to do so in the next one. >>> >>> Gonzalo >>> >>> >>> On 31.10.18 04:52, mario buoninfante wrote: >>> > Hi everybody, >>> > >>>

[chuck-users] SinOsc UGen

2018-10-24 Thread Mario Buoninfante
Hi, I tried using SndBuf instead of SinOsc (both on Rasp Pi and a MacBookPro), but SinOsc seems to offer better performances. On the Mac (2.7 GHz Intel Core i5, 16 GB 1867 MHz DDR3, MacOS Sierra 10.12.6), running the code you'll find below, I've got this CPU usage (I used top from terminal to

Re: [chuck-users] SinOsc UGen

2018-10-24 Thread Mario Buoninfante
2-f587b...@getmailspring.com/1?redirect=https%3A%2F%2Flists.cs.princeton.edu%2Fmailman%2Flistinfo%2Fchuck-dev=Y2h1Y2stdXNlcnNAbGlzdHMuY3MucHJpbmNldG9uLmVkdQ%3D%3D> > > > Sent from Mailspring > <https://link.getmailspring.com/link/1540330200.local-c32b839e-ac26-v1.4.2-f587b...@getm

Re: [chuck-users] Biweekly appointment with ChucK on the Facebook group

2018-11-05 Thread mario buoninfante
oes on the existing ChucK forum at http://electro-music.com/forum/forum-140.html     Doug *From:* chuck-users-boun...@lists.cs.princeton.edu [chuck-users-boun...@lists.cs.princeton.edu] on behalf of Mario Buoninfante [mario.buoni

[chuck-users] ChucK scripting language for Audio/MIDI testing

2018-11-05 Thread mario buoninfante
Hi, Has anyone ever used ChucK for audio/MIDI testing? I personally used it in more than a couple of occasions, and I found it really useful. Nowadays, also for audio and MIDI, Python is pretty much the standard language for testing. Actually it is quite powerful, especially considering the

[chuck-users] TCP protocol

2018-11-30 Thread Mario Buoninfante
Hi, Does anyone know if it's possible to use TCP instead of UDP 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] TCP protocol

2018-12-04 Thread mario buoninfante
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 mailto:mario.buoninfa.

[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

Re: [chuck-users] TCP protocol

2018-12-01 Thread mario buoninfante
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 anyone know if it's possible to use TCP instead of UDP in ChucK? Cheers, Mario -- Electronic Musician, Creative

[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 ~

[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

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).

[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] 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

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

[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] 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. --

[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

[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

Re: [chuck-users] ChucK Ubuntu package

2019-03-20 Thread Mario Buoninfante
or 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 old (v 1.2). Wo

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

[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

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

Re: [chuck-users] Miniaudicle preferences error

2019-06-05 Thread Mario Buoninfante
n 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 what could > cause

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

[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

Re: [chuck-users] Expanding MIDI support

2019-07-03 Thread mario buoninfante
/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 flag you c

Re: [chuck-users] Expanding MIDI support

2019-07-03 Thread mario buoninfante
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. Like I said there's

[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

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

2019-07-02 Thread Mario Buoninfante
ute, 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. > >mich

Re: [chuck-users] FLOSS Manual update

2019-04-09 Thread Mario Buoninfante
ave 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 Apr 2019 at 15:52, ma

[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

Re: [chuck-users] Embedded ChucK

2019-08-16 Thread mario buoninfante
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 libpd (http://li

[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),

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 about it is bec

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

2019-08-25 Thread Mario Buoninfante
e-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/#lick-library-for-chuck &g

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

2019-09-01 Thread Mario Buoninfante
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 > wrote: >> >> Hi

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

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

2019-09-11 Thread Mario Buoninfante
.. 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've recently started using VSCode,

[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 =>

[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

[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.

[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 :)

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

2019-12-06 Thread Mario Buoninfante
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 < > ma

Re: [chuck-users] Generate midi file

2019-09-23 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

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

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

[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

[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] 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
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
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...@gmail.com> > *Verzonden:* din

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 they're

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

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

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

  1   2   >