From johannes.quint at web.de Mon Jan 2 09:56:25 2006 From: johannes.quint at web.de (Johannes Quint) Date: Mon, 2 Jan 2006 18:56:25 +0100 Subject: [CM] portmidi Message-ID: <6a493c8bb2b38e2b41be8d1417bfad37@web.de> i have problems with portmidi. after installing and trying out (portmidi-open :output 3 :input #f) i get: ? > Error in process listener(1): open-io: no portmidi devices available. > While executing: # > Type :POP to abort. Type :? for other options. 1 > (i have installed "libportmidi.dylib" as "libportmidi.dylib" as described...) thanks for help, johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 448 bytes Desc: not available URL: From taube at uiuc.edu Mon Jan 2 10:27:13 2006 From: taube at uiuc.edu (Rick Taube) Date: Mon, 2 Jan 2006 12:27:13 -0600 Subject: [CM] portmidi In-Reply-To: <6a493c8bb2b38e2b41be8d1417bfad37@web.de> References: <6a493c8bb2b38e2b41be8d1417bfad37@web.de> Message-ID: Do you actually have devices available? try doing: (pm:GetDeviceInfo) and see if portmidi thinks you have active devices. For example on my machine I get: ? (pprint (pm:getDeviceInfo)) ((:ID 0 :NAME "IAC Driver: Bus 1" :TYPE :INPUT :OPEN NIL) (:ID 1 :NAME "828mk2: Midi Port" :TYPE :INPUT :OPEN NIL) (:ID 2 :NAME "IAC Driver: Bus 1" :TYPE :OUTPUT :OPEN NIL) (:ID 3 :NAME "828mk2: Midi Port" :TYPE :OUTPUT :OPEN NIL)) If getdeviceinfo returns nothing, then use /Applications/Utilities/ Audio MIDI Setup.app and add them (quit lisp first). Sorry im not sure what to do on linux... If getdeviceinfo returns a list of devices then its a bug in CM, please send me your list of devices. On Jan 2, 2006, at 11:56 AM, Johannes Quint wrote: > i have problems with portmidi. > after installing and trying out > > (portmidi-open :output 3 :input #f) > > i get: > > ? > Error in process listener(1): open-io: no portmidi devices > available. > > While executing: # > > Type :POP to abort. > Type :? for other options. > 1 > > > (i have installed "libportmidi.dylib" as "libportmidi.dylib" as > described...) > thanks for help, > johannes From taube at uiuc.edu Mon Jan 2 12:00:58 2006 From: taube at uiuc.edu (Rick Taube) Date: Mon, 2 Jan 2006 14:00:58 -0600 Subject: [CM] portmidi In-Reply-To: <22ce329a806c0d1dddd58011871d97db@web.de> References: <6a493c8bb2b38e2b41be8d1417bfad37@web.de> <22ce329a806c0d1dddd58011871d97db@web.de> Message-ID: <15d085f477e4e7d046a12d7cfe949115@uiuc.edu> > (the whole thing - audio midi setup - seems not to work with the > quicktime synth, > bad for me, because i've no external synth in the moment, but this is > no cm problem...) > > thanks for your quick answer, johannes > for access to quicktime you can use midishare instead of portmidi (midishare has built-in quicktime support). after installing midishre, use their msDrivers app to assign an output port to Quicktime, then quit msDrivers and test your port connection with msConnect. Once you know you can play quicktime with msConnect, first quit and then start CM and do: (use-system :midishare) If the midishare port number for Quicktime is higher than 0 you will access it by setting midi :channel values greater than 15. for example, if QT is midishare port=0 then use :channel 0-15, if port=1 using :channel 16-31, port=2 is :channel 32-47 and so on. For example assuming you want to send to channel 0 of port 1 do: output (new midi :time (now) :channel 16 ...) From taube at uiuc.edu Mon Jan 2 12:24:06 2006 From: taube at uiuc.edu (Rick Taube) Date: Mon, 2 Jan 2006 14:24:06 -0600 Subject: [CM] portmidi In-Reply-To: <365c9e9f26accdd3f2f597d403c4e6cf@web.de> References: <6a493c8bb2b38e2b41be8d1417bfad37@web.de> <22ce329a806c0d1dddd58011871d97db@web.de> <15d085f477e4e7d046a12d7cfe949115@uiuc.edu> <365c9e9f26accdd3f2f597d403c4e6cf@web.de> Message-ID: sorry i fixed this already (today) in rev 1.3 of midishare.lisp. the error happens because the most recent cffi finds two bugs in my api that eariler cffi versions did not find cvs is already updated but it may take several hours to migrate to anonymous cvs access. at that point if you have already installed it via cvs you do: cd /path/to/midishare cvs update otherwise first login to cm's sourceforge cvs and then do cvs checkout midishare On Jan 2, 2006, at 2:12 PM, Johannes Quint wrote: > > Am 02.01.2006 um 21:00 schrieb Rick Taube: > >>> (the whole thing - audio midi setup - seems not to work with the >>> quicktime synth, >>> bad for me, because i've no external synth in the moment, but this >>> is no cm problem...) >>> >>> thanks for your quick answer, johannes >>> >> >> for access to quicktime you can use midishare instead of portmidi >> (midishare has built-in quicktime support). after installing >> midishre, use their msDrivers app to assign an output port to >> Quicktime, then quit msDrivers and test your port connection with >> msConnect. Once you know you can play quicktime with msConnect, first >> quit and then start CM and do: >> (use-system :midishare) >> If the midishare port number for Quicktime is higher than 0 you will >> access it by setting midi :channel values greater than 15. >> for example, if QT is midishare port=0 then use :channel 0-15, if >> port=1 using :channel 16-31, port=2 is :channel 32-47 >> and so on. For example assuming you want to send to channel 0 of port >> 1 do: >> >> output (new midi :time (now) :channel 16 ...) >> >> From taube at uiuc.edu Mon Jan 2 12:52:42 2006 From: taube at uiuc.edu (Rick Taube) Date: Mon, 2 Jan 2006 14:52:42 -0600 Subject: [CM] beautiful new icon set Message-ID: <17b20cbc9257df3f99b334d40feede56@uiuc.edu> BTW, tobias kunze has update his logo for CM and generated a beautiful new set of application icons (128x128-16x16) -- check them out here! http://pinhead.music.uiuc.edu/~hkt/icons/icons.html To see it correctly on a mac consider setting your display's gamma to 2.2 first... From rbastian at free.fr Tue Jan 3 02:57:09 2006 From: rbastian at free.fr (=?iso-8859-15?q?Ren=E9=20Bastian?=) Date: Tue, 3 Jan 2006 11:57:09 +0100 Subject: [CM] cmn, clisp 2005 Message-ID: <06010311570901.00754@rbastian> Hi, I installed CMN on a new computer with the actual clisp (Steingold, Haible). CMN did not work ... I tried to compile the original *.lisp files clisp -c ... but it failes when I type : clisp -c cmn0.lisp NB : CMN works fine on the older clisp (Haible, Steingold). What shall I do ? Thanks, -- Ren? Bastian http://www.musiques-rb.org From rbastian at free.fr Tue Jan 3 02:57:16 2006 From: rbastian at free.fr (=?iso-8859-15?q?Ren=E9=20Bastian?=) Date: Tue, 3 Jan 2006 11:57:16 +0100 Subject: [CM] cmn, u accent grave Message-ID: <06010311571602.00754@rbastian> Hello Bill Schottstaedt, (d4 e (l "dans" "o\\371" (font-name "ISO-Times-Roman"))) gives an "?" and (gs4 e (ltext "o\\371" (font-name "ISO-Times-Roman"))) gives the "?" (which i want). What is wrong ? -- Ren? Bastian http://www.musiques-rb.org From taube at uiuc.edu Tue Jan 3 03:14:27 2006 From: taube at uiuc.edu (Rick Taube) Date: Tue, 3 Jan 2006 05:14:27 -0600 Subject: [CM] portmidi In-Reply-To: References: <6a493c8bb2b38e2b41be8d1417bfad37@web.de> <22ce329a806c0d1dddd58011871d97db@web.de> <15d085f477e4e7d046a12d7cfe949115@uiuc.edu> <365c9e9f26accdd3f2f597d403c4e6cf@web.de> Message-ID: <62b17a844c919a5a34cfb72c34c74d1b@uiuc.edu> > i've still problems with midishare. when i execute the example in the > dictionary, i get: weird, it works just fine for me. i dont understand that error message at all! before going further, please: 1. check to make sure you do NOT have a ccl/darwin-headers/midishare folder. if you do, archive it and then delete that folder 2. delete your existing cffi installation and update to a newer cffi. Im using cffi-051229/ 3. IMPORTANT: once you install a new CFFI be sure to delete your /Applications/lisp/midishare/midishare.dfsl before trying (use-system :midishare) again. then start cm and try again. If you get the same error, please do (:b t) in the error break and send me the full backtrace. --rick From bil at ccrma.Stanford.EDU Tue Jan 3 06:08:34 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 3 Jan 2006 06:08:34 -0800 Subject: [CM] cmn, clisp 2005 In-Reply-To: <06010311570901.00754@rbastian> References: <06010311570901.00754@rbastian> Message-ID: <20060103140531.M96513@ccrma.Stanford.EDU> I don't know what clisp -c is for -- I always start clisp, then load "cmn-all.lisp". I just tried it in linux (cmn 2.36), and all went as expected. See README.clm at the end of the file for current status of both cmn and clm. From bil at ccrma.Stanford.EDU Tue Jan 3 06:23:52 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 3 Jan 2006 06:23:52 -0800 Subject: [CM] cmn, u accent grave In-Reply-To: <06010311571602.00754@rbastian> References: <06010311571602.00754@rbastian> Message-ID: <20060103142254.M53102@ccrma.Stanford.EDU> I assume the "l" function is from jimmy.cmn and refers to lyrics.lisp? It currently has the Times-Roman font built-in, so probably it is ignoring the ISO-Times-Roman argument. From wsack at buffalo.edu Tue Jan 3 08:38:59 2006 From: wsack at buffalo.edu (bill sack) Date: Tue, 03 Jan 2006 11:38:59 -0500 Subject: [CM] mixing cmn and midi data in cm-2.7? Message-ID: <43BAA8A3.9020900@buffalo.edu> hello and happy 2006! way back in cm-2.4 days i could output cmn data in parallel with midi output and it would get passed along when the events were output to a cmn file - e.g. adding dynamic marks at significant amplitude changes like this: ... (output (new midi start (+ ahead (now)) keynum tone duration riv amplitude amp channel ch)) (when (not (eq dyn old-dyn)) (output (new cmn time (now) channel ch data (list dyn)))) ... ['dyn' being a dynamic marking ('ff, 'mp, etc.) determined through a (amp->dyn) lookup function] when i tried something similar in cm-2.7: ... output (new midi :time (now) :keynum (nth p notes) :duration rhy :amplitude (max amp 0) :channel stf) if (not (eq dyn old-dyn)) sprout (new cmn :time (now) :staff stf :data `(,dyn)) ... trying to output this to a cmn file throws this error (in cmucl-19c, of course): No matching method for the generic function #, when called with arguments (#). [Condition of type PCL::NO-APPLICABLE-METHOD-ERROR] Restarts: 0: [CONTINUE] Retry call to :FUNCTION. 1: [ABORT ] Return to Top-Level. Debug (type H for help) ("DEFMETHOD NO-APPLICABLE-METHOD (T)" # # # (#)) if i change the (new cmn ... so it has a :note and a :duration there's no error, but the output contains two notes (the midi and the cmn) every time the condition is met. surely there's a more elegant and general way to do this? i'd rather not have to change the output function of my algorithm depending upon whether i want to see something (.cmn) or hear it (midi). thanks in advance for all help. bill From taube at uiuc.edu Tue Jan 3 10:59:18 2006 From: taube at uiuc.edu (Rick Taube) Date: Tue, 3 Jan 2006 12:59:18 -0600 Subject: [CM] mixing cmn and midi data in cm-2.7? In-Reply-To: <43BAA8A3.9020900@buffalo.edu> References: <43BAA8A3.9020900@buffalo.edu> Message-ID: > ... > trying to output this to a cmn file throws this error (in > cmucl-19c, of course): > No matching method for the generic function > #, when > called with > arguments (#). > [Condition of type PCL::NO-APPLICABLE-METHOD-ERROR] if you send me a little test example ill try to find out what is going wrong. it appears to be sending someting over to cmn but i cant tell much from this error message. > if i change the (new cmn ... so it has a :note and a :duration > there's no error, but the output contains two notes (the midi and > the cmn) every time the condition is met. i take it then that outputting cmn objects without a duration never work? > surely there's a more elegant and general way to do this? i'd > rather not have to change the output function of my algorithm > depending upon whether i want to see something (.cmn) or hear it > (midi). you shoudlnt need midi objects at all, cmn objects with :note and :duration should output to midifiles ok. doest that not work either? From perticone at infovia.com.ar Tue Jan 3 13:16:27 2006 From: perticone at infovia.com.ar (M. Perticone) Date: Tue, 03 Jan 2006 18:16:27 -0300 Subject: [CM] acl or clisp under winxp References: <43BAA8A3.9020900@buffalo.edu> Message-ID: <001601c610aa$f6491ff0$f416fea9@piii> hello listers, is anyone running cm under acl 7.0/winxp ? any advice or trick i should know beforehand? is it a better choice or should i stick to clisp? thanks for any info, marcelo From typetosmurky at yahoo.com.au Tue Jan 3 19:32:38 2006 From: typetosmurky at yahoo.com.au (Jonathan Murphy) Date: Tue, 03 Jan 2006 22:32:38 -0500 Subject: [CM] troubles with ladspa menu Message-ID: <43BB41D6.4010901@yahoo.com.au> Hi folks, I'm trying to get the ladspa menu working in snd, but there seems to be a bracket missing in ladspa.scm: Unbound variable: call-with-new-thread In unknown file: ?: 0* [primitive-load-path "ladspa.scm"] In /opt/common/snd-7/ladspa.scm: 838: 1* (call-with-new-thread (lambda () (if # # ...)) (install-ladspa-menues) ...) I've been going through the file, but I'm new to lisp and dialects and I can't find it. It's somewhere in here (I think): (call-with-new-thread (lambda () (if (and (provided? 'snd-lrdf) (not lrdf-is-inited)) (begin (eval-c "-llrdf" "#include " (proto->public "void lrdf_init();" "void lrdf_cleanup();" "int lrdf_read_file(const char *uri);" "char* lrdf_add_preset(const char *source, const char *label, unsigned long id, lrdf_defaults *vals);" "void lrdf_remove_matches(lrdf_statement *pattern);" "void lrdf_remove_uri_matches(const char *uri);" "void lrdf_rebuild_caches();" "int lrdf_export_by_source(const char *src, const char *file);" "lrdf_uris *lrdf_match_multi(lrdf_statement *patterns);" "lrdf_statement *lrdf_matches(lrdf_statement *pattern);" "lrdf_statement *lrdf_one_match(lrdf_statement *pattern);" "int lrdf_exists_match(lrdf_statement *pattern);" "lrdf_uris *lrdf_get_all_superclasses(const char *uri);" "lrdf_uris *lrdf_get_subclasses(const char *uri);" "lrdf_uris *lrdf_get_all_subclasses(const char *uri);" "lrdf_uris *lrdf_get_instances(const char *uri);" "lrdf_uris *lrdf_get_all_instances(const char *uri);" "lrdf_statement *lrdf_all_statements();" "void lrdf_free_uris(lrdf_uris *u);" "void lrdf_free_statements(lrdf_statement *s);" "char *lrdf_get_setting_metadata(const char *uri, const char *element);" "char *lrdf_get_default_uri(unsigned long id);" "lrdf_uris *lrdf_get_setting_uris(unsigned long id);" "unsigned long lrdf_get_uid(const char *uri);" "lrdf_defaults *lrdf_get_setting_values(const char *uri);" "lrdf_defaults *lrdf_get_scale_values(unsigned long id, unsigned long port);" "void lrdf_free_setting_values(lrdf_defaults *def);" "char *lrdf_get_label(const char *uri);") (public ( lrdf_defaults_count (lambda (( defs)) (return defs->count))) ( lrdf_defaults_pid (lambda (( defs) ( n)) (return defs->items[n].pid))) ( lrdf_defaults_value (lambda (( defs) ( n)) (return defs->items[n].value))) ( lrdf_uris_count (lambda (( uris)) (return uris->count))) ( lrdf_uris_get_item (lambda (( uris) ( n)) (return uris->items[n]))) ( LADSPA-BASE (lambda () (return LADSPA_BASE))))) (lrdf_init) (for-each (lambda (path) (catch #t (lambda () (let* ((dir (opendir path)) (entry (readdir dir))) (while (not (eof-object? entry)) (yield) (if (and (not (string=? "." entry)) (not (string=? ".." entry))) (lrdf_read_file (string-append "file://" path "/" entry))) (set! entry (readdir dir))) (closedir dir))) (lambda (key . args) #f))) (string-split (if (getenv "LADSPA_RDF_PATH") (getenv "LADSPA_RDF_PATH") "/usr/local/share/ladspa/rdf:/usr/share/ladspa/rdf") #\:)) (set! lrdf-is-inited #t))) (install-ladspa-menues) (set! ladspa-not-initialized #f)) (lambda ai (c-display "Thread-error2: " ai))) If anyone can help me with this I'd really appreciate it. Thanks, Jonathan. From wsack at buffalo.edu Wed Jan 4 03:16:13 2006 From: wsack at buffalo.edu (bill sack) Date: Wed, 04 Jan 2006 06:16:13 -0500 Subject: [CM] mixing cmn and midi data in cm-2.7? In-Reply-To: References: <43BAA8A3.9020900@buffalo.edu> Message-ID: <43BBAE7D.4060204@buffalo.edu> Rick Taube wrote: > you shoudlnt need midi objects at all, cmn objects with :note and > :duration should output to midifiles ok. doest that not work either? yeah, cmn object outputs to midi, but the amplitude data is lost (all velocities in the resulting file are set to 64) - i'm willing to change my way of working if necessary, but like all old things, i'm set in my ways ... creak, creak. here's a super-simple example that throws the same error: (define (tester) (process while (< (now) 30) for note = (+ 60 (random 20)) for amp = (random 1.0) for chan = 0 for rhy = (pick .25 .75) output (new midi :time (now) :keynum note :duration rhy :amplitude amp :channel chan) if (< .8 amp) sprout (new cmn :time (now) :staff chan :data '(ff)) wait rhy)) ;(events (tester) "/tmp/tester.midi") = happy ;(events (tester) "/tmp/tester.cmn") = error From bil at ccrma.Stanford.EDU Wed Jan 4 04:10:47 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 4 Jan 2006 04:10:47 -0800 Subject: [CM] troubles with ladspa menu In-Reply-To: <43BB41D6.4010901@yahoo.com.au> References: <43BB41D6.4010901@yahoo.com.au> Message-ID: <20060104120813.M66399@ccrma.Stanford.EDU> call-with-new-thread has been in Guile since at least version 1.3.4, but you need to build Guile with threads support. Was your version built with --disable-linuxthreads or some such switch? If you run guile itself, I think you'll get the same error: guile> call-with-new-thread : In expression call-with-new-thread: : Unbound variable: call-with-new-thread ABORT: (unbound-variable) From taube at uiuc.edu Wed Jan 4 06:44:18 2006 From: taube at uiuc.edu (Rick Taube) Date: Wed, 4 Jan 2006 08:44:18 -0600 Subject: [CM] mixing cmn and midi data in cm-2.7? In-Reply-To: <43BBAE7D.4060204@buffalo.edu> References: <43BAA8A3.9020900@buffalo.edu> <43BBAE7D.4060204@buffalo.edu> Message-ID: <94D7376F-C4BC-4561-8516-C4F8C6ABD343@uiuc.edu> ok i can trigger that error using a cmn-only example that makes the same calls that cm makes. so it a problem with either add-data-1 or finish-clm-input or how im using them: (progn (load "/Lisp/cmn/cmn-all.lisp") (setq scr (cmn::init-clm-input)) (setq stf (cmn::add-staff scr "vln" nil)) (cmn::add-note-to-staff scr stf 0 1 440) (cmn::add-data-1 scr stf (cmn::engorge (list cmn::ff))) (cmn::finish-clm-input scr nil nil) ) > Error in process listener(1): No applicable method for args: > (#) > to # > While executing: # > Type :POP to abort. Type :? for other options. 1 > From typetosmurky at yahoo.com.au Wed Jan 4 08:45:57 2006 From: typetosmurky at yahoo.com.au (Jonathan Murphy) Date: Wed, 04 Jan 2006 11:45:57 -0500 Subject: [CM] troubles with ladspa menu In-Reply-To: <20060104120813.M66399@ccrma.Stanford.EDU> References: <43BB41D6.4010901@yahoo.com.au> <20060104120813.M66399@ccrma.Stanford.EDU> Message-ID: <43BBFBC5.7050906@yahoo.com.au> Bill Schottstaedt wrote: >call-with-new-thread has been in Guile since at least version 1.3.4, but >you need to build Guile with threads support. Was your version built >with --disable-linuxthreads or some such switch? If you run guile >itself, I think you'll get the same error: > >guile> call-with-new-thread >: In expression call-with-new-thread: >: Unbound variable: call-with-new-thread >ABORT: (unbound-variable) > > > > > Thanks for your swift response, not to mention for snd and clm themselves. Snd is working as hoped, all the ladspa goodies easily accessible. Perhaps a line could be added to the readme to the effect that Guile needs to be compiled --with-threads, as the default is to build without? I have one other question/problem: Regarding clm. My lisp is cmucl-19c. I can't get definstrument working at all. I understand that cmucl can't deal with multiple instances of definstrument, but it complains about being unable to find the lisp source file even with the example "simp" from the manual. Error in function (:MACRO DEFINSTRUMENT): oops -- I can't find SIMP's lisp source file! [Condition of type SIMPLE-ERROR] Sorry to bother you with this, as from what I've gleaned from googling mailing list discussions it's a cmucl bug and not a problem with clm at all. Just wondering if there's a workaround. I'm using the ready-rolled cmucl binaries, thus far I've been unable to compile from source, and I couldn't get sbcl to load all.lisp (or to run in SLIME). Thanks, Jonathan. From bil at ccrma.Stanford.EDU Wed Jan 4 10:22:56 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 4 Jan 2006 10:22:56 -0800 Subject: [CM] troubles with ladspa menu In-Reply-To: <43BBFBC5.7050906@yahoo.com.au> References: <43BB41D6.4010901@yahoo.com.au> <20060104120813.M66399@ccrma.Stanford.EDU> <43BBFBC5.7050906@yahoo.com.au> Message-ID: <20060104182002.M8336@ccrma.Stanford.EDU> It's only a few files, like ladspa.scm, that need threads -- I think I can add a warning to them -- there's probably an entry in the *features* list I can check for. Did you compile the instrument before trying to load it in cmucl? If you load the lisp source code, I think that's the error you get. (You need to compile it to force the "run" macro to expand). From taube at uiuc.edu Wed Jan 4 10:46:52 2006 From: taube at uiuc.edu (Rick Taube) Date: Wed, 4 Jan 2006 12:46:52 -0600 Subject: [CM] acl or clisp under winxp In-Reply-To: <001601c610aa$f6491ff0$f416fea9@piii> References: <43BAA8A3.9020900@buffalo.edu> <001601c610aa$f6491ff0$f416fea9@piii> Message-ID: <2EEB2BFA-821A-4526-996F-E64A7A815D0E@uiuc.edu> Cm should build in acl on windows. Unless you are using CLM Im not sure there is a real advantage to acl over clisp. FYI, as of a week ago, when you build cm on windows in allegro or clisp cm will generate a CM.BAT file in the bin directory (if the bat file does not already exist). The bat file should hopefully start up CM in the lisp you used with absolute pathnames to the executables . The idea is that you can then use the bat file on your desktop or invoke it from emacs. its untested , let me know if it works or not... On Jan 3, 2006, at 3:16 PM, M. Perticone wrote: > hello listers, > > is anyone running cm under acl 7.0/winxp ? any advice or trick i > should know > beforehand? > is it a better choice or should i stick to clisp? > thanks for any info, > marcelo > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From typetosmurky at yahoo.com.au Wed Jan 4 11:37:22 2006 From: typetosmurky at yahoo.com.au (Jonathan Murphy) Date: Wed, 04 Jan 2006 14:37:22 -0500 Subject: [CM] troubles with ladspa menu Message-ID: <43BC23F2.6050702@yahoo.com.au> Aha! Now I get it. Thankyou. Jonathan. From rs at gorf.hb.shuttle.de Thu Jan 5 04:44:00 2006 From: rs at gorf.hb.shuttle.de (Rolf Steinort) Date: Thu, 5 Jan 2006 12:44:00 +0000 Subject: [CM] Finding (and deleting) gaps with snd Message-ID: <200601051244.00959.rs@gorf.hb.shuttle.de> Hi, I use snd to edit recorded audio streams. I am stuck (due to LISP illiteracy) with one problem: From bil at ccrma.Stanford.EDU Thu Jan 5 07:25:55 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 05 Jan 2006 07:25:55 -0800 Subject: [CM] Finding (and deleting) gaps with snd In-Reply-To: <200601051244.00959.rs@gorf.hb.shuttle.de> References: <200601051244.00959.rs@gorf.hb.shuttle.de> Message-ID: <43BD3A83.2060505@ccrma> By "zero" do you mean zero-crossing? There are several functions to search for these (find-zero in extsnd.html for example) -- you could use the crossing locations to set the limits on (scale-by 0.0 ...). If you're looking for sections without any real signal, perhaps map-silence in extsnd.html will help -- it detects portions that look like silence, then either squelches whatever hiss is there, or deletes that section altogether. From taube at uiuc.edu Thu Jan 5 07:41:18 2006 From: taube at uiuc.edu (Rick Taube) Date: Thu, 5 Jan 2006 09:41:18 -0600 Subject: [CM] mixing cmn and midi data in cm-2.7? In-Reply-To: <43BBAE7D.4060204@buffalo.edu> References: <43BAA8A3.9020900@buffalo.edu> <43BBAE7D.4060204@buffalo.edu> Message-ID: ok i think the problem is that your FF cmn object is not a note so you are specifying a dynamic "outside" of a note context. so maybe it should be someting like this (define (tester) (process while (< (now) 30) for note = (+ 60 (random 20)) for amp = (random 1.0) for chan = 0 for rhy = (pick .25 .75) if (< .8 amp) output (new cmn :time (now) :note note :staff chan :data '(ff) :duration rhy) else output (new midi :time (now) :keynum note :duration rhy :amplitude amp :channel chan) wait rhy)) its been several years since ive looked at this code -- i wonder now why the CMN object coudlnt simply have an :amplitude value so you wouldnt need midi notes at all. From jjfoerch at earthlink.net Thu Jan 5 15:25:07 2006 From: jjfoerch at earthlink.net (John J Foerch) Date: Thu, 05 Jan 2006 18:25:07 -0500 Subject: [CM] pclass and mathematics of harmony Message-ID: Hello, I'm a cmn newbie intrigued by the idea of using Lisp to generate music. My goal is to make functions that can be used in a cmn score that will generate or modify notes, using the mathematics of harmony. Here is a method I am workin on, that adjusts the cclass of a note object: (defmethod cclass-shift ((obj note) (amt integer)) "Shift OBJ note up or down AMT tones in the current key. For example, amt=1 shifts the note up by an interval of a second, and amt=7 shifts it up by an octave. Still need to work out setting the pitch correctly. " (let* ((new-cclass (mod (+ (cclass obj) amt) 7)) (octave-adjust (floor (+ (cclass obj) amt) 7)) (new-octave (+ (octave obj) octave-adjust)) (pclass (case new-cclass (0 0) (1 2) (2 4) (3 5) (4 7) (5 9) (6 11) ))) (setf (cclass obj) new-cclass) (setf (octave obj) new-octave) (setf (pitch obj) pclass) obj)) I use this method in a score, like: (cclass-shift (note a2) 1) My question concerns the setting of the pclass. To do it correctly I need to know the key signature accidental for the line of the new cclass. Is the key signature data available to a lowly little note on the staff? If not, is this a worthy and possible feature request? Or is there a better approach to the problem than this? Thank you for any help! John J Foerch From taube at uiuc.edu Thu Jan 5 19:26:20 2006 From: taube at uiuc.edu (Rick Taube) Date: Thu, 5 Jan 2006 21:26:20 -0600 Subject: [CM] cvs unstable Message-ID: just a warning that cm's cvs tree will be unstable for the next week or so. if you update dont be surprised if things stop working. ill send a message around when its "safe" to do a update. --rick From bil at ccrma.Stanford.EDU Fri Jan 6 03:55:16 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 6 Jan 2006 03:55:16 -0800 Subject: [CM] pclass and mathematics of harmony In-Reply-To: References: Message-ID: <20060106115407.M44396@ccrma.Stanford.EDU> Perhaps transpose.lisp will help -- the key signature is found with key-p while scanning the staff data list. From ml13 at onlinehome.de Fri Jan 6 08:53:05 2006 From: ml13 at onlinehome.de (ml13 at onlinehome.de) Date: Fri, 6 Jan 2006 17:53:05 +0100 Subject: [CM] process sync... Message-ID: Hi, I am quite new to cm and trying to find out the right way to make separate processes communicate with another. My goal is to have a process that controls say amplitude of another process (by setting a global variable and not actually outputting anything) allowing them to have independent rhythm. I was trying to do something like this: (defvar *amp*) (events (list (my-amp-process) (my-main-process)) "test.mid") Well, this basically works :), but I was hoping that in the case of equal time offsets of the two processes the amp-process would be processed always _first_, because of its first position in the list. Well, this does not always seem to be the case and I should have checked before, I know, but now I am just wondering how to go about a problem like this and I suppose there must be another approach, or maybe still a way to ensure a fixed order of invocations of the WRITE- EVENT method for equal object times??? BTW: I should have mentioned this: I subclassed event and created my own WRITE-EVENT method that processes the slots of the event somewhat specially. If a slot contains a function object, this function will be called (and this function, of course, looks like: #'(lambda () *amp*) ) I hope these explanations make sense and my intention is understood, I'd be very curious to have a hint how other people go about this (and I suppose this must be quite a common procedure...) Thanks for listening, cheers, Kilian Sprotte From taube at uiuc.edu Sat Jan 7 08:29:01 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 7 Jan 2006 10:29:01 -0600 Subject: [CM] process sync... In-Reply-To: References: Message-ID: <66d4bcaddf3c718b35405d593291d7d2@uiuc.edu> Hi > Well, this basically works :), but I was hoping that in the case of > equal time offsets of the two processes the amp-process would be > processed always _first_, because of its first position in the list. the scheduling queue is sorted by time, if two processes always have the same timelines then they should always be processed in the order in which they originally entered the queue: (events (list (process repeat 5 do (format t "~%A: ~s" (now)) wait .1) (process repeat 5 do (format t "~%B: ~s" (now)) wait .1)) nil) A: 0 B: 0 A: 0.1 B: 0.1 A: 0.2 B: 0.2 A: 0.3 B: 0.3 A: 0.4 B: 0.4 NIL if processes do not have identical timelines then of course they will be processed "out of order" with respect to their original positions in the queue once their timelines start to differ, but notice that when the timelines happen to line up then A is "before" B: (events (list (process repeat 5 do (format t "~%A: ~s" (now)) wait .2) (process repeat 5 do (format t "~%B: ~s" (now)) wait .1)) nil) A: 0 B: 0 B: 0.1 A: 0.2 B: 0.2 B: 0.3 A: 0.4 B: 0.4 A: 0.6 A: 0.8 NIL > Well, this does not always seem to be the case and I should have > checked before, I know, but now I am just wondering how to go about a > problem like this and I suppose there must be another approach, or > maybe still a way to ensure a fixed order of invocations of the > WRITE-EVENT method for equal object times??? it should work like this, you will have to send me a (simple) example of it not working for me to see if there is a bug or not. > I hope these explanations make sense and my intention is understood, > I'd be very curious to have a hint how other people go about this (and > I suppose this must be quite a common procedure...) You do not need global variables to share state beween processes. this example creates a lexical environment for two processes to share; notice that its also possible for a fucntion to return a list of processes: in this example the first process sets and uses the lexical variables and the second one uses them: (defun master-and-slave (reps) (let (amp key stop) ; look Ma, no globals! (list ;; master process (process repeat reps for k = (between 20 90) for a = (between .3 .8) do (setq amp a key (+ k 12)) output (new midi :time (now) :keynum k :duration 1 :amplitude a) wait 1 finally (setq stop t)) ;; slave (process with pat = (new random :of (list (new line :of 1/6 :for 6) (new line :of 1/5 :for 5) (new line :of 1/4 :for 4) (new line :of 1/3 :for 3) (new line :of 1/2 :for 2))) until stop for r = (next pat) for k = (between key (+ key 12)) output (new midi :time (now) :keynum k :duration r :amplitude (/ amp 2)) wait r)))) (cd) (events (master-and-slave 20) "test.mid") From kjetil at ccrma.Stanford.EDU Sun Jan 8 12:25:02 2006 From: kjetil at ccrma.Stanford.EDU (Kjetil S. Matheussen) Date: Sun, 8 Jan 2006 12:25:02 -0800 (PST) Subject: [CM] [ANN] Re: SND as a pd-external. In-Reply-To: References: Message-ID: This mail is to inform that SND as a PD external now has support for sound processing as well as data processing, and that various bugs and stuff has been fixed since the last announcement. Check out help-snd.pd for a data processing example, and help-snd-fm.pd for a sound processing example. On Tue, 6 Dec 2005, Kjetil S. Matheussen wrote: > > (This is an announcement) > > By ./configuring snd with the --with-snd-as-pd-external flag, > you can use SND as a pd external. Check out the help-snd.pd patch > for examples of use. > > For now its pretty similar to the k_guile external, but all the SND > stuff is available, and its threaded, so guile's garbage collector will not > interrupt pd. > > This makes SND as a pd external into a much better option than k_guile, and a > very competitive alternative to the py/pyext external. > > Theres only realtime data-processing accessible via outlets/inlets/bindings > for now, but realtime sound-processing is coming up soon as well. And of > course, you can send messages to SND to do all kinds of things that SND > provides, like playing files and stuff. (stuff=to much to be able to mention > in one sentence) > > http://ccrma.stanford.edu/software/snd/ > > > USAGE > ----- > cd pd/externals > wget ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-7.tar.bz2 > tar xvjf snd-7.tar.bz2 > cd snd-7 > ./configure GUILE_CONFIG_path=/bin > --with-snd-as-pd-external > make > export LD_LIBRARY_PATH=/lib > pd help-snd.pd > > (no make install) > > > From jjfoerch at earthlink.net Sun Jan 8 14:07:08 2006 From: jjfoerch at earthlink.net (John J Foerch) Date: Sun, 08 Jan 2006 17:07:08 -0500 Subject: [CM] pclass and mathematics of harmony In-Reply-To: <20060106115407.M44396@ccrma.Stanford.EDU> References: <20060106115407.M44396@ccrma.Stanford.EDU> Message-ID: In the case of transpose.lisp, a staff object is given as an argument to transpose. I don't see a way to get the correct staff object from the scope of a note. I am looking at cmn0.lisp, (line 1369) at the defun of staff. I'll paste the portion I'm looking at: (defun staff (&rest objects) (let* ((new-staff (make-instance 'staff))) (multiple-value-bind (data actions local-brace) (notify new-staff objects) (setf *cmn-staff* new-staff) (setf (staff-data new-staff) data) If I am reading this correctly, the notes (objects) are being evaluated via notify before *cmn-staff* is set to point to the staff they are in. Is there any reason *cmn-staff* could not be set before the processing of the notes? I will experiment at this end. Thank you! -John J Foerch Bill Schottstaedt writes: > Perhaps transpose.lisp will help -- the key signature is found with > key-p while scanning the staff data list. > > From hans at eds.org Mon Jan 9 08:30:20 2006 From: hans at eds.org (Hans-Christoph Steiner) Date: Mon, 9 Jan 2006 11:30:20 -0500 Subject: [CM] Re: [PD-announce] [ANN] Re: SND as a pd-external. In-Reply-To: References: Message-ID: <3d0b6209a2f46175eed4f341ebd123b7@eds.org> On Jan 8, 2006, at 3:25 PM, Kjetil S. Matheussen wrote: > > This mail is to inform that SND as a PD external now has support > for sound processing as well as data processing, and that various > bugs and stuff has been fixed since the last announcement. > > Check out help-snd.pd for a data processing example, and > help-snd-fm.pd for a sound processing example. FYI: the helpfile standard is *-help.pd, help-*.pd is deprecated. .hc > > > On Tue, 6 Dec 2005, Kjetil S. Matheussen wrote: > >> >> (This is an announcement) >> >> By ./configuring snd with the --with-snd-as-pd-external flag, >> you can use SND as a pd external. Check out the help-snd.pd patch >> for examples of use. >> >> For now its pretty similar to the k_guile external, but all the SND >> stuff is available, and its threaded, so guile's garbage collector >> will not interrupt pd. >> >> This makes SND as a pd external into a much better option than >> k_guile, and a very competitive alternative to the py/pyext external. >> >> Theres only realtime data-processing accessible via >> outlets/inlets/bindings for now, but realtime sound-processing is >> coming up soon as well. And of course, you can send messages to SND >> to do all kinds of things that SND provides, like playing files and >> stuff. (stuff=to much to be able to mention in one sentence) >> >> http://ccrma.stanford.edu/software/snd/ >> >> >> USAGE >> ----- >> cd pd/externals >> wget ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-7.tar.bz2 >> tar xvjf snd-7.tar.bz2 >> cd snd-7 >> ./configure >> GUILE_CONFIG_path=/bin >> --with-snd-as-pd-external >> make >> export LD_LIBRARY_PATH=/lib >> pd help-snd.pd >> >> (no make install) >> >> >> > > _______________________________________________ > PD-announce mailing list > PD-announce at iem.at > http://lists.puredata.info/listinfo/pd-announce > ________________________________________________________________________ ____ "The arc of history bends towards justice." - Dr. Martin Luther King, Jr. From bil at ccrma.Stanford.EDU Mon Jan 9 12:06:43 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 9 Jan 2006 12:06:43 -0800 Subject: [CM] cvs snd Message-ID: <20060109200248.M17148@ccrma.Stanford.EDU> For the next couple days, the CVS Snd Gtk code is for good-sports only! I'm replacing Gtk's list and file-selection stuff, both of which take forever to test (but they'll be worth it! -- Gtk's efforts in these areas leave one at a loss for (printable) words -- Chris was right that I should have gone to Qt, but I couldn't stomach C++). From b0ef at esben-stien.name Mon Jan 9 17:28:46 2006 From: b0ef at esben-stien.name (Esben Stien) Date: Tue, 10 Jan 2006 02:28:46 +0100 Subject: [CM] beautiful new icon set In-Reply-To: <17b20cbc9257df3f99b334d40feede56@uiuc.edu> (Rick Taube's message of "Mon, 2 Jan 2006 14:52:42 -0600") References: <17b20cbc9257df3f99b334d40feede56@uiuc.edu> Message-ID: <87oe2kc1m9.fsf@esben-stien.name> Rick Taube writes: > tobias kunze has update his logo for CM Where's the SVG?;) -- Esben Stien is b0ef at e s a http://www. s t n m irc://irc. b - i . e/%23contact [sip|iax]: e e jid:b0ef@ n n From joshp at u.washington.edu Mon Jan 9 14:59:09 2006 From: joshp at u.washington.edu (Joshua Parmenter) Date: Mon, 9 Jan 2006 14:59:09 -0800 Subject: [CM] Call for Works- Deadline Feb. 1, 2006- DXARTS UW Seattle. Message-ID: <3435D400-0AF9-4E0D-9A9F-C3FCB552062C@u.washington.edu> Below is a call for works for the upcoming concert by the Center for Digital Arts and Experimental Media concert on April 12th, 2006 at the University of Washington, Seattle. Please feel free to forward this message. Call for Works Center for Digital Arts and Experimental Media Meany Hall, University of Washington, Seattle April 12th, 2006 7:30pm The Center for Digital Arts and Experimental Media (DXARTS) at the University of Washington, Seattle announces a call for experimental works appropriate to a large proscenium theater setting, including electro-acoustic music, digital video and real-time electronic works. Works for new and experimental media other then traditional sound and video that are appropriate for a concert presentation will also be considered. Artists are invited to submit up to two works for inclusion in the DXARTS concert on April 12th, 2006. Works will be presented with a state of the art 12.6 3-D sound system and large venue digital cinema HD projection system. Submission guidelines: Please send two copies (according to format below) and a submission form for each work to: Concert Submissions c/o DXARTS University of Washington Box 353414 Seattle, WA 98195 Submission forms are available for download as PDF from: http:// www.washington.edu/dxarts/concertsubmission.pdf Submissions must be received by Wednesday, February 1st, 2006. Artists whose works are selected are strongly encouraged to attend the concert in Seattle. If you would like your materials returned to you, please supply a pre-addressed and stamped envelope. Lost or damaged works are not the responsibility of DXARTS. Sound: Works for sound may be submitted on CD (in stereo), DVD (for surround), CD-Rom (mono files with channel placement noted for multi- channel works, or as a 3 or 4 channel Ambisonic file). Works that include live performers or live electronics are welcome, though DXARTS suggests that the artist supply the performer for the concert. Video: Works for video may be submitted on DVD, CD-Rom, Mini-DV or HD files on a data disc. For additional information, please contact Joshua Parmenter at joshp at u.washington.edu Josh Parmenter ****************************************** Joshua Parmenter joshp at u.washington.edu Post-Doctoral Research Associate - Center for Digital Arts and Experimental Media Raitt Hall - University of Washington Seattle, Washington 98195 http://www.dxarts.washington.edu From cecilesolletty at hotmail.com Tue Jan 10 08:22:52 2006 From: cecilesolletty at hotmail.com (=?iso-8859-1?B?Q+ljaWxlIFNPTExFVFRZ?=) Date: Tue, 10 Jan 2006 16:22:52 +0000 Subject: [CM] Questions about CMN Message-ID: Hi, I would like to have some informations about the music edition programm called CMN: my computer is an iBook and I'd like to know if I can use CMN with it and if it is so, what do I need to use it ? (what is Clisp or MCL, SND? I found that terms in my web researchs but I don't understand what it is) Thanks _________________________________________________________________ http://desktop.msn.fr/ From bil at ccrma.Stanford.EDU Tue Jan 10 09:10:46 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 10 Jan 2006 09:10:46 -0800 Subject: [CM] Questions about CMN In-Reply-To: References: Message-ID: <20060110170831.M67258@ccrma.Stanford.EDU> CMN is a Lisp program, so you need Lisp to use it. Clisp is a version of Lisp, as is MCL. Snd is a separate program, only loosely related to CMN. I don't know anything about iBooks -- is that an Apple computer? If so, you might be able to use openmcl. From cecilesolletty at hotmail.com Tue Jan 10 13:47:49 2006 From: cecilesolletty at hotmail.com (=?iso-8859-1?B?Q+ljaWxlIFNPTExFVFRZ?=) Date: Tue, 10 Jan 2006 21:47:49 +0000 Subject: [CM] RE: Cmdist digest, Vol 1 #868 - 5 msgs In-Reply-To: <20060110200002.13038.60128.Mailman@cm-mail.stanford.edu> Message-ID: Yes, iBook is a Mac computer. Thank you for responding. >From: cmdist-request at ccrma.Stanford.EDU >Reply-To: cmdist at ccrma.Stanford.EDU >To: cmdist at ccrma.Stanford.EDU >Subject: Cmdist digest, Vol 1 #868 - 5 msgs >Date: Tue, 10 Jan 2006 12:00:02 -0800 > >Send Cmdist mailing list submissions to > cmdist at ccrma.stanford.edu > >To subscribe or unsubscribe via the World Wide Web, visit > http://ccrma-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-admin 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. cvs snd (Bill Schottstaedt) > 2. Re: beautiful new icon set (Esben Stien) > 3. Call for Works- Deadline Feb. 1, 2006- DXARTS UW Seattle. (Joshua >Parmenter) > 4. Questions about CMN (=?iso-8859-1?B?Q+ljaWxlIFNPTExFVFRZ?=) > 5. Re: Questions about CMN (Bill Schottstaedt) > >--__--__-- > >Message: 1 >From: "Bill Schottstaedt" >To: cmdist at ccrma.Stanford.EDU >Date: Mon, 9 Jan 2006 12:06:43 -0800 >Subject: [CM] cvs snd > >For the next couple days, the CVS Snd Gtk code is for good-sports only! >I'm replacing Gtk's list and file-selection stuff, both of which take >forever >to test (but they'll be worth it! -- Gtk's efforts in these areas leave one >at a loss for (printable) words -- Chris was right that I should have gone >to Qt, but I couldn't stomach C++). > > >--__--__-- > >Message: 2 >To: cmdist at ccrma.Stanford.EDU >Subject: Re: [CM] beautiful new icon set >From: Esben Stien >Date: Tue, 10 Jan 2006 02:28:46 +0100 > >Rick Taube writes: > > > tobias kunze has update his logo for CM > >Where's the SVG?;) > >-- >Esben Stien is b0ef at e s a > http://www. s t n m > irc://irc. b - i . e/%23contact > [sip|iax]: e e > jid:b0ef@ n n > > >--__--__-- > >Message: 3 >From: Joshua Parmenter >Date: Mon, 9 Jan 2006 14:59:09 -0800 >To: Joshua Parmenter >Subject: [CM] Call for Works- Deadline Feb. 1, 2006- DXARTS UW Seattle. > >Below is a call for works for the upcoming concert by the Center for >Digital Arts and Experimental Media concert on April 12th, 2006 at >the University of Washington, Seattle. Please feel free to forward >this message. > >Call for Works > >Center for Digital Arts and Experimental Media >Meany Hall, University of Washington, Seattle >April 12th, 2006 7:30pm > >The Center for Digital Arts and Experimental Media (DXARTS) at the >University of Washington, Seattle announces a call for experimental >works appropriate to a large proscenium theater setting, including >electro-acoustic music, digital video and real-time electronic works. >Works for new and experimental media other then traditional sound and >video that are appropriate for a concert presentation will also be >considered. Artists are invited to submit up to two works for >inclusion in the DXARTS concert on April 12th, 2006. Works will be >presented with a state of the art 12.6 3-D sound system and large >venue digital cinema HD projection system. > >Submission guidelines: Please send two copies (according to format >below) and a submission form for each work to: > >Concert Submissions >c/o DXARTS >University of Washington >Box 353414 >Seattle, WA 98195 > >Submission forms are available for download as PDF from: http:// >www.washington.edu/dxarts/concertsubmission.pdf > >Submissions must be received by Wednesday, February 1st, 2006. > >Artists whose works are selected are strongly encouraged to attend >the concert in Seattle. If you would like your materials returned to >you, please supply a pre-addressed and stamped envelope. Lost or >damaged works are not the responsibility of DXARTS. > >Sound: Works for sound may be submitted on CD (in stereo), DVD (for >surround), CD-Rom (mono files with channel placement noted for multi- >channel works, or as a 3 or 4 channel Ambisonic file). Works that >include live performers or live electronics are welcome, though >DXARTS suggests that the artist supply the performer for the concert. > >Video: Works for video may be submitted on DVD, CD-Rom, Mini-DV or HD >files on a data disc. > >For additional information, please contact Joshua Parmenter at >joshp at u.washington.edu > >Josh Parmenter > >****************************************** >Joshua Parmenter >joshp at u.washington.edu >Post-Doctoral Research Associate - Center for Digital Arts and >Experimental Media >Raitt Hall - University of Washington >Seattle, Washington 98195 > >http://www.dxarts.washington.edu > > > >--__--__-- > >Message: 4 >From: =?iso-8859-1?B?Q+ljaWxlIFNPTExFVFRZ?= >To: cmdist at ccrma.Stanford.EDU >Date: Tue, 10 Jan 2006 16:22:52 +0000 >Subject: [CM] Questions about CMN > >Hi, I would like to have some informations about the music edition programm >called CMN: my computer is an iBook and I'd like to know if I can use CMN >with it and if it is so, what do I need to use it ? (what is Clisp or MCL, >SND? I found that terms in my web researchs but I don't understand what it >is) >Thanks > >_________________________________________________________________ >http://desktop.msn.fr/ > > >--__--__-- > >Message: 5 >From: "Bill Schottstaedt" >To: =?ISO-8859-1?Q?C=E9cile_SOLLETTY_?=, > cmdist at ccrma.Stanford.EDU >Subject: Re: [CM] Questions about CMN >Date: Tue, 10 Jan 2006 09:10:46 -0800 > >CMN is a Lisp program, so you need Lisp to use it. Clisp is >a version of Lisp, as is MCL. Snd is a separate program, only >loosely related to CMN. I don't know anything about iBooks -- >is that an Apple computer? If so, you might be able to use >openmcl. > > > >--__--__-- > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > >End of Cmdist Digest _________________________________________________________________ MSN Messenger : appels gratuits de PC ? PC partout dans le monde ! http://www.imagine-msn.com/Messenger/?locale=fr-fr From wsack at buffalo.edu Tue Jan 10 12:33:06 2006 From: wsack at buffalo.edu (bill sack) Date: Tue, 10 Jan 2006 15:33:06 -0500 Subject: [CM] clm-random error and "double-float" Message-ID: <43C41A02.2010908@buffalo.edu> hi again, while looking for a replacement for lisp's 'random' for use in clm run loops, i stumbled across what might be a problem: these clm expressions evaluate fine: * (centered-random 1.0) -0.7780328 * (mus-random 1.0) 0.2189467 but this one produces an error * (clm-random 1.0) Type-error in KERNEL::OBJECT-NOT-DOUBLE-FLOAT-ERROR-HANDLER: 1.0 is not of type DOUBLE-FLOAT [Condition of type TYPE-ERROR] Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (CLM-RANDOM 1.0) Source: (DEF-ALIEN-ROUTINE ("mus_frandom" CLM-RANDOM) FLOAT (AMP DOUBLE-FLOAT)) according to the docs, 'clm-random' would seem like the closest drop-in replacement for lisp 'random' (which is being redefined in CM?), as mus-random and centered-random return a range plus and minus the amp argument. i am understanding this correctly, or am i out to lunch? i'm using cmucl 19c these days, also. thanks! bill sack From bil at ccrma.Stanford.EDU Tue Jan 10 15:24:45 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 10 Jan 2006 15:24:45 -0800 Subject: [CM] clm-random error and "double-float" In-Reply-To: <43C41A02.2010908@buffalo.edu> References: <43C41A02.2010908@buffalo.edu> Message-ID: <20060110232027.M8142@ccrma.Stanford.EDU> There must be a way to make CLM's use of random compatible with CM's, but I haven't taken time to look into it (I'm trying to get Snd 7.18 out the door). The clm-random problem is one that I think is a bug in Lisp, but I have no hopes anyone will agree: 1.0 is not a double float! The clm-random call goes through the FFI (it's a C function for use in the run loop), and everything there uses double floats. You have to say (clm-random 1.0d0) or (clm-random (coerce 1.0 'double-float)) mus-random on the other hand is just a wrapper around Lisp's random. From taube at uiuc.edu Tue Jan 10 15:49:09 2006 From: taube at uiuc.edu (Rick Taube) Date: Tue, 10 Jan 2006 17:49:09 -0600 Subject: [CM] clm-random error and "double-float" In-Reply-To: <20060110232027.M8142@ccrma.Stanford.EDU> References: <43C41A02.2010908@buffalo.edu> <20060110232027.M8142@ccrma.Stanford.EDU> Message-ID: > There must be a way to make CLM's use of random compatible with CM's, > but I haven't taken time to look into it (I'm trying to get Snd 7.18 > out the door). Im sorry, i simply dropped the ball! i do rememebr i was going to rename the random and funcall pattern to names that do not conflit with CLTL. i think i narrowed new candiate names down to these: 1 change 'funcall' to 'thunk' : (new thunk :of (lambda () ...) 2 change 'random' to 'weighting' : (new weighting :of '( a b (c :weight 3) d e)) does anyone object to these new names (or have better candiates)? if not ill rename them in the next few days. From cewing at u.washington.edu Wed Jan 11 13:58:20 2006 From: cewing at u.washington.edu (cristopher pierson ewing) Date: Wed, 11 Jan 2006 13:58:20 -0800 (PST) Subject: [CM] clm-random error and "double-float" In-Reply-To: References: <43C41A02.2010908@buffalo.edu> <20060110232027.M8142@ccrma.Stanford.EDU> Message-ID: Rick, Might it be best to rename them with something that prepends 'rand' onto a name so that there is some pnemonic indication that they are random? Just an idea, Cris ******************************** Cris Ewing CME and Telehealth Web Services University of Washington School of Medicine Work Phone: (206) 685-9116 Home Phone: (206) 365-3413 E-mail: cewing at u.washington.edu ******************************* On Tue, 10 Jan 2006, Rick Taube wrote: >> There must be a way to make CLM's use of random compatible with CM's, >> but I haven't taken time to look into it (I'm trying to get Snd 7.18 out >> the door). > > > Im sorry, i simply dropped the ball! i do rememebr i was going to rename the > random and funcall pattern to names that do not conflit with CLTL. i think i > narrowed new candiate names down to these: > > 1 change 'funcall' to 'thunk' : > > (new thunk :of (lambda () ...) > > 2 change 'random' to 'weighting' : > > (new weighting :of '( a b (c :weight 3) d e)) > > > does anyone object to these new names (or have better candiates)? if not ill > rename them in the next few days. > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From ml13 at onlinehome.de Wed Jan 11 14:14:55 2006 From: ml13 at onlinehome.de (ml13 at onlinehome.de) Date: Wed, 11 Jan 2006 23:14:55 +0100 Subject: [CM] process sync... In-Reply-To: <66d4bcaddf3c718b35405d593291d7d2@uiuc.edu> References: <66d4bcaddf3c718b35405d593291d7d2@uiuc.edu> Message-ID: Hi thank you very much for your detailed explanation!! I have played around for a while trying to find a simple example that shows what appears to be a bug. (defvar *length* 50) (defun a () (let ((durs (new cycle :of '(5 12 7 5 12 7)))) (process until (> (now) *length*) for dur = (next durs) do (format t "~2D: A says hi~%" (now) 1) wait dur))) (defun b () (let ((durs (new cycle :of '(12 5 7 5 7 12)))) (process until (> (now) *length*) for dur = (next durs) do (format t "~2D: B says hello~%" (now) 2) wait dur))) CM> (events (list (a) (b)) nil) 0: A says hi 0: B says hello 5: A says hi 12: B says hello 17: A says hi 17: B says hello 24: A says hi 24: B says hello 29: A says hi 29: B says hello 36: B says hello 41: A says hi 48: B says hello ; look Ma, A hasn't said hi yet......... 48: A says hi NIL Sorry for not tracing this further down, I still feel to be too new to CM, but tell me, if you need anymore information. Regards, Kilian Sprotte From taube at uiuc.edu Thu Jan 12 10:37:56 2006 From: taube at uiuc.edu (Rick Taube) Date: Thu, 12 Jan 2006 12:37:56 -0600 Subject: [CM] clm-random error and "double-float" In-Reply-To: References: <43C41A02.2010908@buffalo.edu> <20060110232027.M8142@ccrma.Stanford.EDU> Message-ID: <9AF7FD87-88FB-4C83-AA2A-ECA03A9C1FB8@uiuc.edu> sorry, too late! i took the renaming opportunity to add a new feature to weighting patterns suggested by a student of mine: if you specify :adjustable then each time items are selected they become less/more likely by the :adjustable amount. > Might it be best to rename them with something that prepends 'rand' > onto a name so that there is some pnemonic indication that they are > random? > > Just an idea, > > Cris From bil at ccrma.Stanford.EDU Thu Jan 12 13:39:37 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 12 Jan 2006 13:39:37 -0800 Subject: [CM] Re: I'd like to report an error on portmidi.tar.gr In-Reply-To: References: Message-ID: <20060112213841.M90635@ccrma.Stanford.EDU> Date: Thu, 12 Jan 2006 22:04:30 +0200 From: Thanassis Zervopoulos Hi, My name is Thanassis Zervopoulos and i am studing at Technical University of Crete. I'm working on a project thar requires real-time interaction with a midi and an application, so I've downloaded portmidi from CM Links-> Linux Portmidi installation which is the archive portmidi.tar.gz. I've followed the instructions but there was an error message "Can't open "/usr/lib/libporttime.so " " Undefined Symbol ....Thread....." so I put this line --- (cffi:load-foreign-library "/usr/lib/libpthread.so") --- to portmidi.lisp after the comments ;;; linux: guess i need to load porttime.so first (?) osx doesnt seem ;;; to need this lib at all... and works fine. I'm new on this area with cm,clm,cmn,portmidi so i'd like to ask you if it is better to use portmidi or midishare for real-time midi i/o and will i need rts for real-time interaction? Thank you in advance From ml13 at onlinehome.de Fri Jan 13 09:35:30 2006 From: ml13 at onlinehome.de (Kilian Sprotte) Date: Fri, 13 Jan 2006 18:35:30 +0100 Subject: [CM] rewrite Message-ID: Hi, I am just wondering, whether it is possible to change the rules of a rewrite object, after it has already generated some output and go on "smoothly" after the change. Might something like (setf (rewrite-rules r) (parse-rules new-rules (rewrite-table r)) where new-rules are in the initial format as given to (new rewrite...) be a good approach? Thanks, Kilian Sprotte From taube at uiuc.edu Fri Jan 13 12:14:57 2006 From: taube at uiuc.edu (Rick Taube) Date: Fri, 13 Jan 2006 14:14:57 -0600 Subject: [CM] Re: I'd like to report an error on portmidi.tar.gr In-Reply-To: <20060112213841.M90635@ccrma.Stanford.EDU> References: <20060112213841.M90635@ccrma.Stanford.EDU> Message-ID: <7671aa8d8c13ed22d418ddd1eac33ae8@uiuc.edu> > I've followed the > instructions but there was an error message "Can't open > "/usr/lib/libporttime.so " " Undefined > Symbol ....Thread....." > so I put this line --- (cffi:load-foreign-library > "/usr/lib/libpthread.so") --- to portmidi.lisp after the > comments > ;;; linux: guess i need to load porttime.so first (?) osx doesnt seem > ;;; to need this lib at all... > and works fine. i dont understand - do you have libporttime.so installed in /usr/local/lib or not? im not sure how/why loading libpthread fixes anything. > I'm new on this area with cm,clm,cmn,portmidi so i'd like to ask you > if it is better to use portmidi or > midishare for real-time midi i/o and will i need rts for real-time > interaction? "better" is in the eyes of the beholder. portmidi is bascially a lightweight connection to the host midi system. midishare is a larger, more "monolithic" system for doing midi. midishare api is probaly better for sending lots of data since you use typeNote and avoid having to schedule/send noteOffs. rts lets you shedule musical processes to run in real time. if you dont need processes you can just send data over using (pm:output ) for portmidi and (ms:output ) for midishare. i hope this answers your questions. best, rick From taube at uiuc.edu Fri Jan 13 12:19:57 2006 From: taube at uiuc.edu (Rick Taube) Date: Fri, 13 Jan 2006 14:19:57 -0600 Subject: [CM] rewrite In-Reply-To: References: Message-ID: hi it might work, i would try to make sure you are in between generations or at end-of-period when you switch. sorry i have not had time yet to look at the ordering example you sent in your last message. best, rick On Jan 13, 2006, at 11:35 AM, Kilian Sprotte wrote: > Hi, > > I am just wondering, whether it is possible to change the rules of a > rewrite object, after it has already generated some output and go on > "smoothly" after the change. > > Might something like > > (setf (rewrite-rules r) (parse-rules new-rules (rewrite-table r)) > > where new-rules are in the initial format as given to (new rewrite...) > be a good approach? > > Thanks, > Kilian Sprotte > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Sat Jan 14 02:50:41 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 14 Jan 2006 02:50:41 -0800 Subject: [CM] Snd 7.18 Message-ID: <20060114104858.M41040@ccrma.Stanford.EDU> Snd 7.18 snd_pd_external.c, help-snd-fm.pd, and pd-fm.scm and other changes for Pd, thanks to Kjetil. Many more improvements thanks to Mike. default sample type is now float. This should only affect the "peak-env" files which will need to be rebuilt (just delete the current peak files, and they'll be rebuilt as needed automatically). analog-filter.scm: Butterworth, Chebyshev, inverse-Chebyshev, Bessel(-Thompson), Elliptic filters. (These functions are based on code of Anders Johansson) new fft windows: samaraki and ultraspherical (related to the dolph-chebyshev window) ultraspherical window has an additional parameter (side lobe shape) named fft-window-alpha here (to parallel fft-window-beta). new sound effects: sinc-train (clm.html) reverse-by-blocks and reverse-within-blocks (examp.scm) pulse-voice (examp.scm) moved make-iir-low|high-pass-1 to snd7.scm (from dsp.scm) removed the various sorting indices (sort-by-name|size|date|entry), and changed the way the user-defined sorter works. (snd7.scm defines the old names). Also removed (unimplemented, but documented) file-sorters list, and the now useless just-sounds-hook. added sound-file? for easier file-filter definition. in both Motif and Gtk, the file selection dialogs have been changed -- there are fewer visible widgets, but popup menus are scattered around to handle uncommon chores (sorting, filtering, etc). libgamin is connected to the file list as elsewhere. Right-click in the file list brings up a menu of sorting/filtering choices; in the directory list it brings up a menu that splits out the parent directories (single-click in the directory list moves to that directory); in the file and filter entry widgets it brings up a list of previous choices. If you type in the file entry widget, the file list tries to move to the apparent choice. The "preview area" is as before -- a description of the selected sound file, with "play" and "just-sounds" buttons. In the xm module, XmNpopupEnabled is now an enum (it was boolean -- I was following the incorrect info in the Motif docs -- use XmPOPUP_AUTOMATIC rather than #t). the happy buttons have hunkered down for the winter. checked: gtk 2.8.8|9|10, sbcl 0.9.7|8, clisp 2.36|7 (cmn), motif 2.3.0, ruby 1.8.4, Mesa 6.4.1 (openGL), gamin 0.1.7 (fam) with much help from: Kjetil, Mike, Russell Aspinwall From taube at uiuc.edu Sat Jan 14 14:08:51 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 14 Jan 2006 16:08:51 -0600 Subject: [CM] cm slime support Message-ID: <8390fd28135f5d39c903a76bafaa8d67@uiuc.edu> Ive added lots of support for working with CM using Slime, including documentation browsing and dictionary lookup via the built-in hyperspec tool. The slime support is non-invasive, see the top of cm.el for some suggested key-bindings. http:commonmusic.sf.net/etc/xemacs/cm.el From taube at uiuc.edu Sat Jan 14 14:19:32 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 14 Jan 2006 16:19:32 -0600 Subject: [CM] how to install Message-ID: forgot to show how to intall the new emacs support. This is what my .emacs looks like, you dont have to bind keys if you dont want. (add-to-list 'load-path "/PATH/TO/slime/") (require 'slime) (slime-setup) (load "/PATH/TO/cm.el") (global-set-key (kbd "") 'slime-toggle-repl) (define-key slime-mode-map "\C-x\C-e" 'slime-eval-anything) (define-key slime-mode-map (kbd "TAB") 'slime-indent-anything) (define-key slime-mode-map (kbd "\C-c\C-dc") 'cm-lookup) then -- assuming your inferior-lisp-program starts cm -- do M-x cm this stuff is new so there will be some issues. but looking up cm doc at point is very cool! From gogins at pipeline.com Sun Jan 15 11:45:11 2006 From: gogins at pipeline.com (Michael Gogins) Date: Sun, 15 Jan 2006 14:45:11 -0500 (GMT-05:00) Subject: [CM] Updated Csound5.0rc2 Windows Installer Message-ID: <11519279.1137354311124.JavaMail.root@mswamui-chipeau.atl.sa.earthlink.net> I've once again updated the Csound5, release candidate 2, 64 bit samples, Windows installer on SourceForge. This can be found at: http://sourceforge.net/projects/csound in the csound package, csound5.0rc2 release, csound-5rc2.exe file. Changes this time are to update the Csound and the manual with Istvan Varga's latest contributions, updates, and fixes to the channel opcodes (chn*). Mingwm10.dll is included, Victor Lazzarini's PortAudio is used (I think), CSOUNDRC is set, Rawwaves are in place, csound.hpp is included, latest libsndfile is used (pre6), the Python version is 2.4, all DLLs are stripped. Includes all opcodes of Istvan Varga zip plus Loris, vst4cs, FluidSynth, and STK C++ opcodes, as well as tclcsound and csoundapi~. This installer needs more testing on the PortAudio performance, Loris opcodes, Python opcodes, vst4cs opcodes, and csoundvst~ PD external. When these tests are satisfactory, the manual is completely up to date, and there are better examples, I will consider this installer suitable for general release. It would also be nice if somebody would improve the LISP CFFI binding in interfaces/csound5.lisp, which works on a basic level as demonstrated in interfaces/test.lisp, but needs to be improved with CLOS bindings and with integration as a Common Music output stream. I will get around to this eventually, but it would be nice if it happened sooner. Regards, Mike From kjetil at ccrma.Stanford.EDU Sun Jan 15 13:24:55 2006 From: kjetil at ccrma.Stanford.EDU (Kjetil S. Matheussen) Date: Sun, 15 Jan 2006 13:24:55 -0800 (PST) Subject: [CM] Snd 7.18 In-Reply-To: <20060114200002.3137.5194.Mailman@cm-mail.stanford.edu> References: <20060114200002.3137.5194.Mailman@cm-mail.stanford.edu> Message-ID: "Bill Schottstaedt": > > Snd 7.18 > > snd_pd_external.c, help-snd-fm.pd, and pd-fm.scm and other changes for Pd, thanks to Kjetil. > Unfortunately, snd 7.18 was released right before I got fixed one gruesome bug, and two horrible bugs. So if anyone wants to try snd as a pd external, please use the "daily Snd sources" download instead of snd 7.18. Please also let me know if you have problems with guile 1.7.2 or other problems related to get everything running. They should be solvable... -- From njcross at sbcglobal.net Tue Jan 17 11:38:38 2006 From: njcross at sbcglobal.net (njcross at sbcglobal.net) Date: Tue, 17 Jan 2006 11:38:38 -0800 Subject: [CM] Fwd: cm and midishare player Message-ID: <200601171138.38798.njcross@sbcglobal.net> I received an email from Kendatsuba which may be a solution for others. This should work(?), but, my Mandriva LE2005 still can't see the 'libPlayer.so.old' although it's been created! (see below). ----------- Hi, have you finally solved your problem with cm and midishare library libPlayer.so ? If not I have found one, I'm using debian testing and faced the same problem. _ZTVN10__cxxabiv120__si_class_type_infoE not found. The loader doesn't seem to find this symbol wich is defined in libstdc++.so.6 library and not in libstdc++.so.5. Usually this shared library is loaded automatically and so it isn't listed among library dependencies by ldd. For some reasons it seems that even if libPlayer.so it is linked against libstdc++.so.6 by gcc/ld, either it is not loaded automatically or libstdc++.so.5 gets loaded instead. I've not inquired further into the problem and solved it this way: mv /usr/lib/libPlayer.so /usr/lib/libPlayer.so.old ld -shared /usr/lib/libstdc++.so.6 libPlayer.so.old -o libPlayer.so This explicitly tells the loader to load libstdc++.so.6 when loading libPlayer.so, in fact it will be listed among dependencies by ldd. I do not know how "polite" it is towards the loader to force it this way but this did the trick for me. I've compiled everything needed with gcc/g++ version 3.xas libPlayer does not compile with 4.x. Please let me know if you already solved the problem. I've not read anything about the solution in ccrma forum, if this works for you (even if you already solved it) could you please post on the forum? I am not subscribed and not a user of ccrma distrubution. Regards, k --------------------------------------------------------------------------------- My original post to cm list: > I can't seem to load MidiShare Player into cm. > I've loaded all the new files OK and MidiShare loads (use-system :midishare) > OK. But when I try to load the player (use-system :player) it complains that > it can't load /usr/lib/libPlayer.so, although it's there. > > cm says: > > * (use-system :player) > > ; Loading #P"/root/midishare/player.x86f". > ;;; Opening shared library /usr/lib/libPlayer.so ... > > > > Error in function SYSTEM::LOAD-OBJECT-FILE: > Can't open object "/usr/lib/libPlayer.so": "/usr/lib/libPlayer.so: > undefinedsymbol: _ZTVN10__cxxabiv120__si_class_type_infoE" > [Condition of type SIMPLE-ERROR] > > Restarts: > 0: [CONTINUE] Return NIL from load of #P"/root/midishare/player.x86f". > 1: [RETRY ] Retry performing # on > #. > 2: [ACCEPT ] Continue, treating # on > # as > having been successful. > 3: [ABORT ] Return to Top-Level. > > Debug (type H for help) > > (SYSTEM::LOAD-OBJECT-FILE "/usr/lib/libPlayer.so") > Source: Error finding source: > Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer > exists: > target:code/foreign.lisp. > 0] > > Thanks for any help. > From njcross at sbcglobal.net Tue Jan 17 13:10:14 2006 From: njcross at sbcglobal.net (njcross at sbcglobal.net) Date: Tue, 17 Jan 2006 13:10:14 -0800 Subject: [CM] Re: Fwd: cm and midishare player Message-ID: <200601171310.14806.njcross@sbcglobal.net> I was too quick to email. This works perfectly - just had to add the directory paths: ld -shared /usr/lib/libstdc++.so.6 /usr/lib/libPlayer.so.old -o /usr/lib/libPlayer.so Thank you Kendatsuba! On Tuesday 17 January 2006 11:38 am, you wrote: > I received an email from Kendatsuba which may be a solution for others. > > This should work(?), but, my Mandriva LE2005 still can't see the > 'libPlayer.so.old' although it's been created! (see below). > ----------- > > Hi, > have you finally solved your problem with cm and midishare library > libPlayer.so ? If not I have found one, I'm using debian testing and faced > the same problem. > > _ZTVN10__cxxabiv120__si_class_type_infoE not found. > > The loader doesn't seem to find this symbol wich is defined in > libstdc++.so.6 library and not in libstdc++.so.5. Usually this shared > library is loaded automatically and so it isn't listed among library > dependencies by ldd. For some reasons it seems that even if libPlayer.so it > is linked against libstdc++.so.6 by gcc/ld, either it is not loaded > automatically or libstdc++.so.5 gets loaded instead. I've not inquired > further into the problem and solved it this way: > > mv /usr/lib/libPlayer.so /usr/lib/libPlayer.so.old > ld -shared /usr/lib/libstdc++.so.6 libPlayer.so.old -o libPlayer.so > > This explicitly tells the loader to load libstdc++.so.6 when loading > libPlayer.so, in fact it will be listed among dependencies by ldd. I do not > know how "polite" it is towards the loader to force it this way but this > did the trick for me. I've compiled everything needed with gcc/g++ version > 3.xas libPlayer does not compile with > 4.x. Please let me know if you already solved the problem. I've not read > anything about the solution in ccrma forum, if this works for you (even if > you already solved it) could you please post on the forum? I am not > subscribed and not a user of ccrma distrubution. > > Regards, > k > > --------------------------------------------------------------------------- >------ > > My original post to cm list: > > I can't seem to load MidiShare Player into cm. > > I've loaded all the new files OK and MidiShare loads (use-system > > > > :midishare) OK. But when I try to load the player (use-system :player) > > > > it complains > > that > > > it can't load /usr/lib/libPlayer.so, although it's there. > > > > cm says: > > > > * (use-system :player) > > > > ; Loading #P"/root/midishare/player.x86f". > > ;;; Opening shared library /usr/lib/libPlayer.so ... > > > > > > > > Error in function SYSTEM::LOAD-OBJECT-FILE: > > Can't open object "/usr/lib/libPlayer.so": "/usr/lib/libPlayer.so: > > undefinedsymbol: _ZTVN10__cxxabiv120__si_class_type_infoE" > > [Condition of type SIMPLE-ERROR] > > > > Restarts: > > 0: [CONTINUE] Return NIL from load of #P"/root/midishare/player.x86f". > > 1: [RETRY ] Retry performing # on > > #. > > 2: [ACCEPT ] Continue, treating # on > > # as > > having been successful. > > 3: [ABORT ] Return to Top-Level. > > > > Debug (type H for help) > > > > (SYSTEM::LOAD-OBJECT-FILE "/usr/lib/libPlayer.so") > > Source: Error finding source: > > Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer > > exists: > > target:code/foreign.lisp. > > 0] > > > > Thanks for any help. From andersvi at extern.uio.no Wed Jan 18 04:14:56 2006 From: andersvi at extern.uio.no (andersvi at extern.uio.no) Date: Wed, 18 Jan 2006 13:14:56 +0100 Subject: [CM] cmn's iratify Message-ID: cmns #'iratify is giving me some strange results here (first thought it was some roundoff error, but it seems theres something with the algorithm behind). The behavior is consistent across lisps. CMN> (iratify 0.125) 1/8 CMN> (iratify (* 8 0.125)) 1 CMN> (iratify (* 9 0.125)) 10/9 i would expect the last one to return 9/8. Does anybody see whats wrong here? heres the relevant section from cmn/cmn-utils.lisp (defvar smallest-note .015625) ;256-th note (1/64) (defun ratify-1 (ux) (if (zerop ux) (list 0 1) (let ((tt 1) (err smallest-note) (a1 0) (b2 0) (a2 1) (b1 1) (a 0) (b 0) (x (/ 1.0 ux))) (loop while t do (setf a (+ (* a1 tt) a2)) (setf b (+ (* tt b1) b2)) (if (and (/= b 0) (or (> b 100) (<= (abs (- ux (/ a b))) err))) (return-from ratify-1 (list a b))) (if (< b -100) (return-from ratify-1 (list (- a) (- b)))) (setf x (/ 1 (- x tt))) (setf tt (floor x)) (setf a2 a1) (setf b2 b1) (setf a1 a) (setf b1 b) )))) (defun ratify (num) ;rational returns gigantic useless factors (if (floatp num) (if (<= num 16.0) (ratify-1 num) (multiple-value-bind (int frac) (floor num) (if (= frac 0.0) (list int 1) (let ((vals (ratify-1 frac))) (list (+ (* int (second vals)) (first vals)) (second vals)))))) (if (ratiop num) (list (numerator num) (denominator num)) (list num 1)))) (defun fratify (num) (if (floatp num) (apply #'/ (ratify num)) num)) (defun iratify (num) (coerce (apply #'/ (ratify num)) 'rational)) From bil at ccrma.Stanford.EDU Wed Jan 18 06:19:03 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 18 Jan 2006 06:19:03 -0800 Subject: [CM] cmn's iratify In-Reply-To: References: Message-ID: <43CE4E57.8040200@ccrma> cmn's iratify stops searching for a ratio (it uses continued fractions, so it's very fast) when the error is less than "smallest-note" -- in this case smallest-note is .015 so * (- (* .125 9) (/ 10 9)) 0.013888836 If you set smallest-note smaller (say .001) you'll get 9/8: * (setf smallest-note .001) 0.001 * (iratify (* .125 9)) 9/8 If I remember right, this part of cmn is trying to simplify incoming notelist data, so it's very hard to decide what the right thing is for all cases. From azervopoulos at gmail.com Wed Jan 18 09:28:01 2006 From: azervopoulos at gmail.com (Thanassis Zervopoulos) Date: Wed, 18 Jan 2006 19:28:01 +0200 Subject: [CM] snd 7.17 - installation problem Message-ID: ./configure :looks fine make : output ....headers.c:278: error: conflicting types for 'chans' snd-1.h:352: error: previous declaration of 'chans' was here make: *** [headers.o] Error 1 Any suggestions? Thanx in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed Jan 18 11:23:12 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 18 Jan 2006 11:23:12 -0800 Subject: [CM] snd 7.17 - installation problem In-Reply-To: References: Message-ID: <20060118192052.M46067@ccrma.Stanford.EDU> That isn't an error in C or C++ -- the first chans is a field of a struct, the second is a local variable. What compiler are you using? If possible, send me your makefile and config.h so I have some context to work with. From drkrause at mindspring.com Wed Jan 18 17:25:37 2006 From: drkrause at mindspring.com (Drew Krause) Date: Wed, 18 Jan 2006 20:25:37 -0500 Subject: [CM] Snd 7-18 alsa play error Message-ID: <43CEEA91.5020200@mindspring.com> Forgive me if this has been covered already -- Built snd-7-18 with alsa & esd options on SUSE 10 Linux linux 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 i686 i686 i386 GNU/Linux error on playing a loaded .wav file: ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2094:(snd_pcm_open_noupdate) Unknown PCM default (mus-audio-describe) returns "Enlightened Sound Daemon via socket connextion to default host" Any tips appreciated! Thanks, DK From bil at ccrma.Stanford.EDU Thu Jan 19 04:49:43 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 19 Jan 2006 04:49:43 -0800 Subject: [CM] Snd 7-18 alsa play error In-Reply-To: <43CEEA91.5020200@mindspring.com> References: <43CEEA91.5020200@mindspring.com> Message-ID: <20060119124606.M35979@ccrma.Stanford.EDU> I don't know why ALSA is involved at all -- if you include both --with-esd and --with-alsa, you get esd; my guess is that you've hit an esd bug, and should report it to them. From ego111 at gmail.com Sat Jan 21 21:43:36 2006 From: ego111 at gmail.com (Evans Winner) Date: Sat, 21 Jan 2006 21:43:36 -0800 Subject: [CM] cmn newbie ?'s Message-ID: <6e107fd50601212143l29a5cdcfq4149b5fe498a70ee@mail.gmail.com> Hello. I'm just trying to get up and going with cmn. Sorry for the basic questions that the manual (to my ability to follow it) or the archives haven't helped me with. There are several here, but I suspect they will be easy to answer for the experienced. Any help of course, is much appreciated. * Something like: (staff ... c4 q (bar (barline-thickness .2)) ... c4 q)... seems to work globally and change all barlines. Is there a way to effect just the one bar? * Is there a way to indent the first line of a score? * Is it possible to mix music fonts within the same document, as in ...(staff (cleff (treble (font "my-font" "U+0026"))))? Thanks, all. -- ? From bil at ccrma.Stanford.EDU Sun Jan 22 03:52:31 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 22 Jan 2006 03:52:31 -0800 Subject: [CM] cmn newbie ?'s In-Reply-To: <6e107fd50601212143l29a5cdcfq4149b5fe498a70ee@mail.gmail.com> References: <6e107fd50601212143l29a5cdcfq4149b5fe498a70ee@mail.gmail.com> Message-ID: <20060122114148.M5433@ccrma.Stanford.EDU> Those are good questions! I fear the answer is no to all three. The thickness message currently only applies to double bars -- I can't remember why it has that restriction -- I'll add a bar-thickness, or maybe barline-thickness message to my TODO list (it should be very easy to add). I thought you could indent the first line by using the line-mark function: (line-mark (dx 10.0)), but it seems to be a no-op -- this is probably a bug. To mix music-fonts, I suppose you could use with-cmn (the embedded cmn function), but cmn currently assumes it has only one music-font (spacing is already far too complicated -- I wouldn't want to make it even worse!). I think I need to add a section in the manual about what I was trying to do in cmn -- it really isn't aimed at the calligraphic aspects of a printed score -- I wanted a quick way to see a notelist in standard notation, and in that context it does not matter how pretty it is. Lilypond is probably the way to go if you're aiming at publishable output -- I think its authors want to go even further than Leland Smith's Score in that direction, so they will be motivated to deal with aesthetic issues that I put in my TODO list and intend to get to someday. From bil at ccrma.Stanford.EDU Sun Jan 22 04:51:21 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 22 Jan 2006 04:51:21 -0800 Subject: [CM] Snd and SGI "schemes" Message-ID: <20060122124839.M85532@ccrma.Stanford.EDU> Is anyone using the SGI "useScheme" settings in Snd? If so, would it be an unbearable calamity if that feature disappeared? From johannes.quint at web.de Tue Jan 24 00:44:39 2006 From: johannes.quint at web.de (Johannes Quint) Date: Tue, 24 Jan 2006 09:44:39 +0100 Subject: [CM] shortcut Message-ID: <50351F02-261C-4BDF-BA5A-B9B1CA2272E7@web.de> is it possible to define a keyboard-shortcut to break a midishare output? _________________________ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://www.johannes-quint.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Tue Jan 24 04:28:43 2006 From: taube at uiuc.edu (Rick Taube) Date: Tue, 24 Jan 2006 06:28:43 -0600 Subject: [CM] shortcut In-Reply-To: <50351F02-261C-4BDF-BA5A-B9B1CA2272E7@web.de> References: <50351F02-261C-4BDF-BA5A-B9B1CA2272E7@web.de> Message-ID: > is it possible to define a keyboard-shortcut to > break a midishare output? its a short question, but a long answer...sorry! if by "keyboard shortcut" you mean "can I define an emacs command that does this?" the answer is "yes and no". its "yes" in the sense that you can easily define an emacs command to send the command to lisp (see below) its "no" in the sense that neither Midishare nor Portmidi allow you to flush their pending output queue (at least that I can see) -- so you cannot use events to queue a passage of music and then flush the queue before its done plying. however, its "yes" again in the sense that you can work around this limitation if you use RTS. If rts is running then IT can flush its own cue if you call (rts-hush). So if you use RTS you could define an emacs keyborad command that stops output to midishare and portmidi. For exam, this would define it on the Function6 key: ;; put this in your .emacs file (global-set-key (kbd "") 'slime-hush) (defun slime-hush () (interactive ) (slime-interactive-eval "(if (rts?) (rts-hush))")) unfortunatly, the new rts code that implements rts-hush is still "unstable": it works on the mac (we think) but not yet on SBCL. There is a patch that may fix one of the problems with SBCL but I havent had time to find out. also RTS is now a "breakout package" and has some changes that are not documented yet. But you can try it if you are on the mac: 1. do a cvs update of your CM tree and delete your cm/bin/openmcl_* directory 2. cd to your parent lisp directory and do cvs checkout rts 3. start CM and do: (use-system :rts) (use-system :midishare) then try it out. also in cvs: If RTS is running you can use (events ...) to schedule to it: (defparameter mp (midishare-open)) (rts mp) (events (foo) mp) you CANNOT use events to write a file if rts is running. From taube at uiuc.edu Tue Jan 24 06:35:55 2006 From: taube at uiuc.edu (Rick Taube) Date: Tue, 24 Jan 2006 08:35:55 -0600 Subject: [CM] shortcut In-Reply-To: <55FBF713-9A79-4C41-A4A1-89F96DAB709D@web.de> References: <50351F02-261C-4BDF-BA5A-B9B1CA2272E7@web.de> <55FBF713-9A79-4C41-A4A1-89F96DAB709D@web.de> Message-ID: nothing like using a sledge hammer! you can probably do the same thing for portmidi, but you may get hanging notes. i guess your function could implmeent something like (progn (close-midi) (open-midi) (send-all-notes-off) ) at some point I will look at the issue about writing files with rts running, this has been raised before. it not an easy fix. >> ;; put this in your .emacs file >> (global-set-key (kbd "") 'slime-hush) >> (defun slime-hush () >> (interactive ) >> (slime-interactive-eval "(if (rts?) (rts-hush))")) > > thanks for your help. > i have now tried the following, and it seems to > work: > > (global-set-key (kbd "") 'kbd-ms-close) > (defun kbd-ms-close () > (interactive ) > (slime-interactive-eval "(midishare-close)")) > > i think this is better for me than rts, because i > work with midi-files for sibelius and midi at the > same time. > > johannes > > _________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.de > http://www.johannes-quint.de > > From steven at sjknet.com Tue Jan 24 19:18:28 2006 From: steven at sjknet.com (Steven Kallstrom) Date: Tue, 24 Jan 2006 21:18:28 -0600 Subject: [CM] CM install troubles... Message-ID: <43D6EE04.4010506@sjknet.com> Hello, I've installed CM with OpenMCL before without trouble. I haven't played with it for awhile and tried a fresh install but ran into some troubles. I'm trying to install CM with OpenMCL on Mac OS X 10.4.4. Here is the error that I'm getting: ; Installation directory: "/usr/local/lisp/cm/" ; Compiling "src/gui/gtkffi-openmcl.lisp" > Error in process listener(1): Interface directory ccl:darwin-headers;gtk2; does not exist. > While executing: # I have tried both CVS and Stable versions of CM, and OpenMCL 1.0 and 0.14.3. Do I need to do something with cm-gtk? I would like to get this running with all the bells and whistles... so please advise. Thank you, Steven Kallstrom From steven at sjknet.com Tue Jan 24 21:08:51 2006 From: steven at sjknet.com (Steven Kallstrom) Date: Tue, 24 Jan 2006 23:08:51 -0600 Subject: [CM] CM install troubles... In-Reply-To: <43D6EE04.4010506@sjknet.com> References: <43D6EE04.4010506@sjknet.com> Message-ID: <43D707E3.3020702@sjknet.com> Nevermind everything is good... erased everything and tried again and it worked... sorry to bug you. Steven Kallstrom wrote: > Hello, > > I've installed CM with OpenMCL before without trouble. I haven't played > with it for awhile and tried a fresh install but ran into some troubles. > > I'm trying to install CM with OpenMCL on Mac OS X 10.4.4. > > Here is the error that I'm getting: > > ; Installation directory: "/usr/local/lisp/cm/" > ; Compiling "src/gui/gtkffi-openmcl.lisp" > > Error in process listener(1): Interface directory > ccl:darwin-headers;gtk2; does not exist. > > While executing: # > > I have tried both CVS and Stable versions of CM, and OpenMCL 1.0 and > 0.14.3. > > Do I need to do something with cm-gtk? > > I would like to get this running with all the bells and whistles... so > please advise. > > > Thank you, > > Steven Kallstrom > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Jan 25 04:38:19 2006 From: taube at uiuc.edu (Rick Taube) Date: Wed, 25 Jan 2006 06:38:19 -0600 Subject: [CM] CM install troubles... In-Reply-To: <43D707E3.3020702@sjknet.com> References: <43D6EE04.4010506@sjknet.com> <43D707E3.3020702@sjknet.com> Message-ID: one last potential "gotcha": the binary download of openmcl 1.0 has a bug in its threads support -- if you plan to run rts in openmcl 1.0 then you will have to build openmcl 1.0 from its cvs sources. openmcl 0.14.3 should work fine. >> I would like to get this running with all the bells and whistles... >> so please advise. >> Thank you, >> Steven Kallstrom From sebyte at smolny.plus.com Thu Jan 26 16:49:28 2006 From: sebyte at smolny.plus.com (Sebastian Tennant) Date: Fri, 27 Jan 2006 00:49:28 +0000 Subject: [CM] snd-gtk-alsa "alsa_audio_open: could not set rate to exactly 44100, set to 3200 instead" Message-ID: <87vew6v6jr.fsf@smolny.plus.com> Hi all, I have a wav file with the following header: $ file ia.wav ia.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz I launch snd with the command: $ SNDLIB_ALSA_DEVICE="hw:1,0" snd & beacuse I want snd to use my external USB audio I/O device. (This device is configured as the default pcm device in my ~/.asoundrc but snd seems to ignore this unless I specify the device on the command line). However, playback is slow, and I get the following message in the listener: "alsa_audio_open: hw:1,0: could not set rate to exactly 44100, set to 32000 instead" Playback is at the correct speed if I don't specify the alsa device on the command line and audio is routed through my PC's internal soundcard. The external USB I/O device is an Edirol UA-3FX and it most definitely supports 44100, so does anyone have any idea what the problem might be? My ~/.asoundrc reads as follows: # set Edirol UA-3FX as default hardware device for all alsa aware applications pcm.!default{ type hw card 1 device 0 } ctl.!default { type hw card 1 device 0 } # for OSS apps (e.g., $ aoss realplay) pcm.dsp0 { type plug slave.pcm "hw:1,0" } TIA sdt -- Debian GNU/Linux Sarge $ dpkg -l | grep snd_gtk_alsa ii snd-gtk-alsa 7.8-1.1 Sound file editor (GTK+ user interface) From bil at ccrma.Stanford.EDU Fri Jan 27 04:06:03 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 27 Jan 2006 04:06:03 -0800 Subject: [CM] snd-gtk-alsa "alsa_audio_open: could not set rate to exactly 44100, set to 3200 instead" In-Reply-To: <87vew6v6jr.fsf@smolny.plus.com> References: <87vew6v6jr.fsf@smolny.plus.com> Message-ID: <20060127120337.M3978@ccrma.Stanford.EDU> I don't know much about this issue, but perhaps this is helpful: http://linux.setcolor.de/ua-5/ It has something about enabling 44100 srate. I also vaguely remember a discussion about alsa and usb devices in one of the linux audio lists. From sebyte at smolny.plus.com Mon Jan 30 03:04:26 2006 From: sebyte at smolny.plus.com (Sebastian Tennant) Date: Mon, 30 Jan 2006 11:04:26 +0000 Subject: [CM] snd-gtk-alsa "alsa_audio_open: could not set rate to exactly 44100, set to 3200 instead" In-Reply-To: <20060127120337.M3978@ccrma.Stanford.EDU> (Bill Schottstaedt's message of "Fri, 27 Jan 2006 04:06:03 -0800") References: <87vew6v6jr.fsf@smolny.plus.com> <20060127120337.M3978@ccrma.Stanford.EDU> Message-ID: <87fyn6ased.fsf@smolny.plus.com> "Bill Schottstaedt" wrote: > I don't know much about this issue, but perhaps this is helpful: > > http://linux.setcolor.de/ua-5/ > > It has something about enabling 44100 srate. > > I also vaguely remember a discussion about alsa and usb devices in one of the > linux audio lists. Thanks for your helpful response Bill, but nothing I do seems to make any difference. The strange thing is the sound is fine with every other application. For instance, the alsa-aware app, alsaplayer: $ alsaplayer -i text -q ia.wav works fine with my existing ~/.asoundrc: #set Edirol UA-3FX as default hardware device for all alsa aware applications pcm.!default { type hw card 1 device 0 } ctl.!default { type hw card 1 device 0 } #for OSS apps (e.g., $ aoss realplay) pcm.dsp0 { type plug slave.pcm "hw:1,0" } as does the non-alsa-aware app, play (wrapper to sox): $ aoss play ia.wav that uses the pcm.dsp0 It's only snd (which doesn't work with aoss, and needs to be called with SNDLIB_ALSA_DEVICE="hw:1,0") which has trouble setting the rate correctly. Hence I suspect the problem is with snd and not with alsa. sdt From bil at ccrma.Stanford.EDU Mon Jan 30 11:00:42 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 30 Jan 2006 11:00:42 -0800 Subject: [CM] snd-gtk-alsa "alsa_audio_open: could not set rate to exactly 44100, set to 3200 instead" In-Reply-To: <87fyn6ased.fsf@smolny.plus.com> References: <87vew6v6jr.fsf@smolny.plus.com> <20060127120337.M3978@ccrma.Stanford.EDU> <87fyn6ased.fsf@smolny.plus.com> Message-ID: <20060130185819.M91828@ccrma.Stanford.EDU> Apparently Alsa changed at some point -- I don't immediately find any mention of it, but I think snd_pcm_hw_params_set_rate_near now takes a pointer to the srate and returns the new value through that pointer, so the old code thought an error had occurred when in fact none had. I'll update the various versions of audio.c. From sebyte at smolny.plus.com Mon Jan 30 16:13:15 2006 From: sebyte at smolny.plus.com (Sebastian Tennant) Date: Tue, 31 Jan 2006 00:13:15 +0000 Subject: [CM] snd-gtk-alsa "alsa_audio_open: could not set rate to exactly 44100, set to 3200 instead" In-Reply-To: <20060130185819.M91828@ccrma.Stanford.EDU> (Bill Schottstaedt's message of "Mon, 30 Jan 2006 11:00:42 -0800") References: <87vew6v6jr.fsf@smolny.plus.com> <20060127120337.M3978@ccrma.Stanford.EDU> <87fyn6ased.fsf@smolny.plus.com> <20060130185819.M91828@ccrma.Stanford.EDU> Message-ID: <87zmldjlus.fsf@smolny.plus.com> "Bill Schottstaedt" wrote: > Apparently Alsa changed at some point -- I don't immediately find > any mention of it, but I think snd_pcm_hw_params_set_rate_near > now takes a pointer to the srate and returns the new value through > that pointer, so the old code thought an error had occurred when > in fact none had. I'll update the various versions of audio.c. Let's hope this will address the problem. Either way I look forward to testing it. Will you anounce the change here, or on another 'announce' list? sdt From bil at ccrma.Stanford.EDU Tue Jan 31 04:06:39 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 31 Jan 2006 04:06:39 -0800 Subject: [CM] snd-gtk-alsa "alsa_audio_open: could not set rate to exactly 44100, set to 3200 instead" In-Reply-To: <87zmldjlus.fsf@smolny.plus.com> References: <87vew6v6jr.fsf@smolny.plus.com> <20060127120337.M3978@ccrma.Stanford.EDU> <87fyn6ased.fsf@smolny.plus.com> <20060130185819.M91828@ccrma.Stanford.EDU> <87zmldjlus.fsf@smolny.plus.com> Message-ID: <20060131120020.M96406@ccrma.Stanford.EDU> This turns out to messier than I first thought -- the code in audio.c is using the old api, but somehow the old_pcm.h header is picked up (I still haven't threaded my way through all the macros; I just ignored old_pcm.h yesterday), so the code as it was is ok, in that regard. I notice that aplay sets the srate before choosing the period size (and has commented out the reverse method), whereas audio.c gets the period first. I'll write a test version that follows aplay.c slavishly, then get back to you for a test of it. Thanks for the help! From sgsofia at myuw.net Tue Jan 31 14:05:24 2006 From: sgsofia at myuw.net (sal g sofia) Date: Tue, 31 Jan 2006 14:05:24 -0800 (PST) Subject: [CM] Upgrade snd. Message-ID: Hello All, What would be the best way to upgrade to the latest SND version, without disturbing the one I have installed? I am on a Mac OS X version 10.4.4- Thank you. Regards, -Sal From pat at digitalworlds.ufl.edu Tue Jan 31 14:15:37 2006 From: pat at digitalworlds.ufl.edu (Patrick Pagano) Date: Tue, 31 Jan 2006 17:15:37 -0500 Subject: [CM] Upgrade snd. Message-ID: build it but do not make install Patrick Pagano, B.S., M.F.A Digital Media Specialist Digital Worlds Institute University of Florida (352) 294-2082 -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist-admin at ccrma.Stanford.EDU]On Behalf Of sal g sofia Sent: Tuesday, January 31, 2006 5:05 PM To: cmdist at ccrma.Stanford.EDU Subject: [CM] Upgrade snd. Hello All, What would be the best way to upgrade to the latest SND version, without disturbing the one I have installed? I am on a Mac OS X version 10.4.4- Thank you. Regards, -Sal _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Tue Jan 31 14:36:01 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 31 Jan 2006 14:36:01 -0800 Subject: [CM] Upgrade snd. In-Reply-To: References: Message-ID: <20060131223537.M29936@ccrma.Stanford.EDU> I made a new(er) osx 10.4.4 Snd image -- ftp://ccrma-ftp.stanford.edu/pub/Lisp/osx-10.4-snd. You can also go to an empty directory, untar the Snd tarball, configure and build it there, and then put the snd image anywhere. From sgsofia at myuw.net Tue Jan 31 15:46:07 2006 From: sgsofia at myuw.net (sal g sofia) Date: Tue, 31 Jan 2006 15:46:07 -0800 (PST) Subject: [CM] Upgrade snd. In-Reply-To: <20060131223537.M29936@ccrma.Stanford.EDU> References: <20060131223537.M29936@ccrma.Stanford.EDU> Message-ID: Thank you. On Tue, 31 Jan 2006, Bill Schottstaedt wrote: > I made a new(er) osx 10.4.4 Snd image -- > > ftp://ccrma-ftp.stanford.edu/pub/Lisp/osx-10.4-snd. > > You can also go to an empty directory, untar the Snd tarball, configure > and build it there, and then put the snd image anywhere. > > From nando at ccrma.Stanford.EDU Tue Jan 31 17:46:24 2006 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Tue, 31 Jan 2006 17:46:24 -0800 Subject: [CM] common music, portmidi, filling up queues? Message-ID: <1138758384.20956.111.camel@cmn3.stanford.edu> Hi all, I'm running here a CM snapshot from 2005.12.15 and I'm having problems with portmidi. It looks like when the portmidi/alsa internal buffer becomes full Common Music just throws an error and that's it. For example this plays fine (you have to open the portmidi device first): (events (process for i from 0 below 250 output (new midi :keynum (+ 60 (mod i 40)) :time (now)) wait 0.01) "midi-port.pm") add one more note (251 instead of 250): (events (process for i from 0 below 251 output (new midi :keynum (+ 60 (mod i 40)) :time (now)) wait 0.01) "midi-port.pm") and I get: -------- bad argument to ERROR: #.(SB-SYS:INT-SAP #XB7FEBDDD) [Condition of type SIMPLE-TYPE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (SB-KERNEL:COERCE-TO-CONDITION #.(SB-SYS:INT-SAP #XB7FEBDDD) NIL SIMPLE-ERROR ERROR) 1: (ERROR #.(SB-SYS:INT-SAP #XB7FEBDDD)) 2: (PORTMIDI:WRITESHORT #.(SB-SYS:INT-SAP #X082809F0) 3094653 8340864) [MUNCH] -------- Using "(rts" instead minimizes the chance of this happening but the error can be triggered... What could I do about this (other than sending few notes :-)? -- Fernando