[CM] (no subject)
philippe.cabanon at laposte.net
philippe.cabanon at laposte.net
Mon May 18 00:16:56 PDT 2020
Guten Morgen Ludger,
Thank you, I get the idea.
In fact, I was wondering if it was possible to modify a sound already emitted, as you do with a knob on a midi controller keyboard (keeping the same original sound).
But I'm already going to use the "mp:ctrl" function in the way you suggested.
Vielen Dank,
Ph.C
----- Mail original -----
De: "ludger brümmer" <lb at zkm.de>
À: "philippe cabanon" <philippe.cabanon at laposte.net>
Cc: "cmdist at ccrma.stanford.edu" <cmdist at ccrma.Stanford.EDU>
Envoyé: Dimanche 17 Mai 2020 20:50:43
Objet: Re: [CM] (no subject)
hi Philippe,
here an example for pan
(define (player)
(process
for i from 0 to 127 do
(mp:ctrl :num 10 :val i :chan 0) ;between 0 Left and 127 Right
(mp:midi :key 80 :dur .05 :amp .5 :chan 0)
(wait .1)
))
(sprout (player) )
;;;or
(sprout (player) "pan.mid“)
;;; and another one for volume fade
(define (player-volume)
(process
for i from 0 to 1 by .1 do
(mp:midi :key 80 :dur .05 :amp i :chan 0)
(wait .1)
))
(sprout (player-volume) )
;;;or
(sprout (player-volume) "volume.mid")
viele Grüße / all the best
Ludger Brümmer
--
Prof. Ludger Brümmer
Leitung | Head of Department
Hertz-Labor | Hertz-Lab
Professor für Komposition für digitale Medien
Musikhochschule Trossingen, mh-trossingen.de
/////// / |< ||| | ZKM | Zentrum für Kunst und Medien Karlsruhe
/////// / |< ||| | ZKM | Center for Art and Media Karlsruhe
/////// / |< ||| | ZKM | Centre d'Art et des Médias Karlsruhe
Lorenzstr. 19, D-76135 Karlsruhe
Tel +49-(0)721-8100-1601, Fax +49-(0)721-8100-1699
E-Mail: ludger.bruemmer at zkm.de
www.zkm.de
Aktuelle Ausstellungen – current exhibitions
Am 17.05.2020 um 11:39 schrieb philippe.cabanon at laposte.net :
Hi everyone,
Noone has answered so far.
Can anyone help me, please?
Here are my questions again:
I don't understand what I have to type to use the Midi Controlers Numbers in Grace:
mp:ctrl? (mp:ctrl :num 10 :val 120 :chan 0)? what values are needed in the parameters and what are their meanings ?
mp:press? (ditto)
mp:prog? (is the only use the change of instruments or can we utilize the command for other possibilities?)
And : how to pan from left to right ? how to up and down the volume ? etc.
Thank you,
Looking forward to your answers.
Best regards,
Philippe
_______________________________________________
Cmdist mailing list
Cmdist at ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/cmdist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20200518/662a8c10/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zkm-cz.jpg
Type: image/jpeg
Size: 41457 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20200518/662a8c10/attachment-0001.jpg>
More information about the Cmdist
mailing list