From bil at ccrma.Stanford.EDU Wed Dec 1 06:13:00 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 01 Dec 2004 06:13:00 -0800 Subject: [CM] re: SND specifying audio devices Message-ID: <41ADD16C.60302@ccrma> > Is there another mechanism to limit the channels that snd uses for audio > I/O? In version 7.8, you can set recorder-in-chans and recorder-out-chans to 2, or whatever. From manseh1 at yahoo.de Mon Dec 6 06:23:32 2004 From: manseh1 at yahoo.de (Han Shin Kim) Date: Mon, 6 Dec 2004 15:23:32 +0100 Subject: [CM] a current CM class hierarchy? Message-ID: <6865C664-4792-11D9-A3E0-000A95DFAA84@yahoo.de> Hi everyone, Where can one find the current CM class hierarchy tree? I have one but it seems too old. HanShin Kim --------------------------------------------------------------------- A korean community for Software Synthesizer & Programming http://cafe.daum.net/klangsynthese DOT. From taube at uiuc.edu Mon Dec 6 12:42:05 2004 From: taube at uiuc.edu (Rick Taube) Date: Mon, 6 Dec 2004 14:42:05 -0600 Subject: [CM] a current CM class hierarchy? In-Reply-To: <6865C664-4792-11D9-A3E0-000A95DFAA84@yahoo.de> References: <6865C664-4792-11D9-A3E0-000A95DFAA84@yahoo.de> Message-ID: <4A12EB06-47C7-11D9-8E05-000A95674CE4@uiuc.edu> > > Where can one find the current CM class hierarchy tree? > > I have one but it seems too old. The reason that I dont include one is because its dynamic -- the class tree is augmented depending o nwhat software you have loaded. for example, every time you load a clm insrument you get a new class, same with cmn, midishare and so on. It also depends on what version of cm you are using. Here is a function you can use to return a list of subclasses. The CAR of every list is a superclass of the rest of the classes in that list: ;--- (in-package :cm) (defun class-tree (root) (let ((subs #+clisp (clos::class-direct-subclasses root) #+openmcl (ccl::class-direct-subclasses root) #+sbcl (sb-mop:class-direct-subclasses root)) (name (class-name root))) (if (null subs) name (cons name (loop for c in subs collect (class-tree c)))))) ;--- The three main root classes in cm are EVENT, CONTAINER and EVENT-STREAM. This is what it looks like in cm-2.5.0/openmcl with nothing special laoded: ? (class-tree (find-class 'event)) (EVENT CMN MIDI (MIDI-EVENT (MIDI-META-EVENT MIDI-SEQUENCER-EVENT MIDI-KEY-SIGNATURE MIDI-TIME-SIGNATURE MIDI-SMPTE-OFFSET MIDI-TEMPO-CHANGE MIDI-EOT MIDI-TEXT-EVENT MIDI-SEQUENCE-NUMBER) MIDI-SYSTEM-EVENT (MIDI-CHANNEL-EVENT MIDI-PITCH-BEND MIDI-CHANNEL-PRESSURE MIDI-PROGRAM-CHANGE MIDI-CONTROL-CHANGE MIDI-KEY-PRESSURE MIDI-NOTE-OFF MIDI-NOTE-ON)) F I) ? (class-tree (find-class 'container)) (CONTAINER (EVENT-STREAM CMN-STREAM (MIDI-STREAM (MIDISHARE-STREAM PLAYER-STREAM MIDI-PORT) MIDI-FILE-STREAM) CLM-AUDIO-STREAM CLM-STREAM SCO-STREAM) TRANSPOSER (PATTERN COPIER JOIN CHORD RANGE REWRITE FUNCALL ACCUMULATION GRAPH MARKOV RANDOM LINE PALINDROME (CYCLE ROTATION HEAP)) (SCALE MODE TUNING) SEQ) ? (class-tree (find-class 'event-stream)) (EVENT-STREAM CMN-STREAM (MIDI-STREAM (MIDISHARE-STREAM PLAYER-STREAM MIDI-PORT) MIDI-FILE-STREAM) CLM-AUDIO-STREAM CLM-STREAM SCO-STREAM) ? From manseh1 at yahoo.de Mon Dec 6 15:04:40 2004 From: manseh1 at yahoo.de (Han Shin Kim) Date: Tue, 7 Dec 2004 00:04:40 +0100 Subject: [CM] a current CM class hierarchy? In-Reply-To: <4A12EB06-47C7-11D9-8E05-000A95674CE4@uiuc.edu> Message-ID: <354E7C50-47DB-11D9-A3E0-000A95DFAA84@yahoo.de> I appreciate your detailed answer. It is very helpful. 2004. 12. 06, Montag, 09:42 Uhr, Rick Taube ??: >> >> Where can one find the current CM class hierarchy tree? >> >> I have one but it seems too old. > > The reason that I dont include one is because its dynamic -- the class > tree is augmented depending o nwhat software you have loaded. for > example, every time you load a clm insrument you get a new class, same > with cmn, midishare and so on. It also depends on what version of cm > you are using. > > Here is a function you can use to return a list of subclasses. The > CAR of every list is a superclass of the rest of the classes in that > list: > ;--- > (in-package :cm) > > (defun class-tree (root) > (let ((subs #+clisp (clos::class-direct-subclasses root) > #+openmcl (ccl::class-direct-subclasses root) > #+sbcl (sb-mop:class-direct-subclasses root)) > (name (class-name root))) > (if (null subs) > name > (cons name > (loop for c in subs > collect (class-tree c)))))) > ;--- > > The three main root classes in cm are EVENT, CONTAINER and > EVENT-STREAM. This is what it looks like in cm-2.5.0/openmcl with > nothing special laoded: > > ? (class-tree (find-class 'event)) > (EVENT CMN MIDI (MIDI-EVENT (MIDI-META-EVENT MIDI-SEQUENCER-EVENT > MIDI-KEY-SIGNATURE MIDI-TIME-SIGNATURE MIDI-SMPTE-OFFSET > MIDI-TEMPO-CHANGE MIDI-EOT MIDI-TEXT-EVENT MIDI-SEQUENCE-NUMBER) > MIDI-SYSTEM-EVENT (MIDI-CHANNEL-EVENT MIDI-PITCH-BEND > MIDI-CHANNEL-PRESSURE MIDI-PROGRAM-CHANGE MIDI-CONTROL-CHANGE > MIDI-KEY-PRESSURE MIDI-NOTE-OFF MIDI-NOTE-ON)) F I) > > ? (class-tree (find-class 'container)) > (CONTAINER (EVENT-STREAM CMN-STREAM (MIDI-STREAM (MIDISHARE-STREAM > PLAYER-STREAM MIDI-PORT) MIDI-FILE-STREAM) CLM-AUDIO-STREAM CLM-STREAM > SCO-STREAM) TRANSPOSER (PATTERN COPIER JOIN CHORD RANGE REWRITE > FUNCALL ACCUMULATION GRAPH MARKOV RANDOM LINE PALINDROME (CYCLE > ROTATION HEAP)) (SCALE MODE TUNING) SEQ) > > ? (class-tree (find-class 'event-stream)) > (EVENT-STREAM CMN-STREAM (MIDI-STREAM (MIDISHARE-STREAM PLAYER-STREAM > MIDI-PORT) MIDI-FILE-STREAM) CLM-AUDIO-STREAM CLM-STREAM SCO-STREAM) > > ? > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > --------------------------------------------------------------------- A korean community for Software Synthesizer & Programming http://cafe.daum.net/klangsynthese DOT. From manseh1 at yahoo.de Mon Dec 6 17:02:42 2004 From: manseh1 at yahoo.de (Han Shin Kim) Date: Tue, 7 Dec 2004 02:02:42 +0100 Subject: [CM] a current CM class hierarchy? In-Reply-To: <354E7C50-47DB-11D9-A3E0-000A95DFAA84@yahoo.de> Message-ID: event-stream seems to be a subclass of event. So, are there two main root classes...?? I use CM-2.4.2-bin-10.2/OpenMCL And the result of (class-tree (find-class 'event)) is very different from yours. I would have to learn the new. btw, I wrote two fuction to represent it a little better. They aren't so elegant but work. :) (defun tabformat (sym n) (format t (concatenate 'string "~%~" (format nil "~at~a" n sym)))) (defun view-tree (alist &optional (tab 1) (step 3)) (cond ((null alist) nil) (t (tabformat (car alist) tab) (loop for c in (cdr alist) do (if (listp c) (view-tree c (+ tab step) step) (tabformat c (+ tab step))))))) ? (view-tree (class-tree (find-class 'event-stream))) EVENT-STREAM CMN-STREAM MIDI-STREAM MIDISHARE-STREAM PLAYER-STREAM MIDI-FILE-STREAM CLM-AUDIO-STREAM CLM-STREAM SCO-STREAM NIL 2004. 12. 07, Dienstag, 12:04 Uhr, Han Shin Kim ??: > I appreciate your detailed answer. > It is very helpful. > > 2004. 12. 06, Montag, 09:42 Uhr, Rick Taube ??: > >>> >>> Where can one find the current CM class hierarchy tree? >>> >>> I have one but it seems too old. >> >> The reason that I dont include one is because its dynamic -- the >> class tree is augmented depending o nwhat software you have loaded. >> for example, every time you load a clm insrument you get a new class, >> same with cmn, midishare and so on. It also depends on what version >> of cm you are using. >> >> Here is a function you can use to return a list of subclasses. The >> CAR of every list is a superclass of the rest of the classes in that >> list: >> ;--- >> (in-package :cm) >> >> (defun class-tree (root) >> (let ((subs #+clisp (clos::class-direct-subclasses root) >> #+openmcl (ccl::class-direct-subclasses root) >> #+sbcl (sb-mop:class-direct-subclasses root)) >> (name (class-name root))) >> (if (null subs) >> name >> (cons name >> (loop for c in subs >> collect (class-tree c)))))) >> ;--- >> >> The three main root classes in cm are EVENT, CONTAINER and >> EVENT-STREAM. This is what it looks like in cm-2.5.0/openmcl with >> nothing special laoded: >> >> ? (class-tree (find-class 'event)) >> (EVENT CMN MIDI (MIDI-EVENT (MIDI-META-EVENT MIDI-SEQUENCER-EVENT >> MIDI-KEY-SIGNATURE MIDI-TIME-SIGNATURE MIDI-SMPTE-OFFSET >> MIDI-TEMPO-CHANGE MIDI-EOT MIDI-TEXT-EVENT MIDI-SEQUENCE-NUMBER) >> MIDI-SYSTEM-EVENT (MIDI-CHANNEL-EVENT MIDI-PITCH-BEND >> MIDI-CHANNEL-PRESSURE MIDI-PROGRAM-CHANGE MIDI-CONTROL-CHANGE >> MIDI-KEY-PRESSURE MIDI-NOTE-OFF MIDI-NOTE-ON)) F I) >> >> ? (class-tree (find-class 'container)) >> (CONTAINER (EVENT-STREAM CMN-STREAM (MIDI-STREAM (MIDISHARE-STREAM >> PLAYER-STREAM MIDI-PORT) MIDI-FILE-STREAM) CLM-AUDIO-STREAM >> CLM-STREAM SCO-STREAM) TRANSPOSER (PATTERN COPIER JOIN CHORD RANGE >> REWRITE FUNCALL ACCUMULATION GRAPH MARKOV RANDOM LINE PALINDROME >> (CYCLE ROTATION HEAP)) (SCALE MODE TUNING) SEQ) >> >> ? (class-tree (find-class 'event-stream)) >> (EVENT-STREAM CMN-STREAM (MIDI-STREAM (MIDISHARE-STREAM PLAYER-STREAM >> MIDI-PORT) MIDI-FILE-STREAM) CLM-AUDIO-STREAM CLM-STREAM SCO-STREAM) >> >> ? --------------------------------------------------------------------- A korean community for Software Synthesizer & Programming http://cafe.daum.net/klangsynthese DOT. From taube at uiuc.edu Fri Dec 10 08:32:26 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 10 Dec 2004 10:32:26 -0600 Subject: [CM] Notes from the Metalevel, paperback USA Message-ID: <14071786-4AC9-11D9-9018-000A95674CE4@uiuc.edu> FYI: Finally! Notes from the Metalevel paperback is available in US for ordering at: http://www.routledge-ny.com/shopping_cart/products/product_detail.asp? sku=&isbn=9026519753&parent_id=&pc= or by phone at: 800-634-7064 -Rick From t at fictive.com Fri Dec 10 13:45:14 2004 From: t at fictive.com (Tobias Kunze =?ISO-8859-1?Q?Brise=F1o?=) Date: Fri, 10 Dec 2004 22:45:14 +0100 Subject: [CM] Notes from the Metalevel, paperback USA In-Reply-To: <14071786-4AC9-11D9-9018-000A95674CE4@uiuc.edu> References: <14071786-4AC9-11D9-9018-000A95674CE4@uiuc.edu> Message-ID: <20041210224514.03b89c81@elmo.fictive.com> cool! $38 is not bad at all. i think i'll ask the next person to come over here to bring me one :) From carl.boingie at verizon.net Fri Dec 10 15:44:22 2004 From: carl.boingie at verizon.net (Carl Edwards) Date: Fri, 10 Dec 2004 18:44:22 -0500 Subject: [CM] Notes from the Metalevel, paperback USA Message-ID: I know what I'm doin' with the bookstore gift-certificate I always find in my Christmas stocking! ;-) Carl > From: Tobias Kunze Brise?o > > > cool! $38 is not bad at all. i think i'll ask the next person to come > over here to bring me one :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Dec 12 08:15:24 2004 From: taube at uiuc.edu (Rick Taube) Date: Sun, 12 Dec 2004 10:15:24 -0600 Subject: [CM] temporary cvs issues Message-ID: <0753E031-4C59-11D9-B911-000D935889B0@uiuc.edu> If you use plotter on LINUX then please refrain from using cvs to update a cm 2.5.0 source tree until i send a message to the list saying its ok. I have just converted cvs code to a much cleaner gtk packaging scheme but Ive only been able to actually update the darwin ffi. This is because my debian box is down for a bit until i can get the demudi installation up and running -- at that point ill regenerate the lunux side and send a note around. Also, if you are on DARWIN and you update your cvs tree you must rename your ccl/darwin-headers/gtk folder to ccl/darwin-headers/gkt2. My apologies for this change but it is necessay in order to avoid conflicting with an older, existing ccl/headers/gtk folder on PPCLINUX. From rm at fabula.de Sun Dec 12 08:27:36 2004 From: rm at fabula.de (rm at fabula.de) Date: Sun, 12 Dec 2004 17:27:36 +0100 Subject: [CM] temporary cvs issues In-Reply-To: <0753E031-4C59-11D9-B911-000D935889B0@uiuc.edu> References: <0753E031-4C59-11D9-B911-000D935889B0@uiuc.edu> Message-ID: <20041212162736.GB30589@www> On Sun, Dec 12, 2004 at 10:15:24AM -0600, Rick Taube wrote: > Also, if you are on DARWIN and you update > your cvs tree you must rename your ccl/darwin-headers/gtk folder to > ccl/darwin-headers/gkt2. My apologies for this change but it is > necessay in order to avoid conflicting with an older, existing > ccl/headers/gtk folder on PPCLINUX. > Hi Rick, does this mean you got callbacks working with OpenMCL and Linux- PPC? Or is this for sbcl only? Ralf Mattes P.S: i'm still trying to debug my OMCL callback problems with the gtk2 libraries ... otherwise the new ffigen seems to work fine. > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sun Dec 12 09:04:21 2004 From: taube at uiuc.edu (Rick Taube) Date: Sun, 12 Dec 2004 11:04:21 -0600 Subject: [CM] temporary cvs issues In-Reply-To: <20041212162736.GB30589@www> References: <0753E031-4C59-11D9-B911-000D935889B0@uiuc.edu> <20041212162736.GB30589@www> Message-ID: > does this mean you got callbacks working with OpenMCL and Linux- > PPC? Or is this for sbcl only? sorry, I dont have a mac with ppclinux installed on it,i guess i should put that on my (infinite) "to do" list. my impression of that callback problem was that byers was going to look at it -- did you send him a fail case? From rm at fabula.de Sun Dec 12 09:31:08 2004 From: rm at fabula.de (rm at fabula.de) Date: Sun, 12 Dec 2004 18:31:08 +0100 Subject: [CM] temporary cvs issues In-Reply-To: References: <0753E031-4C59-11D9-B911-000D935889B0@uiuc.edu> <20041212162736.GB30589@www> Message-ID: <20041212173108.GD30589@www> On Sun, Dec 12, 2004 at 11:04:21AM -0600, Rick Taube wrote: > > does this mean you got callbacks working with OpenMCL and Linux- > > PPC? Or is this for sbcl only? > > sorry, I dont have a mac with ppclinux installed on it,i guess i should > put that on my (infinite) "to do" list. my impression of that callback > problem was that byers was going to look at it -- did you send him a > fail case? I'm trying to biuld on - unfortunately right now my test cases (callbacks from my own library) seem to work without a problem. I fear that he needs to debug the gtk2 code. I just sent him an update. I'll dig deeper into the gtk2 side, something i feel much more comfortable with right now ... Thanks RalfD > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From phnorris at gwi.net Wed Dec 29 07:14:38 2004 From: phnorris at gwi.net (Pam & Harold Norris) Date: Wed, 29 Dec 2004 10:14:38 -0500 Subject: [CM] New to SND Message-ID: <41D2C9DE.1000305@gwi.net> Hi, My interest in snd is realtime recording of our church service with editing afterwards. I know I can do this with arecord as well as a couple of others, but liked the looks of snd, especially the VU meters. HOWEVER, I need 8 channels in AND out. I have made some progress in achieving this but it seems like an uphill battle. I am using version 7.8 and snd_conffile.scm. I have gotten as far as the 8 channels in but haven't gotten 8 channels out to disk. Is snd the right software to use? Are there instructions somewhere which will tell me how to do this? Any info would be greatly appreciated. Thanks Harold W. Norris From bil at ccrma.Stanford.EDU Wed Dec 29 07:40:25 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 29 Dec 2004 07:40:25 -0800 Subject: [CM] New to SND In-Reply-To: <41D2C9DE.1000305@gwi.net> References: <41D2C9DE.1000305@gwi.net> Message-ID: <41D2CFE9.8050802@ccrma> > I have gotten as far as the 8 channels in but haven't gotten 8 channels out to disk. Try (set! (recorder-out-chans) 8) in the listener, or in ~/.snd before starting the recorder. From k.s.matheussen at notam02.no Thu Dec 30 07:19:54 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Thu, 30 Dec 2004 16:19:54 +0100 (CET) Subject: [CM] New to SND In-Reply-To: <20041229200003.15477.11072.Mailman@cm-mail.stanford.edu> References: <20041229200003.15477.11072.Mailman@cm-mail.stanford.edu> Message-ID: Pam & Harold Norris: > > Hi, > > My interest in snd is realtime recording of our church service with > editing afterwards. I know I can do this with arecord as well as a > couple of others, but liked the looks of snd, especially the VU meters. > HOWEVER, I need 8 channels in AND out. I have made some progress in > achieving this but it seems like an uphill battle. I am using version > 7.8 and snd_conffile.scm. I have gotten as far as the 8 channels in but > haven't gotten 8 channels out to disk. > > Is snd the right software to use? Are there instructions somewhere > which will tell me how to do this? > I don't think you should use snd_conffile.scm when playing 8 channels I'm afraid to tell. The file does some scheme things while playing which cause regular garbage collections. Clicks can be avoided by setting a very very large dac-size, but 8 channels is quite much... Or you should be able to avoid it totally by removing the following lines from snd_conffile.scm : ;; Show the time in the minibuffer when playing (let ((samplecount 0)) (add-hook! play-hook (lambda (samples) (set! samplecount (+ samplecount (* 40 samples))) (if (> samplecount (srate (selected-sound))) (begin (set! samplecount 0) (c-show-times (cursor) #f))) #f))) Anyway, snd only use one thread for all its work, which currently sometime isn't very nice for realtime work. So perhaps you should looking at ecasound or ardour instead... --