[CM] with-sound keywords from grace

ludger brümmer lb at zkm.de
Tue Sep 29 14:54:40 PDT 2020


Hi everyone

I ran into an inconsistency regarding the keywords for with-sound in clm and Grace. The output of both examples should have  the same result, but unfortunately the :scaled-to is ignored, somehow the :statistics #t as well.  I guess it is because :scaled-to is a macro and not a variable. Furthermore the :data-format has to be articulated in a different way, what is in clm  :data-format mus-b24int is in Grace :data-format 8.

Does anyone have an idea what to do, especially the not working :scaled-to function is causing a lot of extra work.

(with-sound (   :output „test.aiff“ 
			:statistics #t 
                         :data-format mus-b24int  
                         :header-type mus-aiff
                         :scaled-to .9 
                         ) 
(fm-violin 0 10 440 .1 :fm-index 2.0))

(define (test-violin a b c d e)
  (process 
    repeat 1
    do (fm-violin a b c d e)
    (wait 1)
    ))

(sprout (test-violin 0 10 440 .1 2.0)  
        "test2.aiff“ 
	:statistics #t  ;;;is somehow ignored
        :data-format 8 ;;; in Grace it is 8 and in CLM mus-b24int
        :header-type mus-aiff 
        :scaled-to .9 ;;; is completely ignored
       )




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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20200929/4ad035c5/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/pipermail/cmdist/attachments/20200929/4ad035c5/attachment-0001.jpg>


More information about the Cmdist mailing list