[CM] CLM in Grace 3.10.0 not working and CLM/CM-score-request

Taube, Heinrich K taube at illinois.edu
Wed Jun 21 13:38:44 PDT 2017


arrg,  if anyone is a fool its me, *clm-data-format* has been renamed *clm-sample-type* and i thought i caught all those in the refactoring.
straight clm calls should still work now, eg   (make-bird) -- ill get the cm side fixed tomorrow morning and make a new tarball/app

> On Jun 21, 2017, at 3:02 PM, Daniel Hensel <danielhensel at icloud.com> wrote:
> 
> Hi,
> 
> I hope I do not make a fool out of myself, but I tried some CLM-code in the new Grace-Version on macOS sierra 10.5. and it is not working:
> 
> when I evaluate the built-in CLM Code-examples:
> 
> (define (simpwav n r d lb ub)
>   (process repeat n
>            for k = (between lb ub)
>            do
>            (wave (elapsed #t) d (hertz k) .1)
>            (wait r)
>            ))
> 
> (sprout (simpwav 10 .2 .1 60 80) "test.wav“)
> 
> The compiler complains:
> 
> simpwav
> >>> Error: *clm-data-format*: unbound variable
> snd:open-output-file: (list-prop args :data-fo... ; args: (:data-format 10 :header-t...
> snd:open-output-file: (mus-sample-type-name (l...
> snd:open-output-file: (*wsdat*)open-file: ((set! mode *score-type-sndlib*))      ; mode: 0
> open-file: ((ffi_sched_set_score_mode mode) mode)sprout: ((if *sprout-hook* (*sprout-hook* file... ; file: "test.wav", start: 0
>                                                    ; id: 0
>                                                    ; startBeat: 0
> 
> The same is with the other Examples:
> 
> 
> (define (gongalong num rate dur freqenv)
>   (process for i below num
>            do
>            (sprout (gong (pick 2 3) dur (interp (/ i num) freqenv)
>                          .05 45 0 0))
>            (wait rate)
>            ))
> 
> 
> gongalong
> >>> Error: *clm-data-format*: unbound variable
> snd:open-output-file: (list-prop args :data-fo... ; args: (:data-format 10 :header-t...
> snd:open-output-file: (mus-sample-type-name (l...
> snd:open-output-file: (*wsdat*)open-file: ((set! mode *score-type-sndlib*))      ; mode: 0
> open-file: ((ffi_sched_set_score_mode mode) mode)sprout: ((if *sprout-hook* (*sprout-hook* file... ; file: "gongalong.wav"
>                                                    ; start: 0, id: 0
>                                                    ; startBeat: 0
> 
> By the way: does anyone have a piece composed with CLM and CM and would be so kind to share his or her score for the purposes of private studies? I’d be very interested in it.
> 
> All the best,
> Daniel Hensel
> 
> 
>> Am 21.06.2017 um 21:00 schrieb cmdist-request at ccrma.Stanford.EDU:
>> 
>> Send Cmdist mailing list submissions to
>> 	cmdist at ccrma.stanford.edu
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>> or, via email, send a message with subject or body 'help' to
>> 	cmdist-request at ccrma.stanford.edu
>> 
>> You can reach the person managing the list at
>> 	cmdist-owner at ccrma.stanford.edu
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Cmdist digest..."
>> 
>> 
>> Today's Topics:
>> 
>>   1. Re: Grace 3.10.0 is available (Dave Phillips)
>>   2. Re: Grace 3.10.0 is available (Taube, Heinrich K)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Wed, 21 Jun 2017 12:03:24 -0400
>> From: Dave Phillips <dlphillips at woh.rr.com>
>> To: cmdist at ccrma.Stanford.EDU
>> Subject: Re: [CM] Grace 3.10.0 is available
>> Message-ID: <594A98CC.3040100 at woh.rr.com>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>> 
>> Hi Rick, hi Tito !
>> 
>> On 06/20/2017 07:24 AM, Taube, Heinrich K wrote:
>>> Thank you Tito, you sure made that easy!  I've committed your changes (rev 21776 ).  ill wait a day or two an then update the source zip.  in the meantime patched sources for building on linux can be downloaded by doing:
>>> 
>>> svn checkout  https://svn.code.sf.net/p/commonmusic/code/trunk cm
>> 
>> Successfully built & tested on Fedora 21 x86_64, with FOMUS and SDIF 
>> support. :)
>> 
>> Thank you !
>> 
>> Best,
>> 
>> dp
>> 
>> 
>>> 
>>>> On Jun 20, 2017, at 3:20 AM, Tito Latini <tito.01beta at gmail.com> wrote:
>>>> 
>>>> Thanks.
>>>> 
>>>> I can compile Grace with success on linux with the attached patch.
>>>> 
>>>> # tested with gcc-5.3.0 (x86_64)
>>>> unzip cm-3.10.0.zip
>>>> cd cm-3.10.0
>>>> patch -p1 < cm-3.10.0-linux-build.diff
>>>> premake4
>>>> make
>>>> <cm-3.10.0-linux-build.diff>
>>> 
>>> _______________________________________________
>>> Cmdist mailing list
>>> Cmdist at ccrma.stanford.edu
>>> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>>> 
>>> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Wed, 21 Jun 2017 16:55:51 +0000
>> From: "Taube, Heinrich K" <taube at illinois.edu>
>> To: Dave Phillips <dlphillips at woh.rr.com>
>> Cc: commonmusic-Mailing-List List <cmdist at ccrma.Stanford.EDU>
>> Subject: Re: [CM] Grace 3.10.0 is available
>> Message-ID: <35635A62-40E0-4E1A-AACF-BB327F93A9EC at illinois.edu>
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> Thank you Dave!
>> 
>> If there is someone out there on windows that knows a bit about compiling in VS please let me know!
>> 
>>> On Jun 21, 2017, at 11:03 AM, Dave Phillips <dlphillips at woh.rr.com> wrote:
>>> 
>>> Hi Rick, hi Tito !
>>> 
>>> On 06/20/2017 07:24 AM, Taube, Heinrich K wrote:
>>>> Thank you Tito, you sure made that easy!  I've committed your changes (rev 21776 ).  ill wait a day or two an then update the source zip.  in the meantime patched sources for building on linux can be downloaded by doing:
>>>> 
>>>> svn checkout  https://svn.code.sf.net/p/commonmusic/code/trunk cm
>>> 
>>> Successfully built & tested on Fedora 21 x86_64, with FOMUS and SDIF support. :)
>>> 
>>> Thank you !
>>> 
>>> Best,
>>> 
>>> dp
>>> 
>>> 
>>>> 
>>>>> On Jun 20, 2017, at 3:20 AM, Tito Latini <tito.01beta at gmail.com> wrote:
>>>>> 
>>>>> Thanks.
>>>>> 
>>>>> I can compile Grace with success on linux with the attached patch.
>>>>> 
>>>>> # tested with gcc-5.3.0 (x86_64)
>>>>> unzip cm-3.10.0.zip
>>>>> cd cm-3.10.0
>>>>> patch -p1 < cm-3.10.0-linux-build.diff
>>>>> premake4
>>>>> make
>>>>> <cm-3.10.0-linux-build.diff>
>>>> 
>>>> _______________________________________________
>>>> Cmdist mailing list
>>>> Cmdist at ccrma.stanford.edu
>>>> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> Cmdist mailing list
>>> Cmdist at ccrma.stanford.edu
>>> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>>> 
>> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Cmdist mailing list
>> Cmdist at ccrma.stanford.edu
>> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>> 
>> 
>> End of Cmdist Digest, Vol 110, Issue 6
>> **************************************
>> 
> 
>  
> 
> 
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist




More information about the Cmdist mailing list