[CM] (no subject)

ludger brümmer lb at zkm.de
Sun May 17 11:50:43 PDT 2020


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



 <https://zkm.de/critical-zones/>

Aktuelle Ausstellungen <http://www.zkm.de/ausstellungen> – current exhibitions <http://www.zkm.de/en/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/20200517/a90441b6/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/20200517/a90441b6/attachment-0001.jpg>


More information about the Cmdist mailing list