From taube at uiuc.edu Sat Jan 1 11:05:41 2005 From: taube at uiuc.edu (Rick Taube) Date: Sat, 1 Jan 2005 13:05:41 -0600 Subject: [CM] updated cvs sources for linux Message-ID: <213B8E46-5C28-11D9-9EEF-000A95674CE4@uiuc.edu> the latest revisions in the 2.5.0 branch should now build fine on linux again in the latest sbcl and cmucl releases. Ive resolved all wanrings in sbcl but there are 1 or 2 package issues in cmucl that i cant figure out. i just commited the changes so it may take some hours for sourceforge's anonumous cvs server to notice the new versions. I'm now getting quite close to the actual 2.5.0 release now, hopefully all will be working and tested by jan 20th when i start teaching again. im currently implementing a new GUI for input/output in CM, when that is done ill draw the double bar and store release tarballs on sourceforge. ill also try to make an osx binary release with clm2+cmn+cm like last year. with the addition of the new gtk gui tools in three different lisps and the realtime midishare on darwin this will be the most feature packed relase of cm ever! --rick ps it takes a long time for the gtkffi-cmusbcl.lisp file to compile from sources (10 minutes or so on my dell). the good news is that this file will change rarely and the fasl loads quickly. anyway i hope the gui tools will soon be worth the wait! From sb.list at sb.org Sun Jan 2 09:23:49 2005 From: sb.list at sb.org (Stonewall Ballard) Date: Sun, 2 Jan 2005 12:23:49 -0500 Subject: [CM] CM build problem Message-ID: <10B36562-5CE3-11D9-9E6B-000A959DA4B2@sb.org> I just built CM for the first time, from the CVS sources (the head branch), as documented here: . I'm using Mac OS X 10.3.7, with the fink distribution of GTK2. First off, the CVS command is incorrect on OS X (at least). Step 3: $ cvs checkout -P cm actually has to be: $ cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/commonmusic checkout -P cm I'm not certain that all this is necessary - I use subversion instead of CVS whenever possible - but this is what the mailman cvs doc says to do here: . During the build process, I found that I had to rename the GTK2 FFI database directory from "gtk" to "gtk2", since building CM complained that it couldn't find "gtk2". I got the GTK interface from . Was this correct, or did I miss something? Thanks. - Stoney -- Stonewall Ballard stoney at sb.org http://stoney.sb.org/ From taube at uiuc.edu Sun Jan 2 09:38:13 2005 From: taube at uiuc.edu (Rick Taube) Date: Sun, 2 Jan 2005 11:38:13 -0600 Subject: [CM] CM build problem In-Reply-To: <10B36562-5CE3-11D9-9E6B-000A959DA4B2@sb.org> References: <10B36562-5CE3-11D9-9E6B-000A959DA4B2@sb.org> Message-ID: <13D7C812-5CE5-11D9-995E-000A95674CE4@uiuc.edu> sorry for the confusion -- it turns out that there is already an openmcl "gtk" header directory (on ppc/linux, which i never use and so didnt see) so i had to switch to "gtk2" and then i forgot to update that tarball. ill fix it right away. ditto the install docs. thanks for reporting the problems > During the build process, I found that I had to rename the GTK2 FFI > database directory from "gtk" to "gtk2", since building CM complained > that it couldn't find "gtk2". > > I got the GTK interface from > . > > Was this correct, or did I miss something? > > Thanks. > > - Stoney > > -- > Stonewall Ballard > stoney at sb.org http://stoney.sb.org/ > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sun Jan 2 10:00:30 2005 From: taube at uiuc.edu (Rick Taube) Date: Sun, 2 Jan 2005 12:00:30 -0600 Subject: [CM] CM build problem In-Reply-To: <13D7C812-5CE5-11D9-995E-000A95674CE4@uiuc.edu> References: <10B36562-5CE3-11D9-9E6B-000A959DA4B2@sb.org> <13D7C812-5CE5-11D9-995E-000A95674CE4@uiuc.edu> Message-ID: <30CA731A-5CE8-11D9-BD1C-000A95674CE4@uiuc.edu> Ok I think I fixed both issues in cvs. I also took the opportunity to rename the ffi tarball to a better name and updated the link in the install doc. Here is the new install info for openmcl/gtk http://pinhead.music.uiuc.edu/~hkt/cm/doc/install.html#gtk_openmcl and here is the fixed cvs doc: http://pinhead.music.uiuc.edu/~hkt/cm/doc/install.html#restore_cvs thanks. From taube at uiuc.edu Sun Jan 2 10:15:41 2005 From: taube at uiuc.edu (Rick Taube) Date: Sun, 2 Jan 2005 12:15:41 -0600 Subject: [CM] clm importing back Message-ID: <4FE3BC33-5CEA-11D9-BD1C-000A95674CE4@uiuc.edu> I forgot to mention in yesterday's post that clm importing is working again and you can import .clm files directly to plotter. here is a snippit that will display clm/fmviolin.clm in piano roll notation. [ Ive only tried this on osx -- i cant compile clm on my demudi machine yet because it cant find x11 headers/libs and im still trying to figure out what to do...] (cd "/Lisp/clm-2") (cload "v.ins") (plotter :title "FM Violin" :x-axis (axis :seconds :zoom .4 :slots '(startime dur) :labeler "~,0F" :maximum 200) :y-axis (axis :hertz :zoom .4 :slots 'frequency) (import-events "fmviolin.clm")) From k.s.matheussen at notam02.no Mon Jan 3 03:45:49 2005 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Mon, 3 Jan 2005 12:45:49 +0100 (CET) Subject: [CM] Snd-gtk for windows Message-ID: On my vacation I had access to a windows XP machine, and just for the fun of it I tried to compile snd/gtk using cygwin. It compiled just fine, but for some reason I did not get sound using OSS. Fortunately though, ESD worked a little bit better. Here's the source and binary: http://www.notam02.no/arkiv/src/snd/snd-7-gtk-cygwin.tar.bz2 And here's the dependencies (output from cygcheck.exe): C:\kjetil\cygwin\usr\X11R6\bin\cygX11-6.dll C:\kjetil\cygwin\bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\RPCRT4.dll C:\kjetil\cygwin\bin\cygesd-0.dll C:\kjetil\cygwin\bin\cygaudiofile-0.dll C:\kjetil\cygwin\bin\cyggdk-x11-2.0-0.dll C:\kjetil\cygwin\bin\cyggdk_pixbuf-2.0-0.dll C:\kjetil\cygwin\bin\cygglib-2.0-0.dll C:\kjetil\cygwin\bin\cygiconv-2.dll C:\kjetil\cygwin\bin\cygintl-3.dll C:\kjetil\cygwin\bin\cyggmodule-2.0-0.dll C:\kjetil\cygwin\bin\cyggobject-2.0-0.dll C:\kjetil\cygwin\usr\X11R6\bin\cygXcursor-1.dll C:\kjetil\cygwin\usr\X11R6\bin\cygXrender-1.dll C:\kjetil\cygwin\usr\X11R6\bin\cygXext-6.dll C:\kjetil\cygwin\usr\X11R6\bin\cygXft-2.dll C:\kjetil\cygwin\bin\cygfontconfig-1.dll C:\kjetil\cygwin\bin\cygexpat-0.dll C:\kjetil\cygwin\bin\cygfreetype-6.dll C:\kjetil\cygwin\bin\cygz.dll C:\kjetil\cygwin\usr\X11R6\bin\cygXrandr-2.dll C:\kjetil\cygwin\bin\cygpango-1.0-0.dll C:\kjetil\cygwin\bin\cygpangoxft-1.0-0.dll C:\kjetil\cygwin\bin\cygpangoft2-1.0-0.dll C:\kjetil\cygwin\bin\cyggtk-x11-2.0-0.dll C:\kjetil\cygwin\bin\cygatk-1.0-0.dll C:\kjetil\cygwin\bin\cygguile-12.dll C:\kjetil\cygwin\bin\cygguile-ltdl-1.dll C:\kjetil\cygwin\bin\cygcrypt-0.dll In other words, from cygwin, you need the XFree86 package, the esd pacage, the gtk-x11-2 package and the guile package. The cygwin installer is just beautiful: http://www.cygwin.com (I was not able to make the snd_conffile.scm run: I couldn't get dynamic-link to work when running c-code on the fly.) -- From anders.vinjar at notam.uio.no Mon Jan 3 03:47:37 2005 From: anders.vinjar at notam.uio.no (Anders Vinjar) Date: Mon, 03 Jan 2005 12:47:37 +0100 Subject: [CM] clm importing back In-Reply-To: <4FE3BC33-5CEA-11D9-BD1C-000A95674CE4@uiuc.edu> (Rick Taube's message of "Sun, 2 Jan 2005 12:15:41 -0600") References: <4FE3BC33-5CEA-11D9-BD1C-000A95674CE4@uiuc.edu> Message-ID: Seems to work fine here on linux (FC2) and cmucl-19a. >>> "RT" == Rick Taube writes: RT> I forgot to mention in yesterday's post that clm importing is working RT> again and you can import .clm files directly to plotter. here is a RT> snippit that will display clm/fmviolin.clm in piano roll notation. [ RT> Ive only tried this on osx -- i cant compile clm on my demudi machine RT> yet because it cant find x11 headers/libs and im still trying to RT> figure out what to do...] From taube at uiuc.edu Mon Jan 3 06:26:44 2005 From: taube at uiuc.edu (Rick Taube) Date: Mon, 3 Jan 2005 08:26:44 -0600 Subject: [CM] clm importing back In-Reply-To: References: <4FE3BC33-5CEA-11D9-BD1C-000A95674CE4@uiuc.edu> Message-ID: <7E63CA10-5D93-11D9-99E7-000A95674CE4@uiuc.edu> On Jan 3, 2005, at 5:47 AM, Anders Vinjar wrote: > Seems to work fine here on linux (FC2) and cmucl-19a. thats great thanks for testing. now to get sound output from plotter working... From bil at ccrma.Stanford.EDU Wed Jan 5 06:01:45 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 05 Jan 2005 06:01:45 -0800 Subject: [CM] Snd 7.9 Message-ID: <41DBF349.6060000@ccrma> Snd 7.9 bugfixes/improvements thanks to Kjetil Matheussen, including one in the granulate generator that affected the "jitter" argument. also eval-c.scm. added: tools/snd.supp -- Valgrind suppressions file for Snd (valgrind turned up a bunch of tricky little bugs) quick.html mark-tag-width|height after-save-as-hook, replacing emacs-style-save-as (see snd7.scm) more virtual ops (and removed the "xen-channel" fallback option -- this affects the next-to-last optional arg to ptree-channel) xg (gtk) type checking is much fussier now. CMN: woodblock glyph and bugfixes from Anders Vinjar. checked: Guile 1.6.6, gtk 2.5.6 and 2.6.0, sbcl 0.8.17 and 0.8.18 with much help from: Eric Sandall, Julian Stecklina, Kjetil S. Matheussen, Bruce Beach, Roman Kosellek, Tim Blechmann, Gary Scavone, Michael Uplawski, Anders Vinjar, Russell Aspinwall. From brucembeach at shaw.ca Wed Jan 5 10:15:21 2005 From: brucembeach at shaw.ca (brucembeach at shaw.ca) Date: Wed, 5 Jan 2005 10:15:21 -0800 (PST) Subject: [CM] Snd 7.9 In-Reply-To: <41DBF349.6060000@ccrma> References: <41DBF349.6060000@ccrma> Message-ID: On Wed, 5 Jan 2005, Bill Schottstaedt wrote: > Snd 7.9 > How are you distributing it? http://ccrma.stanford.edu/software/snd/ returns snd-7.tar.??? and http://ccrma.stanford.edu/software/snd/ only lists snd-7-9.src.rpm. Bruce From bil at ccrma.Stanford.EDU Thu Jan 6 04:01:26 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 06 Jan 2005 04:01:26 -0800 Subject: [CM] Snd 7.9 In-Reply-To: References: <41DBF349.6060000@ccrma> Message-ID: <41DD2896.8080302@ccrma> > How are you distributing it? http://ccrma.stanford.edu/software/snd/ > returns snd-7.tar.??? and http://ccrma.stanford.edu/software/snd/ > only lists snd-7-9.src.rpm. The line "Linux snd binary..." refers to the i386 rpm file. snd-7.tar.gz is the current (daily update) version. The stable 7.9 tarfile would normally be at sourceforge, but I couldn't access sourceforge yesterday -- I'll keep trying. From gvc at ocsystems.com Sun Jan 9 18:30:30 2005 From: gvc at ocsystems.com (G. Vincent Castellano) Date: Sun, 09 Jan 2005 21:30:30 -0500 Subject: [CM] Running snd when sound device unavailable Message-ID: <41E1E8C6.109@ocsystems.com> I've been tearing my hair out lately trying to figure out why snd only starts up under certain circumstances on my machine, and I've finally got it figured out: if the sound device is in use, snd will just hang. Here's the traceback (which I got from gdb): Starting program: /usr/local/bin/snd /tmp/blurt.wav [Thread debugging using libthread_db enabled] [New Thread -151103264 (LWP 5237)] Program received signal SIGINT, Interrupt. [Switching to Thread -151103264 (LWP 5237)] 0x00a267a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 (gdb) where #0 0x00a267a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00af6c03 in __open_nocancel () from /lib/tls/libc.so.6 #2 0x03fff5c2 in snd_pcm_hw_open () from /lib/libasound.so.2 #3 0x03fffa60 in _snd_pcm_hw_open () from /lib/libasound.so.2 #4 0x03ff1893 in snd_pcm_close () from /lib/libasound.so.2 #5 0x03ff1e78 in snd_pcm_close () from /lib/libasound.so.2 #6 0x0805d11c in alsa_get_hardware_params (name=0x813a9e0 "hw:0,0", stream=SND_PCM_STREAM_CAPTURE, mode=2) at audio.c:3842 #7 0x0805d5ab in alsa_mus_audio_initialize () at audio.c:4051 #8 0x0805ce9e in mus_audio_initialize () at audio.c:3509 #9 0x0806174f in mus_sound_initialize () at sound.c:233 #10 0x080c0045 in main (argc=2, argv=0xfeef2ed4) at snd.c:148 The program accessing the sound hardware at the time is brec_gramo from the gramofile package. System is Fedora Core 3 PIII, snd 7.0. Is there some way to tell snd to defer initing its sound interface until the device is available? Or to operate without a sound device at all? Another minor annoyance is that if I start snd with: (set! (channel-style ) channels-superimposed) Then the shading identifying a selected region becomes invisible because it gets XOR-ed between the two channels. Is there a way to make the selection visible when using superimposed channels? Hoping this is the right forum for questions, let me know where to go if not. --gvc From bil at ccrma.Stanford.EDU Tue Jan 11 03:49:39 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 11 Jan 2005 03:49:39 -0800 Subject: [CM] channels superimposed and selections In-Reply-To: <41E1E8C6.109@ocsystems.com> References: <41E1E8C6.109@ocsystems.com> Message-ID: <41E3BD53.3000800@ccrma> > Another minor annoyance is that if I start snd with: > (set! (channel-style ) channels-superimposed) > Then the shading identifying a selected region becomes invisible I think this is fixed now. There are still other bugs in this part of Snd. Thanks for the bug report! From joshp at u.washington.edu Tue Jan 11 14:25:51 2005 From: joshp at u.washington.edu (Josh Parmenter) Date: Tue, 11 Jan 2005 14:25:51 -0800 Subject: [CM] cm 2.5 Message-ID: <41E4526F.9080907@u.washington.edu> Hi Rick, I was trying to download CM 2.5 (to try out the new plotter) and am having problems logging in to CVS. Using this command: cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/commonmusic login I get this response afte rhitting enter for the password: cvs [login aborted]: unrecognized auth response from cvs.sourceforge.net: M PserverBackend::PserverBackend() Connect (Connection refused). I'm running this from a Terminal on a Mac according to the directions posted at: http://pinhead.music.uiuc.edu/~hkt/cm/doc/install.html#restore_cvs Any ideas? Or is there another location where I can download the sources? Thanks for any help. Best, Josh -- ****************************************** Joshua D. Parmenter Graduate Student, Music Composition http://students.washington.edu/joshp "...Some people think a composer's supposed to please them, but in a way a composer is a chronicler... He's supposed to report on what he's seen and lived." -Charles Mingus From rm at fabula.de Tue Jan 11 14:36:02 2005 From: rm at fabula.de (rm at fabula.de) Date: Tue, 11 Jan 2005 23:36:02 +0100 Subject: [CM] cm 2.5 In-Reply-To: <41E4526F.9080907@u.washington.edu> References: <41E4526F.9080907@u.washington.edu> Message-ID: <20050111223602.GF20547@seid-online.de> On Tue, Jan 11, 2005 at 02:25:51PM -0800, Josh Parmenter wrote: > Hi Rick, > > I was trying to download CM 2.5 (to try out the new plotter) and am having > problems logging in to CVS. > > Using this command: > > cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/commonmusic login > > I get this response afte rhitting enter for the password: > > cvs [login aborted]: unrecognized auth response from cvs.sourceforge.net: M > PserverBackend::PserverBackend() Connect (Connection refused). > > I'm running this from a Terminal on a Mac according to the directions > posted at: > > http://pinhead.music.uiuc.edu/~hkt/cm/doc/install.html#restore_cvs > > Any ideas? Or is there another location where I can download the sources? Looks like sourforge cvs has (again) problems. I'm not shure there is a mirror for cm. HTH Ralf Mattes > Thanks for any help. > > Best, > > Josh > > > -- > ****************************************** > Joshua D. Parmenter > Graduate Student, Music Composition > http://students.washington.edu/joshp > > "...Some people think a composer's supposed to please them, but in a way a > composer is a chronicler... He's supposed to report on what he's seen and > lived." > -Charles Mingus > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Tue Jan 11 15:23:03 2005 From: taube at uiuc.edu (Rick Taube) Date: Tue, 11 Jan 2005 17:23:03 -0600 Subject: [CM] cm 2.5 In-Reply-To: <20050111223602.GF20547@seid-online.de> References: <41E4526F.9080907@u.washington.edu> <20050111223602.GF20547@seid-online.de> Message-ID: >> Any ideas? Or is there another location where I can download the >> sources? > Looks like sourforge cvs has (again) problems. > I'm not shure there is a mirror for cm. The developer cvs connecton to sf.net is working. If the anonymous sever is not up by tomorrow please let me know and Ill put a tarball on pinhead. Actually maybe I should do this automatically each day -- if anyone has experience setting something like this up please tell me where i can learn about it --rick From joshp at u.washington.edu Tue Jan 11 15:28:57 2005 From: joshp at u.washington.edu (Josh Parmenter) Date: Tue, 11 Jan 2005 15:28:57 -0800 Subject: [CM] cm 2.5 In-Reply-To: References: <41E4526F.9080907@u.washington.edu> <20050111223602.GF20547@seid-online.de> Message-ID: <41E46139.6080105@u.washington.edu> Thanks Rick, Josh ****************************************** Joshua D. Parmenter Graduate Student, Music Composition http://students.washington.edu/joshp "...Some people think a composer's supposed to please them, but in a way a composer is a chronicler... He's supposed to report on what he's seen and lived." -Charles Mingus Rick Taube wrote: > >>> Any ideas? Or is there another location where I can download the >>> sources? >> >> Looks like sourforge cvs has (again) problems. >> I'm not shure there is a mirror for cm. > > > The developer cvs connecton to sf.net is working. If the anonymous sever > is not up by tomorrow please let me know and Ill put a tarball on > pinhead. Actually maybe I should do this automatically each day -- if > anyone has experience setting something like this up please tell me > where i can learn about it > > --rick > From k.s.matheussen at notam02.no Fri Jan 21 06:56:38 2005 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Fri, 21 Jan 2005 15:56:38 +0100 (CET) Subject: [CM] [ANN] Snd-ls V0.9.2.0 Message-ID: http://www.notam02.no/arkiv/src/snd/ Snd-ls v0.9.2.0 --------------- Released 21.1.2005 Contains -------- Snd v7.10 from 20.1.2005 About ----- Snd-ls is a distribution of the sound editor Snd, made by Bill Schottstaedt. Its target is people that don't know scheme very well, and don't want to spend too much time configuring Snd. It can also serve as a quick introduction to Snd and how it can be set up. Install ------- 1. Edit the file config.scm, for configuration settings. 2. Run ./build 3. Run ./install as root. It is not necessarry to uninstall any previously installed versions of Snd. Snd-ls should not interfere with already installed versions. After installing, the name of the executable is "snd-ls". To uninstall, run ./uninstall Required packages ----------------- guile gtk-2 jack libsamplerate ladspa liblrdf fftw3 libxt-dev (guile-devel, gtk-2-devel, liblrdf-devel and gcc is also needed at runtime) Changes ------- 0.9.2-beta1 -> 0.9.2.0 -Updated SND to v7.10 from 20.1.2005. Many important changes. 0.9.1.5 -> 0.9.2-beta1 -Updated SND to v7.8 from 12.8.2004. Many important changes. 0.9.1.4 -> 0.9.1.5: -Made the apply-button always apply to selection if there is a selection. 0.9.1.3 -> 0.9.1.4: -Removed some options from the edit-menu that interfered with the way snd_conffile works. 0.9.1.2 -> 0.9.1.3: -Made the insert-option in the edit-menu insert monofiles into the currently selected channel. -Added libxt-dev to the list of required packages. (Thanks to robin) -Made mono-files play in both left and right channel when using Jack. 0.9.1.1 -> 0.9.1.2: -Short fix for the nodeline-class. 0.9.1 -> 0.9.1.1: -Fixed Append File edit-menu option. -Workaround for trouble with ladspa default settings. 0.9.0 -> 0.9.1: -Official announced. -Upgraded SND from 20.7.2004 to 2.8.2004 -Huge amount of testing at Notam by 14 unexperienced guinea pigs for a whole week; many bugs fixed. Links ----- Snd: http://ccrma.stanford.edu/software/snd/ Guile: http://www.gnu.org/software/guile/guile.html Credits ------- Snd is made by Bill Schottstaedt. This small package is put together by Kjetil Matheussen / Notam, with consulting help from Bill Schottstaedt. -- From wsack at acsu.buffalo.edu Fri Jan 21 10:18:45 2005 From: wsack at acsu.buffalo.edu (Bill Sack) Date: Fri, 21 Jan 2005 13:18:45 -0500 Subject: [CM] clm-3 and cmucl-19a problem Message-ID: <41F14785.7050606@acsu.buffalo.edu> hi all, in trying to migrate to cmucl and clm-3, i may have come up with an issue. i get segfaults everytime i run a particular instrument, and i think i've narrowed it down to this: declaring a variable in the run loop with 'let,' then setting it to another value later on. z.B.: ... (run (loop for blah (let ((this something)) (setf this another_thing) ... i have acl5 on another machine, but haven't gotten around to switching it over to clm-3 - i haven't checked whether this will also kill acl. other details: cmucl-19a, fc1 linux attached find the offending .ins file. thanks, bill -- _________ Bill Sack wsack(a)acsu.buffalo.edu ---------------------- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bad.ins URL: From juanig at ccrma.Stanford.EDU Sat Jan 22 09:01:26 2005 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Sat, 22 Jan 2005 12:01:26 -0500 Subject: [CM] Snd tips and tutorials Message-ID: <1106413285.30643.45.camel@strawberri.maginvent.org> For those interested in tackling a bit of Scheme I have updated the Snd section of Users- at -PlanetCCRMA with few tips and synthesis tutorials for using Snd as a "real" composition engine and as a signal processing tool. Here are the links: http://ccrma.stanford.edu/guides/planetccrma/SND.html http://ccrma.stanford.edu/guides/planetccrma/FM.html http://ccrma.stanford.edu/guides/planetccrma/Additive.html http://ccrma.stanford.edu/guides/planetccrma/Digital.html http://ccrma.stanford.edu/guides/planetccrma/Ladspa.html --* Juan From epsobolik at rcn.com Sat Jan 22 09:12:03 2005 From: epsobolik at rcn.com (Phil Sobolik) Date: Sat, 22 Jan 2005 12:12:03 -0500 Subject: [CM] midi msgs Message-ID: <5.2.1.1.2.20050122120258.01cad338@pop.rcn.com> I want to send program change msgs to my Yamaha P-60 in CM. The P-60 does this with a combination of a program change msgs and a bank select/control change msg. Is there a (make-control-change ...)? Are the (make-...) midi msg constructors documented anywhere? The dictionary doesn't seem to mention them. Chapter 21 of Notes From the Metalevel mentions a few of them, but not in detail. Phil Sobolik From taube at uiuc.edu Sat Jan 22 10:41:55 2005 From: taube at uiuc.edu (Rick Taube) Date: Sat, 22 Jan 2005 12:41:55 -0600 Subject: [CM] midi msgs In-Reply-To: <5.2.1.1.2.20050122120258.01cad338@pop.rcn.com> References: <5.2.1.1.2.20050122120258.01cad338@pop.rcn.com> Message-ID: <4A654CB0-6CA5-11D9-A280-000D935889B0@uiuc.edu> > Are the (make-...) midi msg constructors documented anywhere? The > dictionary doesn't seem to mention them. If you are using cm 2.4.2 then these functions are not documented except perhaps in the source code itself (midi1.scm, i think) If you are using the cm 2.5.0 cvs sources then its easler because (1) there is documentation with examples and (2) you don't need those functions anymore because midi messages have been implemented as classes. midi-program-change: http://pinhead.music.uiuc.edu/~hkt/cm/doc/dict/midi-program-change- cls.html midi event classes: http://pinhead.music.uiuc.edu/~hkt/cm/doc/dict/midi- topic.html#midi_event_classes > Chapter 21 of Notes From the Metalevel mentions a few of them, but not > in detail. > > Phil Sobolik > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Mon Jan 24 03:18:26 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 Jan 2005 03:18:26 -0800 Subject: [CM] clm-3 and cmucl-19a problem In-Reply-To: <41F14785.7050606@acsu.buffalo.edu> References: <41F14785.7050606@acsu.buffalo.edu> Message-ID: <41F4D982.7050208@ccrma> > i get segfaults everytime i run a particular instrument... There were several bugs here, but the one causing the segfault involved the "skip" argument -- if it caused the readin start location to be too big, mus_make_readin got confused because of a "cut-and-paste" typo in mus.lisp (mus-location where I meant mus-channel). Thanks for the bug report! I think squelchy needs a couple more checks for the stereo case: (definstrument squelchy (beg dur file skip squelch) (let* ((skipsamp (floor (* (or skip 0) (sound-srate file)))) (fdA (open-input file :channel 0 :start skipsamp :verbose t)) (two-chans (and (= (sound-chans file) 2) (= (mus-channels *output*) 2))) (fdB (and two-chans (open-input file :channel 1 :start skipsamp :verbose t))) (rdA (make-readin fdA)) (rdB (and two-chans (make-readin fdB))) (st (floor (* *srate* beg))) (nd (+ st (floor (* *srate* dur))))) (run (loop for i from st below nd do (let ((outvalA (readin rdA)) (outvalB (if two-chans (readin rdB) 0.0))) (if (< (* -1 squelch) outvalA squelch) (setf outvalA 0)) (if (and two-chans (< (* -1 squelch) outvalB squelch)) (setf outvalB 0)) (outa i outvalA) (if two-chans (outb i outvalB))) )) (close-input fdA) (if two-chans (close-input fdB)))) From njcross at sbcglobal.net Sun Jan 30 10:44:06 2005 From: njcross at sbcglobal.net (njcross at sbcglobal.net) Date: Sun, 30 Jan 2005 10:44:06 -0800 Subject: [CM] [SND] Illegal instruction (core dumped) Message-ID: <200501301044.07049.njcross@sbcglobal.net> I'm using snd7 with jack (Mandrake 10.1 PPC) and when I want to record I get this: [root at localhost root]# snd dev: 0 Warning, jacks samplerate is 44100 (and not 22050), and the recording will use this samplerate too. dev: 65536 Warning, jacks samplerate is 44100 (and not 22050), and the recording will use this samplerate too. Illegal instruction (core dumped) [root at localhost root]# snd then disappears. How do I permanently change snd's samplerate to 44100? Is that the problem? Nev. From k.s.matheussen at notam02.no Sun Jan 30 12:57:52 2005 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sun, 30 Jan 2005 21:57:52 +0100 (CET) Subject: [CM] Re: [SND] Illegal instruction (core dumped) In-Reply-To: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> References: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> Message-ID: > > I'm using snd7 with jack (Mandrake 10.1 PPC) and when I want to record I get > this: > > [root at localhost root]# snd > dev: 0 > Warning, jacks samplerate is 44100 (and not 22050), and the recording will use > this samplerate too. > dev: 65536 > Warning, jacks samplerate is 44100 (and not 22050), and the recording will use > this samplerate too. > Illegal instruction (core dumped) > [root at localhost root]# > > snd then disappears. How do I permanently change snd's samplerate to 44100? > Is that the problem? Not sure what the problem is. But recording with jack in snd with the recording panel does not work. Just ignore the error messages, I don't think they make sense. -- From brucembeach at shaw.ca Sun Jan 30 13:29:56 2005 From: brucembeach at shaw.ca (brucembeach at shaw.ca) Date: Sun, 30 Jan 2005 13:29:56 -0800 (PST) Subject: [CM] Re: [SND] Illegal instruction (core dumped) In-Reply-To: References: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> Message-ID: >> I'm using snd7 with jack (Mandrake 10.1 PPC) and when I want to record I >> get this: ... ... >> ... ... Illegal instruction (core dumped) > > Not sure what the problem is. But recording with jack in snd with > the recording panel does not work. Just ignore the error messages, I don't > think they make sense. >> Illegal instruction (core dumped) Looks like the binary was compiled for a more advanced processor than the processor doing the execution. Bruce From k.s.matheussen at notam02.no Sun Jan 30 13:38:59 2005 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sun, 30 Jan 2005 22:38:59 +0100 (CET) Subject: [CM] Re: [SND] Illegal instruction (core dumped) In-Reply-To: References: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> Message-ID: On Sun, 30 Jan 2005 brucembeach at shaw.ca wrote: > > >> I'm using snd7 with jack (Mandrake 10.1 PPC) and when I want to record I > >> get this: ... ... > >> ... ... Illegal instruction (core dumped) > > > > Not sure what the problem is. But recording with jack in snd with > > the recording panel does not work. Just ignore the error messages, I don't > > think they make sense. > > >> Illegal instruction (core dumped) > > Looks like the binary was compiled for a more advanced processor > than the processor doing the execution. > Might be. But recording with jack with the recording panel in snd has never worked. -- From brucembeach at shaw.ca Sun Jan 30 13:48:19 2005 From: brucembeach at shaw.ca (brucembeach at shaw.ca) Date: Sun, 30 Jan 2005 13:48:19 -0800 (PST) Subject: [CM] sound internal format? In-Reply-To: References: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> Message-ID: On Sun, 30 Jan 2005, Kjetil Svalastog Matheussen wrote: > On Sun, 30 Jan 2005 brucembeach at shaw.ca wrote: > > >> I'm using snd7 with jack (Mandrake 10.1 PPC) and when I want to record I > > >> get this: ... ... > > >> ... ... Illegal instruction (core dumped) > > > > > > Not sure what the problem is. But recording with jack in snd with > > > the recording panel does not work. Just ignore the error messages, I don't > > > think they make sense. > > > > >> Illegal instruction (core dumped) > > > > Looks like the binary was compiled for a more advanced processor > > than the processor doing the execution. > > > > Might be. But recording with jack with the recording panel in snd has > never worked. Sure. It just looks like two different problems are happening. By the way, when a file is loaded into snd is it internally stored as a floating point format? Bruce From k.s.matheussen at notam02.no Sun Jan 30 14:02:44 2005 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sun, 30 Jan 2005 23:02:44 +0100 (CET) Subject: [CM] Re: sound internal format? In-Reply-To: References: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> Message-ID: On Sun, 30 Jan 2005 brucembeach at shaw.ca wrote: > On Sun, 30 Jan 2005, Kjetil Svalastog Matheussen wrote: > > > On Sun, 30 Jan 2005 brucembeach at shaw.ca wrote: > > > >> I'm using snd7 with jack (Mandrake 10.1 PPC) and when I want to record I > > > >> get this: ... ... > > > >> ... ... Illegal instruction (core dumped) > > > > > > > > Not sure what the problem is. But recording with jack in snd with > > > > the recording panel does not work. Just ignore the error messages, I don't > > > > think they make sense. > > > > > > >> Illegal instruction (core dumped) > > > > > > Looks like the binary was compiled for a more advanced processor > > > than the processor doing the execution. > > > > > > > Might be. But recording with jack with the recording panel in snd has > > never worked. > > By the way, when a file is loaded into snd is it internally > stored as a floating point format? I'm not the best person to answer this question, but since I'm already here, I'l try, although its probably wrong... :-) Files are not loaded into snd completely, but parts of the files are read from disk when needed. Internally, snd use floating points, unless it has been configured with --use-double-as-floats (or whatever the name of the option was), which in case it will use doubles. (Hopefully, Bill will correct any errors in the above statement.) -- From brucembeach at shaw.ca Sun Jan 30 15:01:08 2005 From: brucembeach at shaw.ca (brucembeach at shaw.ca) Date: Sun, 30 Jan 2005 15:01:08 -0800 (PST) Subject: [CM] Re: sound internal format? In-Reply-To: References: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> Message-ID: On Sun, 30 Jan 2005, Kjetil Svalastog Matheussen wrote: >> By the way, when a file is loaded into snd is it internally >> stored as a floating point format? > > I'm not the best person to answer this question, but since I'm already > here, I'l try, although its probably wrong... :-) > Files are not loaded into snd completely, but parts of the files are > read from disk when needed. Internally, snd use floating points, unless > it has been configured with --use-double-as-floats (or whatever the > name of the option was), which in case it will use doubles. > (Hopefully, Bill will correct any errors in the above statement.) Sounds about right. Thanks From bil at ccrma.Stanford.EDU Mon Jan 31 04:00:40 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 31 Jan 2005 04:00:40 -0800 Subject: [CM] sound internal format? In-Reply-To: References: <20050130200001.9660.12504.Mailman@cm-mail.stanford.edu> Message-ID: <41FE1DE8.3020809@ccrma> > By the way, when a file is loaded into snd is it internally > stored as a floating point format? The default is to use 32-bit ints with 24-bits of "fraction". This dates back to the days when floats were too slow to contemplate -- perhaps it's time to change the default. If you build Snd with the configure switch --with-float-samples, it stores the samples internally as floats (I've been using this flag for a long time -- I sort of forgot about the whole issue). If you change formats, you'll need to clear out your old peak-env directory, if any, because it stores its data in Snd's internal format. The other original reason to use ints was that back in those days, all sound data was stored as some sort of integer, and I felt that an editor ought to have a certain "reverence for the data" -- bit-wise fidelity to the extent possible. From bil at ccrma.Stanford.EDU Mon Jan 31 04:03:36 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 31 Jan 2005 04:03:36 -0800 Subject: [CM] [SND] Illegal instruction (core dumped) In-Reply-To: <200501301044.07049.njcross@sbcglobal.net> References: <200501301044.07049.njcross@sbcglobal.net> Message-ID: <41FE1E98.3030602@ccrma> > Illegal instruction (core dumped) > [root at localhost root]# > snd then disappears. How do I permanently change snd's samplerate to 44100? If possible, run Snd under gdb and send me the stack trace (though it's rarely useful in a case like this). To change the recorder's default srate, set the variable recorder-srate: (set! (recorder-srate) 44100) From bil at ccrma.Stanford.EDU Mon Jan 31 04:35:27 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 31 Jan 2005 04:35:27 -0800 Subject: [CM] [SND] Illegal instruction (core dumped) In-Reply-To: <200501301044.07049.njcross@sbcglobal.net> References: <200501301044.07049.njcross@sbcglobal.net> Message-ID: <41FE260F.8090505@ccrma> > Mandrake 10.1 PPC I just noticed this -- linuxPPC? I had LinuxPPC running at home for about 3 days -- just to tell the tale would take another 3 days; the machine in question is now in a closet because I can't figure out how to dispose of it. I'm very interested in this port -- there were bus errors (now that I think back) that had to do with bizarre gcc mixups -- I remember fixing one -- audio.c line 9654. If you have nothing but time on your hands, perhaps I could send a tarball of the snd-test.scm test sound files to run snd-test on that system? From rm at fabula.de Mon Jan 31 05:09:44 2005 From: rm at fabula.de (rm at fabula.de) Date: Mon, 31 Jan 2005 14:09:44 +0100 Subject: [CM] [SND] Illegal instruction (core dumped) In-Reply-To: <41FE260F.8090505@ccrma> References: <200501301044.07049.njcross@sbcglobal.net> <41FE260F.8090505@ccrma> Message-ID: <20050131130944.GE8106@seid-online.de> On Mon, Jan 31, 2005 at 04:35:27AM -0800, Bill Schottstaedt wrote: > > Mandrake 10.1 PPC > > I just noticed this -- linuxPPC? I had LinuxPPC running at home > for about 3 days -- just to tell the tale would take another 3 days; > the machine in question is now in a closet because I can't figure > out how to dispose of it. I'm very interested in this port -- Can you elaborate? I'm using LinuxPPC/Debian for quite a while now. What where your problems? It's true that using a PPC shows a lot of sloppy programmers (no, little endian 32Bit isn't the only architecture in the world :-) > there were bus errors (now that I think back) that had to do > with bizarre gcc mixups -- I remember fixing one -- audio.c > line 9654. If you have nothing but time on your hands, perhaps > I could send a tarball of the snd-test.scm test sound files > to run snd-test on that system? Well, send it over, i'll try to test Cheers Ralf Mattes > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From njcross at sbcglobal.net Mon Jan 31 09:50:46 2005 From: njcross at sbcglobal.net (njcross) Date: Mon, 31 Jan 2005 09:50:46 -0800 Subject: [CM] [SND] Illegal instruction (core dumped) In-Reply-To: <41FE260F.8090505@ccrma> References: <200501301044.07049.njcross@sbcglobal.net> <41FE260F.8090505@ccrma> Message-ID: I'd be happy to run snd-test.scm. I've been running Linux on this Mac G3 'pismo' for a while,first with Yellowdog Linux 2.2 (seemed to work fine with 'snd' and now Mandrake.It's only the record with jack that causes the problem. Besides getting Dave's ladspa.scm menu to install it seems OK,so far- early days yet.Send me a tar ball, Best, Nev At 4:35 AM -0800 1/31/05, Bill Schottstaedt wrote: > > Mandrake 10.1 PPC > >I just noticed this -- linuxPPC? I had LinuxPPC running at home >for about 3 days -- just to tell the tale would take another 3 days; >the machine in question is now in a closet because I can't figure >out how to dispose of it. I'm very interested in this port -- >there were bus errors (now that I think back) that had to do >with bizarre gcc mixups -- I remember fixing one -- audio.c >line 9654. If you have nothing but time on your hands, perhaps >I could send a tarball of the snd-test.scm test sound files >to run snd-test on that system? From njcross at sbcglobal.net Mon Jan 31 09:57:31 2005 From: njcross at sbcglobal.net (njcross) Date: Mon, 31 Jan 2005 09:57:31 -0800 Subject: [CM] [SND] Illegal instruction (core dumped) In-Reply-To: <20050131130944.GE8106@seid-online.de> References: <200501301044.07049.njcross@sbcglobal.net> <41FE260F.8090505@ccrma> <20050131130944.GE8106@seid-online.de> Message-ID: It's so true about about the endian problem. I'm thinking of moving to a Thinkpad for this reason. At 2:09 PM +0100 1/31/05, rm at fabula.de wrote: > >Can you elaborate? I'm using LinuxPPC/Debian for quite a while now. >What where your problems? >It's true that using a PPC shows a lot of sloppy programmers >(no, little endian 32Bit isn't the only architecture in the world :-) > From njcross at sbcglobal.net Mon Jan 31 12:19:56 2005 From: njcross at sbcglobal.net (njcross at sbcglobal.net) Date: Mon, 31 Jan 2005 12:19:56 -0800 Subject: [CM] (set! (recorder-srate) 44100) Message-ID: <200501311219.57138.njcross@sbcglobal.net> When changing the srate I get: [root at localhost root]# snd dev: 0 dev: 65536 Illegal instruction (core dumped) [root at localhost root]# no change there!