[chuck-users] MIDI-synchronization and metric timing (?)

Manuel Bärenz manuel at enigmage.de
Thu Dec 5 13:26:06 EST 2013

An easy solution is to just define what a bar is, and then go from there:

1::minute / bars_per_minute => bar; // set bars_per_minute accordingly
bar / 8 => quaver;
SinOsc s => dac;
440 => s.freq;
while (true)
    quaver => now;
    0 => s.gain;
    quaver => now;
    1 => s.gain;

It would help if we knew more about the format that you have the timing in.

Am 05/12/13 18:11, schrieb Gregorio Gomez:
> Hi, Steve:
> Unfortunately, I don't have an answer for you, but I'm hoping someone does.
> Did you figure this out?
> I would love to find a way to drive FL studio from a MIDI source, and ChucK would be a great option for that -- I think. I always seem to hit roadblocks when trying to drive FLS via midi.
> What DAW are you using?
> Greg
> -----Original Message-----
> From: Blixa Barscheck [mailto:Blixa2 at gmx.net] 
> Sent: Saturday, November 30, 2013 12:27
> To: chuck-mailinglist
> Subject: [chuck-users] MIDI-synchronization and metric timing (?)
> Hi, ChucK-Community!
> My name is Steve. So far I  have been using Max 6 for MIDI-programming. My primary workflow is that I generate MIDI-data in Max and send them to my DAW where it's used to trigger several SoftSynths. I am the point now, however, where Max doesn't offer me enough flexibility to realize what I want to do. I am considering switching to ChucK. There is one thing, however, I need to know about ChucK: In Max I am able to synchronize it's timing mechanism  to my DAW and define any kind of timing data (e.g.: frequency of an LFOsc) in metric timing (1/16-notes, 1/8-notes, etc.). Is this also possible in ChucK? If no, then ChucK unfortunately is no option for me, at least at the moment.
> Thanks!
> best regards,
> steve
> --
> Diese E-Mail wurde aus dem Sicherheitsverbund E-Mail made in Germany versendet: http://www.gmx.net/e-mail-made-in-germany
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

More information about the chuck-users mailing list