[chuck-users] Getting the channel of a MidiMsg?

Cesare Marilungo cesare at poeticstudios.com
Sun Apr 15 06:31:31 EDT 2007


Ken Restivo wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm looking through the ChucK docs and source code, and I can't figure out how to get the MIDI *channel* from a MidiMsg event.
>
> Sure, there's data1 (the command), data2, and data3, but... no channel.
>
> Thanks.
>
> - -ken
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFGIdkMe8HF+6xeOIcRAqp/AKDhn2NVd0TIiSakwwS3PEB4i5XKSgCeL8e9
> cl93uMfs609o02c9l0gzbW0=
> =LZsX
> -----END PGP SIGNATURE-----
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>
>   
Hi Ken,

I never needed it, so I made a quick test.

It is in data1. 144 is noteon on channel 1, 145 is channel 2... and so on.

c.

-- 
http://www.cesaremarilungo.com



More information about the chuck-users mailing list