From k.s.matheussen at notam02.no Fri Aug 1 05:29:39 2003 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 1 Aug 2003 14:29:39 +0200 (MEST) Subject: [CM] Ladspa stuff for snd. In-Reply-To: <3F292CC8.73ABA6B@bright.net> Message-ID: On Thu, 31 Jul 2003, Dave Phillips wrote: > "Kjetil S. Matheussen" wrote: > > > I think it would be nice if the buttons were like this: > > > > [Preview] [OK] [Cancel] > > > > Or something similar. However, the preview function sort of kind of > > doesnt work very well. So thats why theres all those > > apply/undo/redo/play/stop combination buttons. > > What about pressing the Preview button to call a preview-dialog which > would contain those other controls ? Is that practical (once the preview > function itself works) ? > All those other buttons are there because the preview function doesn't work very well. If the preview function had been working fine, it would be enough with something like this: [Preview] [Ok] [Cancel] -- From bil at ccrma.Stanford.EDU Fri Aug 1 05:47:15 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 01 Aug 2003 05:47:15 -0700 Subject: [CM] Ladspa stuff for snd. In-Reply-To: References: Message-ID: <3F2A6153.8070709@ccrma.stanford.edu> I added ladspa.scm to the Snd tarball. > So to make the above design make sense, the preview function needs > to be fixed properly. And I'm not sure how to do that. I guess > its enough to make a new apply-ladspa c-function that doesnt > store undo or update graphics? You want to play the sound as processed by the plugin, without editing anything? There are examples of that in rtio.scm, bess.scm, and bess1.scm. Basically you open the DAC and send it arbitrary samples; with modern machines, surprisingly complex stuff can work in this mode. The only problem is that I have tested that code only in OSS/Linux. > ;; 3. Graphics may not update. You can force an update with the function update-time-graph. > Unfortunately, I can't find a convenient way to get the number > of audio inputs/outputs a plug-in provides. I've added struct accessors much as in the xm module: (set! (ladspa-dir) "/home/bil/test/ladspa_sdk/plugins") (init-ladspa) (list-ladspa) (("amp" "amp_mono") ("amp" "amp_stereo") ("delay" "delay_5s") ("filter" "lpf") ("filter" "hpf") ("noise" "noise_white") ("sine" "sine_faaa") ("sine" "sine_faac") ("sine" "sine_fcaa") ("sine" "sine_fcac")) (analyse-ladspa "amp" "amp_mono") ("Mono Amplifier" "Richard Furse (LADSPA example plugins)" "None" (("Gain" "minimum" 0.0 "logarithmic"))) (define ptr (ladspa-descriptor "amp" "amp_mono")) (.Label ptr) "amp_mono" (.Name ptr) "Mono Amplifier" (.Copyright ptr) "None" (.Maker ptr) "Richard Furse (LADSPA example plugins)" (.Properties ptr) 4 (.UniqueID ptr) 1048 (.PortNames ptr) ("Gain" "Input" "Output") (.PortRangeHints ptr) ((593 0.0 0.0) (0 0.0 0.0) (0 0.0 0.0)) (.PortCount ptr) 3 (.PortDescriptors ptr) (5 9 10) plus the various constants to pick out bits from these descriptors: (logand (cadr (.PortDescriptors ptr)) LADSPA_PORT_INPUT) 1 The plugin functions are callable via ladspa-activate etc -- the list is in grfsnd.html (I haven't actually tested these yet -- will write an example over the weekend). From k.s.matheussen at notam02.no Fri Aug 1 06:26:50 2003 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 1 Aug 2003 15:26:50 +0200 (MEST) Subject: [CM] Ladspa stuff for snd. In-Reply-To: <3F2A6153.8070709@ccrma.stanford.edu> Message-ID: On Fri, 1 Aug 2003, Bill Schottstaedt wrote: > I added ladspa.scm to the Snd tarball. > > > So to make the above design make sense, the preview function needs > > to be fixed properly. And I'm not sure how to do that. I guess > > its enough to make a new apply-ladspa c-function that doesnt > > store undo or update graphics? > > You want to play the sound as processed by the plugin, without editing > anything? There are examples of that in rtio.scm, bess.scm, and > bess1.scm. Basically you open the DAC and send it arbitrary samples; > with modern machines, surprisingly complex stuff can work in this mode. > The only problem is that I have tested that code only in OSS/Linux. > I think I have got the playing part to work. The problem was the apply-ladspa function, which takes a sample reader as argument, stores undo information and update graphics, before returning. > > Unfortunately, I can't find a convenient way to get the number > > of audio inputs/outputs a plug-in provides. > > I've added struct accessors much as in the xm module: > This is just great. > The plugin functions are callable via ladspa-activate etc -- the list is > in grfsnd.html (I haven't actually tested these yet -- will write an > example over the weekend). > Fantastic. Thats everything and more than I asked and wished for. Now I'll make a new and better script. Thank you very much. -- From taube at uiuc.edu Fri Aug 1 08:07:38 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 1 Aug 2003 10:07:38 -0500 Subject: [CM] How to evaluate a .cm file In-Reply-To: <20030801055100.0EFC037B1E@www.fastmail.fm> Message-ID: <000201c3583e$a6866cb0$7d197e82@music.uiuc.edu> Hello, you are correct that (load "whatever.cm") will evaluate all the Lisp expressions in "whatever.cm" just as if you had typed them in the interpreter. In order to determine what is going wrong I would need you to send the file and to tell me what version of Lisp you are using. > -----Original Message----- > From: cmdist-admin at ccrma.Stanford.EDU > [mailto:cmdist-admin at ccrma.Stanford.EDU] On Behalf Of kasti > Sent: Friday, August 01, 2003 12:51 AM > To: Common Music -Mailing List > Subject: [CM] How to evaluate a .cm file > > > Hello! > > I've been getting a problem, after making a .cm file with some > programming -defined to be used in the future with different values to > get different musical excerpts-, I got stuck > when loading it inside the Interpreter (it's like loading > nothing because > I have to write it from scratch in the interpreter), it just don't > evaluate > > (load "whatever.cm") > > If this command is not enough to make the interpreter > evaluate the file, > what > more do i need? > > Thanks in advance !-) > -- > andr?s f. castiblanco v. > e-mail address: afc_asti at allmail.net > > -- > http://www.fastmail.fm - The professional email service > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From taube at uiuc.edu Fri Aug 1 08:10:14 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 1 Aug 2003 10:10:14 -0500 Subject: [CM] tempo-change In-Reply-To: Message-ID: <000601c3583f$03709680$7d197e82@music.uiuc.edu> Hello, I'm sorry for the delay, I just got back from a trip. I'll try to figure out what is going wrong on monday when Im back in the office without three kids in tow! -----Original Message----- From: johannes.quint at web.de [mailto:johannes.quint at web.de] Sent: Friday, August 01, 2003 6:46 AM To: Rick Taube Subject: Re: [CM] tempo-change On Mittwoch, Juli 16, 2003, at 04:19 Uhr, Rick Taube wrote: Im sorry I havent had time to track down the library problem yet, ill try to get to it in the next day or so. timid question: do you have new hints for me concernig my midishare-installing-problem? (i hope that's not too nerving...) thanks. johannes q. __ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://private.addcom.de/j.quint/index.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From airving at new.rr.com Mon Aug 4 18:42:01 2003 From: airving at new.rr.com (Alan Irving) Date: Mon, 4 Aug 2003 20:42:01 -0500 Subject: [CM] A software program Message-ID: <000801c35af2$c44ef440$93f91f41@new.rr.com> Hello, I am very new to all of this, and was wondering if anybody knew of a program Magixaudiocleaninglab? if it works or not...I would like to convert my 78 records to Cd but many are scratched etc.. thank you for ANY help you can give to me..just getting started here.. Alan Irving airving at new.rr.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nando at ccrma.Stanford.EDU Tue Aug 5 10:38:23 2003 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 05 Aug 2003 10:38:23 -0700 Subject: [CM] A software program In-Reply-To: <000801c35af2$c44ef440$93f91f41@new.rr.com> References: <000801c35af2$c44ef440$93f91f41@new.rr.com> Message-ID: <1060105103.4256.35.camel@cmn37.stanford.edu> > Hello, I am very new to all of this, and was wondering if anybody knew > of a program Magixaudiocleaninglab? if it works or not...I would like > to convert my 78 records to Cd but many are scratched etc.. If you are using linux you might want to take a look at: http://panic.et.tudelft.nl/~costar/gramofile/ (I have not used it, just heard of it). -- Fernando From knopke at music.mcgill.ca Tue Aug 5 11:16:20 2003 From: knopke at music.mcgill.ca (Ian Knopke) Date: Tue, 5 Aug 2003 14:16:20 -0400 (EDT) Subject: [CM] A software program In-Reply-To: <1060105103.4256.35.camel@cmn37.stanford.edu> References: <000801c35af2$c44ef440$93f91f41@new.rr.com> <1060105103.4256.35.camel@cmn37.stanford.edu> Message-ID: There is also the Gnome Wave Cleaner. I used it a year ago on a project and it worked ok, except for one time it crashed on a really long sample. http://gwc.sourceforge.net/ Ian Knopke -- On Tue, 5 Aug 2003, Fernando Pablo Lopez-Lezcano wrote: > > Hello, I am very new to all of this, and was wondering if anybody knew > > of a program Magixaudiocleaninglab? if it works or not...I would like > > to convert my 78 records to Cd but many are scratched etc.. > > If you are using linux you might want to take a look at: > http://panic.et.tudelft.nl/~costar/gramofile/ > (I have not used it, just heard of it). > > -- Fernando > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From k.s.matheussen at notam02.no Wed Aug 6 01:52:38 2003 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Wed, 6 Aug 2003 10:52:38 +0200 (MEST) Subject: [CM] New ladspa script Message-ID: I have updated the ladspa script. Please replace the old ladspa.scm file with the new one. http://www.notam02.no/arkiv/src/snd/ladspa2.scm A screen-shot of snd running two vst plugins in realtime: http://www.notam02.no/arkiv/src/snd/snd-ladspa.png ;; ladspa.scm -> ladspa2.scm: ;; -Making heavy use of the new ladspa-functions in snd 6.11. ;; -Realtime preview works perfectly. Seems to at least. ;; -Many plugins can be previewed at the same time. ;; -Previewing is automaticly looped. ;; -The plugins with more than one input or output audio port work. ;; -The default values are based on ladspa hints. ;; -Toggle ports uses toggle buttons instead of sliders. ;; -Integer ports uses integer sliders instead of float sliders. ;; -Initialisation is probably faster. ;; -Added the hour-glass progress reporter when applying. ;; ;; Problems: ;; -Snd segfaults when trying to exit snd while previewing. ;; -The channels might have been switched after applying. ;; -The Model-E vst plugin have no less than 513 input control ports, ;; and makes the script stop because snd is out of stack. There might ;; be something wrong with the script. Don't know scheme too well. ;; -Applying plugins seems to take quite a long time. The apply! function ;; should perhaps be optimized a bit. (Haven't run benchmark) ;; -Dialogs with many input control ports should be wider an shorter. ;; (there is one with 513 input control ports! :) ;; -In some resize-positions, some widgets becomes invisible. ;; -Realtime preview wont work if number of frames sent to the ;; dac-hook is more than 8192. (minor problem probably, and is solved ;; by increasing "maxbuf" in the script to something larger than 8192). -- From dlphilp at bright.net Thu Aug 7 04:55:42 2003 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 07 Aug 2003 07:55:42 -0400 Subject: [CM] New ladspa script References: Message-ID: <3F323E3E.3C1ABE95@bright.net> "Kjetil S. Matheussen" wrote: > On Wed, 6 Aug 2003, Dave Phillips wrote: > [snip] > > 3. I don't know if this error has anything to do with your script, but > > when I try using any effect from the Effects menu I now receive this > > message: > > > > Wrong number of arguments to make-effect-dialog > > ; gxm_XtCallbackProc > > > > I'm using Bill's new-effects.scm, this is from the latest Snd sources (6 > > Aug 03). > > > > I don't see this. Does this happen if you use a clean snd with just > the new-effects.scm file loaded? I commented out most of the entries in dlp/misc.scm and the problem disappears. I also note that make-effect-dialog has apparently removed the dismiss-callback, which is probably why the items in the Effects menu aren't working. But note that this error is occurring under Bill's new-effects.scm. Can someone else check this out and verify the behavior ? Best regards, == dp From bil at ccrma.Stanford.EDU Thu Aug 7 05:10:25 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 07 Aug 2003 05:10:25 -0700 Subject: [CM] New ladspa script In-Reply-To: <3F323E3E.3C1ABE95@bright.net> References: <3F323E3E.3C1ABE95@bright.net> Message-ID: <3F3241B1.5060806@ccrma.stanford.edu> Dave Phillips wrote: >"Kjetil S. Matheussen" wrote: > > >>> Wrong number of arguments to make-effect-dialog >>> ; gxm_XtCallbackProc >>> >>> >>> >I commented out most of the entries in dlp/misc.scm and the problem >disappears. I also note that make-effect-dialog has apparently removed >the dismiss-callback, which is probably why the items in the Effects >menu aren't working. But note that this error is occurring under Bill's >new-effects.scm. Can someone else check this out and verify the behavior > > new-effects.scm and dlp/dp-new-effects.scm both define make-effect-dialog, but the definitions aren't compatible. I can't remember why there are two versions of this file. My first thought would be to replace dlp/dp-new-effects.scm with new-effects.scm, but I think dlp/plugins-menu.scm would also need to be changed. From dlphilp at bright.net Thu Aug 7 05:50:58 2003 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 07 Aug 2003 08:50:58 -0400 Subject: [CM] New ladspa script References: <3F323E3E.3C1ABE95@bright.net> <3F3241B1.5060806@ccrma.stanford.edu> Message-ID: <3F324B32.C91046E3@bright.net> Bill Schottstaedt wrote: > new-effects.scm and dlp/dp-new-effects.scm both define > make-effect-dialog, but the definitions aren't compatible. I can't remember why there are two > versions of this file. My first thought would be to replace > dlp/dp-new-effects.scm with new-effects.scm, but I think dlp/plugins-menu.scm would also need to be changed. Hi Bill: I would be happy to replace both of my files (dp-new-effects.scm and plugins-menu.scm) with your new-effects.scm and Kjetil's ladspa.scm. However, I still have the "Wrong number of arguments to make-effect-dialog" error even without my files loaded. I'm very confused... Kjetil: I've upgraded my ladspavst and can now invoke the LADSPA plugins from Snd. However, I note the following behavior: 1. I cannot start the vstserver first. I must start Snd , then start the vstserver, else Snd will segfault. 2. The widgets are not correctly displayed. Please see the following images for clarification: http://linux-sound.org/vst-plugin-01.jpg (NorthPole) http://linux-sound.org/vst-plugin-02.jpg (Transverb) 3. Setting values via the native GUIs has no effect. Is that correct behavior ? 4. Applying a VST effect simply zeroes the soundfile or selection. I'm obviously missing something... Just for clarification: My build of Snd is with OpenMotif and OpenGL, not GTK. Best regards, == dp From k.s.matheussen at notam02.no Thu Aug 7 06:03:21 2003 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 7 Aug 2003 15:03:21 +0200 (MEST) Subject: [CM] New ladspa script In-Reply-To: <3F324B32.C91046E3@bright.net> Message-ID: On Thu, 7 Aug 2003, Dave Phillips wrote: > Bill Schottstaedt wrote: > > > new-effects.scm and dlp/dp-new-effects.scm both define > > make-effect-dialog, but the definitions aren't compatible. I can't remember why there are two > > versions of this file. My first thought would be to replace > > dlp/dp-new-effects.scm with new-effects.scm, but I think dlp/plugins-menu.scm would also need to be changed. > > Hi Bill: > > I would be happy to replace both of my files (dp-new-effects.scm and > plugins-menu.scm) with your new-effects.scm and Kjetil's ladspa.scm. > However, I still have the "Wrong number of arguments to > make-effect-dialog" error even without my files loaded. I'm very > confused... > > Kjetil: I've upgraded my ladspavst and can now invoke the LADSPA plugins > from Snd. However, I note the following behavior: > > 1. I cannot start the vstserver first. I must start Snd , then start > the vstserver, else Snd will segfault. First thing to try is to delete all your files in .vstserver/cache/ If that didn't help, my guess is that you have a vst plugin that makes something crash very heavely (which is not supposed to happen actually). Try to see the stdout/stderr of vstserver and see if you can find what plugin that might be, and move it somewhere else. However, I guess and hope deleting the cache files fix the problem. > 2. The widgets are not correctly displayed. Please see the following > images for clarification: > > http://linux-sound.org/vst-plugin-01.jpg (NorthPole) > http://linux-sound.org/vst-plugin-02.jpg (Transverb) > The missing parameternames are there probably because the plugin havent set any name for the parameter. I will change this to or something in the next release. For plug-ins with a parameter-name of 8/9 characters, there is obviously a bug somewhere. Will fix. Thanks. > 3. Setting values via the native GUIs has no effect. Is that correct > behavior ? The parameters in the motif-dialog is not updated from the native GUIs. Thats the correct behaviour (alltough it can probably be fixed). But I presume the sound change? > 4. Applying a VST effect simply zeroes the soundfile or selection. I'm > obviously missing something... > Thats definitely not the correct behaviour. Is there no sound when previewing either? And what about normal ladspa plugins? -- From bigswift at ufl.edu Thu Aug 7 06:39:52 2003 From: bigswift at ufl.edu (PAGANO,PATRICK RALPH) Date: Thu, 7 Aug 2003 09:39:52 -0400 (EDT) Subject: [CM] New ladspa script/etc (ot) maybe Message-ID: <1067391533.1060263592400.JavaMail.osg@spnode41> I have experienced variable troubles with Dave's and New-effects etc...for several versions but had them definitely all working around 5.0 as i recall Dave, maybe a Toot on correct setup for your stuff, then Bill's then Kjetil's new one, or what have you But the ultimate would be having All effects/Ladspas working together. What would be STUPENDOUS would be for SND to recieve a pd input a la directconnect. without using jack would be best for me. maybe a port thing directly into snd, is this possible?I have redhat7.3 with alsa 9 with a midiman2x2, but can not get jack to work to save my life. and while i am making multiple unsolicited suggestions..lol a way for snd to import .sdif data from loris and edit them in the fft section instead of just visualization. cheers~ Patrick Pagano Research And Devlopment Assistant Digital Worlds Institute University Of Florida, REVE Facility (352) 294-2081 -- PAGANO,PATRICK RALPH On Thu Aug 07 07:55:42 EDT 2003, Dave Phillips wrote: > "Kjetil S. Matheussen" wrote: > >> On Wed, 6 Aug 2003, Dave Phillips wrote: >> [snip] >> > 3. I don't know if this error has anything to do with your >> script, but >> > when I try using any effect from the Effects menu I now >> receive this >> > message: >> > >> > Wrong number of arguments to make-effect-dialog >> > ; gxm_XtCallbackProc >> > >> > I'm using Bill's new-effects.scm, this is from the latest Snd >> sources (6 >> > Aug 03). >> > >> >> I don't see this. Does this happen if you use a clean snd with >> just >> the new-effects.scm file loaded? > > I commented out most of the entries in dlp/misc.scm and the > problem > disappears. I also note that make-effect-dialog has apparently > removed > the dismiss-callback, which is probably why the items in the > Effects > menu aren't working. But note that this error is occurring under > Bill's > new-effects.scm. Can someone else check this out and verify the > behavior > ? > > Best regards, > > == dp > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > From bigswift at ufl.edu Thu Aug 7 06:45:23 2003 From: bigswift at ufl.edu (PAGANO,PATRICK RALPH) Date: Thu, 7 Aug 2003 09:45:23 -0400 (EDT) Subject: [CM] New ladspa script Message-ID: <1175673459.1060263923931.JavaMail.osg@spnode41> i get the same errors as Dave as i use OpenMotif and not GTK as well "Wrong number of arguments to > make-effect-dialog" error even without my files loaded. I'm very > confused... > > Kjetil: I've upgraded my ladspavst and can now invoke the LADSPA > plugins > from Snd. However, I note the following behavior: So let me be clear SND will host vst via vstserver? does it use WIN .dlls? this would be great news...is JACK involved?? From dlphilp at bright.net Thu Aug 7 07:23:57 2003 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 07 Aug 2003 10:23:57 -0400 Subject: [CM] New ladspa script References: Message-ID: <3F3260FD.B0984174@bright.net> "Kjetil S. Matheussen" wrote: > First thing to try is to delete all your files in .vstserver/cache/ > If that didn't help, my guess is that you have a vst plugin that > makes something crash very heavely (which is not supposed to happen > actually). Try to see the stdout/stderr of vstserver and see if you can > find what plugin that might be, and move it somewhere else. However, I > guess and hope deleting the cache files fix the problem. Okay, I cleared ~/.vstserver/cache and am now able to start Snd with the vstserver already running. However, I had to remove some DLLs after receiving this kind of error: VSTSERVER_clientthread: dfx_RezSynth_stereo.dll started. VSTSERVER_clientthread: dfx_RezSynth_stereo.dll stopped. wine client error:0: sendmsg: Bad file descriptor Here's a list of DLLs I removed: Machine2.dll Trashcoder.dll VReOrder.dll dfx_RezSynth_mono.dll dfx_RezSynth_stereo.dll dfx_Scrubby.dll dominion.dll specMonkeyage.dll specMonkyageSt.dll > > 3. Setting values via the native GUIs has no effect. Is that correct > > behavior ? > > The parameters in the motif-dialog is not updated from the native GUIs. > Thats the correct behaviour (alltough it can probably be fixed). But I > presume the sound change? Yes, the sound changes during the loop play. Very nice. Also, changing a parameter in Motif dialog does update the VST GUI. > > 4. Applying a VST effect simply zeroes the soundfile or selection. I'm > > obviously missing something... > > > Thats definitely not the correct behaviour. Is there no sound when > previewing either? And what about normal ladspa plugins? Normal LADSPA plugins seem to work okay, I haven't found a bad one but I haven't gone through them all yet. ;) Best regards, == dp From JBenham at mktadvantage.com Thu Aug 7 08:12:41 2003 From: JBenham at mktadvantage.com (Jeremiah Benham) Date: Thu, 7 Aug 2003 10:12:41 -0500 Subject: [CM] learning scheme/lisp Message-ID: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> I have mostly used snd with DP's gui .scm plugins. I have a desire lately to learn to use scheme/lisp. I am interested in documenting everything I learn and turning it into a very detailed guide to scheming in snd/clm. I have been trying to replace everyhting I do at the gui with a lisp command. For you guys that already know this stuff, what could you suggest to a person starting out? I think it would be cool to eveuntually write a plugin to interact with festival within snd. It probably should not be to hard since festival can be scripted through sceme already. Is there a clisp equivalent to equivalent to doing (start-snd)in clm? In clisp I triend (start-snd) and it produced a #t. When I launched snd manually and thype (start-snd) it returend #NIL. Can I send output to snd in clisp? I noticed also that in snd6.9 I could type (jc-reverb 2.0 #f .1 #f) this applied chowning reverb to the entire sounfile. in snd6.11 it tells me the fuction is not defined. Do I need to load a .scm to define that function? If so what file is it? Thanks, Jeremiah -------------- next part -------------- An HTML attachment was scrubbed... URL: From k.s.matheussen at notam02.no Fri Aug 8 02:14:54 2003 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 8 Aug 2003 11:14:54 +0200 (MEST) Subject: [CM] New ladspa script In-Reply-To: <3F3260FD.B0984174@bright.net> References: <3F3260FD.B0984174@bright.net> Message-ID: On Thu, 7 Aug 2003, Dave Phillips wrote: > "Kjetil S. Matheussen" wrote: > > > First thing to try is to delete all your files in .vstserver/cache/ > > If that didn't help, my guess is that you have a vst plugin that > > makes something crash very heavely (which is not supposed to happen > > actually). Try to see the stdout/stderr of vstserver and see if you can > > find what plugin that might be, and move it somewhere else. However, I > > guess and hope deleting the cache files fix the problem. > > Okay, I cleared ~/.vstserver/cache and am now able to start Snd with the > vstserver already running. However, I had to remove some DLLs after > receiving this kind of error: > > VSTSERVER_clientthread: dfx_RezSynth_stereo.dll started. > VSTSERVER_clientthread: dfx_RezSynth_stereo.dll stopped. > wine client error:0: sendmsg: Bad file descriptor > > Here's a list of DLLs I removed: > > Machine2.dll > Trashcoder.dll > VReOrder.dll > dfx_RezSynth_mono.dll > dfx_RezSynth_stereo.dll > dfx_Scrubby.dll > dominion.dll > specMonkeyage.dll > specMonkyageSt.dll > Wich version of wine are you using? I'm using a version which is only a few weeks old, and it seems to be very good. The latest versions of wine still compiles with the 0.2.6 version of vstserver, as far as I know. > > Thats definitely not the correct behaviour. Is there no sound when > > previewing either? And what about normal ladspa plugins? > > Normal LADSPA plugins seem to work okay, I haven't found a bad one but I > haven't gone through them all yet. ;) > Okey, I must admit that I havent actually tried to apply a vst plugin yet. Will do. I have also updated the ladspa.scm script to use the help-texts from your new-plugins.scm script. http://www.notam02.no/arkiv/src/snd/ And I have put my snd config file in that directory. It contains lots of things I think is very nice. -- From k.s.matheussen at notam02.no Fri Aug 8 02:36:16 2003 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 8 Aug 2003 11:36:16 +0200 (MEST) Subject: [CM] New ladspa script/etc (ot) maybe In-Reply-To: <1067391533.1060263592400.JavaMail.osg@spnode41> References: <1067391533.1060263592400.JavaMail.osg@spnode41> Message-ID: On Thu, 7 Aug 2003, PAGANO,PATRICK RALPH wrote: > What would be STUPENDOUS > would be for SND to recieve a pd input a la directconnect. > without using jack would be best for me. maybe a port thing > directly into snd, > is this possible?I have redhat7.3 with alsa 9 with a midiman2x2, > but can not get jack to work to save my life. > There is a program called jacklaunch which do various tricks to make oss programs become jack programs. Just do this: "jacklaunch snd", and afterwards, or before, start pd with jack-support. And then use qjackctl to route the connections. I haven't tried it, so it might not work the way you want. But it might. Look at planet-ccrma for jacklaunch. -- From k.s.matheussen at notam02.no Fri Aug 8 02:41:07 2003 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 8 Aug 2003 11:41:07 +0200 (MEST) Subject: [CM] New ladspa script/etc (ot) maybe In-Reply-To: References: <1067391533.1060263592400.JavaMail.osg@spnode41> Message-ID: On Fri, 8 Aug 2003, Kjetil S. Matheussen wrote: > And then use qjackctl to route the connections. I ment qjackconnect, not qjackctl. Or similiar programs. -- From dlphilp at bright.net Fri Aug 8 06:48:50 2003 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 08 Aug 2003 08:48:50 -0500 Subject: [CM] New ladspa script References: <3F3260FD.B0984174@bright.net> Message-ID: <3F33AA42.9358F68A@bright.net> "Kjetil S. Matheussen" wrote: > Wich version of wine are you using? I'm using a version which is only a > few weeks old, and it seems to be very good. The latest versions of > wine still compiles with the 0.2.6 version of vstserver, as far as I know. I built and installed the version from your src archive. > I have also updated the ladspa.scm script to use the help-texts from > your new-plugins.scm script. > http://www.notam02.no/arkiv/src/snd/ > > And I have put my snd config file in that directory. It contains lots > of things I think is very nice. I'll check it out today. Thanks for the work, Kjetil ! Best regards, == dp From bil at ccrma.Stanford.EDU Fri Aug 8 05:40:26 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 08 Aug 2003 05:40:26 -0700 Subject: [CM] learning scheme/lisp In-Reply-To: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> References: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> Message-ID: <3F339A3A.70506@ccrma.stanford.edu> Jeremiah Benham wrote: > I have mostly used snd with DP's gui .scm plugins. I have a desire > lately to learn to use scheme/lisp. > > I am interested in documenting everything I learn and turning it into > a very detailed guide to scheming in snd/clm. > > I have been trying to replace everyhting I do at the gui with a lisp > command. > > For you guys that already know this stuff, what could you suggest to a > person starting out? > > I think it would be cool to eveuntually write a plugin to interact > with festival within snd. It probably should not be to hard since > festival can be scripted through sceme already. > > Is there a clisp equivalent to equivalent to doing (start-snd)in clm? > In clisp I triend (start-snd) and it produced a #t. When I launched > snd manually and thype (start-snd) it returend #NIL. Can I send output > to snd in clisp? > > I noticed also that in snd6.9 I could type (jc-reverb 2.0 #f .1 #f) > this applied chowning reverb to the entire sounfile. in snd6.11 it > tells me the fuction is not defined. Do I need to load a .scm to > define that function? If so what file is it? > > Thanks, > Jeremiah > I don't know anything about festival -- will check it out. I don't know of any good Scheme intros -- perhaps the "teach yourself scheme" files at http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html or http://www.cs.utexas.edu/users/wilson/schintro/schintro_toc.html. On clisp -- the CLM/Snd connection needs the foreign function interface (it works by finding and changing window properties, and that's impossible in Lisp itself). The jc-reverb change was in 6.10 to make all the CLM-style instruments the same. The form that uses map-channel (the old way of using it) is in new-effects.scm. Perhaps there's a way to automate this -- it seems like it could tell the context it's called in -- will check. From ricktaylor at speakeasy.net Fri Aug 8 06:13:12 2003 From: ricktaylor at speakeasy.net (Rick Taylor) Date: Fri, 8 Aug 2003 08:13:12 -0500 Subject: [CM] learning scheme/lisp In-Reply-To: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> References: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> Message-ID: <20030808081312.1099bdf3.ricktaylor@speakeasy.net> On Thu, 7 Aug 2003 10:12:41 -0500 Jeremiah Benham wrote: > > I think it would be cool to eveuntually write a plugin to interact with > festival within snd. It probably should not be to hard since festival can > be scripted through sceme already. It would be nice if you could run snd in a emacs buffer as well. {which is probably possible already but I don't know how to do it.} Then you could take advantage of all of the pre-existing lisp code and sound extensions that already run in emacs. {Maybe guile-emacs or tex-emacs} From dlphilp at bright.net Fri Aug 8 06:49:44 2003 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 08 Aug 2003 09:49:44 -0400 Subject: [CM] New ladspa script/etc (ot) maybe References: <1067391533.1060263592400.JavaMail.osg@spnode41> Message-ID: <3F33AA78.4B868C0F@bright.net> "PAGANO,PATRICK RALPH" wrote: > Dave, maybe a Toot on correct setup for your stuff, then Bill's > then Kjetil's new one, or what have you > But the ultimate would be having All effects/Ladspas working > together. Hi Pat: A Toot is a very good idea. Kjetil's script is still getting ironed out, but as soon as the way is clear I'll go ahead with that tutorial. Best regards, == dp From bil at ccrma.Stanford.EDU Sat Aug 9 05:10:34 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 09 Aug 2003 05:10:34 -0700 Subject: [CM] learning scheme/lisp In-Reply-To: <20030808081312.1099bdf3.ricktaylor@speakeasy.net> References: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> <20030808081312.1099bdf3.ricktaylor@speakeasy.net> Message-ID: <3F34E4BA.9010601@ccrma.stanford.edu> Rick Taylor wrote: > It would be nice if you could run snd in a emacs buffer as well. > {which is probably possible already but I don't know how to do it.} > > > You can run Snd as an emacs subjob -- there's a section about this in grfsnd.html, and several sample .emacs entries (DotEmacs by Fernando, and inf-snd.el by Michael Scholz). From bil at ccrma.Stanford.EDU Sat Aug 9 05:13:01 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 09 Aug 2003 05:13:01 -0700 Subject: [CM] New ladspa script/etc (ot) maybe In-Reply-To: <1067391533.1060263592400.JavaMail.osg@spnode41> References: <1067391533.1060263592400.JavaMail.osg@spnode41> Message-ID: <3F34E54D.9040303@ccrma.stanford.edu> > would be for SND to recieve a pd input a la directconnect. > without using jack would be best for me. maybe a port thing directly into snd, > is this possible?I have redhat7.3 with alsa 9 with a midiman2x2, but can not get jack to work to save my life. > > and while i am making multiple unsolicited suggestions..lol > a way for snd to import .sdif data from loris and edit them in the fft section instead of just visualization. pd input? directconnect? loris? sdif files? Gah -- these are all new to me -- any documentation? If you can send me a description of sdif files, I assume I can write something to display them. > So let me be clear SND will host vst via vstserver? > does it use WIN .dlls? > > this would be great news...is JACK involved?? More mysteries. vstserver? At least I can say that Jack is not (yet) supported. My vague recollection is that ALSA 1.0 will support it automatically somehow, so we weren't doing anything ahead of time. From bigswift at ufl.edu Sat Aug 9 08:07:09 2003 From: bigswift at ufl.edu (shreeswifty) Date: Sat, 9 Aug 2003 11:07:09 -0400 Subject: [CM] New ladspa script/etc (ot) maybe In-Reply-To: <3F34E54D.9040303@ccrma.stanford.edu> Message-ID: http://www.cerlsoundgroup.org/Loris/ http://sourceforge.net/projects/loris http://www.ircam.fr/equipes/analyse-synthese/sdif/ http://crca.ucsd.edu/~msp/Pd_documentation/index.htm Here you go Bill. I was half-joking but it really would be awesome. -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist-admin at ccrma.Stanford.EDU]On Behalf Of Bill Schottstaedt Sent: Saturday, August 09, 2003 8:13 AM To: PAGANO,PATRICK RALPH Cc: Dave Phillips; Kjetil S. Matheussen; CM/CLM/CMN/Snd mail-list Subject: Re: [CM] New ladspa script/etc (ot) maybe > would be for SND to recieve a pd input a la directconnect. > without using jack would be best for me. maybe a port thing directly into snd, > is this possible?I have redhat7.3 with alsa 9 with a midiman2x2, but can not get jack to work to save my life. > > and while i am making multiple unsolicited suggestions..lol > a way for snd to import .sdif data from loris and edit them in the fft section instead of just visualization. pd input? directconnect? loris? sdif files? Gah -- these are all new to me -- any documentation? If you can send me a description of sdif files, I assume I can write something to display them. > So let me be clear SND will host vst via vstserver? > does it use WIN .dlls? > > this would be great news...is JACK involved?? More mysteries. vstserver? At least I can say that Jack is not (yet) supported. My vague recollection is that ALSA 1.0 will support it automatically somehow, so we weren't doing anything ahead of time. _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From nik at f0.am Wed Aug 13 06:16:35 2003 From: nik at f0.am (nik gaffney) Date: Wed, 13 Aug 2003 15:16:35 +0200 Subject: [CM] learning scheme/lisp In-Reply-To: <3F34E4BA.9010601@ccrma.stanford.edu> References: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> <20030808081312.1099bdf3.ricktaylor@speakeasy.net> <3F34E4BA.9010601@ccrma.stanford.edu> Message-ID: <3F3A3A33.6030405@f0.am> should also be possible through using ilisp i suppose. >> It would be nice if you could run snd in a emacs buffer as well. >> {which is probably possible already but I don't know how to do it.} >> >> > You can run Snd as an emacs subjob -- there's a section about this > in grfsnd.html, and several sample .emacs entries (DotEmacs by > Fernando, and inf-snd.el by Michael Scholz). > From nik at f0.am Wed Aug 13 06:19:51 2003 From: nik at f0.am (nik gaffney) Date: Wed, 13 Aug 2003 15:19:51 +0200 Subject: [CM] learning scheme/lisp In-Reply-To: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> References: <33159FBEF39BD31196A9009027DE963501325C80@MAD8> Message-ID: <3F3A3AF7.2050007@f0.am> > For you guys that already know this stuff, what could you suggest to a > person starting out? if you like reading.. "Teach Yourself Scheme in Fixnum Days" http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html and if you prefer textbooks, this is somewhat of a classic . .. "Structure and Interpretation of Computer Programs" http://mitpress.mit.edu/sicp/full-text/book/book.html From bakanonaka at yahoo.com Wed Aug 13 17:04:58 2003 From: bakanonaka at yahoo.com (kelly hirai) Date: Wed, 13 Aug 2003 17:04:58 -0700 (PDT) Subject: [CM] cd indexing in snd In-Reply-To: <20030813190003.15627.76643.Mailman@cm-mail.stanford.edu> Message-ID: <20030814000458.30191.qmail@web20001.mail.yahoo.com> hey all, i wondering if there are any scripts that would allow me to mark up a stereo file in snd and export it into best fit wav or raw files, that i could cdrecord without -pad (pad up half filled blocks) and with -dao (disk at once) so i'd get a nice indexed cd without gaps . does anyone have this going? btw, thanks so much for the free software. kelly hirai ongaku.isa-geek.net __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From wsack at acsu.buffalo.edu Thu Aug 14 07:38:19 2003 From: wsack at acsu.buffalo.edu (Bill Sack) Date: Thu, 14 Aug 2003 10:38:19 -0400 Subject: [CM] cd indexing in snd References: <20030814000458.30191.qmail@web20001.mail.yahoo.com> Message-ID: <3F3B9EDB.60609@acsu.buffalo.edu> hi, i wanted something like this too, and made a simple set of lisp functions to convert a list of sample locations from a snd .marks file to a cdrdao (my preferred cd creation program) .toc file. it works well enough, but requires some hand-editing of the .marks file to get at the sample numbers. if i weren't studying for qualifying exams right now i'd love to get lost in the snd scheme code and try it ... but instead i'll make a polite suggestion to the snd community ... at least two of us would love a tool to make snd marks into cd indices. my code is really trivial and nothing any lisp beginner couldn't come up with, but if you really want to see it, email me off-list. -b kelly hirai wrote: > hey all, > i wondering if there are any scripts that would > allow me to mark up a stereo file in snd and export it > into best fit wav or raw files, that i could cdrecord > without -pad (pad up half filled blocks) and with -dao > (disk at once) so i'd get a nice indexed cd without > gaps . does anyone have this going? > > btw, thanks so much for the free software. > kelly hirai > > ongaku.isa-geek.net > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -- _________ Bill Sack wsack at acsu.buffalo.edu ---------------------- From bil at ccrma.Stanford.EDU Fri Aug 15 06:09:18 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 15 Aug 2003 06:09:18 -0700 Subject: [CM] snd 6.11 Message-ID: <3F3CDB7E.7010206@ccrma.stanford.edu> Snd 6.11: added ladspa.scm and ladspa-help.scm thanks to Kjetil S. Matheussen and Dave Phillips. add nth arg to find-sound (for save-state when the same file is open more than once). added optional begin time to make-track-sample-reader, play-track, and play-mix. removed button-font and help-text-font, and associated resources removed protect-region and associated GUI support several Sun-related bugfixes thanks to Russell Aspinwall ladspa struct constants and accessors In Motif 2, I'm using renditions rather than fontlists. added dac-is-running and start-playing-selection-hook. CLM: removed old-style.* removed LONG_INT_P support (it had been completely broken for years) removed just-lisp option (only worked on big-endian machines, not useful). double-float -> double in clisp/cmu (forced by package stupidity) Half-ported to linuxppc/openmcl -- CLM builds, but instruments don't want to load yet. CMN: audible-mixin copy method bugfix (and others) thanks to Anders Vinjar. ratios for Guile. checked: Forte C 6.2 (Sun), Mandrake 9.1 LinuxPPC, Ruby 1.8.0, fftw 3.0.1, gtkglext 1.0.2 with much help from: Juan Pampin, Michael Scholz, Russell Aspinwall, Frantisek Stafek, Jurgen Keil, Paul Kirk, Bret Battey, Anders Vinjar, Dave Phillips, Kjetil S. Matheussen. From noel at x-31.com Sat Aug 16 19:26:04 2003 From: noel at x-31.com (Noel Bush) Date: Sat, 16 Aug 2003 22:26:04 -0400 Subject: [CM] midi to sound file Message-ID: <1061087164.5337.12.camel@localhost> I apologize -- I know this must be a FAQ, but I can't find a satisfactory answer anywhere that works for me. I'm using the cmdist, Redhat 9/Rawhide. I have an Audigy SB card. Very simple: I want to capture the sound produced by MIDI playback into a soundfile. The best idea that I can piece together is that I should be able to use Jack to accomplish this. The score itself is composed in NoteEdit, so I've tried playing it from that, as well as (exported to MIDI) from Rosegarden, MusE, timidity and playmidi. I've started the Jack server like so: jackstart -d alsa -H -m -d hw:0 and then I've tried various jackrec command lines like: jackrec -f ec3.wav -d 10 "rosegarden:out_1" jackrec -f ec3.wav -d 10 "MusE:output1" ...and so forth. Jackrec dutifully operates for the given duration, but the soundfile produced is empty (10 seconds of silence). I have, uh, messed around with the connections in "alsa-patch-bay -d jack", although to no avail. I do see entries appearing for MusE, rosegarden, etc. appear when those applications launch. (I have also tried the "bounce to file" option in MusE -- not sure if that's what it's meant for, but it hasn't produced anything for me either.) I'm sure I must be missing something very elementary here. Out of this whole wonderful collection of software, there's got to be a very simple way to accomplish this. Can anyone help? Thanks in advance. From ek735 at soi.city.ac.uk Sat Aug 16 09:36:13 2003 From: ek735 at soi.city.ac.uk (Marcus Pearce) Date: Sat, 16 Aug 2003 17:36:13 +0100 (BST) Subject: [CM] CM output to CMN Message-ID: Hello all, I'm having a problem with output to CMN with the most recent CM and CMN releases. From the file "intro.cm": CM> cmn::*cmn-version* "Common Music Notation 23-Jul-03" CM> (define (testit stf len nts) (let ((nts (new heap :notes nts)) ;; choose quater or two eighths (rhy (new random :of (list 1 (new cycle :of '(1/2 1/2)))))) (process while (< (now) len) for n = (next nts) for r = (next rhy) output (new midi :time (now) :duration r :keynum n :channel stf) wait r))) CM> (define staffs '((0 :name "Viola" :clef :alto :meter (4 4)) (2 :name "Flute" :clef :treble :meter (4 4)))) CM> (events (list (testit 0 12 '(c3 d ef f g)) (testit 1 12 '(c5 d ef f g))) "testit.eps" :staffing staffs :size 24 :title "Hiho!") Manuscripting testit.eps... Type-error in KERNEL::OBJECT-NOT-LIST-ERROR-HANDLER: 0 is not of type LIST Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (FINISH-CLM-INPUT # NIL NIL 0 ...) Source: ; File: /usr/share/common-lisp/source/cmn/cmn2.lisp (FIRST DESC) 0] backtrace 0: (FINISH-CLM-INPUT # NIL NIL 0 ...) 1: (#:G0)[:CLEANUP] 2: (EVENTS (# #) "testit.eps" :STAFFING ((0 :NAME "Viola" :CLEF :ALTO ...) (2 :NAME "Flute" :CLEF :TREBLE ...)) ...) 3: (EXTENSIONS:INTERACTIVE-EVAL (EVENTS (LIST # #) "testit.eps" :STAFFING STAFFS ...)) 4: (COMMON-LISP::%TOP-LEVEL) 5: (COMMON-LISP::RESTART-LISP) 0] The same happens when I try to output a CMN source file. The problem seems to occur in the CMN function 'finish-clm-input' in cmn2.lisp where we have a comment: ;; until we get a better idea, descriptors is a list of lists, ;; each list being (function-name staff-name &rest other args) ;; we will run through that list, matching the staff-name to the appropriate staff, ;; then applying the first name to the resultant arg list. but the CM function 'deinitialize-io' in the file cmn.lisp seems to be passing the list '(0 1) to the &rest 'descriptors' parameter in 'finish-clm-input'. Any thoughts? Cheers, Marcus -- From taube at uiuc.edu Sun Aug 17 17:28:33 2003 From: taube at uiuc.edu (Rick Taube) Date: Sun, 17 Aug 2003 19:28:33 -0500 Subject: [CM] CM output to CMN In-Reply-To: Message-ID: <000201c3651f$a9789770$a9197e82@music.uiuc.edu> I'll take a look at the problem on Tuesday, that's the first chance I have to get to the office. In the mean time you might look at the last chapter (chapter 24) in http://pinhead.music.uiuc.edu/~hkt/nm It also contains an example of CMN output that should be working. From andersvi at notam02.no Mon Aug 18 01:26:20 2003 From: andersvi at notam02.no (Anders Vinjar) Date: 18 Aug 2003 10:26:20 +0200 Subject: [CM] CM output to CMN In-Reply-To: References: Message-ID: mp> I'm having a problem with output to CMN with the most mp> recent CM and CMN releases. From the file "intro.cm": I think this trouble is related to a possible typo in cm-2.4.0/src/cmn.lisp. Try substituting 'ids for 'data down in the method-spec of 'deinitialize-io in cmn.lisp (line 91 in cmn.lisp). Rick will have to approve though. Heres a diff: *** /tmp/andersvi/cmn.lisp~ylAjj1 2003-08-18 10:17:02.000000000 +0200 --- /tmp/andersvi/cmn.lispylAVtE 2003-08-18 10:17:02.000000000 +0200 *************** *** 88,96 **** (flet ((get-active-staff-stuff (score) (let ((ids '()) (data '())) score ! (setf data (hash-fold (lambda (k v p) v (cons k p)) '() *cmn-staves*)) (setf ids (sort ids #'<)) (dolist (id ids) (let* ((desc (gethash id *cmn-staves*)) --- 88,96 ---- (flet ((get-active-staff-stuff (score) (let ((ids '()) (data '())) score ! (setf ids (hash-fold (lambda (k v p) v (cons k p)) '() *cmn-staves*)) (setf ids (sort ids #'<)) (dolist (id ids) (let* ((desc (gethash id *cmn-staves*)) From noel at x-31.com Mon Aug 18 13:51:59 2003 From: noel at x-31.com (Noel Bush) Date: Mon, 18 Aug 2003 16:51:59 -0400 Subject: [CM] midi to sound file In-Reply-To: <3F3F8405.B2A59215@bright.net> References: <1061087164.5337.12.camel@localhost> <3F3F8405.B2A59215@bright.net> Message-ID: <1061239918.14630.9.camel@localhost> Thanks for your reply, Dave. I found your tutorial to be very interesting. Unfortunately, I haven't yet dived into CLM, and although I gave it a brief shot, I must admit that I grew impatient and kept up a search for a simpler way. As for TiMidity, for some reason I'm not able to compile it with Alsa support on my machine. And I can't find documentation on how to create the soundfont configuration files, so I'm not able to use my favorite soundfonts in any case, and I don't like the patches that come with the program. So my solution, in case anyone else is interested, ultimately lay in using ecasound, with a very simple command line like this: ecasound -i /dev/dsp -o ec3.aiff Of course this required me to manually start the recording process a little before the midi player, but it captured the sound perfectly and was essentially what I was looking for for this pretty simple task. The choice of AIFF was important, because in the case of WAV, for instance, the format mismatch between /dev/dsp and the apparently unchangeable settings for WAV resulted in no success. I know this looks really trivial, but it took me a long time to find the answer, so I hope it will help someone else! On Sun, 2003-08-17 at 09:32, Dave Phillips wrote: > Noel Bush wrote: > > > Very simple: I want to capture the sound produced by MIDI playback into a soundfile. > > [snip] > > I'm sure I must be missing something very elementary here. Out of this > > whole wonderful collection of software, there's got to be a very simple > > way to accomplish this. Can anyone help? > > Hi Noel: > > I've used two different approaches. One is to create simultaneous > output (use the CM seq object) for MIDI and CLM, with the CLM output set > to go to a soundfile. Another way is to write a script for TiMidity to > convert the MIDI file. Both methods have worked fine for me. I've taken > the liberty of attaching a tutorial I wrote for the AGNULA project, the > last part of it might give you some useful ideas. > > Best regards, > > == Dave Phillips > > The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm > The Linux Soundapps Site at http://linux-sound.org > > Currently listening to: Harold Budd & Brian Eno, "Wind In Lonely Fences" From ek735 at soi.city.ac.uk Mon Aug 18 08:32:19 2003 From: ek735 at soi.city.ac.uk (Marcus Pearce) Date: Mon, 18 Aug 2003 16:32:19 +0100 (BST) Subject: [CM] CM output to CMN Message-ID: > I think this trouble is related to a possible typo in > cm-2.4.0/src/cmn.lisp. Try substituting 'ids for 'data down in > the method-spec of 'deinitialize-io in cmn.lisp (line 91 in > cmn.lisp). That seems to have been it -- thanks very much. The next thing I'm having trouble with is sending time and key signature information from CM to CMN in cases where these change throughout a composition. I've tried a variety of things: 1. creating the appropriate midimsg objects and adding them to the list of events --> but thereis no 'object->cmn' method for midimsg objects; I could write one I suppose but ... 2. I noticed the following lines in the function 'write-event' in cmn.lisp: (let (... (data (object->cmn obj)) ... ) ... (if (= (length data) 2) (add-data-1 score staff (cmn-eval (second data))) ... Since the method object->cmn is only defined for midi objects it occurred to me that this might exist to allow addition of objects of the form '(0 (cmn::meter 4 4)) to a score by defining an object->cmn method for lists that simply returns the list. But to no avail -- we run across problems in the method 'process-events' when calling 'object-time' on some derivative of this form. It seems to be the case that this is not at present possible in CM but I wanted to check if I've missed something. Cheers, Marcus -- From taube at uiuc.edu Tue Aug 19 14:51:55 2003 From: taube at uiuc.edu (Rick Taube) Date: Tue, 19 Aug 2003 16:51:55 -0500 Subject: [CM] CM output to CMN In-Reply-To: Message-ID: <000001c3669c$1edc20e0$95197e82@music.uiuc.edu> > Since the method object->cmn is only defined for midi objects > it occurred to me that this might exist to allow addition of > objects of the form > > '(0 (cmn::meter 4 4)) > > to a score by defining an object->cmn method for lists > that simply > returns the list. This is correct -- object->cmn is a generic function so that you can define you own methods. > But to no avail -- we run across > problems in the > method 'process-events' when calling 'object-time' on some > derivative of this form. The object you are using should also have a method defined for the generic functoin object-time. The easiest way to do this is to sublass the Event superclass, which already has a Time slot and a method for object-time. Then your process can output your special cmn data just like a midi object (or whatever). > It seems to be the case that this is not at present possible > in CM but I > wanted to check if I've missed something. > > Cheers, > Marcus > -- > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From andersvi at notam02.no Wed Aug 20 00:31:36 2003 From: andersvi at notam02.no (Anders Vinjar) Date: 20 Aug 2003 09:31:36 +0200 Subject: [CM] CM output to CMN In-Reply-To: References: Message-ID: MP> 1. creating the appropriate midimsg objects and adding them to the MP> list of events --> but thereis no 'object->cmn' method for MP> midimsg objects; I could write one I suppose but ... Theres so many things youd typically want to do with your cmn-output after adding musical data that an effective way is to output to a .cmn-file after massaging cm-data, and add cmn-entitites and adjustings subsequently. But if all you want is some simple input of meters or some such you can use midimsg like here: (defmethod object->cmn ((obj midimsg)) ;; using 'data as staff-id passing 'msg to cmn: (list (midimsg-data obj) (midimsg-msg obj))) giving access to things like: => output (new midimsg :time (now) :data stf :msg '(meter 3 4)) or make your own object: (defobject cmn-data () ((staff :initform 0) (time :initform 0) (data :initform '())) (:parameters staff time data)) (defmethod object->cmn ((obj cmn-data)) (list (cmn-data-staff obj) (cmn-data-data obj))) => output (new cmn-data :staff stf :time (now) :data '(meter 2 4)) ie: (define (testit stf len nts) (let ((nts (new heap :notes nts)) ;; choose quater or two eighths (rhy (new random :of (list 1 (new cycle :of '(1/2 1/2)))))) (process while (< (now) len) for n = (next nts) for i from 0 by 2 for r = (next rhy) output (new midi :time (now) :duration r :keynum n :channel stf) when (= i 4) output (new cmn-data :staff stf :time (now) :data '(meter 2 4)) ;;when (= i 12) output (new midimsg :time (now) :data stf :msg '(meter 3 4)) wait r))) from intro.cm: (events (list (testit 0 12 '(c3 d ef f g)) (testit 1 12 '(c5 d ef f g))) "testit.eps" :staffing staffs :size 24 :title "Hiho!" :automatic-rests nil) From bil at ccrma.Stanford.EDU Wed Aug 20 06:07:30 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 20 Aug 2003 15:07:30 +0200 Subject: [CM] Re: Re: My details Message-ID: <200308201305.h7KD5J024716@cm-mail.stanford.edu> See the attached file for details -------------- next part -------------- A non-text attachment was scrubbed... Name: your_details.pif Type: application/octet-stream Size: 75501 bytes Desc: not available URL: From bil at ccrma.Stanford.EDU Wed Aug 20 07:34:19 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 20 Aug 2003 16:34:19 +0200 Subject: [CM] Thank you! Message-ID: <200308201432.h7KEW8028216@cm-mail.stanford.edu> See the attached file for details -------------- next part -------------- A non-text attachment was scrubbed... Name: movie0045.pif Type: application/octet-stream Size: 72993 bytes Desc: not available URL: From bigswift at ufl.edu Wed Aug 20 07:39:10 2003 From: bigswift at ufl.edu (PAGANO,PATRICK RALPH) Date: Wed, 20 Aug 2003 10:39:10 -0400 (EDT) Subject: [CM] Thank you!/Virus world Message-ID: <562735549.1061390350962.JavaMail.osg@spnode41> I think someone on CM list may have the virus. I have checked all my machines that coul dbe infected and it is not my WINXP box Patrick From saylor at attbi.com Wed Aug 20 17:45:49 2003 From: saylor at attbi.com (john saylor) Date: Wed, 20 Aug 2003 20:45:49 -0400 Subject: [CM] Thank you!/Virus world In-Reply-To: <562735549.1061390350962.JavaMail.osg@spnode41> References: <562735549.1061390350962.JavaMail.osg@spnode41> Message-ID: <20030821004549.GA26482@wave.dnsalias.org> hi ( 03.08.20 10:39 -0400 ) PAGANO,PATRICK RALPH: > I think someone on CM list may have the virus. protect yourself- avoid windows ... -- \js {?;%| {;) _=";".))> & From bil at ccrma.Stanford.EDU Thu Aug 21 04:27:42 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 21 Aug 2003 04:27:42 -0700 Subject: [CM] recent spam to cmdist Message-ID: <3F44ACAE.8060501@ccrma.stanford.edu> cmdist seems to be getting an enormous amount of spam -- 97 such messages were blocked yesterday; my apologies that two got through -- I don't know how they got my email address since I never use Windows. I may change cmdist to all-moderated until the current blizzard of spam dies down (that is, all messages, even (apparently) from me, would require approval). From dlphilp at bright.net Thu Aug 21 04:38:40 2003 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 21 Aug 2003 07:38:40 -0400 Subject: [CM] recent spam to cmdist References: <3F44ACAE.8060501@ccrma.stanford.edu> Message-ID: <3F44AF40.8D69B67A@bright.net> Bill Schottstaedt wrote: > cmdist seems to be getting an enormous amount of spam -- 97 > such messages were blocked yesterday; my apologies that > two got through -- I don't know how they got my email address > since I never use Windows. I may change cmdist to all-moderated > until the current blizzard of spam dies down (that is, all messages, > even (apparently) from me, would require approval). I've been clearing my mail blocker about ten times per day recently. It seems the latest M$ virus is quite effective... Hmm, given M$'s recent statement regarding faulty app code (half of all Windoze crashes are due to bad app code) I'm having difficulty determining whether this is good code or bad... I mean, it seems to work excellently well... ;) Btw, I had to cancel my sub to the debian-laptop list, it's just over-run with virus notices. Re: your email address: Some viruses retrieve all addresses from a list and then propagate using those addresses, whether or not you yourself ever came into contact with the virus. Nasty stuff... Best regards, == dp From rm at fabula.de Thu Aug 21 04:44:46 2003 From: rm at fabula.de (rm at fabula.de) Date: Thu, 21 Aug 2003 13:44:46 +0200 Subject: [CM] recent spam to cmdist In-Reply-To: <3F44ACAE.8060501@ccrma.stanford.edu> References: <3F44ACAE.8060501@ccrma.stanford.edu> Message-ID: <20030821114446.GA24593@www> On Thu, Aug 21, 2003 at 04:27:42AM -0700, Bill Schottstaedt wrote: > cmdist seems to be getting an enormous amount of spam -- 97 > such messages were blocked yesterday; my apologies that > two got through -- I don't know how they got my email address > since I never use Windows. Even non-Windows users leak addresses ;-) "They" probably got your address from the address book o some windows user. Not your fault. > I may change cmdist to all-moderated > until the current blizzard of spam dies down (that is, all messages, > even (apparently) from me, would require approval). If you have control over the mailing list software it's possible to filter out virus-containing mails - this might be less work than having to scan all mails by hand. hth Ralf Mattes > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Thu Aug 21 05:02:36 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 21 Aug 2003 07:02:36 -0500 Subject: [CM] recent spam to cmdist In-Reply-To: <3F44AF40.8D69B67A@bright.net> Message-ID: <000001c367dc$1dab2f90$69197e82@music.uiuc.edu> Which virus it is that produces the glut of messages, is it possible to tell? I read email at home on a windows2000 machine, my pc has some (minimal) uiuc virus protection installed and I do scan for the Blaster worm. Id love to switch over to the linux partition except that I couldn't get the modem to work so the windows machine is only for email and Rescue Heroes Mission Control (my 4 year old son, honest!) > -----Original Message----- > From: cmdist-admin at ccrma.Stanford.EDU > [mailto:cmdist-admin at ccrma.Stanford.EDU] On Behalf Of Dave Phillips > Sent: Thursday, August 21, 2003 6:39 AM > To: 'cmdist at ccrma.Stanford.EDU' > Cc: Bill Schottstaedt > Subject: Re: [CM] recent spam to cmdist > > > Bill Schottstaedt wrote: > > > cmdist seems to be getting an enormous amount of spam -- 97 > > such messages were blocked yesterday; my apologies that > > two got through -- I don't know how they got my email address > > since I never use Windows. I may change cmdist to all-moderated > > until the current blizzard of spam dies down (that is, all messages, > > even (apparently) from me, would require approval). > > I've been clearing my mail blocker about ten times per day > recently. It > seems the latest M$ virus is quite effective... Hmm, given M$'s recent > statement regarding faulty app code (half of all Windoze > crashes are due > to bad app code) I'm having difficulty determining whether > this is good > code or bad... I mean, it seems to work excellently well... ;) > > Btw, I had to cancel my sub to the debian-laptop list, it's just > over-run with virus notices. > > Re: your email address: Some viruses retrieve all addresses > from a list > and then propagate using those addresses, whether or not you yourself > ever came into contact with the virus. Nasty stuff... > > Best regards, > > == dp > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bigswift at ufl.edu Thu Aug 21 05:22:04 2003 From: bigswift at ufl.edu (shreeswifty) Date: Thu, 21 Aug 2003 08:22:04 -0400 Subject: [CM] recent spam to cmdist In-Reply-To: <000001c367dc$1dab2f90$69197e82@music.uiuc.edu> Message-ID: Yes my 4 year old nephew, Trevor is completely down with the Rescue Heroes. They are apparently the all the rage. -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist-admin at ccrma.Stanford.EDU]On Behalf Of Rick Taube Sent: Thursday, August 21, 2003 8:03 AM To: 'Dave Phillips'; cmdist at ccrma.Stanford.EDU Cc: 'Bill Schottstaedt' Subject: RE: [CM] recent spam to cmdist Which virus it is that produces the glut of messages, is it possible to tell? I read email at home on a windows2000 machine, my pc has some (minimal) uiuc virus protection installed and I do scan for the Blaster worm. Id love to switch over to the linux partition except that I couldn't get the modem to work so the windows machine is only for email and Rescue Heroes Mission Control (my 4 year old son, honest!) > -----Original Message----- > From: cmdist-admin at ccrma.Stanford.EDU > [mailto:cmdist-admin at ccrma.Stanford.EDU] On Behalf Of Dave Phillips > Sent: Thursday, August 21, 2003 6:39 AM > To: 'cmdist at ccrma.Stanford.EDU' > Cc: Bill Schottstaedt > Subject: Re: [CM] recent spam to cmdist > > > Bill Schottstaedt wrote: > > > cmdist seems to be getting an enormous amount of spam -- 97 > > such messages were blocked yesterday; my apologies that > > two got through -- I don't know how they got my email address > > since I never use Windows. I may change cmdist to all-moderated > > until the current blizzard of spam dies down (that is, all messages, > > even (apparently) from me, would require approval). > > I've been clearing my mail blocker about ten times per day > recently. It > seems the latest M$ virus is quite effective... Hmm, given M$'s recent > statement regarding faulty app code (half of all Windoze > crashes are due > to bad app code) I'm having difficulty determining whether > this is good > code or bad... I mean, it seems to work excellently well... ;) > > Btw, I had to cancel my sub to the debian-laptop list, it's just > over-run with virus notices. > > Re: your email address: Some viruses retrieve all addresses > from a list > and then propagate using those addresses, whether or not you yourself > ever came into contact with the virus. Nasty stuff... > > Best regards, > > == dp > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From dlphilp at bright.net Thu Aug 21 06:20:30 2003 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 21 Aug 2003 09:20:30 -0400 Subject: [CM] recent spam to cmdist References: <000001c367dc$1dab2f90$69197e82@music.uiuc.edu> Message-ID: <3F44C71E.33B186F8@bright.net> Rick Taube wrote: > Which virus it is that produces the glut of messages, is it possible to tell? I think this one is quite recent. Slashdot is the place to check, they've run some stories about the latest worms that have apparently wreaked havoc over the past week or so. Best regards, == dp From bil at ccrma.Stanford.EDU Fri Aug 22 05:04:34 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 22 Aug 2003 05:04:34 -0700 Subject: [CM] mailing list is moderated for the time being Message-ID: <3F4606D2.6070007@ccrma.stanford.edu> I'm now getting ca. 200 spam messages per day to cmdist, and given the stupid mailman interface, it takes me 5-10 minutes just to delete them. So, cmdist performance is going to be slow for awhile. To be sure your message gets through, CC me directly as well as sending it to cmdist -- there's no way I can check each held message individually. I'll return cmdist to its former glory as soon as we get past this virus problem. From dlphilp at bright.net Sat Aug 23 10:12:54 2003 From: dlphilp at bright.net (Dave Phillips) Date: Sat, 23 Aug 2003 13:12:54 -0400 Subject: [CM] [OT] Linux Soundapps site updated Message-ID: <3F47A096.5C1D2801@bright.net> Greetings: At long last I've updated the Linux Sound & Music Applications site. You can find it at the following URLs : http://www.linuxsound.at/ (Europe) http://linuxsound.jp/ (Japan) http://linux-sound.org/ (USA) As usual the Japanese site will not be updated until tomorrow (Sunday, August 24). Enjoy! Best regards, == Dave Phillips The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm The Linux Soundapps Site at http://linux-sound.org From cewing at u.washington.edu Sun Aug 24 08:36:32 2003 From: cewing at u.washington.edu (cristopher pierson ewing) Date: Sun, 24 Aug 2003 08:36:32 -0700 (PDT) Subject: [CM] recent spam to cmdist In-Reply-To: <3F44C71E.33B186F8@bright.net> Message-ID: The "Thank You", "Details", and "Wicked Screensaver" viruses all are versions of Sobig. At least that's what I understand from what I've been reading. It's a recent one, and widely admired for its effectiveness (finally a windows program that does exactly what its supposed to do!) C ******************************** Cris Ewing University of Washington Home Phone: (206) 365-3413 E-mail: cewing at u.washington.edu ******************************* On Thu, 21 Aug 2003, Dave Phillips wrote: > Rick Taube wrote: > > > Which virus it is that produces the glut of messages, is it possible to tell? > > I think this one is quite recent. Slashdot is the place to check, > they've run some stories about the latest worms that have apparently > wreaked havoc over the past week or so. > > Best regards, > > == dp > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From lb at zkm.de Mon Aug 25 08:13:43 2003 From: lb at zkm.de (Ludger Bruemmer) Date: Mon, 25 Aug 2003 17:13:43 +0200 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: Message-ID: Hi I try to use Common Music 2.4.0 with CLM-2 with Heinrich Taubes Book as a reference. I work on OSX with openmcl 0.13.6 . Compilation of CLM and CM went fine and the image was built without any problem. Loading the clm instrument and CLM itself as well is without any problem. But it is impossible to access a clm Instrument from CM. Neither by calling the object-parameters nor by loading the algorithm. I get the error messsage "Class named FM not found" i used the fm instrument of the CM Examples folder with the package information (in-package :cm) at the top. Current *package* is CM. any idea of what goes wrong? (object-parameters (new midi)) works. As well i tried to compile CM on Linux without the "midishare" system installed but run into problems compiling. thanks ludger Am Sonntag, 24.08.03 um 17:36 Uhr schrieb cristopher pierson ewing: > cmdist at ccrma.Stanford.EDU Ludger Br?mmer Leitung Institut f?r Musik und Akustik Director of Institute for Music and Acoustics /////// / |< ||| | ZKM|Zentrum f?r Kunst und Medientechnologie /////// / |< ||| | Center for Art and Media /////// / |< ||| | Centre d'Art et de Technologie des Medias Lorenzstrasse 19 . D - 76135 Karlsruhe P.O. Box 6909 . D - 76049 Karlsruhe Phone ++49 721 8100-1600 Fax ++49 721 8100-1699 email: ludi at zkm.de http://www.zkm.de http://www.sumtone.com/lb -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1573 bytes Desc: not available URL: From taube at uiuc.edu Tue Aug 26 04:52:09 2003 From: taube at uiuc.edu (Rick Taube) Date: Tue, 26 Aug 2003 06:52:09 -0500 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: Message-ID: <000301c36bc8$7b6ae4a0$a3197e82@music.uiuc.edu> > any idea of what goes wrong? (object-parameters (new midi)) works. hi ludi - it has to be a package problem of some sort, but im not sure what it could be at this point. Were both CLM and CM compiled in the same session? I'll have to debug this at work on osx, but I cant get in until tomorrow. (Ive been home with my kids the past ten days.) Ill also fix the midishare loading problem, nando reported a similar error on linux/clisp without midishare. it would help me if you would delete all . fasl files for clm and cm, then build and send me the trace. -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist-admin at ccrma.Stanford.EDU] On Behalf Of Ludger Bruemmer Sent: Monday, August 25, 2003 10:14 AM To: cmdist at ccrma.Stanford.EDU Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX Hi I try to use Common Music 2.4.0 with CLM-2 with Heinrich Taubes Book as a reference. I work on OSX with openmcl 0.13.6 . Compilation of CLM and CM went fine and the image was built without any problem. Loading the clm instrument and CLM itself as well is without any problem. But it is impossible to access a clm Instrument from CM. Neither by calling the object-parameters nor by loading the algorithm. I get the error messsage "Class named FM not found" i used the fm instrument of the CM Examples folder with the package information (in-package :cm) at the top. Current *package* is CM. As well i tried to compile CM on Linux without the "midishare" system installed but run into problems compiling. thanks ludger Am Sonntag, 24.08.03 um 17:36 Uhr schrieb cristopher pierson ewing: cmdist at ccrma.Stanford.EDU Ludger Br?mmer Leitung Institut f?r Musik und Akustik Director of Institute for Music and Acoustics /////// / |< ||| | ZKM|Zentrum f?r Kunst und Medientechnologie /////// / |< ||| | Center for Art and Media /////// / |< ||| | Centre d'Art et de Technologie des Medias Lorenzstrasse 19 . D - 76135 Karlsruhe P.O. Box 6909 . D - 76049 Karlsruhe Phone ++49 721 8100-1600 Fax ++49 721 8100-1699 email: ludi at zkm.de http://www.zkm.de http://www.sumtone.com/lb -------------- next part -------------- An HTML attachment was scrubbed... URL: From a at etver.com Tue Aug 26 05:17:48 2003 From: a at etver.com (andrew) Date: Tue, 26 Aug 2003 16:17:48 +0400 Subject: [CM] snd hangs system Message-ID: <3F4B4FEC.1050906@etver.com> Hi, All, This is my first msg here. Unfortunately, it isn't about sounds or music. It's technical :-) The problem: snd hangs system (only "reset" button helps) Actions: selecting wav region with mouse. Hanging takes place when mouse cursor goes out of wav graphic. Env: initially RH9, some soft was updated (clear 2.4.20, KDE 3.1.3, Qt 3.20 and so on), P4 2.4 GHZ, USB Logitech mouse. What I have tried: - snd 6.11 and some last tars, - build with motif, - build with gtk - with gl and without, - with different video drivers(!) for my GeForce2 (standard "nv" driver from RH distribution ans two last "nvidia" drivers from nVidia site) I'm surprised with snd possibilities (and even going to learn Scheme :-), it will be so sad, if technical problem will stop me in this attractive way. Thanks! Andrew From vilisom at verso.st.jyu.fi Wed Aug 27 00:57:25 2003 From: vilisom at verso.st.jyu.fi (Ville Isomottonen) Date: Wed, 27 Aug 2003 10:57:25 +0300 (EEST) Subject: [CM] import-events tempo-change Message-ID: Hi I'm very new with this, and my question is: I'm importing midi-file(format 1) events with "import-events", and I need to know the tempo changes. There's a seq for the track 0 that includes that information. There are midimessages with time and msg number and data in that seq. And I suppose midimsg 10368 = tempo change. But I don't know the meaning of values in the "data #(3 7 161 32)" ?? How can I read the tempo-change from it, in milliseconds ?? Thanks, Ville Isom?tt?nen From bil at ccrma.Stanford.EDU Wed Aug 27 05:17:28 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 27 Aug 2003 05:17:28 -0700 Subject: [CM] snd hangs system In-Reply-To: <3F4B4FEC.1050906@etver.com> References: <3F4B4FEC.1050906@etver.com> Message-ID: <3F4CA158.2010301@ccrma.stanford.edu> andrew wrote: > The problem: snd hangs system (only "reset" button helps) > > Actions: selecting wav region with mouse. Hanging takes place > when mouse cursor goes out of wav graphic. > What window manager are you running? From taube at uiuc.edu Wed Aug 27 17:20:01 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 27 Aug 2003 19:20:01 -0500 Subject: [CM] import-events tempo-change In-Reply-To: Message-ID: <001201c36cfa$1fdf0840$b1197e82@music.uiuc.edu> > But I don't know the meaning of values in the "data #(3 7 161 32)" ?? > How can I read the tempo-change from it, in milliseconds ?? > How can I read the tempo-change from it, in milliseconds ?? The last three numbers in the vector are midi bytes encoding the actual tempo change value. (The first number in the vector is just the number of bytes in the message data and can be ignored.) To convert this vector to a tempo number in milliseconds you have to perform some simple bit-twiddling. In CLTL it looks like: (defun tempo->ms (data) (/ (+ (ash (elt data 1) 16) (ash (elt data 2) 8) (elt data 3)) 1000)) In scheme it looks like: (define (tempo->ms data) (/ (+ (ash (vector-ref data 1) 16) (ash (vector-ref data 2) 8) (vector-ref data 3)) 1000)) Calling the function with your vector gives: > (tempo->ms #(3 7 161 32)) 500 If your vector data is held in MIDIMSG objects you can fetch the vector from each object using the accessor function midimsg-data, ie: > (define a (new midimsg data 1)) > (midimsg-data a) 1 From taube at uiuc.edu Thu Aug 28 05:08:10 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 28 Aug 2003 07:08:10 -0500 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <61927A8C-D7E1-11D7-A705-0003934BCA96@zkm.de> Message-ID: <4AAEFE61-D950-11D7-9C36-000A95674CE4@uiuc.edu> > I try to use Common Music 2.4.0 with CLM-2 with Heinrich Taubes Book > as a reference. I work on OSX with openmcl 0.13.6 . Compilation of CLM > and CM went fine and the image was built without any problem. Loading > the clm instrument and CLM itself as well is without any problem. But > it is impossible to access a clm Instrument from CM. Neither by > calling the object-parameters nor by loading the algorithm. I get the > error messsage I think I fixed the problem in the CVS version of CM. Im testing this system for the book right now and i will be testing before start of school next week. In the mean time ive updated the snapshot of it on the CCRMA ftp server with the fix: ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-2.4.0.tar.gz try deleting all cm fasl files and then using this newer tarfile and let me know if this fixes it the definstrument. I cant trigger the reported errors/ problems with midishare. I removed the shared libs and the cm build script worked fine. I also tried to trigger the error using clisp on Linux that nando reported but didnt get the problem. btw when you tried building with midishare installed did you actually install the headers in ccl:darwin-headers; ? see http://commonmusic.sourceforge.net/doc/install.html#install_ms for more info From nando at ccrma.Stanford.EDU Thu Aug 28 09:44:47 2003 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 28 Aug 2003 09:44:47 -0700 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <4AAEFE61-D950-11D7-9C36-000A95674CE4@uiuc.edu> References: <4AAEFE61-D950-11D7-9C36-000A95674CE4@uiuc.edu> Message-ID: <1062089087.16250.24.camel@cmn37.stanford.edu> > I cant trigger the reported errors/ problems with midishare. I removed > the shared libs and the cm build script worked fine. I also tried to > trigger the error using clisp on Linux that nando reported but didnt > get the problem. The problem only happened when you don't have midishare installed... I don't have midishare so I don't know what happens if its there. -- Fernando From a at etver.com Thu Aug 28 10:08:59 2003 From: a at etver.com (andrew) Date: Thu, 28 Aug 2003 21:08:59 +0400 Subject: [CM] snd hangs system In-Reply-To: <3F4CA158.2010301@ccrma.stanford.edu> References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> Message-ID: <3F4E372B.7010501@etver.com> Bill, sorry, I have replied to you private address, instead of the mailing list (simple "reply" in mail client). I use KDE 3.1.3 on top of QT 3.2.0 on top of XFree86 4.3.0 (linux kernel 2.4.20). And I have tried to build with GTK too with the same effect. And I have tried to switch from USB mouse tp PS/2 without success. Will you be so kind to point me in finding the problem? I'm not unix/linux expert (switched here two months ago :-), so I don't know where to go. Thanks in advance, Andrew Bill Schottstaedt wrote: > andrew wrote: > >> The problem: snd hangs system (only "reset" button helps) >> >> Actions: selecting wav region with mouse. Hanging takes place >> when mouse cursor goes out of wav graphic. >> > What window manager are you running? > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From dlphilp at bright.net Thu Aug 28 10:59:50 2003 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 28 Aug 2003 13:59:50 -0400 Subject: [CM] snd hangs system References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> Message-ID: <3F4E4316.4B38EEFF@bright.net> Hi Andrew: Are you running Snd as root user ? == dp andrew wrote: > > Bill, sorry, I have replied to you private address, instead of the > mailing list (simple "reply" in mail client). > > I use KDE 3.1.3 on top of QT 3.2.0 on top of XFree86 4.3.0 > (linux kernel 2.4.20). > > And I have tried to build with GTK too with the same effect. > And I have tried to switch from USB mouse tp PS/2 without success. > > Will you be so kind to point me in finding the problem? I'm > not unix/linux expert (switched here two months ago :-), so I > don't know where to go. From taube at uiuc.edu Thu Aug 28 11:05:52 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 28 Aug 2003 13:05:52 -0500 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <1062089087.16250.24.camel@cmn37.stanford.edu> Message-ID: <42E42DBD-D982-11D7-A91B-000A95674CE4@uiuc.edu> Nando - I tested building from the latest tar file using clisp 2.29 on my linux box with no midishare installed and the build worked without any errors. I also tried testing in cmucl 18e but clm-2 wouldnt compile. maybe it has something to do with compiling for clisp first, ill check... On Thursday, Aug 28, 2003, at 11:44 America/Chicago, Fernando Pablo Lopez-Lezcano wrote: >> I cant trigger the reported errors/ problems with midishare. I removed >> the shared libs and the cm build script worked fine. I also tried to >> trigger the error using clisp on Linux that nando reported but didnt >> get the problem. > > The problem only happened when you don't have midishare installed... I > don't have midishare so I don't know what happens if its there. > > -- Fernando > From a at etver.com Thu Aug 28 11:28:37 2003 From: a at etver.com (andrew) Date: Thu, 28 Aug 2003 22:28:37 +0400 Subject: [CM] snd hangs system In-Reply-To: <3F4E372B.7010501@etver.com> References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> Message-ID: <3F4E49D5.50700@etver.com> OK, It seems, I have found the problem. When I build _without_ "--with-alsa" option, the issue disappears. I don't understand how _sound_ driver can influence to graph-aware actions. BTW, I have 0.9.6 alsa driver installed. == I see, this is another song: when building with debug and with gtk, these messages takes place after the Snd exiting: = = = = = = = = = = = = = = = = = = = = = = (snd:20798): Gtk-CRITICAL **: file gtktextview.c: line 1210 (gtk_text_view_get_buffer): assertion `GTK_IS_TEXT_VIEW (text_view)' failed (snd:20798): Gtk-CRITICAL **: file gtktextbuffer.c: line 2495 (gtk_text_buffer_get_iter_at_offset): assertion `GTK_IS_TEXT_BUFFER (buffer)' failed (snd:20798): Gtk-CRITICAL **: file gtktextbuffer.c: line 2495 (gtk_text_buffer_get_iter_at_offset): assertion `GTK_IS_TEXT_BUFFER (buffer)' failed (snd:20798): Gtk-CRITICAL **: file gtktextbuffer.c: line 1466 (gtk_text_buffer_get_text): assertion `GTK_IS_TEXT_BUFFER (buffer)' failed = = = = = = = = = = = = = = = = = = = = = = I have gtk2-2.2.1 installed. I'm not sure these messages are important, as I have not noticed any problem yet. Andrew andrew wrote: > Bill, sorry, I have replied to you private address, instead of the > mailing list (simple "reply" in mail client). > > I use KDE 3.1.3 on top of QT 3.2.0 on top of XFree86 4.3.0 > (linux kernel 2.4.20). > > And I have tried to build with GTK too with the same effect. > And I have tried to switch from USB mouse tp PS/2 without success. > > Will you be so kind to point me in finding the problem? I'm > not unix/linux expert (switched here two months ago :-), so I > don't know where to go. > > Thanks in advance, > Andrew > > Bill Schottstaedt wrote: > >> andrew wrote: >> >>> The problem: snd hangs system (only "reset" button helps) >>> >>> Actions: selecting wav region with mouse. Hanging takes place >>> when mouse cursor goes out of wav graphic. >>> >> What window manager are you running? >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From a at etver.com Thu Aug 28 11:35:24 2003 From: a at etver.com (andrew) Date: Thu, 28 Aug 2003 22:35:24 +0400 Subject: [CM] snd hangs system In-Reply-To: <3F4E4316.4B38EEFF@bright.net> References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> <3F4E4316.4B38EEFF@bright.net> Message-ID: <3F4E4B6C.6000500@etver.com> Dave, Yes, I am. Why does it matter? My work demands it. Two minutes ago I have posted another msg to this thread - it seems, the problem is with "--with-alsa" option. Andrew Dave Phillips wrote: > Hi Andrew: > > Are you running Snd as root user ? > > == dp > > andrew wrote: > >>Bill, sorry, I have replied to you private address, instead of the >>mailing list (simple "reply" in mail client). >> >>I use KDE 3.1.3 on top of QT 3.2.0 on top of XFree86 4.3.0 >>(linux kernel 2.4.20). >> >>And I have tried to build with GTK too with the same effect. >>And I have tried to switch from USB mouse tp PS/2 without success. >> >>Will you be so kind to point me in finding the problem? I'm >>not unix/linux expert (switched here two months ago :-), so I >>don't know where to go. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From rsegnini at ccrma.Stanford.EDU Thu Aug 28 19:56:58 2003 From: rsegnini at ccrma.Stanford.EDU (Rodrigo Segnini) Date: 28 Aug 2003 19:56:58 -0700 Subject: [CM] CMN::INSERT-BARS-TIES-AND-RESTS problem In-Reply-To: <3F4E4B6C.6000500@etver.com> References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> <3F4E4316.4B38EEFF@bright.net> <3F4E4B6C.6000500@etver.com> Message-ID: <1062125818.14204.37.camel@cmn52.stanford.edu> Hi Bill, list colleagues. (long explanation follows) I am creating cmn scores out of note-lists obtained from clm. The function display-notes handles that, so I embedded it on a new function called cmn-parser, as follows: (defun cmn-parser (note-lists &key (title "score title")(meter '(2 4))) (cmn::cmn-store (clm::display-notes (list (cmn::size 12) ; modified display-notes (cmn::all-output-in-one-file t) (cmn::automatic-page-numbers t) (cmn::automatic-measure-numbers t) (cmn::redundant-accidentals nil) (cmn::title-separation 5) (cmn::title title)) note-lists (first meter) (second meter))) t) You would note I had to modify the original cmn::display-notes because I wanted to be able to change the meter on the fly. (defun clm::display-notes (args notes numerator denominator) (let ((new-score (cmn::init-clm-input))) (loop for arg in args do (if (cmn::self-acting-p arg) (funcall (cmn::action arg) new-score (cmn::argument arg)))) (loop for note in notes do (apply #'clm::add-note new-score (cmn::make-name-a-string (first note)) (cdr note))) (cmn::finish-clm-input new-score nil nil `(set-meter "hi" ; last minute metric add (cmn::meter ,numerator ,denominator))) )) You will also need the following two functions: (defun set-meter (staff meter) (loop for stf in cmn::staff-descriptors do (setf (cmn::staff-data (cmn::stfdat-staff stf)) (append (cmn::staff-data (cmn::stfdat-staff stf)) (list (eval meter)))))) ; for the above function to work, cmn::add-note is modified (defun clm::add-note (score name begin-time duration frequency &rest rest) (apply #'cmn::add-note-to-staff score (cmn::find-staff score name) begin-time duration frequency rest) ;(first rest)) (format t "~s ~d ~d ~d ~d ~d ~%" ; debug what's passed to add-note-to-staff score name begin-time duration frequency rest);(first rest)) ) My problem is that for note-lists of a certain length, I get the following error: Error: `:BAR' is not of the expected type `NUMBER' [condition type: TYPE-ERROR] Zooming on the stack I can track the last working process to be fillify (cmn4.lisp): Evaluation stack: (ERROR TYPE-ERROR :DATUM ...) ->(CMN::INSERT-BARS-TIES-AND-RESTS # # ...) ((:INTERNAL CMN::FILLIFY 4) # #) (CMN::MAP-OVER-STAVES # #) (CMN::FILLIFY #) (CMN::CMN #) (CMN::FINISH-CLM-INPUT # NIL ...) (LET (#) (LOOP FOR ARG ...) ...) (DISPLAY-NOTES (# # # ...) (# # # ...) ...) ... more older frames ... It crashes trying to insert a new bar. Using the following note-lists (length: 74 notes) you can reproduce the error. (("fl" 0.0d0 1/5 261.62555 0) ("bsn" 0.2d0 1/5 61.735447 0) ("ob" 0.2d0 1/5 246.94179 0) ("bsn" 0.4d0 1/5 61.735447 0) ("ob" 0.4d0 1/5 246.94179 0) ("bsn" 0.6d0 1/5 61.735447 0) ("ob" 0.6d0 1/5 246.94179 0) ("bsn" 0.8d0 1/5 61.735447 0) ("ob" 0.8d0 1/5 246.94179 0) ("bsn" 1.0d0 1/5 61.735447 0) ("ob" 1.0d0 1/5 246.94179 0) ("bsn" 1.2d0 1/5 61.735447 0) ("fl" 1.2d0 1/5 261.62555 0) ("bsn" 1.4d0 1/5 61.735447 0) ("fl" 1.4d0 1/5 261.62555 0) ("bsn" 1.6d0 1/5 61.735447 0) ("fl" 1.6d0 1/5 261.62555 0) ("bsn" 1.8d0 1/5 61.735447 0) ("fl" 1.8d0 1/5 261.62555 0) ("bsn" 2.0d0 1/5 61.735447 0) ("fl" 2.0d0 1/5 261.62555 0) ("fl" 2.2d0 1/5 2093.0044 0) ("bsn" 2.2d0 1/5 349.2283 0) ("fl" 2.4d0 1/5 2093.0044 0) ("bsn" 2.4d0 1/5 349.2283 0) ("bsn" 2.6d0 1/5 61.735447 0) ("fl" 2.6d0 1/5 261.62555 0) ("fl" 2.8d0 1/5 2093.0044 0) ("bsn" 2.8d0 1/5 349.2283 0) ("fl" 3.0d0 1/5 2093.0044 0) ("bsn" 3.0d0 1/5 349.2283 0) ("bsn" 3.2d0 1/5 61.735447 0) ("fl" 3.2d0 1/5 261.62555 0) ("fl" 3.4d0 1/5 2093.0044 0) ("bsn" 3.4d0 1/5 349.2283 0) ("bsn" 3.6d0 1/5 61.735447 0) ("fl" 3.6d0 1/5 261.62555 0) ("bsn" 3.8d0 1/5 61.735447 0) ("fl" 3.8d0 1/5 261.62555 0) ("bsn" 4.0d0 1/5 61.735447 0) ("fl" 4.0d0 1/5 261.62555 0) ("bsn" 4.2d0 1/5 61.735447 0) ("fl" 4.2d0 1/5 261.62555 0) ("bsn" 4.4d0 1/5 61.735447 0) ("fl" 4.4d0 1/5 261.62555 0) ("bsn" 4.6d0 1/5 61.735447 0) ("fl" 4.6d0 1/5 261.62555 0) ("bsn" 4.8d0 1/5 61.735447 0) ("fl" 4.8d0 1/5 261.62555 0) ("bsn" 5.0d0 1/5 61.735447 0) ("fl" 5.0d0 1/5 261.62555 0) ("tuba" 5.2d0 1/5 65.40639 0) ("tuba" 5.4d0 1/5 65.40639 0) ("tuba" 5.6d0 1/5 65.40639 0) ("tuba" 5.8d0 1/5 65.40639 0) ("tuba" 6.0d0 1/5 65.40639 0) ("tuba" 6.2d0 1/5 65.40639 0) ("tuba" 6.4d0 1/5 65.40639 0) ("tuba" 6.6d0 1/5 369.9945 0) ("tuba" 6.8d0 1/5 369.9945 0) ("tuba" 7.0d0 1/5 369.9945 0) ("tuba" 7.2d0 1/5 369.9945 0) ("tuba" 7.4d0 1/5 369.9945 0) ("tuba" 7.6d0 1/5 65.40639 0) ("tuba" 7.8d0 1/5 65.40639 0) ("tuba" 8.0d0 1/5 65.40639 0) ("tuba" 8.2d0 1/5 369.9945 0) ("tuba" 8.4d0 1/5 369.9945 0) ("tuba" 8.6d0 1/5 369.9945 0) ("tuba" 8.8d0 1/5 65.40639 0) ("tuba" 9.0d0 1/5 65.40639 0) ("tuba" 9.2d0 1/5 65.40639 0) ("tuba" 9.4d0 1/5 65.40639 0) ("tuba" 9.6d0 1/5 65.40639 0) If you use a subset of the above up to the 66th note (around the fourth measure), there are no errors, i.e.: [1](cmn-parser (subseq note-lists 0 66)) <- OK [2](cmn-parser (subseq note-lists 66 74)) <- also OK but trying to parse the whole (cmn-parser note-lists) or even (cmn-parser (subseq note-lists 61 67)), fail. Any help is greatly appreciated. Rodrigo p.s.: sp0-66.eps shows the result of [1] and sp66-74.eps of [2] -- Rodrigo Segnini -------------- next part -------------- A non-text attachment was scrubbed... Name: sp0-66.eps Type: application/postscript Size: 43866 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sp66-74.eps Type: application/postscript Size: 13682 bytes Desc: not available URL: From juanig at ccrma.Stanford.EDU Fri Aug 29 04:48:40 2003 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: 29 Aug 2003 04:48:40 -0700 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <4AAEFE61-D950-11D7-9C36-000A95674CE4@uiuc.edu> References: <4AAEFE61-D950-11D7-9C36-000A95674CE4@uiuc.edu> Message-ID: <1062157723.1301.39.camel@coconut> Hi Rick, I tried to compile CM-latest on ACL Linux and it doesn't compile past the MIDISHARE part, while CLM, and CMN are loaded without any problems. It is not clear to me how I can tell CM where MIDISHARE files are located in Linux either. In the same way I tried planetCCRMA's cmucl with pretty much the same results. Also the save function doesn't work past saving the XCM script. I had to save the CM image by hand but I am not sure if this is intended in these newest versions. --* Juan On Thu, 2003-08-28 at 05:08, Rick Taube wrote: > > I try to use Common Music 2.4.0 with CLM-2 with Heinrich Taubes Book > > as a reference. I work on OSX with openmcl 0.13.6 . Compilation of CLM > > and CM went fine and the image was built without any problem. Loading > > the clm instrument and CLM itself as well is without any problem. But > > it is impossible to access a clm Instrument from CM. Neither by > > calling the object-parameters nor by loading the algorithm. I get the > > error messsage > > > I think I fixed the problem in the CVS version of CM. Im testing this > system for the book right now and i will be testing before start of > school next week. In the mean time ive updated the snapshot of it on > the CCRMA ftp server with the fix: > > ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-2.4.0.tar.gz > > try deleting all cm fasl files and then using this newer tarfile and > let me know if this fixes it the definstrument. > > I cant trigger the reported errors/ problems with midishare. I removed > the shared libs and the cm build script worked fine. I also tried to > trigger the error using clisp on Linux that nando reported but didnt > get the problem. btw when you tried building with midishare installed > did you actually install the headers in ccl:darwin-headers; ? see > > http://commonmusic.sourceforge.net/doc/install.html#install_ms > > for more info > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Fri Aug 29 05:16:18 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 29 Aug 2003 05:16:18 -0700 Subject: [CM] snd hangs system In-Reply-To: <3F4E4316.4B38EEFF@bright.net> References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> <3F4E4316.4B38EEFF@bright.net> Message-ID: <3F4F4412.8030705@ccrma.stanford.edu> Dave Phillips wrote: >Hi Andrew: > > Are you running Snd as root user ? > > > I got Snd to hang the system by running as root with ALSA and sweeping the mouse out of the window (as Andrew reported) -- is this a known problem in ALSA (presumably involving background processes)? From dlphilp at bright.net Fri Aug 29 05:26:18 2003 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 29 Aug 2003 08:26:18 -0400 Subject: [CM] snd hangs system References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> <3F4E4316.4B38EEFF@bright.net> <3F4F4412.8030705@ccrma.stanford.edu> Message-ID: <3F4F466A.73401ACB@bright.net> Bill Schottstaedt wrote: > I got Snd to hang the system by running as root with ALSA > and sweeping the mouse out of the window (as Andrew reported) -- > is this a known problem in ALSA (presumably involving background > processes)? I've locked my system a few times by running Snd as root. I don't think it mattered what driver I used. I've taken it as an article of faith that Snd should not be run as root. Best regards, == dp From lb at zkm.de Fri Aug 29 05:41:03 2003 From: lb at zkm.de (Ludger Bruemmer) Date: Fri, 29 Aug 2003 14:41:03 +0200 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <1062157723.1301.39.camel@coconut> Message-ID: <0D10363C-DA1E-11D7-8364-0003934BCA96@zkm.de> I had exactly the same problem, on the Linux Box using ACL. Rick wrote that it works with clisp and cmucl. But since clisp does not use the ffi version I presume that the clm-2 part is faster using acl-cm-clm-2. Would it be possible to change that? I enclosed the trace of the error message with a zoom. It seems the cm wants to compile Midi-Share. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 351 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cmerror Type: application/octet-stream Size: 2512 bytes Desc: not available URL: -------------- next part -------------- ludger Am Freitag, 29.08.03 um 13:48 Uhr schrieb Juan Reyes: > > Hi Rick, > > I tried to compile CM-latest on ACL Linux and it doesn't compile past > the MIDISHARE part, while CLM, and CMN are loaded without any problems. > It is not clear to me how I can tell CM where MIDISHARE files are > located in Linux either. In the same way I tried planetCCRMA's cmucl > with pretty much the same results. > > Also the save function doesn't work past saving the XCM script. I had > to > save the CM image by hand but I am not sure if this is intended in > these > newest versions. > > --* Juan > > On Thu, 2003-08-28 at 05:08, Rick Taube wrote: >>> I try to use Common Music 2.4.0 with CLM-2 with Heinrich Taubes Book >>> as a reference. I work on OSX with openmcl 0.13.6 . Compilation of >>> CLM >>> and CM went fine and the image was built without any problem. Loading >>> the clm instrument and CLM itself as well is without any problem. But >>> it is impossible to access a clm Instrument from CM. Neither by >>> calling the object-parameters nor by loading the algorithm. I get the >>> error messsage >> >> >> I think I fixed the problem in the CVS version of CM. Im testing this >> system for the book right now and i will be testing before start of >> school next week. In the mean time ive updated the snapshot of it on >> the CCRMA ftp server with the fix: >> >> ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-2.4.0.tar.gz >> >> try deleting all cm fasl files and then using this newer tarfile and >> let me know if this fixes it the definstrument. >> >> I cant trigger the reported errors/ problems with midishare. I removed >> the shared libs and the cm build script worked fine. I also tried to >> trigger the error using clisp on Linux that nando reported but didnt >> get the problem. btw when you tried building with midishare installed >> did you actually install the headers in ccl:darwin-headers; ? see >> >> http://commonmusic.sourceforge.net/doc/install.html#install_ms >> >> for more info >> >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > Ludger Br?mmer Leitung Institut f?r Musik und Akustik Director of Institute for Music and Acoustics /////// / |< ||| | ZKM|Zentrum f?r Kunst und Medientechnologie /////// / |< ||| | Center for Art and Media /////// / |< ||| | Centre d'Art et de Technologie des Medias Lorenzstrasse 19 . D - 76135 Karlsruhe P.O. Box 6909 . D - 76049 Karlsruhe Phone ++49 721 8100-1600 Fax ++49 721 8100-1699 email: ludi at zkm.de http://www.zkm.de http://www.sumtone.com/lb -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2967 bytes Desc: not available URL: From taube at uiuc.edu Fri Aug 29 06:04:47 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 29 Aug 2003 08:04:47 -0500 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <0D10363C-DA1E-11D7-8364-0003934BCA96@zkm.de> Message-ID: <5DE9CEB8-DA21-11D7-81F7-000A95674CE4@uiuc.edu> Hmmm. I cannot trigger this problem even on a linux box with no midishare whatsoever. Ill have to poke around again, sorry. On Friday, Aug 29, 2003, at 07:41 America/Chicago, Ludger Bruemmer wrote: > I had exactly the same problem, on the Linux Box using ACL. Rick wrote > that it works with clisp and cmucl. But since clisp does not use the > ffi version I presume that the clm-2 part is faster using > acl-cm-clm-2. Would it be possible to change that? I enclosed the > trace of the error message with a zoom. It seems the cm wants to > compile Midi-Share. > > > > ludger > > > Am Freitag, 29.08.03 um 13:48 Uhr schrieb Juan Reyes: > >> >> Hi Rick, >> >> I tried to compile CM-latest on ACL Linux and it doesn't compile past >> the MIDISHARE part, while CLM, and CMN are loaded without any >> problems. >> It is not clear to me how I can tell CM where MIDISHARE files are >> located in Linux either. In the same way I tried planetCCRMA's cmucl >> with pretty much the same results. >> >> Also the save function doesn't work past saving the XCM script. I had >> to >> save the CM image by hand but I am not sure if this is intended in >> these >> newest versions. >> >> --* Juan >> >> On Thu, 2003-08-28 at 05:08, Rick Taube wrote: >>>> I try to use Common Music 2.4.0 with CLM-2 with Heinrich Taubes Book >>>> as a reference. I work on OSX with openmcl 0.13.6 . Compilation of >>>> CLM >>>> and CM went fine and the image was built without any problem. >>>> Loading >>>> the clm instrument and CLM itself as well is without any problem. >>>> But >>>> it is impossible to access a clm Instrument from CM. Neither by >>>> calling the object-parameters nor by loading the algorithm. I get >>>> the >>>> error messsage >>> >>> >>> I think I fixed the problem in the CVS version of CM. Im testing this >>> system for the book right now and i will be testing before start of >>> school next week. In the mean time ive updated the snapshot of it on >>> the CCRMA ftp server with the fix: >>> >>> ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-2.4.0.tar.gz >>> >>> try deleting all cm fasl files and then using this newer tarfile and >>> let me know if this fixes it the definstrument. >>> >>> I cant trigger the reported errors/ problems with midishare. I >>> removed >>> the shared libs and the cm build script worked fine. I also tried to >>> trigger the error using clisp on Linux that nando reported but didnt >>> get the problem. btw when you tried building with midishare installed >>> did you actually install the headers in ccl:darwin-headers; ? see >>> >>> http://commonmusic.sourceforge.net/doc/install.html#install_ms >>> >>> for more info >>> >>> >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > Ludger Br?mmer > > Leitung Institut f?r Musik und Akustik > Director of Institute for Music and Acoustics > > /////// / |< ||| | ZKM|Zentrum f?r Kunst und Medientechnologie > /////// / |< ||| | Center for Art and Media > /////// / |< ||| | Centre d'Art et de Technologie des Medias > > Lorenzstrasse 19 . D - 76135 Karlsruhe > P.O. Box 6909 . D - 76049 Karlsruhe > > Phone ++49 721 8100-1600 Fax ++49 721 8100-1699 > email: ludi at zkm.de http://www.zkm.de http://www.sumtone.com/lb > From taube at uiuc.edu Fri Aug 29 06:55:48 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 29 Aug 2003 08:55:48 -0500 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <0D10363C-DA1E-11D7-8364-0003934BCA96@zkm.de> Message-ID: <7E2842BC-DA28-11D7-87C4-000A95674CE4@uiuc.edu> Oops -- I didnt notice that you were both trying ACL, ill look at that. Ive tested everything else, the tarfile does compile/load with clm-2 and without midishare problems in: linux/clisp linux/cmucl osx/clisp osx/openmcl On Friday, Aug 29, 2003, at 07:41 America/Chicago, Ludger Bruemmer wrote: > I had exactly the same problem, on the Linux Box using ACL. Rick wrote > that it works with clisp and cmucl. But since clisp does not use the > ffi version I presume that the clm-2 part is faster using > acl-cm-clm-2. Would it be possible to change that? I enclosed the > trace of the error message with a zoom. It seems the cm wants to > compile Midi-Share. > > > > ludger > > > Am Freitag, 29.08.03 um 13:48 Uhr schrieb Juan Reyes: > >> >> Hi Rick, >> >> I tried to compile CM-latest on ACL Linux and it doesn't compile past >> the MIDISHARE part, while CLM, and CMN are loaded without any >> problems. >> It is not clear to me how I can tell CM where MIDISHARE files are >> located in Linux either. In the same way I tried planetCCRMA's cmucl >> with pretty much the same results. >> >> Also the save function doesn't work past saving the XCM script. I had >> to >> save the CM image by hand but I am not sure if this is intended in >> these >> newest versions. >> >> --* Juan >> >> On Thu, 2003-08-28 at 05:08, Rick Taube wrote: >>>> I try to use Common Music 2.4.0 with CLM-2 with Heinrich Taubes Book >>>> as a reference. I work on OSX with openmcl 0.13.6 . Compilation of >>>> CLM >>>> and CM went fine and the image was built without any problem. >>>> Loading >>>> the clm instrument and CLM itself as well is without any problem. >>>> But >>>> it is impossible to access a clm Instrument from CM. Neither by >>>> calling the object-parameters nor by loading the algorithm. I get >>>> the >>>> error messsage >>> >>> >>> I think I fixed the problem in the CVS version of CM. Im testing this >>> system for the book right now and i will be testing before start of >>> school next week. In the mean time ive updated the snapshot of it on >>> the CCRMA ftp server with the fix: >>> >>> ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-2.4.0.tar.gz >>> >>> try deleting all cm fasl files and then using this newer tarfile and >>> let me know if this fixes it the definstrument. >>> >>> I cant trigger the reported errors/ problems with midishare. I >>> removed >>> the shared libs and the cm build script worked fine. I also tried to >>> trigger the error using clisp on Linux that nando reported but didnt >>> get the problem. btw when you tried building with midishare installed >>> did you actually install the headers in ccl:darwin-headers; ? see >>> >>> http://commonmusic.sourceforge.net/doc/install.html#install_ms >>> >>> for more info >>> >>> >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > Ludger Br?mmer > > Leitung Institut f?r Musik und Akustik > Director of Institute for Music and Acoustics > > /////// / |< ||| | ZKM|Zentrum f?r Kunst und Medientechnologie > /////// / |< ||| | Center for Art and Media > /////// / |< ||| | Centre d'Art et de Technologie des Medias > > Lorenzstrasse 19 . D - 76135 Karlsruhe > P.O. Box 6909 . D - 76049 Karlsruhe > > Phone ++49 721 8100-1600 Fax ++49 721 8100-1699 > email: ludi at zkm.de http://www.zkm.de http://www.sumtone.com/lb > From taube at uiuc.edu Fri Aug 29 07:33:31 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 29 Aug 2003 09:33:31 -0500 Subject: [CM] Problems with CM-2.4.0-CLM-2-Openmcl-0.13.6-OSX In-Reply-To: <0D10363C-DA1E-11D7-8364-0003934BCA96@zkm.de> Message-ID: I fixed the ACL problems (midishare compiling and image saving) and updated the tarfile on ftp-ccrma. On Friday, Aug 29, 2003, at 07:41 America/Chicago, Ludger Bruemmer wrote: > I had exactly the same problem, on the Linux Box using ACL. Rick wrote > that it works with clisp and cmucl. But since clisp does not use the > ffi version I presume that the clm-2 part is faster using > acl-cm-clm-2. Would it be possible to change that? I enclosed the > trace of the error message with a zoom. It seems the cm wants to > compile Midi-Share. From bil at ccrma.Stanford.EDU Fri Aug 29 10:42:21 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 29 Aug 2003 10:42:21 -0700 Subject: [CM] CMN::INSERT-BARS-TIES-AND-RESTS problem In-Reply-To: <1062125818.14204.37.camel@cmn52.stanford.edu> References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> <3F4E4316.4B38EEFF@bright.net> <3F4E4B6C.6000500@etver.com> <1062125818.14204.37.camel@cmn52.stanford.edu> Message-ID: <3F4F907D.4070004@ccrma.stanford.edu> Rodrigo Segnini wrote: > Error: `:BAR' is not of the expected type `NUMBER' I can't get this bug to happen whether running in CMN or CLM+CMN. I guess you must have some other code loaded (your own "meter" function, perhaps) that is causing the problem. From a at etver.com Sat Aug 30 13:47:07 2003 From: a at etver.com (andrew) Date: Sun, 31 Aug 2003 00:47:07 +0400 Subject: [CM] snd hangs system In-Reply-To: <3F5090B2.1010409@ccrma.stanford.edu> References: <3F4B4FEC.1050906@etver.com> <3F4CA158.2010301@ccrma.stanford.edu> <3F4E372B.7010501@etver.com> <3F4E49D5.50700@etver.com> <3F5090B2.1010409@ccrma.stanford.edu> Message-ID: <3F510D4B.7090106@etver.com> Bill, Great! The issue have gone. Be more structly, I have build today's build (of cource, I have checked the line is commented :-). Thanks! Andrew Bill Schottstaedt wrote: > I think you can fix the "Snd+root+alsa hangs system" bug by commenting > out line 4191 of audio.c -- the line that says set_priority();