[chuck-users] => now

Mario Buoninfante mario.buoninfante at gmail.com
Tue Feb 11 06:07:21 EST 2020


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 <mario.buoninfante at gmail.com>
wrote:

> 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. Otherwise it stays
> there until a MIDI even happens.
> See it more as a trigger than a *time constant* if that makes sense.
>
> Cheers,
> Mario
>
> On Tue, 11 Feb 2020 at 10:59, herman verbaeten <hverb54 at hotmail.com>
> wrote:
>
>> Hi,
>>
>> I'm trying to understand what's really  happening in chuck.
>> I thought i did untill i saw some exemples of midi.
>>
>> Normaly you can only feed time or duration into now ( e.g. 10::ms => now)
>> But in case you are awaiting a midi-in message you write :
>>
>> MidiIn min;
>> while (true)
>> {
>> min => now
>> }
>>
>> So in fact do you assign the message to time? Total confusion!
>> Thanks for your answer.
>>
>> Herman
>>
>>
>> _______________________________________________
>> 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: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20200211/5e7500d2/attachment-0001.html>


More information about the chuck-users mailing list