From taube at uiuc.edu Sat Mar 1 05:38:09 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 1 Mar 2008 07:38:09 -0600 Subject: [CM] Grace: realtime audio with Csound5 In-Reply-To: <47C8E627.3000209@cesmail.net> References: <49FBB467-1DDB-47A8-A012-3024CD3CE2BC@uiuc.edu> <47C79A82.1010206@cesmail.net> <1B02FC67-1467-485C-9F10-F38BF3896152@uiuc.edu> <47C824A8.6000404@cesmail.net> <47C87275.7050907@cesmail.net> <6158A282-F9E9-4208-920A-D8C7A7C17DA2@uiuc.edu> <47C8E627.3000209@cesmail.net> Message-ID: > It turns out that there are two "includepaths", one for GraceCL and > one for Grace. I changed both of them and both GraceCL and Grace now > build with the "native" apps. thank you. > Next question: now that I have a successful build, how do I > "install" Grace? When I just start this is covered in the install.html here: http://pinhead.music.uiuc.edu/~hkt/grace/doc/install.html#installing note that if you install GraceCL you will need curl and svn because it downloads clm, cm and fomus From taube at uiuc.edu Sat Mar 1 06:02:12 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 1 Mar 2008 08:02:12 -0600 Subject: [CM] Grace: realtime audio with Csound5 In-Reply-To: <47C8D282.7030304@cesmail.net> References: <49FBB467-1DDB-47A8-A012-3024CD3CE2BC@uiuc.edu> <47C79A82.1010206@cesmail.net> <1B02FC67-1467-485C-9F10-F38BF3896152@uiuc.edu> <47C8D282.7030304@cesmail.net> Message-ID: <95F78CC9-6705-49D1-A7B6-5A640DCF4AAB@uiuc.edu> On Feb 29, 2008, at 9:50 PM, M. Edward (Ed) Borasky wrote: > By the way, the demo is awesome. :) This library belongs in Gentoo > (and Debian and Fedora, of course.) yes, juce a amazing bit of software and incredibly well designed. i dont know why it hasnt caught on so much in the linux audio midi community, kjetil is one of the few developers that is using it. you might consider logging onto the juce/linux mail list and telling them the problem. From taube at uiuc.edu Sat Mar 1 06:14:12 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 1 Mar 2008 08:14:12 -0600 Subject: [CM] gentoo window freezing In-Reply-To: <47C8D282.7030304@cesmail.net> References: <49FBB467-1DDB-47A8-A012-3024CD3CE2BC@uiuc.edu> <47C79A82.1010206@cesmail.net> <1B02FC67-1467-485C-9F10-F38BF3896152@uiuc.edu> <47C8D282.7030304@cesmail.net> Message-ID: > I went into the "Look-and-feel" menu and selected "Use native > window title bar". When I do that, I can't move the window with the > mouse. But when I turn that option off, I can move the window around. You should be able to do this in Grace too: look in the Console>Windows menu and uncheck "Native TitleBars" . then maybe you can move grace windows around. i think this settting gets saved in your preferences file. it would be nice to know if this works or not.. From errordeveloper at gmail.com Sat Mar 1 08:25:42 2008 From: errordeveloper at gmail.com (ilya =?utf-8?B?LtC0?=) Date: Sat, 1 Mar 2008 16:25:42 +0000 Subject: [CM] downsampling Message-ID: <20080301162542.GA486@00110101.errordevlopment.org.uk> hello list. i was really surprised not to find a downsampling feature in snd, actually i have expected downsampling to happend when i change the SR in the 'Save As ..' dialog. well, it's quite logical that that doesn't only changes the header information. so what i'm looking for is some handy downsampling option .. may there could be a tick next to SR filed in that 'Save As' dialog box? that would be really great! perhaps, it could be done why xm and hooks? i'm not very confident at using lisp in snd yet .. to half the sr i use (src-sound 0.5), right ? cheers, -- ilya .? From errordeveloper at gmail.com Sat Mar 1 09:16:13 2008 From: errordeveloper at gmail.com (errordeveloper at gmail.com) Date: Sat, 1 Mar 2008 17:16:13 +0000 Subject: [CM] ogg and flac hooks Message-ID: <20080301171613.GB486@00110101.errordevlopment.org.uk> i was trying to grep in the source tree, but couldn't really figure out .. what are the hooks for oggenc and flac compressions? ..if i'd like , for instance, to change the quality or anyother arguments .. From znmeb at cesmail.net Sat Mar 1 09:44:11 2008 From: znmeb at cesmail.net (M. Edward (Ed) Borasky) Date: Sat, 01 Mar 2008 09:44:11 -0800 Subject: [CM] Grace: realtime audio with Csound5 In-Reply-To: References: <49FBB467-1DDB-47A8-A012-3024CD3CE2BC@uiuc.edu> <47C79A82.1010206@cesmail.net> <1B02FC67-1467-485C-9F10-F38BF3896152@uiuc.edu> <47C824A8.6000404@cesmail.net> <47C87275.7050907@cesmail.net> <6158A282-F9E9-4208-920A-D8C7A7C17DA2@uiuc.edu> <47C8E627.3000209@cesmail.net> Message-ID: <47C995EB.5030605@cesmail.net> Heinrich Taube wrote: >> It turns out that there are two "includepaths", one for GraceCL and >> one for Grace. I changed both of them and both GraceCL and Grace now >> build with the "native" apps. > > thank you. > >> Next question: now that I have a successful build, how do I "install" >> Grace? When I just start > > this is covered in the install.html here: > > http://pinhead.music.uiuc.edu/~hkt/grace/doc/install.html#installing > > note that if you install GraceCL you will need curl and svn because it > downloads clm, cm and fomus > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > OK ... got that working. The documentation implies a dependency on emacs and slime. Are those in fact dependencies? I've got them installed already -- would it have installed them if I didn't? From bil at ccrma.Stanford.EDU Sat Mar 1 11:36:49 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 1 Mar 2008 11:36:49 -0800 Subject: [CM] downsampling In-Reply-To: <20080301162542.GA486@00110101.errordevlopment.org.uk> References: <20080301162542.GA486@00110101.errordevlopment.org.uk> Message-ID: <20080301193337.M59988@ccrma.Stanford.EDU> I think downsampling by a factor of 2 would be (src-sound 2) then save-as with the lower sampling rate. I don't think sampling rate conversion should happen automatically, but I suppose another button is always a possibility. From bil at ccrma.Stanford.EDU Sat Mar 1 11:40:22 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 1 Mar 2008 11:40:22 -0800 Subject: [CM] ogg and flac hooks In-Reply-To: <20080301171613.GB486@00110101.errordevlopment.org.uk> References: <20080301171613.GB486@00110101.errordevlopment.org.uk> Message-ID: <20080301193821.M46124@ccrma.Stanford.EDU> the default OGG and FLAC commands are in snd-file.c around line 2550. I didn't try to bring out all the options; if you want something special, there are examples in examp.scm (write-speex etc). From oded at ccrma.Stanford.EDU Sun Mar 2 12:59:09 2008 From: oded at ccrma.Stanford.EDU (Oded Ben-Tal) Date: Sun, 2 Mar 2008 12:59:09 -0800 (PST) Subject: [CM] reverb in grace/clm? In-Reply-To: <0C0E72CC-3C72-4712-9D45-C1AA3E16C511@uiuc.edu> References: <0C0E72CC-3C72-4712-9D45-C1AA3E16C511@uiuc.edu> Message-ID: > Hi, i have no idea where that printout is coming from! try switching to nrev > and tell me if that gives you reverb, that way we will know if its instrment > related or a more general problem: > I can get reverb going with nrev. So the problem relates to freeverb. But I don't think anything changed in freeverb in a long time. > You should be able to run clm/cm on fd5 inside or outside of graceCL. if SBCL > works then both clm and cm should working. if not then they can be fixed with > your help. I talked with nando about it and there is some broken dependency between the current version of sbcl and cm/clm compiled for sbcl in FC5 version of the planet. Hope fully nanco will be able to fix the problem. Oded From ugurguney at gmail.com Mon Mar 3 00:13:00 2008 From: ugurguney at gmail.com (=?UTF-8?Q?U=C4=9Fur_G=C3=BCney?=) Date: Mon, 3 Mar 2008 10:13:00 +0200 Subject: [CM] Grace 1.0.1 error Message-ID: <667f06560803030013nf1ad0dgb3cd7459de3b12bc@mail.gmail.com> # Hi, my friend wants to run common music on his Windows Xp machine and asked me how to install it and I said "There is Grace, it is easier to install" etc. # I downloaded Grace 1.0.1 from Sourceforge: http://sourceforge.net/project/showfiles.php?group_id=9766 # Run the Grace.exe. Opened a Lisp window. Write (+ 2 5) CTRL+ENTER and console gave "7". But when I wrote (new midi :time 0 :duration 1 :keynum 60) I get this error: >>> Error: unbound variable: new # What may be the problem do you think? I think lisp (chicken scheme) works but does not recognize common music commands? # (keynum->hertz 60) gave 261.625579833984. # (loop for i to 10 collect i) gave "unbound variable loop" # Have a nice day! -ugur guney- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jwmatthys at yahoo.com Mon Mar 3 01:13:06 2008 From: jwmatthys at yahoo.com (Joel Matthys) Date: Mon, 3 Mar 2008 03:13:06 -0600 Subject: [CM] CLM on GraceCL Message-ID: <003e01c87d0e$cb3c7410$0202a8c0@JOELVIAO> I'm running GraceCL on XP with CLISP 2.44. When I try to start CLM, I get the following error in the console: ;; Loading file C:\Program Files\GraceCL\Resources\clm-3\clm.asd ... ;; Loaded file C:\Program Files\GraceCL\Resources\clm-3\clm.asd ;; Loading file C:\Program Files\GraceCL\Resources\clm-3\all.lisp ... ; running cd C:\Program Files\GraceCL\Resources\clm-3\ && ./configure --quiet --with-doubles --with-float-samples >>> Error: Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified. Any suggestions? Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Mon Mar 3 03:37:17 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 3 Mar 2008 05:37:17 -0600 Subject: [CM] Grace 1.0.1 error In-Reply-To: <667f06560803030013nf1ad0dgb3cd7459de3b12bc@mail.gmail.com> References: <667f06560803030013nf1ad0dgb3cd7459de3b12bc@mail.gmail.com> Message-ID: <574A6AAE-AD0A-4C19-A377-A8552A60914A@uiuc.edu> > # What may be the problem do you think? I think lisp (chicken > scheme) works but does not recognize common music commands? Hi, the real answer is that Grace is not Common Music. The essential differece is that Grace has no object system and provides realtime scheduling -- these place certain constraints on what I can effectively bring over. Over time Grace will come to contain most of the useful features of CM but not exactly and not all of them will make it. For example the (new ...) macro wont be part of Grace because there is no object system. In Grace -- instead of creating objects and outputting them to files -- you just send data to ports that are always there: Common Music: (output (new midi :keynum 60 ) ) Grace Scheme: (send "mp:note" #:keynum 60 ) Grace SAL: send "mp:note, keynum: 60 the send way is (in my opinion) is simpler and is certanly less cons- full. > # (keynum->hertz 60) gave 261.625579833984. > # (loop for i to 10 collect i) gave "unbound variable loop" Im in the process of migrating Loop, Patterns and the Spectral stuff to Grace the next binary release, these are very easy to add and without name changes. However Maybe I should make Grace eqivalents be the same name as CM. I go back and forth on this im not sure what the best thing to do is: keep old comfortable names or take the opportuniny to make the names more schemey to reflect the underlying environment, eg: (keynum->hertz 60) -> (hertz 60) (send "note" :keynum 60) -> (send "mp:midi" :keynum 60) > # Have a nice day! > -ugur guney- you too! best, rick From taube at uiuc.edu Mon Mar 3 03:43:28 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 3 Mar 2008 05:43:28 -0600 Subject: [CM] CLM on GraceCL In-Reply-To: <003e01c87d0e$cb3c7410$0202a8c0@JOELVIAO> References: <003e01c87d0e$cb3c7410$0202a8c0@JOELVIAO> Message-ID: <3533DE0A-EC73-4E24-B784-F24F68529152@uiuc.edu> Hi As far as I know you cant run CLM on CLISP/Windows. Please correct me if Im wrong. Michael Edwards did get CLM running in AllegroCL/ Windows a few years ago. It might be possible to if you switch to SBCL/Windows. But of course you will need the gnu C compiler, a bash shell (cygwin or mingw ?) and some time/patience to get everything working. (trying to get clm/snd into chicken scheme is on my (infinite) todo list...) best, rick > I'm running GraceCL on XP with CLISP 2.44. When I try to start CLM, > I get the following error in the console: > > ;; Loading file C:\Program Files\GraceCL\Resources\clm-3\clm.asd ... > ;; Loaded file C:\Program Files\GraceCL\Resources\clm-3\clm.asd > ;; Loading file C:\Program Files\GraceCL\Resources\clm-3\all.lisp ... > ; running cd C:\Program Files\GraceCL\Resources\clm-3\ && ./ > configure --quiet --with-doubles --with-float-samples > >>> Error: > Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the > file specified. > > Any suggestions? > > Joel From bil at ccrma.Stanford.EDU Mon Mar 3 04:03:53 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 3 Mar 2008 04:03:53 -0800 Subject: [CM] CLM on GraceCL In-Reply-To: <003e01c87d0e$cb3c7410$0202a8c0@JOELVIAO> References: <003e01c87d0e$cb3c7410$0202a8c0@JOELVIAO> Message-ID: <20080303120122.M99889@ccrma.Stanford.EDU> There's a note about this, I think (I'm no windows expert), in README.clm -- you need to bypass the configure process on windows by copying two header files. As far as I know, you're the first to try clisp + windows, so I'm very interested in what happens. From juanig at ccrma.Stanford.EDU Mon Mar 3 09:33:40 2008 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Mon, 03 Mar 2008 12:33:40 -0500 Subject: [CM] duration equivalent on snd-rt Message-ID: <1204565620.4459.69.camel@strawberry.maginvent.org> Gentlemen, On CLM-3 and SND I get the actual duration of a sound (number of samples) by assigning the 'end' variable the following operation: (end (* dur *srate*) where dur is a defined parameter on definstrument or define* (scheme). How can I handle the same expression on snd-rt, since AFAIK in real-time, the duration parameter is arbitrary. Do I average or is there like a system handling mechanism which takes care of this issue?. The reason for this question is that in the case of delay-lines, lengths are pretty much function of durations and sampling-rate. Thanks a lot, --* Juan Reyes From taube at uiuc.edu Mon Mar 3 12:21:39 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 3 Mar 2008 14:21:39 -0600 Subject: [CM] Grace 1.0.1 error In-Reply-To: <667f06560803030013nf1ad0dgb3cd7459de3b12bc@mail.gmail.com> References: <667f06560803030013nf1ad0dgb3cd7459de3b12bc@mail.gmail.com> Message-ID: <502BA384-CB77-4C68-AA5A-EAA2AF647C28@uiuc.edu> > # (loop for i to 10 collect i) gave "unbound variable loop" turns out you can load cm's loop.scm into Grace and it will work. (load "/Lisp/cm/src/loop.scm") (loop for i to 10 collect i) => (0 1 2 3 4 5 6 7 8 9) there will be a compiled version in Grace in the next release. -------------- next part -------------- An HTML attachment was scrubbed... URL: From juanig at Maginvent.ORG Mon Mar 3 09:11:13 2008 From: juanig at Maginvent.ORG (Juan I Reyes) Date: Mon, 03 Mar 2008 12:11:13 -0500 Subject: [CM] duration equivalent on snd-rt Message-ID: <1204564273.4459.52.camel@strawberry.maginvent.org> Gentlemen, On CLM-3 and SND I get the actual duration of a sound (number of samples) by assigning the 'end' variable the following operation: (end (* dur *srate*) where dur is a defined parameter on definstrument or define* (scheme). How can I handle the same expression on snd-rt, since AFAIK in real-time, the duration parameter is arbitrary. Do I average or is there like a system handling mechanism which takes care of this issue?. The reason for this question is that in the case of delay-lines, lengths are pretty much function of durations and sampling-rate. Thanks a lot, --* Juan Reyes From bil at ccrma.Stanford.EDU Tue Mar 4 03:59:35 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 4 Mar 2008 03:59:35 -0800 Subject: [CM] downsampling In-Reply-To: <20080303223932.GC486@00110101.errordevlopment.org.uk> References: <20080301162542.GA486@00110101.errordevlopment.org.uk> <20080301193337.M59988@ccrma.Stanford.EDU> <20080303223932.GC486@00110101.errordevlopment.org.uk> Message-ID: <20080304115833.M56273@ccrma.Stanford.EDU> The sound's sampling rate is 'srate' (if loaded into Snd), or 'mus-sound-srate' (if not in Snd). (srate 0) (mus-sound-srate "oboe.snd") To set the sync field of all but the selected sound, (for-each (lambda (snd) (if (not (= snd (selected-sound))) (set! (sync snd) 1))) (sounds)) From lb at zkm.de Tue Mar 4 08:17:00 2008 From: lb at zkm.de (Ludger Bruemmer) Date: Tue, 4 Mar 2008 17:17:00 +0100 Subject: [CM] snd changing hardwares srate In-Reply-To: <47B23956.7090106@yahoo.com.br> References: <47B23956.7090106@yahoo.com.br> Message-ID: <95BEFF8F-4992-472E-8B41-718FF4399EB9@zkm.de> Hi all, Im working on a Motu 896HD with 192 Khz sampling rate and Snd on OSX 10.5 Snd switches the Motu automatically into 192 KHz mode and plays the sample (f.e. 44.1 Sample) about one! octave higher as desired. The default sample-rate in Preferences is set to 44.1. tried (set! (default-output-srate) 44100) in the .snd file but this did not have an effect. Does anyone know how to avoid Snd changing the hardware settings of the DAC? thanks Ludger Br?mmer Prof. Ludger Br?mmer Leitung Institut f?r Musik und Akustik Head 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: lb at zkm.de http://www.zkm.de/musik http://www.sumtone.com/lb -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Tue Mar 4 11:10:19 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 4 Mar 2008 11:10:19 -0800 Subject: [CM] snd changing hardwares srate In-Reply-To: <95BEFF8F-4992-472E-8B41-718FF4399EB9@zkm.de> References: <47B23956.7090106@yahoo.com.br> <95BEFF8F-4992-472E-8B41-718FF4399EB9@zkm.de> Message-ID: <20080304190405.M68298@ccrma.Stanford.EDU> This is a can of worms that others have complained about -- Charles Nichols, if I remember right, had a similar problem. When I compare my code to, say, portaudio, the only real difference is that they ignore the "error" returned at line 7313 in audio.c and just assume it's ok. I can't use that on my Mac (see the comment at that point), so I think I'll add a switch you can set to override it. Anyway, the first thing to try is to change that line to if (0) (i.e. disable the error check), and see if it's ok. If only there were a reliable way to play a sound. From awg at panix.com Tue Mar 4 23:57:38 2008 From: awg at panix.com (Arthur W. Green) Date: Wed, 5 Mar 2008 02:57:38 -0500 Subject: [CM] CM in Aquamacs 1.3a with SLIME - Apple + E doesn't work In-Reply-To: <1C2E784B-6E5D-4FF6-9807-4B52CC7CF563@uiuc.edu> References: <1C2E784B-6E5D-4FF6-9807-4B52CC7CF563@uiuc.edu> Message-ID: <5919E1E1-ADFA-48D7-AFBE-3F6A79EA20E7@panix.com> On Feb 28, 2008, at 2:28 PM, Jacob Rundall wrote: > With the last version I was using (distribution 1.2a) I could use > Apple+E to evaluate LISP code. With the new version 1.3a I can't - > I just get a message that says "The mark is not set now, so there > is no region". I can still evaluate code with ctrl-X ctrl-E, but > I'd like to be able to use Apple+E instead. Do I need to > reconfigure something? Yes. 1.3a's osx-key-mode introduced a new binding for cmd(/apple) +e. Because this is a minor mode that you will usually want enabled, this binding will take precedence over the one set in CM's cm.el. A quick, dirty way to settle this inconvenience is to rebind slime- eval-expr to an unused shortcut key in your .emacs file: (global-unset-key [(alt e)]) (define-key slime-mode-map [(alt y)] 'slime-eval-expr) Or you can change cm.el accordingly. \\ Arthur From johannes.quint at web.de Wed Mar 5 04:15:38 2008 From: johannes.quint at web.de (Johannes Quint) Date: Wed, 5 Mar 2008 13:15:38 +0100 Subject: [CM] gracecl, plotter etc Message-ID: <7E1C0D86-094F-4BC6-A8F6-A2CA7BDD28E0@web.de> rick, two questions about grace: o as far as i see, you don't plan to integrate plotter into gracecl. would it be a lot of work? (with scheme-grace, i have no interface to notation-software, right?, so it would be great to have both - plotter and fomus/mid in one application). o in scheme-grace, i get the following error while launching: Grace 1.0.0 (rev 1564) (c) 2007 Todd Ingalls, Rick Taube >>> Error: Failed to open midi device (dev=0). Chicken Scheme, version 3.0.0rc1 (c) 2000-2007 Felix L. Winkelmann i have tried to tinker around in the midi-config. but with no success. do you have a little hint for me...? thanks and best r. johannes _________________________ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://www.johannes-quint.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Mar 5 04:35:00 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 5 Mar 2008 06:35:00 -0600 Subject: [CM] CM in Aquamacs 1.3a with SLIME - Apple + E doesn't work In-Reply-To: <5919E1E1-ADFA-48D7-AFBE-3F6A79EA20E7@panix.com> References: <1C2E784B-6E5D-4FF6-9807-4B52CC7CF563@uiuc.edu> <5919E1E1-ADFA-48D7-AFBE-3F6A79EA20E7@panix.com> Message-ID: <6080A468-9CFD-4E89-B14B-3977D948E02C@uiuc.edu> thank you for answering this, i havent even had time yet to download the new aquamacs and find out. Im a little reluctant to hammer an aquamacs feature, perhaps i could move it to COMMAND-Return like gracecl. On Mar 5, 2008, at 1:57 AM, Arthur W. Green wrote: > > On Feb 28, 2008, at 2:28 PM, Jacob Rundall wrote: > >> With the last version I was using (distribution 1.2a) I could use >> Apple+E to evaluate LISP code. With the new version 1.3a I can't - >> I just get a message that says "The mark is not set now, so there >> is no region". I can still evaluate code with ctrl-X ctrl-E, but >> I'd like to be able to use Apple+E instead. Do I need to >> reconfigure something? > > > Yes. 1.3a's osx-key-mode introduced a new binding for cmd(/apple) > +e. Because this is a minor mode that you will usually want > enabled, this binding will take precedence over the one set in CM's > cm.el. > > A quick, dirty way to settle this inconvenience is to rebind slime- > eval-expr to an unused shortcut key in your .emacs file: > > (global-unset-key [(alt e)]) > (define-key slime-mode-map [(alt y)] 'slime-eval-expr) > > Or you can change cm.el accordingly. > > \\ Arthur > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Mar 5 05:23:40 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 5 Mar 2008 07:23:40 -0600 Subject: [CM] gracecl, plotter etc In-Reply-To: <7E1C0D86-094F-4BC6-A8F6-A2CA7BDD28E0@web.de> References: <7E1C0D86-094F-4BC6-A8F6-A2CA7BDD28E0@web.de> Message-ID: > o as far as i see, you don't plan to integrate plotter into gracecl. > would it be a lot of work? hello johannes plotter is part of the base c++ code in both apps. i simply havent had time to work on its feature set as ive been trying implement rt audio and port io. I will go back to plotter as soon as i get score buffer functionality added to ports. im close to having it working for csound. Once ports have score buffers all port menus will boast a "Display.." option that sends the current score buffer contents to plotter for GUI editing. > (with scheme-grace, i have no interface to notation-software, > right?, so it would be great > to have both - plotter and fomus/mid in one application). a couple of comments. first, fomus is in the process of being converted from Common Lisp to C++ , you can track its current state at its new home: https://sourceforge.net/projects/fomus once David has a libfomus I will implement a Fomus port in Grace and you will be able to send data to it from scheme. second, you can get notation out of grace right now if you have use the interapplication bus to route midi port output to a notation program. Jake Rundall was able to do this using Sibelius last week -- he put Sibelius in "record mode" with a measure countoff, then switched to Grace and evalled a sprout on the downbeat. The result was realtime midi data appearing in the Sibelus score. it was pretty cool to see. third, there is a project now underway here a uiuc that will contain a public domain, flexible, common practice notation tool implemented in JUCE with GUI windows and wysiwyg pdf output. Andrew actaully has score lines and crossplatform music fonts going, ill send a screenshot to the list once the first note appears :) > o in scheme-grace, i get the following error while launching: If you are on a mac you can fix this problem by activating the Interappliation Bus using the Audio/Midi Setup app. the error is not really a big deal, we attempt to open midi port[0] at startup, this is legacy code as we were working on the midi ports that will not be in the next release (since I am adding score buffers to ports their default state will be closed when Grace starts up.) If you are on linux i think you use jack to define a port (sorry i forget exactly what to do, ill have to add a note about this in the documentation) From mr.spoon21 at gmail.com Wed Mar 5 05:26:05 2008 From: mr.spoon21 at gmail.com (Mr.SpOOn) Date: Wed, 5 Mar 2008 14:26:05 +0100 Subject: [CM] CM and Knowledge Representation Message-ID: <8f67b6f80803050526y4449443clbaa153cae8734b4e@mail.gmail.com> Hi, I'm new here. I'd like to learn (and use) Common Music to generate music starting from some other music (possibly in a MIDI format) given in input. My idea is to use the input to reproduce music in a similar style. I think I can use Markov Chains for this particular purpose. My only requisite (because I have to do this for an Artificial Intelligence course) is that I have to use some form of knowledge representation (this is what the teacher asked me), but I'm not really sure what to represent, and how. I mean, is there any way to use some language to represent knowledge together with Common Music? Thanks, Carlo From taube at uiuc.edu Wed Mar 5 06:29:49 2008 From: taube at uiuc.edu (Rick Taube) Date: Wed, 5 Mar 2008 08:29:49 -0600 Subject: [CM] CM and Knowledge Representation In-Reply-To: <8f67b6f80803050526y4449443clbaa153cae8734b4e@mail.gmail.com> References: <8f67b6f80803050526y4449443clbaa153cae8734b4e@mail.gmail.com> Message-ID: <4338920E-FEC7-4623-90DD-04AD59791EF7@uiuc.edu> > My only requisite (because I have to do this for an Artificial > Intelligence course) is that I have to use some form of knowledge > representation (this is what the teacher asked me), but I'm not really > sure what to represent, and how. well, i dont want to answer that one too much since its what your teacher wants you to think about! however CM is implemented in Lisp, which is the Mother of All AI Languages and it would be straightforward for example to use Lisp lists to represent your "knowledge base" and then implement whatever code you want to processes these lists. People have beeen using Lisp for over 50 years to do exactly this. Any Intro to AI book will have chapters on forward and backward chaining systems implemented in lisp, scheme books will have examples of problem solving with call-with-current- continuation, etc. there are also a number of constraint systems written in lisp. > I mean, is there any way to use some > language to represent knowledge together with Common Music? with respect to cm, since its just lisp you can implement anything you want with it. for example if yo wre interested in Markov, your project could use cm to parse input data (importing midi files etc) and then use the markov-analyze function to compute markov chains and patterns that implement them from the data you bring in. you can use cm's scorefile functions to genreate your output in most common formats (.mid .clm .aiff .sco etc) > Thanks, Carlo > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Mar 5 07:37:15 2008 From: taube at uiuc.edu (Rick Taube) Date: Wed, 5 Mar 2008 09:37:15 -0600 Subject: [CM] gracecl, plotter etc In-Reply-To: <5C61432C-0323-4AA6-BFB7-DB6E6EB2C072@web.de> References: <7E1C0D86-094F-4BC6-A8F6-A2CA7BDD28E0@web.de> <5C61432C-0323-4AA6-BFB7-DB6E6EB2C072@web.de> Message-ID: > > > after doing this, grace starts without errors, but there is no > sound (i've tested 'Test Output' and scheme code). > any idea why? if you are sending data to the application bus on a mac then you need some sort of software synth to play the data you send. there is a nice, easy to use, free synth called SimpleSynth developed by Pete Yandell here: http://notahat.com/simplesynth (it looks like he is working on it again, there is a new release!) for real time midi from Grace do this: 1. start simple synth and select the application bus from its "midi source" menu 2. start Grace and select Application Bus for Midi Output. 3. try some of the examples in doc/scheme.html, both scheme and SAL should work in realtime. You can configure the midi port for microtonal output and sending specific program changes to you software synth, all this is under the MidiOut menu. From mr.spoon21 at gmail.com Wed Mar 5 10:33:53 2008 From: mr.spoon21 at gmail.com (Mr.SpOOn) Date: Wed, 5 Mar 2008 19:33:53 +0100 Subject: [CM] CM and Knowledge Representation In-Reply-To: <4338920E-FEC7-4623-90DD-04AD59791EF7@uiuc.edu> References: <8f67b6f80803050526y4449443clbaa153cae8734b4e@mail.gmail.com> <4338920E-FEC7-4623-90DD-04AD59791EF7@uiuc.edu> Message-ID: <8f67b6f80803051033r23cc5768rea8b4d99dbacdfe3@mail.gmail.com> On Wed, Mar 5, 2008 at 3:29 PM, Rick Taube wrote: however CM is implemented in Lisp, > which is the Mother of All AI Languages and it would be > straightforward for example to use Lisp lists to represent your > "knowledge base" and then implement whatever code you want to > processes these lists. People have beeen using Lisp for over 50 years > to do exactly this. Any Intro to AI book will have chapters on > forward and backward chaining systems implemented in lisp, Mmm, I downloaded the book "Common Lisp: the Language", but there isn't anything about chaining or knowledge representation. I also have the book "Artificial Intelligence, a modern approach", but there is nothing about Lisp. Do you know a tutorial/link/whatever to learn how to do backward chaining in Lisp? The problem is that the teacher, during the course, covered a lot of arguments, from Lisp, to Prolog, to description logics, to the semantic web, so I know very few things about a lot of things. That's not useful. > with respect to cm, since its just lisp you can implement anything > you want with it. for example if yo wre interested in Markov, your > project could use cm to parse input data (importing midi files etc) > and then use the markov-analyze function to compute markov chains > and patterns that implement them from the data you bring in. you can > use cm's scorefile functions to genreate your output in most common > formats (.mid .clm .aiff .sco etc) Great! This is exactly what I wanted to do. With a knowledge base I think I can represent relationships beetween notes, or I can specify some harmony rules. Just I don't know how to implement them in Common Lisp. Thanks again, bye. From reiners at us.ibm.com Wed Mar 5 10:51:47 2008 From: reiners at us.ibm.com (Paul D Reiners) Date: Wed, 5 Mar 2008 12:51:47 -0600 Subject: [CM] Notes from the Metalevel CD Message-ID: My copy of the Notes from the Metalevel book didn't come with a CD. Is it possible to download the contents of the CD from somewhere? -------------- next part -------------- An HTML attachment was scrubbed... URL: From reiners at us.ibm.com Wed Mar 5 10:52:47 2008 From: reiners at us.ibm.com (Paul D Reiners) Date: Wed, 5 Mar 2008 12:52:47 -0600 Subject: [CM] Common Music on Windows Message-ID: Are there any easy to follow instructions for installing and running Common Music on Windows available anywhere? I have managed to successfully install and can run CLisp, but cannot figure out how to run Common Music using CLisp. -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Mar 5 11:13:07 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 5 Mar 2008 13:13:07 -0600 Subject: [CM] CM and Knowledge Representation In-Reply-To: <8f67b6f80803051033r23cc5768rea8b4d99dbacdfe3@mail.gmail.com> References: <8f67b6f80803050526y4449443clbaa153cae8734b4e@mail.gmail.com> <4338920E-FEC7-4623-90DD-04AD59791EF7@uiuc.edu> <8f67b6f80803051033r23cc5768rea8b4d99dbacdfe3@mail.gmail.com> Message-ID: <4CC40D10-ED6B-4C93-8809-4E28F9FC66E3@uiuc.edu> > Mmm, I downloaded the book "Common Lisp: the Language", but there > isn't anything about chaining or knowledge representation. CLTL is is the language reference, not a book about ai programming. its a great book but not what you want > I also have > the book "Artificial Intelligence, a modern approach", but there is > nothing about Lisp. well, before Norvig did this book he did once called Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp here is a link to it: http://www.norvig.com/paip.html > Do you know a tutorial/link/whatever to learn how to do backward > chaining in Lisp? > The problem is that the teacher, during the course, covered a lot of > arguments, from Lisp, to Prolog, to description logics, to the > semantic web, so I know very few things about a lot of things. That's > not useful. the easiest intro to symbolic computation in lisp and ai stuff might still be Winston and Horn (ive not stayed in touch with AI for some years so dont really know...), it covered list representation, pattern matching (ie unification for IF THEN statements in "expert systems") and i think he covers chaining. > Great! This is exactly what I wanted to do. > With a knowledge base I think I can represent relationships beetween > notes, or I can specify some harmony rules. Just I don't know how to > implement them in Common Lisp. another good intro is Touretzky, he covers most stuff http://www.cs.cmu.edu/~dst/LispBook/ From ugurguney at gmail.com Wed Mar 5 12:43:28 2008 From: ugurguney at gmail.com (=?UTF-8?Q?U=C4=9Fur_G=C3=BCney?=) Date: Wed, 5 Mar 2008 22:43:28 +0200 Subject: [CM] Notes from the Metalevel CD In-Reply-To: References: Message-ID: <667f06560803051243y7a5d06c4o466d1c9f629fa4b0@mail.gmail.com> # I have the same problem. But forgot to ask to the list about that. I bought the book from amazon.com. -ugur guney- On Wed, Mar 5, 2008 at 8:51 PM, Paul D Reiners wrote: > > My copy of the *Notes from the Metalevel *book didn't come with a CD. Is > it possible to download the contents of the CD from somewhere? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ugurguney at gmail.com Wed Mar 5 12:47:53 2008 From: ugurguney at gmail.com (=?UTF-8?Q?U=C4=9Fur_G=C3=BCney?=) Date: Wed, 5 Mar 2008 22:47:53 +0200 Subject: [CM] Common Music on Windows In-Reply-To: References: Message-ID: <667f06560803051247j11ab3a93u16a3678884c592a9@mail.gmail.com> # Hi, # You can try GraceCL: http://sourceforge.net/project/showfiles.php?group_id=9766&package_id=260584 # You should only configure where the lisp executable is. I think installing GraceCL is easier than installing Emacs+Slime+Common Music. -ugur- On Wed, Mar 5, 2008 at 8:52 PM, Paul D Reiners wrote: > > Are there any easy to follow instructions for installing and running > Common Music on Windows available anywhere? I have managed to successfully > install and can run CLisp, but cannot figure out how to run Common Music > using CLisp. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From reiners at us.ibm.com Wed Mar 5 13:26:59 2008 From: reiners at us.ibm.com (Paul D Reiners) Date: Wed, 5 Mar 2008 15:26:59 -0600 Subject: [CM] CM and Knowledge Representation In-Reply-To: <4CC40D10-ED6B-4C93-8809-4E28F9FC66E3@uiuc.edu> Message-ID: Coincidentally, I'm working on forward and backward chaining myself right now. Anyway, "ANSI Common Lisp" by Paul Graham has a chapter on inference and it includes code for backward chaining. You can download the code from here: http://lib.store.yahoo.net/lib/paulgraham/acl2.lisp General information about the book is here: http://www.paulgraham.com/acl.html Anyway, if you download acl2.lisp, search for this comment: ; *** inf *** That's where the inferencing code starts. "Paradigms of Artificial Intelligence Programming" by Peter Norvig, as mentioned, is also excellent. Paul ========================================================== hackday|v5 [apr 25, 2008!]: remember, everybody hacks on apr. 25th http://w4.ibm.com/hackday/ ========================================================== Heinrich Taube Sent by: cmdist-admin at ccrma.Stanford.EDU 03/05/2008 01:13 PM To "Mr.SpOOn" cc commonmusic-Mailing-List music Subject Re: [CM] CM and Knowledge Representation > Do you know a tutorial/link/whatever to learn how to do backward > chaining in Lisp? > The problem is that the teacher, during the course, covered a lot of > arguments, from Lisp, to Prolog, to description logics, to the > semantic web, so I know very few things about a lot of things. That's > not useful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Mar 5 13:45:13 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 5 Mar 2008 15:45:13 -0600 Subject: [CM] Notes from the Metalevel CD In-Reply-To: <667f06560803051243y7a5d06c4o466d1c9f629fa4b0@mail.gmail.com> References: <667f06560803051243y7a5d06c4o466d1c9f629fa4b0@mail.gmail.com> Message-ID: From what I understand the book is going into second printing with the CD -- I have no idea how they started screwin this up with the current printing and I apologize for the inconvenience. In the meantime for anyone that got a book without a cd , and IF I can get permission, I will make the ISO image available on pinhead for download. But really a better solution would be just to use GraceCL: its Common Music it would be (nearly) source compatible with the book. maybe I chould make a binary release of GraceCL with CLisp included or something. The best solution would be to roll it into Grace since all you have to do is double-click the app and away you go. but I would have to add support for patterns etc that I havent had the time to add in yet. sigh. On Mar 5, 2008, at 2:43 PM, U?ur G?ney wrote: > # I have the same problem. But forgot to ask to the list about that. > I bought the book from amazon.com. > -ugur guney- > > On Wed, Mar 5, 2008 at 8:51 PM, Paul D Reiners > wrote: > > My copy of the Notes from the Metalevel book didn't come with a CD. > Is it possible to download the contents of the CD from somewhere? > From reiners at us.ibm.com Wed Mar 5 14:55:16 2008 From: reiners at us.ibm.com (Paul D Reiners) Date: Wed, 5 Mar 2008 16:55:16 -0600 Subject: [CM] Common Music on Windows In-Reply-To: <006901c87ef3$a47123d0$0202a8c0@JOELVIAO> Message-ID: So, I got that working! Thanks (Joel)! The GraceCL console comes up and I can open a new Lisp file, type commands in it, and they will be executed when I hit Ctrl-Enter. However, I'm more used to working in an REPL-style. Is there a way I can get the cm> prompt to come up so I can type in the examples from the "Notes from the Metalevel" book? I tried the following, but it didn't work: C:\CommonMusic\GraceCL\Resources\cm\bin>cm-clisp.bat module 'syscalls' requires package OS. Paul ========================================================== hackday|v5 [apr 25, 2008!]: remember, everybody hacks on apr. 25th http://w4.ibm.com/hackday/ ========================================================== "Joel Matthys" 03/05/2008 01:03 PM To Paul D Reiners/Rochester/IBM at IBMUS cc Subject Re: [CM] Common Music on Windows The easiest way to use CM on Windows is to install GraceCL ( http://sourceforge.net/project/showfiles.php?group_id=9766). This binds to your CLISP implementation. I've found it very easy to set up and use. ----- Original Message ----- From: Paul D Reiners To: cmdist at ccrma.Stanford.EDU Sent: Wednesday, March 05, 2008 12:52 PM Subject: [CM] Common Music on Windows Are there any easy to follow instructions for installing and running Common Music on Windows available anywhere? I have managed to successfully install and can run CLisp, but cannot figure out how to run Common Music using CLisp. -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Mar 5 16:34:11 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 5 Mar 2008 18:34:11 -0600 Subject: [CM] Common Music on Windows In-Reply-To: References: Message-ID: <375E0B1C-C9C2-4174-96D9-6E6B11951D25@uiuc.edu> > However, I'm more used to working in an REPL-style. there is no REPL in Grace or GraceCL, you eval from text buffers. This was a design decision on our part, repls are pretty old fashioned and cause non-expert users a lot of problems -- unread input on unbalance parens, entering a uselesss debugger, and so on. You can, of course, run CM in Slime and Emacs and get a repl. I work in emacs quite a bit and have to throw out my slime repl several times a day due to it getting wedged for one reason or another. On Mar 5, 2008, at 4:55 PM, Paul D Reiners wrote: > However, I'm more used to working in an REPL-style. Is there a way > I can get the cm> prompt to come up so I can type in the examples > from the "Notes from the Metalevel" book? I tried the following, > but it didn't work: > > C:\CommonMusic\GraceCL\Resources\cm\bin>cm-clisp.bat > module 'syscalls' requires package OS. not sure what thats about. what lisp is this? if you really want the hardcore repl experience you can just use the Windows console: start clisp from the console and type: (load "/path/to/cm/src/cm.lisp") > > ========================================================== > hackday|v5 [apr 25, 2008!]: remember, everybody hacks on apr. 25th > http://w4.ibm.com/hackday/ > ========================================================== > > > "Joel Matthys" > 03/05/2008 01:03 PM > > To > Paul D Reiners/Rochester/IBM at IBMUS > cc > Subject > Re: [CM] Common Music on Windows > > > > > > The easiest way to use CM on Windows is to install GraceCL (http://sourceforge.net/project/showfiles.php?group_id=9766 > ). This binds to your CLISP implementation. I've found it very easy > to set up and use. > > ----- Original Message ----- > From: Paul D Reiners > To: cmdist at ccrma.Stanford.EDU > Sent: Wednesday, March 05, 2008 12:52 PM > Subject: [CM] Common Music on Windows > > > Are there any easy to follow instructions for installing and running > Common Music on Windows available anywhere? I have managed to > successfully install and can run CLisp, but cannot figure out how to > run Common Music using CLisp. From juanig at ccrma.Stanford.EDU Thu Mar 6 09:18:40 2008 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Thu, 06 Mar 2008 12:18:40 -0500 Subject: [CM] duration equivalent on snd-rt In-Reply-To: References: <1204565620.4459.69.camel@strawberry.maginvent.org> Message-ID: <1204823920.15854.14.camel@strawberry.maginvent.org> Thanks a lot Kjetil! I thought of the scheduler but I had rather you commenting the issue. I might be generalizing but Physical Modeling gurus often take durations between half seconds and five. This might work for delay lines or at least to get things working. Looks like I have to sit down and read your LAC-2008 paper because syntax is a bit different. And speaking of code simplification, wow!. --* Juan > > Just in case there is a misunderstanding: Snd-rt has a scheduler, so the > length of the instrument can be set. > > > ( :dur 1 3 > (oscil)) > > is the same as: > > (definstrument os (start dur) > (let ((o (make-oscil))) > (run > (loop for i from (* *srate* start) > to (+ (* *srate* start) > (* *srate* dur)) > do (let ((val (oscil o))) > (outa i val) > (outb i val)))))) > > (with-sound () (os 1 3)) > > > > > Do I average or is there > > like a system handling mechanism which takes care of this issue?. > > The reason for this question is that in the case of delay-lines, lengths > > are pretty much function of durations and sampling-rate. > > > > I guess that depends on the situation... From k.s.matheussen at notam02.no Thu Mar 6 09:51:21 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 06 Mar 2008 18:51:21 +0100 (CET) Subject: [CM] [ANN] Snd-ls V0.9.8.5 and San Dysth V0.1.1 Message-ID: Snd-ls V0.9.8.5 =============== Snd-ls is a distribution of Bill Schottstaedt's sound editor SND. (http://ccrma.stanford.edu/software/snd/) 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. Snd-ls also serves as base code for the San-Dysth softsynth (http://www.notam02.no/~kjetism/sandysth/) and the Snd-rt music programming language (http://www.notam02.no/arkiv/doc/snd-rt) Changes 0.9.8.3 -> 0.9.8.5 -------------------------- -Updated Snd-rt. -Fixed player -Fixed append -Updated Snd-rt. Download from http://www.notam02.no/arkiv/src/snd/ San Dysth V0.1.1 ================ This softsynth has controls to generate various kinds of sounds inbetween white noise and pure tones. It also provides controllers to disturb the generated sound by using a "period counter" to extend the variety of the generated output. Common usage for the softsynth is organ-like sound, organic-like sound, alien-like sounds, water-like sounds, and various kinds of noise (noise artists could find this softsynth most useful). Change from V0.1.0: * Fixed load/save dialog. http://www.notam02.no/~kjetism/sandysth/ From taube at uiuc.edu Sun Mar 9 10:03:24 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 9 Mar 2008 12:03:24 -0500 Subject: [CM] csound port improvements Message-ID: rev 1576 of Grace adds Csound support for scores and non-realtime audio , Common Music Loop macro added to Scheme and new (incomplete) documentation for the Port Menu. documentation on the new Cound port functionality including snapshots of its dialogs is here: http://pinhead.music.uiuc.edu/~hkt/grace/doc/ports.html#csound-port and explanation of how ports support rt and score work is at the top of the file. over the next week or so Ill add the same sort of score support to the Midi port so its menus will change a bit. From dbozelos at yahoo.gr Sun Mar 9 16:07:29 2008 From: dbozelos at yahoo.gr (Bozelos Dimitris) Date: Sun, 9 Mar 2008 23:07:29 +0000 (GMT) Subject: [CM] dlocsig question Message-ID: <112506.52514.qm@web25311.mail.ukl.yahoo.com> hi all, i'm trying to learn using dlocsig and paths, really interesting stuff with lots of possibilities, thanx for your effort in this!! i want to ask a question though: since it calculates the end in samples of the output file, does it always use the default sample rate? because it does not receive sample-rate as a parameter. so if i want to work with sounds with different sample-rates, i have to change the *srate* constant and then change again to the original value (if needed), is that right? dimitris bozelos --------------------------------- ?????????????? Yahoo! ?????????? ?? ?????????? ???? ???? (spam); ?? Yahoo! Mail ???????? ??? ???????? ?????? ????????? ???? ??? ??????????? ????????? http://login.yahoo.com/config/mail?.intl=gr -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbozelos at yahoo.gr Sun Mar 9 18:56:35 2008 From: dbozelos at yahoo.gr (Bozelos Dimitris) Date: Mon, 10 Mar 2008 01:56:35 +0000 (GMT) Subject: [CM] dlocsig question In-Reply-To: <112506.52514.qm@web25311.mail.ukl.yahoo.com> Message-ID: <307687.27242.qm@web25305.mail.ukl.yahoo.com> ooops, rather silly question, isn't it? i have first to convert each sound so that its sample rate matches the output file sample rate. probably dlocsig doesn't do this for you. Bozelos Dimitris wrote: hi all, i'm trying to learn using dlocsig and paths, really interesting stuff with lots of possibilities, thanx for your effort in this!! i want to ask a question though: since it calculates the end in samples of the output file, does it always use the default sample rate? because it does not receive sample-rate as a parameter. so if i want to work with sounds with different sample-rates, i have to change the *srate* constant and then change again to the original value (if needed), is that right? dimitris bozelos --------------------------------- ?????????????? Yahoo! ?????????? ?? ?????????? ???? ???? (spam); ?? Yahoo! Mail ???????? ??? ???????? ?????? ????????? ???? ??? ??????????? ????????? http://login.yahoo.com/config/mail?.intl=gr --------------------------------- ?????????????? Yahoo! ?????????? ?? ?????????? ???? ???? (spam); ?? Yahoo! Mail ???????? ??? ???????? ?????? ????????? ???? ??? ??????????? ????????? http://login.yahoo.com/config/mail?.intl=gr -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed Mar 12 06:45:50 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 12 Mar 2008 06:45:50 -0700 Subject: [CM] Snd 9.8 Message-ID: <20080312134454.M82234@ccrma.Stanford.EDU> Snd 9.8: more rt improvements and a major bugfix in snd-gtk.scm thanks to Kjetil (new files: rt-faust.scm and rt-DotEmacs) clm4: ncos and nsin generators (eventually replace sum-of-cosines and sum-of-sines) nrxysin (replacing sine-summation) and nrxycos generators polywave (replacing polyshape and waveshape) firmant (the Mathews/Smith formant; the old form, mfilter, has been moved to snd9.scm) env-any for envelopes with arbitrary functions to connect the dots (not in CL/CLM) make-env envelope can be made up of embedded lists: '((0 0) (1 1)) (thanks to Kjetil) this also applies to envelopes in Snd. defgenerator (generators.scm) all the generators in generators.scm changed to reflect the nrxycos style of arguments removed mus-cosines (use mus-length, old form is in snd9.scm) changed the gain calculation in the formant generator (a long-standing bug) mus-formant-radius removed (use mus-scaler, snd9.scm has old form) "gain" argument removed from make-formant frequency and radius argument order reversed in make-formant (snd9.scm has old-make-formant) added 3rd optional argument to formant for frequency change mus-name can be set mus-run-with-fm-and-pm the "stream" arg to outa and friends now defaults to *output* *output* (last arg to out* and last arg to in*) can be a function (not in CL/CLM) make-locsig defaults to *output* and *reverb* output locations (also make-move-sound) with-sound tries to be more informative in case of an error if run-safety is not 0 CL/CLM: clm3.lisp has obsolete stuff previously in ffi.lisp. opencml support on linux 86-64 and ppc sbcl support on netbsd, cmucl on sparc, etc the cl/clm tarball is now clm-4.tar.gz "error" called in run loop tries to call lisp "error" (rather than exit) added clm4 and snd9 to the *features* lists. 7 more animals in animals.scm 1 more generator in generators.scm checked: gtk 2.12.8 and 2.13.0, Gauche 0.8.13, sbcl 1.0.14|15, guile 1.8.4, clisp 2.44, cmucl 19e Thanks!: Kjetil Matheussen, Arthur Green, Timothy E Johnson, Oded Ben-Tal From errordeveloper at gmail.com Sun Mar 16 13:05:34 2008 From: errordeveloper at gmail.com (ilya .d) Date: Sun, 16 Mar 2008 20:05:34 +0000 Subject: [CM] time variable filter (& stereo mastering ..) + a new 3d feature idea Message-ID: <20080316200534.GA26224@00110101.errordevlopment.org.uk> hi list, i couldn't realy find yet a way of ramping a filter, actually could be even greater to be able to apply an envelope to the applitude of a filter .. so we can smooth it in .., otherwise when you apply a filter to a selection, it generates a click ;[ it can definetly be done via a script .. no to sure, would it be some sort of a matrix operation..? i can see it this way: you save two envelopes from the envelope editor, end then just don't apply them, but exit the editor and do apply it with that (suppose) matrix transformation .. i didn't check the manul for this .. point me if it is in there .. well, i'm not sure, cause all the stuff i was trying to find in there, was not called the way i was calling it myself.. and generally it's quite clear that the whole approach to doing things in snd is very different from some typical perception i usualy expect .., in fact it took me ages to figure out how to use this actually (as it turned out at the end) BRILLIANT peace of software :))) so right, i think it's actually very important to have this filter ramp thing .. i also wondered if the filter in the control panel could actually amplify, or may be it could rise the amplitude slider accordingly .., so you won't need to edit and apply the envelope in turns ..which can confuse the desired result :( hm, and may be .. some slicing in frequency domain could be done .. so that would enable us to edit the ampiltude in time visually, of course, here you can fiter out bands manually, and then save each of them into files, and edit each separatelly and then creat an new file and mix each of those onto it .. or may be this splits could be cahnnel of one multi cahnnel file, so could be esier then (still can probably use sync for multiple files .. i'm not to sure yet how that performs) well, the split procedure can deffinetly be done automatically with some visual band devider, which could be prelistable ..hm can we even go 3D at this stage ? could be wonderfull, what you guys reckon ? also, i have just had to do some mixdown to stereo, well .. i first had two files with two channels in each, where each channel was quite different from it's pair .. (i've done that in Pd, so i had just diffrent stuff going in each [dac~] in parralell, each of them wa sproduced at different stages in the patch, so they are connected to each other, but they sound very different) i usually sort of balance the stereo output with the soundcard mixer (hdspmixer for for the rme card). and now i had to mix two files into a stereo one i couldn't do that in Pd at first, cause this two bits just happend to get together later :) i have really wanted to get one four channel file first, but didn't know how to add channel to a file, and tought to mix each of the channel just onto one of the other file, so i ended up with a file which had even more different channels ;( now i tried with a mixer again, and noticed if i ballance them in a way that 0.3 amplitude of each goes onto another one it would sound ok :) here i came to a point where it took a while to figure out that i can actually use Mix selection function from the menu, this is actually ok to do, but the question is, if there is a way of doing the same in a different way ?? may be the procedure will still involve the same thing, but we'd first split channel into separet files, reduce applitudes ..etc BTW, what's a way of swapping two channels ? so we could save a coppy and then swap the channel and then mix it onto the original .. (well, could really extract the channels and then add them to a new file in the reverse order, or it could be done by editing some field in the header ?) hm.. i'm a bit sorry for such a long explanation, but it a first time i'm doing some serious work in Snd! hm .. i think i'd produce a little guile procedure code if someone could point me on some ready proceruders .. like how to append cahnnels to a file (an empty one or may be cotaing other cahnnels) .. could be great put a channel in betwen two as well, but not necessary, cuase we can extract them an read in desired order .. that would be more rational, unless reordering can actually be done in the headers ! apperently i have another question .. the Update function in the File menu ..is it supposed to update the file? is it like when you mix something onto a file, and then change the original file externaly, it's reload that original, and then reapply the mixes ? and may be even if you you edited the mix sources, it'd reapply the envelopes and stuff onto that ? or Update is meant to do something else ? i couldn't get it, cause i had a segfualt after i tryied that (not too sure may i did one other thing just befor the crash) .. pardon me for two pages of questions .. apriciated if anyone reads the entyery letter, thank you in advance, best regards, -- ilya .? From k.s.matheussen at notam02.no Mon Mar 17 07:58:15 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Mon, 17 Mar 2008 15:58:15 +0100 (CET) Subject: [CM] Faust and Snd-rt Message-ID: Hi, Latest versions of snd and snd-ls: http://www.notam02.no/arkiv/src/snd/snd-ls-0.9.8.9.tar.gz contain code to use faust from snd-rt. I have mentioned this both on the linux audio mailing list and on the linux audio conference but haven't had time to implement it yet. This is the faust module containing glue code for snd-rt: http://www.notam02.no/arkiv/src/snd/snd-rt-gtk.cpp ...which must be copied it into the lib/faust directory. Hopefully Yann will include it in faust. (Its almost entirely similar to the jack-gtk module though.) Simplest example: ( (out (osc 400))) ...which is exactly the same as: ( "process=osc(400);") Larger example: ( (import "math.lib") (= (smooth c) (colon "*(1-c)" "+~*(c)")) (= vol (colon (hslider "volume (db)" 0 -96 0 0.1) db2linear (smooth 0.99))) (= freq (hslider "freq" 1000 0 24000 0.1)) (out (vgroup "Osc" (* (osci freq) vol)))) Evaluating code in the x11 buffer, for example from the faust software catalog: ( :autoimport-libs #f (x11-selection)) Import code from url: ( (url "http://...")) Import local file: ( (include "/home/kjetil/snd-run/osc.dsp")) Display the faust source of the lastest evaluated faust object: (display-faust-source) Sending sound from one RT object to another: (let ((abus (make-bus))) ( :in-bus abus (= (smooth c) "*(1-c) : +~*(c)") (= gain (colon (vslider " dB " 0 -96 4 0.1) db2linear (smooth 0.999))) (out (vgroup "fader" "*(gain)"))) ( :out-bus abus (oscil))) Using faust to monitor the output of the RT engine: ( :in-bus *out-bus* "vmeter(x) = attach(x, envelop(x) : vbargraph(\"dB\", -96, 10)); hmeter(x) = attach(x, envelop(x) : hbargraph(\"dB\", -96, 10)); envelop = abs : max(db2linear(-96)) : linear2db : min(10) : max ~ -(96.0/SR); process = vmeter;") Faust lisp macro: (define-faust-macro (oscivol freq vol) `(* ,vol (osci ,freq))) ( (out (oscivol 500 0.2))) Calling Faust functions from Snd-Rt code. Both the frequency slider and the volume slider will appear in the same dialog: ( (* ( (= freq (vslider "freq" 600 0 2400 0.1)) (= process (vgroup "ai" (osc freq)))) ( "vol" 0.0 0.1 1.0))) From bil at ccrma.Stanford.EDU Mon Mar 17 12:09:13 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 17 Mar 2008 12:09:13 -0700 Subject: [CM] time variable filter (& stereo mastering ..) + a new 3d feature idea In-Reply-To: <20080316200534.GA26224@00110101.errordevlopment.org.uk> References: <20080316200534.GA26224@00110101.errordevlopment.org.uk> Message-ID: <20080317190834.M69938@ccrma.Stanford.EDU> > the Update function in the File menu ..is it supposed to update the file? It means "update from disk" -- sometimes the sound file changes due to some other program, and if you don't have auto-update set, you need to update the Snd program's view explicitly. Use 'Save' or 'Save as' if you want to write out the current edits. One way to apply a filter to a selection and ramp in and out of it is: (define* (filter-selection-and-smooth ramp-dur flt :optional order) (let ((temp-file (snd-tempnam))) (save-selection temp-file) (let ((selsnd (open-sound temp-file))) (filter-sound flt selsnd) (let ((tmp-dur (samples->seconds (frames selsnd)))) (set! (sync selsnd) (1+ (sync-max))) ; make sure env-sound hits all chans (env-sound (list 0 0 ramp-dur 1 (- tmp-dur ramp-dur) 1 tmp-dur 0) 0 #f 1.0 selsnd) (save-sound selsnd) (close-sound selsnd) (env-selection (list 0 1 ramp-dur 0 (- tmp-dur ramp-dur) 0 tmp-dur 1)))) (mix temp-file (selection-position) #t #f #f #f #t))) ;;; (filter-selection-and-smooth .01 (make-one-zero .5 .5)) I think you could also set up the filter you want in the control panel, then use (filter-selection-and-smooth .01 (filter-control-coeffs)), but I didn't try it. I'm not using the more elegant (or readable) sample-readers here because a selection can be scattered over any channels of any sounds, making it messy to keep track of everything. To swap channels, see swap-channels. I'll try to get to the other questions later. From orlarey at free.fr Mon Mar 17 09:46:28 2008 From: orlarey at free.fr (Yann Orlarey) Date: Mon, 17 Mar 2008 17:46:28 +0100 Subject: [CM] Re: [Faudiostream-devel] Faust and Snd-rt In-Reply-To: References: Message-ID: <47DEA064.6010806@free.fr> Hi Kjetil, Thanks you *very* much. I still have to try it, but it is a very important contribution ! I have uploaded the "snd-rt-gtk.cpp" file to the Faust CVS. Yann Kjetil S. Matheussen a ?crit : > Hi, > > Latest versions of snd and snd-ls: > http://www.notam02.no/arkiv/src/snd/snd-ls-0.9.8.9.tar.gz > contain code to use faust from snd-rt. > > I have mentioned this both on the linux audio mailing > list and on the linux audio conference but haven't had > time to implement it yet. > > This is the faust module containing glue code for snd-rt: > > http://www.notam02.no/arkiv/src/snd/snd-rt-gtk.cpp > > ...which must be copied it into the lib/faust directory. > Hopefully Yann will include it in faust. (Its almost > entirely similar to the jack-gtk module though.) > > > > Simplest example: > > ( (out (osc 400))) > > > > ...which is exactly the same as: > > ( "process=osc(400);") > > > > Larger example: > > ( (import "math.lib") > (= (smooth c) (colon "*(1-c)" "+~*(c)")) > (= vol (colon (hslider "volume (db)" 0 -96 0 0.1) > db2linear > (smooth 0.99))) > (= freq (hslider "freq" 1000 0 24000 0.1)) > (out (vgroup "Osc" (* (osci freq) vol)))) > > > > Evaluating code in the x11 buffer, for example from the faust software > catalog: > > ( :autoimport-libs #f > (x11-selection)) > > > Import code from url: > > ( (url "http://...")) > > > > Import local file: > > ( (include "/home/kjetil/snd-run/osc.dsp")) > > > > Display the faust source of the lastest evaluated faust object: > (display-faust-source) > > > > Sending sound from one RT object to another: > > (let ((abus (make-bus))) > ( :in-bus abus > (= (smooth c) "*(1-c) : +~*(c)") > (= gain (colon (vslider " dB " 0 -96 4 0.1) > db2linear > (smooth 0.999))) > (out (vgroup "fader" "*(gain)"))) > ( :out-bus abus > (oscil))) > > > Using faust to monitor the output of the RT engine: > > ( :in-bus *out-bus* > "vmeter(x) = attach(x, envelop(x) : vbargraph(\"dB\", -96, 10)); > hmeter(x) = attach(x, envelop(x) : hbargraph(\"dB\", -96, 10)); > envelop = abs : max(db2linear(-96)) : linear2db : min(10) : max ~ -(96.0/SR); > process = vmeter;") > > > > Faust lisp macro: > > (define-faust-macro (oscivol freq vol) > `(* ,vol (osci ,freq))) > > ( (out (oscivol 500 0.2))) > > > > Calling Faust functions from Snd-Rt code. > Both the frequency slider and the volume > slider will appear in the same dialog: > > ( (* ( (= freq (vslider "freq" 600 0 2400 0.1)) > (= process (vgroup "ai" (osc freq)))) > ( "vol" 0.0 0.1 1.0))) > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Faudiostream-devel mailing list > Faudiostream-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-devel > > > From k.s.matheussen at notam02.no Tue Mar 18 03:54:07 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Tue, 18 Mar 2008 11:54:07 +0100 (CET) Subject: [CM] Re: [Faudiostream-devel] Faust and Snd-rt In-Reply-To: <47DEA064.6010806@free.fr> References: <47DEA064.6010806@free.fr> Message-ID: That's great! I've also uploaded a new version of snd-ls now (0.9.8.10) because of a bug in 0.9.8.9 which caused the snd-rt-gtk.cpp to be used when compiling every faust objects, not just the first one. It's only necessary to to use snd-rt-gtk.cpp at the first compilation, and after that the module.cpp file can be used instead. module.cpp takes a lot less time to compile than snd-rt-gtk.cpp so this is a big improvement. There was also a bug in the "url" macro, which is now fixed. (well, the "url" macro was actually never tested, so "completely broken" is probably more describing than "bug") Oh, and by using url, I've also found that using ( :autoimport-libs #f (url (x11-selection))) is a very convenient way to test the faust programs at http://faudiostream.cvs.sourceforge.net/faudiostream/faust/examples/ And finally, in my last posting I forgot to give an example on how to feed sound from Snd-rt into a snd-rt object: ( ( :in (vct (oscil)) (= gain (vslider "gain" 0.2 0 1 0.01)) (= process (vgroup "ai" "*(gain)")))) however this syntax is a bit strange and should probably be changed. The natural solution is to make a macro which returns a function: (( (out "*(0.5)")) (vct (oscil))) but this would require an extra layer of parantesis even when no input is required. On Mon, 17 Mar 2008, Yann Orlarey wrote: > Hi Kjetil, > > Thanks you *very* much. I still have to try it, but it is a very > important contribution ! I have uploaded the "snd-rt-gtk.cpp" file to > the Faust CVS. > > Yann > > > > Kjetil S. Matheussen a ?crit : > > Hi, > > > > Latest versions of snd and snd-ls: > > http://www.notam02.no/arkiv/src/snd/snd-ls-0.9.8.9.tar.gz > > contain code to use faust from snd-rt. > > > > I have mentioned this both on the linux audio mailing > > list and on the linux audio conference but haven't had > > time to implement it yet. > > > > This is the faust module containing glue code for snd-rt: > > > > http://www.notam02.no/arkiv/src/snd/snd-rt-gtk.cpp > > > > ...which must be copied it into the lib/faust directory. > > Hopefully Yann will include it in faust. (Its almost > > entirely similar to the jack-gtk module though.) > > > > > > > > Simplest example: > > > > ( (out (osc 400))) > > > > > > > > ...which is exactly the same as: > > > > ( "process=osc(400);") > > > > > > > > Larger example: > > > > ( (import "math.lib") > > (= (smooth c) (colon "*(1-c)" "+~*(c)")) > > (= vol (colon (hslider "volume (db)" 0 -96 0 0.1) > > db2linear > > (smooth 0.99))) > > (= freq (hslider "freq" 1000 0 24000 0.1)) > > (out (vgroup "Osc" (* (osci freq) vol)))) > > > > > > > > Evaluating code in the x11 buffer, for example from the faust software > > catalog: > > > > ( :autoimport-libs #f > > (x11-selection)) > > > > > > Import code from url: > > > > ( (url "http://...")) > > > > > > > > Import local file: > > > > ( (include "/home/kjetil/snd-run/osc.dsp")) > > > > > > > > Display the faust source of the lastest evaluated faust object: > > (display-faust-source) > > > > > > > > Sending sound from one RT object to another: > > > > (let ((abus (make-bus))) > > ( :in-bus abus > > (= (smooth c) "*(1-c) : +~*(c)") > > (= gain (colon (vslider " dB " 0 -96 4 0.1) > > db2linear > > (smooth 0.999))) > > (out (vgroup "fader" "*(gain)"))) > > ( :out-bus abus > > (oscil))) > > > > > > Using faust to monitor the output of the RT engine: > > > > ( :in-bus *out-bus* > > "vmeter(x) = attach(x, envelop(x) : vbargraph(\"dB\", -96, 10)); > > hmeter(x) = attach(x, envelop(x) : hbargraph(\"dB\", -96, 10)); > > envelop = abs : max(db2linear(-96)) : linear2db : min(10) : max ~ -(96.0/SR); > > process = vmeter;") > > > > > > > > Faust lisp macro: > > > > (define-faust-macro (oscivol freq vol) > > `(* ,vol (osci ,freq))) > > > > ( (out (oscivol 500 0.2))) > > > > > > > > Calling Faust functions from Snd-Rt code. > > Both the frequency slider and the volume > > slider will appear in the same dialog: > > > > ( (* ( (= freq (vslider "freq" 600 0 2400 0.1)) > > (= process (vgroup "ai" (osc freq)))) > > ( "vol" 0.0 0.1 1.0))) > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Faudiostream-devel mailing list > > Faudiostream-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/faudiostream-devel > > > > > > > > From tejohnso at uiuc.edu Tue Mar 18 12:27:10 2008 From: tejohnso at uiuc.edu (Timothy Ernest Johnson) Date: Tue, 18 Mar 2008 14:27:10 -0500 (CDT) Subject: [CM] analysis software Message-ID: <20080318142710.BFD39143@expms5.cites.uiuc.edu> Could anybody out there point me to software that does tonal analysis of MIDI files? Tim Dr. Timothy E. Johnson Adjunct Faculty, Lewis University Adjunct Faculty, Columbia College Chicago From landspeedrecord at gmail.com Tue Mar 18 14:39:37 2008 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Tue, 18 Mar 2008 17:39:37 -0400 Subject: [CM] analysis software In-Reply-To: <20080318142710.BFD39143@expms5.cites.uiuc.edu> References: <20080318142710.BFD39143@expms5.cites.uiuc.edu> Message-ID: I can field this one! There is no tonal information in MIDI files. It is performance data... this note was played at this moment for this long, plus some other odds and ends like pitch bend amounts and other "controller" information - like on a MIDI flute... breath information. Bottom line... the only time there is a tone is when the MIDI file is played back by a synthesizer (hardware or software) that takes the performance data and simulates the performance as if it actually occured on that particular instrument. Point being... the instrument being simulated generates the tonal data NOT the midi file. You can dial up any instrument on a decent synth. You could record the output of the synthesizer and then analyze the audio file created by the process but that is kind of cheating. Lastly... MIDI has a format called GM MIDI that assigns specific sounds to the different parts of the MIDI file so that the file will play back with a specific instrument... usually a piano but there can be drums etc... in that case you could again analyze the output of the synth playing back the MIDI file but you would need to keep in mind the variation between different software synthesizers on different platforms and companies etc... in which case any analysis you did of the resulting tonal information of the audio file would be somewhat relative but in the ballpark because pianos definately have a tonal "range" that makes them sound distinctly like a piano. Now, if you wanted to, in Common Music and CLM you might be able to do the MIDI sound generation and analysis all in the same software environment but again, technically you would NOT be doing a tonal analysis of the MIDI file. On Tue, Mar 18, 2008 at 3:27 PM, Timothy Ernest Johnson wrote: > Could anybody out there point me to software that does tonal analysis of > MIDI files? > > Tim > > Dr. Timothy E. Johnson > Adjunct Faculty, Lewis University > Adjunct Faculty, Columbia College Chicago > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -- "My favorite comedy is comedy where nothing is achieved and there is no point," Conan O'Brien -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Mar 19 07:33:22 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 19 Mar 2008 09:33:22 -0500 Subject: [CM] analysis software In-Reply-To: References: <20080318142710.BFD39143@expms5.cites.uiuc.edu> Message-ID: <0932CDE6-CC92-48D9-958E-0755643F1AD4@uiuc.edu> id look at the humdrum toolkit to see what it offers: http://musiccog.ohio-state.edu/Humdrum/ i have software that does a good job of tonal analyis but it works from notation (spelling information) to determine determine chord typing and nonharmonic tones identification, which form the basis of its harmonic analysis. midi files dont contain notation info (of course in simple cases you can infer a notation) info on my software is here incldueding links to the cmj article and automatic analsis results generated using cmn: http://pinhead.music.uiuc.edu/~hkt/mtw/ article is here: http://www.mitpressjournals.org/doi/abs/10.1162/014892699559977 From znmeb at cesmail.net Wed Mar 19 18:57:22 2008 From: znmeb at cesmail.net (M. Edward (Ed) Borasky) Date: Wed, 19 Mar 2008 18:57:22 -0700 Subject: [CM] analysis software In-Reply-To: <0932CDE6-CC92-48D9-958E-0755643F1AD4@uiuc.edu> References: <20080318142710.BFD39143@expms5.cites.uiuc.edu> <0932CDE6-CC92-48D9-958E-0755643F1AD4@uiuc.edu> Message-ID: <47E1C482.5010608@cesmail.net> Heinrich Taube wrote: > id look at the humdrum toolkit to see what it offers: > > http://musiccog.ohio-state.edu/Humdrum/ > > i have software that does a good job of tonal analyis but it works from > notation (spelling information) to determine determine chord typing and > nonharmonic tones identification, which form the basis of its harmonic > analysis. midi files dont contain notation info (of course in simple > cases you can infer a notation) > > info on my software is here incldueding links to the cmj article and > automatic analsis results generated using cmn: > > http://pinhead.music.uiuc.edu/~hkt/mtw/ > > article is here: > > http://www.mitpressjournals.org/doi/abs/10.1162/014892699559977 > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > There is some music analysis software in a contributed package for R that can do some inference of pitches and melodies from wave files. I'm not sure how good it is with chords, etc. http://cran.fhcrc.org/web/packages/tuneR/tuneR.pdf From oded at ccrma.Stanford.EDU Thu Mar 20 04:55:34 2008 From: oded at ccrma.Stanford.EDU (Oded Ben-Tal) Date: Thu, 20 Mar 2008 04:55:34 -0700 (PDT) Subject: [CM] graceCL issue In-Reply-To: <20080227200002.12974.98264.Mailman@cm-mail.stanford.edu> References: <20080227200002.12974.98264.Mailman@cm-mail.stanford.edu> Message-ID: I'm using graceCL under linux (planetCCRMA FC5) after I quit grace lisp is still running in the background occasianally sprouting error messages into the terminal. I can't find it as a process (using top or ps) so I'm not even sure how to kill it. Anyone else encountering something similar? -- ___________________________________________________ Oded Ben-Tal http://ccrma.stanford.edu/~oded oded at ccrma.stanford.edu From taube at uiuc.edu Thu Mar 20 06:23:51 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 20 Mar 2008 08:23:51 -0500 Subject: [CM] graceCL issue In-Reply-To: References: <20080227200002.12974.98264.Mailman@cm-mail.stanford.edu> Message-ID: <90D01E6E-444E-471C-BFF5-ED74FC3D43D3@uiuc.edu> is this behavior triggered by errors or does it always happen when you quit lisp even if no errors have occured? this sound like some problem with the sbcl error handling but i cant be sure without some more info. what does the unix terminal print out when you quit Lisp in grace? On Mar 20, 2008, at 6:55 AM, Oded Ben-Tal wrote: > I'm using graceCL under linux (planetCCRMA FC5) after I quit grace > lisp is still running in the background occasianally sprouting error > messages into the terminal. I can't find it as a process (using top > or ps) so I'm not even sure how to kill it. > Anyone else encountering something similar? > > > -- > ___________________________________________________ > Oded Ben-Tal > http://ccrma.stanford.edu/~oded > oded at ccrma.stanford.edu > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From oded at ccrma.Stanford.EDU Thu Mar 20 07:36:28 2008 From: oded at ccrma.Stanford.EDU (Oded Ben-Tal) Date: Thu, 20 Mar 2008 07:36:28 -0700 (PDT) Subject: [CM] graceCL issue In-Reply-To: <90D01E6E-444E-471C-BFF5-ED74FC3D43D3@uiuc.edu> References: <20080227200002.12974.98264.Mailman@cm-mail.stanford.edu> <90D01E6E-444E-471C-BFF5-ED74FC3D43D3@uiuc.edu> Message-ID: > what does the unix terminal print out when you quit Lisp in grace? > That might be the problem - I didn't quit lisp before exiting grace. I presume I should but it might be useful to send lisp a quit order as part of the exit script in grace (or possible a dialog box confirming that I'm about to quit lisp the way xemacs does). Oded PS - were you able to track the problem with freeverb not working in grace, or am I the only one encountering this? nrev is working but freeverb does sound better. From taube at uiuc.edu Thu Mar 20 09:11:20 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 20 Mar 2008 11:11:20 -0500 Subject: [CM] graceCL issue In-Reply-To: References: <20080227200002.12974.98264.Mailman@cm-mail.stanford.edu> <90D01E6E-444E-471C-BFF5-ED74FC3D43D3@uiuc.edu> Message-ID: <2EA499E7-5C21-48E4-B9EC-B9CB27E92836@uiuc.edu> >> >> what does the unix terminal print out when you quit Lisp in grace? >> > That might be the problem - I didn't quit lisp before exiting grace. > I presume I should but it might be useful to send lisp a quit order > as part of the exit script in grace (or possible a dialog box > confirming that I'm about to quit lisp the way xemacs does). thansk this is a bug, it should definately be sending a quit signal to lisp via the socket when you exit the app. Im not sure what is going wrong here. > Oded > PS - were you able to track the problem with freeverb not working in > grace, or am I the only one encountering this? nrev is working but > freeverb does sound better. Are you able to successfully use freeverb in SBCL/clm from the terminal or emacs/slime? if so ill take a look otherwise i dont see how graceCL itself can be the issue here. > 3) This might be acurrent feature but I can only start graceCL from > grace-1.0-etc/bin directory. Otherwise it can't find it's files even > if I specify full directory path. (I have it installed under my home > directory not under /usr/share or something like that). It might be > nicer to have it working more like any other linux application. for some reason on linux i dont get the absouute pathname to the executable when it starts even when I ask for it, i get the path that was typed in the shell i guess. i dont really understand why this is happening or how to get the abslute pathname. ill poke around. From k.s.matheussen at notam02.no Thu Mar 20 09:28:17 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 20 Mar 2008 17:28:17 +0100 (CET) Subject: [CM] graceCL issue In-Reply-To: <2EA499E7-5C21-48E4-B9EC-B9CB27E92836@uiuc.edu> References: <20080227200002.12974.98264.Mailman@cm-mail.stanford.edu> <90D01E6E-444E-471C-BFF5-ED74FC3D43D3@uiuc.edu> <2EA499E7-5C21-48E4-B9EC-B9CB27E92836@uiuc.edu> Message-ID: On Thu, 20 Mar 2008, Heinrich Taube wrote: > > > for some reason on linux i dont get the absouute pathname to the executable > when it starts even when I ask for it, i get the path that was typed in the > shell i guess. i dont really understand why this is happening or how to get > the abslute pathname. ill poke around. > Have you tried using the "_" environment variable? From oded at ccrma.Stanford.EDU Thu Mar 20 09:32:54 2008 From: oded at ccrma.Stanford.EDU (Oded Ben-Tal) Date: Thu, 20 Mar 2008 09:32:54 -0700 (PDT) Subject: [CM] graceCL issue In-Reply-To: <2EA499E7-5C21-48E4-B9EC-B9CB27E92836@uiuc.edu> References: <20080227200002.12974.98264.Mailman@cm-mail.stanford.edu> <90D01E6E-444E-471C-BFF5-ED74FC3D43D3@uiuc.edu> <2EA499E7-5C21-48E4-B9EC-B9CB27E92836@uiuc.edu> Message-ID: > Are you able to successfully use freeverb in SBCL/clm from the terminal or > emacs/slime? if so ill take a look otherwise i dont see how graceCL itself > can be the issue here. > Unfortunately I can't get clm working on my linux (incompatible versions of sbcl with current clm binary from ccrma. I told nando about it but I'm running fc5...) so I can't compare directly. thanks Oded From dbozelos at yahoo.gr Sat Mar 22 19:41:06 2008 From: dbozelos at yahoo.gr (Bozelos Dimitris) Date: Sun, 23 Mar 2008 02:41:06 +0000 (GMT) Subject: [CM] strange path behaviour in clm/dlocsig Message-ID: <647336.78812.qm@web25311.mail.ukl.yahoo.com> Hi all, I do the following (using fedora 8 i386/emacs/slime/sbcl) (let ((r 1.0) (path-1 (make-path :3d t :polar t :path '(((* 0.8 r) 45 45 1) ((* 0.75 r) 45 45 1) ((* 0.7 r) 45 45 1) ((* 0.75 r) 45 45 1) ((* 0.8 r) 45 45 1))))) (print path-1)) and I get > # so everything seems fine. But since it's a closed path I do (let ((r 1.0) (path-1 (make-path :3d t :polar t :closed t :path '(((* 0.8 r) 45 45 1) ((* 0.75 r) 45 45 1) ((* 0.7 r) 45 45 1) ((* 0.75 r) 45 45 1) ((* 0.8 r) 45 45 1))))) (print path-1)) (or use make-closed-path) and I have an error > Argument X is not a NUMBER: (* 0.8 R) And when I use a path in the first way (not defining it as closed), although the path is set, the same error comes when I use dlocsig (multiple-value-bind (dloc beg end) (make-dlocsig :start-time start-time :duration duration :path path-1) ...) Since I cannot find any obvious reason for this, does anyone knows why? Thanx Dimitris --------------------------------- ?????????????? Yahoo! ?????????? ?? ?????????? ???? ???? (spam); ?? Yahoo! Mail ???????? ??? ???????? ?????? ????????? ???? ??? ??????????? ????????? http://login.yahoo.com/config/mail?.intl=gr -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Sun Mar 23 05:46:43 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 23 Mar 2008 05:46:43 -0700 Subject: [CM] strange path behaviour in clm/dlocsig In-Reply-To: <647336.78812.qm@web25311.mail.ukl.yahoo.com> References: <647336.78812.qm@web25311.mail.ukl.yahoo.com> Message-ID: <20080323124040.M51919@ccrma.Stanford.EDU> > Argument X is not a NUMBER: (* 0.8 R) I think it's checking in the closed case that the start and end are the same, but, as it says, '(* 0.8 R) is not a number (it's using = to check numerical equality). X is the slot name, I believe. In your lisp code, you need to change let to let* and use list to make sure the expressions like (* 0.8 r) are numbers when passed in the argument to make-path: (let* ((r 1.0) (path-1 (make-path :3d t :polar t :closed t :path (list (list (* 0.8 r) 45 45 1) (list (* 0.75 r) 45 45 1) (list (* 0.7 r) 45 45 1) (list (* 0.75 r) 45 45 1) (list (* 0.8 r) 45 45 1))))) (print path-1)) The examples in dlocsig.html can get away with the '() form because they involve just bare numbers. From k.s.matheussen at notam02.no Sun Mar 23 08:00:02 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Sun, 23 Mar 2008 16:00:02 +0100 (CET) Subject: [CM] [ANN] Snd-Rt homepage update, Snd-ls V0.9.8.13 and jack_capture V0.9.7 Message-ID: Snd-Rt ====== Snd-rt is a realtime music programming environment running inside the Snd sound editor. The homepage has been updated with links, papers and many examples on how to create GUI's and how to access Faust. The old fancy design is still kept unchanged. http://www.notam02.no/arkiv/doc/snd-rt/ Snd-ls V0.9.8.13 ================ Snd-ls is a distribution of Bill Schottstaedt's sound editor SND. (http://ccrma.stanford.edu/software/snd/) 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. Snd-ls also serves as base code for the San-Dysth softsynth (http://www.notam02.no/~kjetism/sandysth/) and the Snd-rt music programming language (http://www.notam02.no/arkiv/doc/snd-rt) http://www.notam02.no/arkiv/src/snd/ Changes 0.9.8.5 -> 0.9.8.13 --------------------------- -Updated Snd-Rt. (unguote-splicing, gui) -Updated Snd-Rt. (gui, dynamic scoping, oscil* etc.) -Updated Snd-Rt. (timer) -Updated Snd-Rt. (timer, faust, definstrument) -Updated Snd-Rt. Faust support. -Fixed rt timer. Previously it only ran 3 hours before giving negative numbers. Now it should run approx. 13 million years. (not tested) -Removed access to removed functions in jack. -Updated eval-c.scm. jack_capture ============ jack_capture is a program for recording soundfiles with jack. Its default operation is to capture whatever sound is going out to your speakers into a file. (But it can do a number of other operations as well...) http://www.notam02.no/arkiv/src/ 0.9.6 -> 0.9.7: *Don't segfault if the opening of a subsequent wav soundfile fails. (ie. if the 4GB limitation is reached on the old file and jack_capture continues writing on a new file.) From BBattey at dmu.ac.uk Sun Mar 23 10:49:03 2008 From: BBattey at dmu.ac.uk (Bret Battey) Date: Sun, 23 Mar 2008 17:49:03 -0000 Subject: [CM] SBCL/CM + SLIME = [Error ] No executable found. References: Message-ID: I'm currently trying to get SBCL working with CM running with Slime/Aquamacs. Mac OS 10.4 Following Rick's instructions in the html pages in the CM package, excepting that I'm putting cm, clm, slime etc in /Applications/lisp/ rather than /usr etc. I've added the following to my .emacs file (add-to-list 'load-path "/Applications/lisp/slime-2.0/") (add-to-list 'load-path "/Applications/lisp/cm/") (load "etc/xemacs/cm.el") (enable-cm-commands) and restarted Aquamacs M-x cm results in: (load "/Applications/lisp/slime-2.0/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.775" :external-format :iso-latin-1-unix) [Error ] No executable found. Aborting. Process inferior-lisp exited abnormally with code 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Mar 23 13:20:24 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 23 Mar 2008 15:20:24 -0500 Subject: [CM] SBCL/CM + SLIME = [Error ] No executable found. In-Reply-To: References: Message-ID: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> not sure whats going wrong but it may be several things. first, for more recent cm's (current in svn is 2.11.3) the pathname to cm.el is cm/etc/emacs/cm.el not cm/xemacs/cm.el this is what i have in my emacs file that works fine on osx/aquamacs: (require 'slime) (slime-setup) (add-to-list 'load-path "/Lisp/cm/etc/emacs/") (setq cm-program "/Lisp/cm/bin/cm.sh -l sbcl") (load "cm.el") ;(load "sal-mode.el") (enable-cm-commands) then M-x cm should work. you can also download the GraceCL app, its editor is quite emacs like, then only gotcha is that opening large files takes a long time due to the horrible way i have to implement syntax highlighting in juce. > I'm currently trying to get SBCL working with CM running with Slime/ > Aquamacs. > Mac OS 10.4 > > Following Rick's instructions in the html pages in the CM package, > excepting that I'm putting cm, clm, slime etc in /Applications/lisp/ > rather than /usr etc. > > I've added the following to my .emacs file > > (add-to-list 'load-path "/Applications/lisp/slime-2.0/") > (add-to-list 'load-path "/Applications/lisp/cm/") > (load "etc/xemacs/cm.el") > (enable-cm-commands) > > and restarted Aquamacs > > M-x cm > > results in: > (load "/Applications/lisp/slime-2.0/swank-loader.lisp" :verbose t) > (swank:start-server "/tmp/slime.775" :external-format :iso-latin-1- > unix) > > [Error ] No executable found. > Aborting. > > Process inferior-lisp exited abnormally with code 1 > > From taube at uiuc.edu Sun Mar 23 13:39:47 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 23 Mar 2008 15:39:47 -0500 Subject: [CM] SBCL/CM + SLIME = [Error ] No executable found. In-Reply-To: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> References: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> Message-ID: also slime is built into Aquamacs all you need is this at the top of your ~/.emacs file to use it: (require 'slime) From BBattey at dmu.ac.uk Tue Mar 25 04:19:05 2008 From: BBattey at dmu.ac.uk (Bret Battey) Date: Tue, 25 Mar 2008 11:19:05 -0000 Subject: [CM] Saving LISP objects to disk References: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> Message-ID: One thing that has cropped up as I am trying to resurrect my PICACS code in SBCL is that the code I developed to save objects (and any subobjects) to disk is broken, because of all of the CCL calls I used. I there a standard LISP way of writing objects to disk (and later restoring them), including all subobjects? As it was, I solved it three years ago by writing code that determines the slots of any object, traverses the whole object and subobject tree of a given object and writes out to disk the code needed to recreate the objects. Surely there is a better way, and one that doesn't require system-specific calls (?) -- and three days of hunting poor documentation to figure out how to translate my CCL implementation to SBCL? Cheers, -=Bret -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Tue Mar 25 06:06:52 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 25 Mar 2008 08:06:52 -0500 Subject: [CM] Saving LISP objects to disk In-Reply-To: References: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> Message-ID: <0D775126-5D82-48BA-9A5E-263BD7C1CDCA@uiuc.edu> you can define methods on make-load-form to do just this. you still have to traverse the slots by hand but thats not so bad since you can use the MOP functions to do this. your code would need special knowlege of which slots to recusively process but thats it. (import '(sb-pcl:slot-definition-initargs sb-pcl:slot-definition-initform sb-pcl:slot-definition-name sb-pcl:class-direct-slots sb-pcl:class-slots sb-pcl:class-direct-superclasses sb-mop:class-direct-subclasses ) (defmethod make-load-form ((obj foobar) ) (let (inits ()) (setf inits (loop for slot in (class-slots (class-of obj)) for name = (slot-definition-name slot) if (slot-boundp obj name) collect (car (slot-definition-initarg slot) and collect (slot-value obj name))) `(make-instance (quote ,(class-name (class-of obj))) ,@ inits))) > One thing that has cropped up as I am trying to resurrect my PICACS > code in SBCL is that the code I developed to save objects (and any > subobjects) to disk is broken, because of all of the CCL calls I used. > > I there a standard LISP way of writing objects to disk (and later > restoring them), including all subobjects? > > As it was, I solved it three years ago by writing code that > determines the slots of any object, traverses the whole object and > subobject tree of a given object and writes out to disk the code > needed to recreate the objects. > > Surely there is a better way, and one that doesn't require system- > specific calls (?) -- and three days of hunting poor documentation > to figure out how to translate my CCL implementation to SBCL? > > Cheers, > -=Bret > From rm at seid-online.de Tue Mar 25 06:14:33 2008 From: rm at seid-online.de (Ralf Mattes) Date: Tue, 25 Mar 2008 14:14:33 +0100 Subject: [CM] Saving LISP objects to disk In-Reply-To: References: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> Message-ID: <1206450873.6530.14.camel@localhost.localdomain> On Tue, 2008-03-25 at 11:19 +0000, Bret Battey wrote: > One thing that has cropped up as I am trying to resurrect my PICACS > code in SBCL is that the code I developed to save objects (and any > subobjects) to disk is broken, because of all of the CCL calls I used. > > I there a standard LISP way of writing objects to disk (and later > restoring them), including all subobjects? Besides Rick Taubes answer: one place to look for such information would be http://www.cliki.net/. You might want to search for 'object persistence'. Elephant gets mentioned every once in a while in c.l.l. > As it was, I solved it three years ago by writing code that determines > the slots of any object, traverses the whole object and subobject tree > of a given object and writes out to disk the code needed to recreate > the objects. > > Surely there is a better way, and one that doesn't require > system-specific calls (?) -- and three days of hunting poor > documentation to figure out how to translate my CCL implementation to > SBCL? You could read Arthur's essay-code on object persisctence here http://www.pentaside.org/paper/persistence-lemmens.txt http://weitz.de/eclm2006/rucksack-eclm2006.txt I don't know the current status of rucksack but it looked very promissing last time I checked. HTH Ralf Mattes > Cheers, > -=Bret > > > From taube at uiuc.edu Wed Mar 26 04:28:43 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 26 Mar 2008 06:28:43 -0500 Subject: [CM] Re: Simultaneous output CMN and MIDI In-Reply-To: <200803261021.30057.mehmet@okonsar.com> References: <200803261021.30057.mehmet@okonsar.com> Message-ID: <2D9C2EEC-4E02-4D7D-BDA5-ABE3AFFDA6F5@uiuc.edu> hi i think you should run your algorithm to a seq and then use that two write both files (defparameter pass (new seq)) (events (my-algo ) pass) (events pass "test.mid") (events pass "test.clm")) another way would be use fomus "backends", you could tell it to notate the data and write a midi file, i think one of the fomus options is cmn to prouce the output On Mar 26, 2008, at 3:21 AM, Mehmet Okonsar wrote: > Hello Prof. Taube, > I tried without success to get simultaneous MIDI AND cmn output. > I do not want to run the algorithms twice because they have some > random > selection processes. I want to get the MIDI and the eps of the SAME > run. > Any hint? > Thanks > Esenlikler! Best regards! > Mehmet Okonsar > pianist, composer, conductor > ========================== > www.okonsar.com > ========================== > Bugunku ozdeyisiniz: > Your fortune for today is: > ========================== > THE LESSER-KNOWN PROGRAMMING LANGUAGES #5: VALGOL > From its modest beginnings in Southern California's San Fernando > Valley, > VALGOL is enjoying a dramatic surge of popularity across the industry. > > Here is a sample program: > LIKE, Y*KNOW(I MEAN)START > IF PIZZA = LIKE BITCHEN AND GUY = LIKE TUBULAR AND > VALLEY GIRL = LIKE GRODY**MAX(FERSURE)**2 THEN > FOR I = LIKE 1 TO OH*MAYBE 100 > DO*WAH - (DITTY**2) > BARF(I)=TOTALLY GROSS(OUT) > SURE > LIKE BAG THIS PROGRAM > REALLY > LIKE TOTALLY (Y*KNOW) > IM*SURE > GOTO THE MALL > > When the user makes a syntax error, the interpreter displays the > message: > > GAG ME WITH A SPOON!! From BBattey at dmu.ac.uk Tue Mar 25 04:05:10 2008 From: BBattey at dmu.ac.uk (Bret Battey) Date: Tue, 25 Mar 2008 11:05:10 -0000 Subject: [CM] SBCL/CM + SLIME = [Error ] No executable found. References: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> Message-ID: Hi Rick, Thanks, good to hear the SLIME is now built into Aquamacs. I was able to get this working with some tweaks -- for some reason Aquamacs wasn't finding SBCL when calling cm-program, even though I have the path in my .cshrc, so I had to provide full path: (require 'slime) (slime-setup) (add-to-list 'load-path "/Applicatons/lisp/cm/etc/xemacs") (setq cm-program "/Applications/lisp/cm/bin/cm.sh -l /usr/local/bin/sbcl") (load "/Applications/lisp/cm/etc/xemacs/cm.el") (enable-cm-commands) Now I am well on my way to having my PICACS (B?zier spline modeling software) running again... -=B -----Original Message----- From: Heinrich Taube [mailto:taube at uiuc.edu] Sent: Sun 3/23/2008 8:20 PM To: Bret Battey Cc: Common Muisc List Subject: Re: [CM] SBCL/CM + SLIME = [Error ] No executable found. not sure whats going wrong but it may be several things. first, for more recent cm's (current in svn is 2.11.3) the pathname to cm.el is cm/etc/emacs/cm.el not cm/xemacs/cm.el this is what i have in my emacs file that works fine on osx/aquamacs: (require 'slime) (slime-setup) (add-to-list 'load-path "/Lisp/cm/etc/emacs/") (setq cm-program "/Lisp/cm/bin/cm.sh -l sbcl") (load "cm.el") ;(load "sal-mode.el") (enable-cm-commands) then M-x cm should work. you can also download the GraceCL app, its editor is quite emacs like, then only gotcha is that opening large files takes a long time due to the horrible way i have to implement syntax highlighting in juce. > I'm currently trying to get SBCL working with CM running with Slime/ > Aquamacs. > Mac OS 10.4 > > Following Rick's instructions in the html pages in the CM package, > excepting that I'm putting cm, clm, slime etc in /Applications/lisp/ > rather than /usr etc. > > I've added the following to my .emacs file > > (add-to-list 'load-path "/Applications/lisp/slime-2.0/") > (add-to-list 'load-path "/Applications/lisp/cm/") > (load "etc/xemacs/cm.el") > (enable-cm-commands) > > and restarted Aquamacs > > M-x cm > > results in: > (load "/Applications/lisp/slime-2.0/swank-loader.lisp" :verbose t) > (swank:start-server "/tmp/slime.775" :external-format :iso-latin-1- > unix) > > [Error ] No executable found. > Aborting. > > Process inferior-lisp exited abnormally with code 1 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Thu Mar 27 19:18:07 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 27 Mar 2008 21:18:07 -0500 Subject: [CM] Common Music 3 Message-ID: <23AC9B3F-8D39-4E01-AA78-243BDF7A17EC@uiuc.edu> a new "major version" of CM is almost finished. The documentation on the new api is here: http://pinhead.music.uiuc.edu/~hkt/grace/doc/cm.html most of the documented entries are already working in svn Grace, the main things not yet done are the define-process macro and the Spectral Composition section. The former is a day's work the latter about a week. i would welcome any comments about the api or about things you think should be there (or not), especially wrt the new spectral compostion stuff. --rick From johannes.quint at web.de Fri Mar 28 03:00:10 2008 From: johannes.quint at web.de (Johannes Quint) Date: Fri, 28 Mar 2008 11:00:10 +0100 Subject: [CM] Common Music 3 In-Reply-To: <23AC9B3F-8D39-4E01-AA78-243BDF7A17EC@uiuc.edu> References: <23AC9B3F-8D39-4E01-AA78-243BDF7A17EC@uiuc.edu> Message-ID: <56BD66E9-57F7-4470-ADB8-2A5C53A558CA@web.de> rick, looks awesome for me! 2 comments: the old cm-functions 'interpl' and 'tendency': i've used them quite often... a file-interface via fomus or so will be included, am i right? best wishes, johannes Am 28.03.2008 um 03:18 schrieb Heinrich Taube: > a new "major version" of CM is almost finished. The documentation > on the new api is here: > > http://pinhead.music.uiuc.edu/~hkt/grace/doc/cm.html > > most of the documented entries are already working in svn Grace, > the main things not yet done are the define-process macro and the > Spectral Composition section. The former is a day's work the latter > about a week. i would welcome any comments about the api or about > things you think should be there (or not), especially wrt the new > spectral compostion stuff. > --rick > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist _________________________ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://www.johannes-quint.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Fri Mar 28 05:08:32 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 28 Mar 2008 07:08:32 -0500 Subject: [CM] Common Music 3 In-Reply-To: <56BD66E9-57F7-4470-ADB8-2A5C53A558CA@web.de> References: <23AC9B3F-8D39-4E01-AA78-243BDF7A17EC@uiuc.edu> <56BD66E9-57F7-4470-ADB8-2A5C53A558CA@web.de> Message-ID: > the old cm-functions 'interpl' and 'tendency': i've used them quite > often... hello johannes . yes you are right 'tendency' should be there but slipped through the cracks ill add it in this weekend let me know if you find others. as to 'interpl' -- in the new api &rest functions like interp and pick also permit the &rest values as a single list. in other words 'interp' also does 'interpl' and 'pick' handles 'pickl' (interp (ran) 0 0 1 50) (interp (ran) '(0 0 1 50)) (pick 1 2 3 4 5) (pick '(1 2 3 4 5)) (plus 1 2 3 4 5) (plus '(1 2 3 4 5)) and so on. ive trier to build in mapping and list support as much as possible so with just a little snippet you can do some interesting musical things. for example this generates a 50 note melody with pink noise mapped onto an octatonic scale with just-tuned whole and half- steps: (discrete (make-list 50 ranpink) -1 1 (scale 24 60 2.04 1.12)) (72.64 81.0 75.8 77.84 74.68 84.16 82.12 72.64 82.12 72.64 82.12 81.0 78.96 85.28 84.16 77.84 85.28 82.12 74.68 82.12 72.64 78.96 85.28 82.12 77.84 82.12 72.64 72.64 77.84 71.52 74.68 78.96 78.96 85.28 81.0 84.16 75.8 74.68 77.84 74.68 77.84 78.96 78.96 78.96 84.16 74.68 71.52 78.96 75.8 71.52) > > a file-interface via fomus or so will be included, am i right? when david announces that libfomus works ill make a port for in in grace and you will be able to send data to it. grace ports handle both score (file) and interactive uses. I think Todd is working on score support for the midiport right now. From awg at panix.com Fri Mar 28 13:39:02 2008 From: awg at panix.com (Arthur W. Green) Date: Fri, 28 Mar 2008 16:39:02 -0400 Subject: [CM] SBCL/CM + SLIME = [Error ] No executable found. In-Reply-To: References: <29D13E54-29E7-4DF4-B1DD-7F2E2FE6DCA7@uiuc.edu> Message-ID: <47527C6A-3E5D-47B6-839E-647D275E4E12@panix.com> On Mar 25, 2008, at 7:05 AM, Bret Battey wrote: > I was able to get this working with some tweaks -- for some reason > Aquamacs wasn't finding SBCL when calling cm-program, even though I > have the path in my .cshrc, so I had to provide full path: > Yes. Aquamacs, like most Mac OS X applications, isn't launched from the same shell environment as a Terminal window, so it won't pay much attention to the startup files in your home directory. > (setq cm-program "/Applications/lisp/cm/bin/cm.sh -l /usr/local/bin/ > sbcl") > If you add /usr/local/bin to the path strings in /etc/profile and / etc/csh.login, Aquamacs shouldn't need more prodding to find sbcl. Another option would be to set the CM_RUNTIME variable in your cm startup script: ${CM_RUNTIME:=/usr/local/bin/sbcl} CM will then use sbcl by default, finding it with or without Emacs. > Now I am well on my way to having my PICACS (B?zier spline modeling > software) running again... > Best of luck! \\ Arthur From ugurguney at gmail.com Fri Mar 28 17:41:20 2008 From: ugurguney at gmail.com (=?UTF-8?Q?U=C4=9Fur_G=C3=BCney?=) Date: Sat, 29 Mar 2008 02:41:20 +0200 Subject: [CM] Common Music 3 In-Reply-To: <23AC9B3F-8D39-4E01-AA78-243BDF7A17EC@uiuc.edu> References: <23AC9B3F-8D39-4E01-AA78-243BDF7A17EC@uiuc.edu> Message-ID: <667f06560803281741w25303ccdk31643f8bc37fb4f7@mail.gmail.com> # Hi, # I can not wait for trying the new Common Music! I think the most important feature is the ability of both sending scores using ports in real time and saving scores to a file can be done in the same frame work. This kind of interactivity is more convenient for composition studies. # I wonder whether the new API is suitable for live performances/live coding. Can one synchronize different sprout processes. For example, first a drum track is created with a certain tempo. Then a melody line is created, but the melody must start on the first beat of a measure, independent of when CTRL+Enter is pressed to apply the sprout command. Can this be done using a process for ticking beats and other processes waits for a tick before starting? # And having functions which can handle both lists and atoms is great. Matlab/Octave has the same ability and it is very useful and more intuitive. # Thanks for your efforts! -ugur guney- On Fri, Mar 28, 2008 at 4:18 AM, Heinrich Taube wrote: > a new "major version" of CM is almost finished. The documentation on > the new api is here: > > http://pinhead.music.uiuc.edu/~hkt/grace/doc/cm.html > > most of the documented entries are already working in svn Grace, the > main things not yet done are the define-process macro and the Spectral > Composition section. The former is a day's work the latter about a > week. i would welcome any comments about the api or about things you > think should be there (or not), especially wrt the new spectral > compostion stuff. > --rick > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From taube at uiuc.edu Sat Mar 29 09:59:21 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 29 Mar 2008 11:59:21 -0500 Subject: [CM] Common Music 3 In-Reply-To: <667f06560803281741w25303ccdk31643f8bc37fb4f7@mail.gmail.com> References: <23AC9B3F-8D39-4E01-AA78-243BDF7A17EC@uiuc.edu> <667f06560803281741w25303ccdk31643f8bc37fb4f7@mail.gmail.com> Message-ID: > # I wonder whether the new API is suitable for live performances/live > coding. yes this is the kind of thing it is being built for. On my short todo list is a Hooks window that lets you associate snippits of code with "triggers" (keyboard strokes, mouse clicks, midi notes etc) so you can interactively trigger the evaluation of bits of code. the other thing that may not be obvious since examples are still so sparse -- you dont have to write processes you can just call send interactly, and also send in the future. So you can just commad-Return this make sound: loop repeat 10 for t = 0 then t + .1 send "mp:midi", t, .2, between(60, 90) end > Can this be done using a process for ticking beats and other processes > waits for a tick before starting? one process can sprout another process. From noah at listenlabs.com Sat Mar 29 10:59:15 2008 From: noah at listenlabs.com (Noah Thorp) Date: Sat, 29 Mar 2008 10:59:15 -0700 Subject: [CM] Bay Area Computer Music Technology Group @ Ex'pression, Thursday April 3rd Message-ID: <47EE8373.7080306@listenlabs.com> The Bay Area Computer Music Technology Group Thursday, April 3rd, 7:30 - 9:30PM @ Ex'pression College for Digital Arts (http://www.expression.edu/) 6601 Shellmound St, Emeryville, CA 94608 RSVP Here: http://electronicmusic.meetup.com/152/calendar/6921818/ Presenters: - Jaron Lanier on intersections of computer music, artificial intelligence, virtual reality, and biomimicry: http://www.jaronlanier.com/ - Chris Chafe on networked audio applications: http://ccrma-www.stanford.edu/~cc/ - Lightning talk by Ge Wang on the instantiation of the Stanford Laptop Orchestra (SLOrk) and upcoming Laptop Orchestra of the Left (L.O.L.): http://ccrma.stanford.edu/~ge/ Thanks to Ex'pression College for the Digital Arts for hosting our event this month! Please note that you must RSVP this month as there will be a sign in list at Ex'pression College. RSVP here: http://electronicmusic.meetup.com/152/calendar/6921818/ Hope to see you there. All the best, Noah Thorp Bay Area Computer Music Technology Group Organizer http://electronicmusic.meetup.com/152/ noah [the at sign] listenlabs [a dot] com BIOS CHRIS CHAFE Chris Chafe is a composer / cellist / music researcher with an interest in computer music composition and interactive performance. He has been a long-term denizen of the Center for Computer Research in Music and Acoustics, Stanford University where he directs the center and teaches computer music courses. His doctorate in music composition was completed at Stanford in 1983 with prior degrees in music from the University of California at San Diego and Antioch College. Two year-long research periods were spent at IRCAM, and the Banff Center for the Arts developing methods for computer sound synthesis based on physical models of musical instrument mechanics. Current projects include the "SoundWIRE" experiments for musical collaboration and network evaluation using high-speed internets for high-quality sound. He has performed his music in Europe, the Americas and Asia, and composed soundtracks for documentary films. Two recent discs of his works are available from Centaur Records. In Spring 2001, a collaboration with artist Greg Niemeyer entitled Ping was exhibited at SF MOMA and online via the Walker Art Center. A second collaboration, Oxygen Flute, was created for the San Jose Museum of Art. A CD of music from both installations is also available. "Organum" is their present project, a completely synthetic animation being developed for digital planetariums and individual game play. JARON LANIER Jaron Lanier is a computer scientist, composer, visual artist, and author. His current appointments include Interdisciplinary Scholar-in-Residence, CET, UC Berkeley. Lanier's interests include biomimetic information architectures, user interfaces, heterogeneous scientific simulations, advanced information systems for medicine, and computational approaches to the fundamentals of physics. He collaborates with a wide range of scientists in fields related to these interests. Lanier's name is also often associated with Virtual Reality research. Indeed, he did coin the term 'Virtual Reality' and has pioneered numerous technologies in this field. "Jaron's World" is his monthly column in Discover Magazine, and is devoted to his own wide ranging ideas and research. His writing has appeared in The New York Times, Discover, The Wall Street Journal, Forbes, Harpers Magazine, The Sciences, Wired Magazine (where he was a founding contributing editor), and Scientific American. He has edited special "future" issues of SPIN and Civilization magazines. As a musician, Lanier has been active in the world of new "classical" music since the late seventies. He is a pianist and a specialist in unusual musical instruments, especially the wind and string instruments of Asia. He maintains one of the largest and most varied collections of actively played rare instruments in the world. Lanier has performed with artists as diverse as Philip Glass, Ornette Coleman, George Clinton, Vernon Reid, Terry Riley, Duncan Sheik, Pauline Oliveros, and Stanley Jordan. Current recording projects include his "acoustic techno" duet with Sean Lennon and an album of duets with flautist Robert Dick. He also writes chamber and orchestral music. Current commissions include an opera that will premier in Busan, South Korea. Recent commissions include: "Earthquake!", a ballet which premiered at the Yerba Buena Center for the Arts in San Francisco in April, 2006; "Little Shimmers" for the TroMetrik ensemble, which premiered at ODC in San Francisco in April, 2006; "Daredevil" for the ArrayMusic chamber ensemble, which was premiered in Toronto in 2006; amongst many more. His CD "Instruments of Change" was released on Point/Polygram in 1994. Lanier has also pioneered the use of Virtual Reality in musical stage performance with his band Chromatophoria, which has toured around the world as a headline act in venues such as the Montreux Jazz Festival. He plays virtual instruments and uses real instruments to guide events in virtual worlds. For a full bio of Jaron: http://www.jaronlanier.com/general.html GE WANG Ge Wang received his B.S. in 2000 in Computer Science from Duke University and PhD in 2007 studying with Perry Cook in Computer Science at Princeton University, and is an assistant professor at Stanford University in the Center for Computer Research in Music and Acoustics (CCRMA). Ge conducts research in real-time software systems for computer music, programming languages, visualization, new performance ensembles (e.g., laptop orchestras) and paradigms (e.g., live coding), interfaces for human-computer interaction, pedagogical methodologies at the intersection of computer science and computer music. Ge is the chief architect of the ChucK audio programming language and the Audicle environment. He is a founding developer and co-director of the Princeton Laptop Orchestra (PLOrk), and a co-creator of the TAPESTREA sound design environment. Ge composes and performs via various electro-acoustic and computer-mediated means. From taube at uiuc.edu Mon Mar 31 07:56:33 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 31 Mar 2008 09:56:33 -0500 Subject: [CM] grace/cm3 beta available (osx) Message-ID: A (beta) drag 'n drop of Grace+CM3 is available for anyone that cares to test cm3 out. Just double click and away you go. http://pinhead.music.uiuc.edu/~hkt/grace-cm3-osx-beta.zip The beta app is a universal build for osx only (ppc/intel tiger/ leopard) and without the csound port (you can build this yourself if you want to). Once the midi port/file and spectral code is in place ill make a new release everywhere. since the app is real-time io only right now you might want these too: SimpleSyth: http://notahat.com/simplesynth MidiKeys: http://www.manyetas.com/creed/midikeys.html --- cm3 is all there now except for the spectral code, that will be added over the next week or so.The place to start is with the examples. To open them in a buffer use the Help>Examples menu. I would be grateful for bug reports, or even better, some good examples! please delete any grace preferences before you start it the first time: rm ~/Library/Preferences/Grace* known problems: shuffle only works with lists once in great while while the Open... and Save As... dialog freezes, i dont know why. From taube at uiuc.edu Mon Mar 31 10:43:24 2008 From: taube at uiuc.edu (Rick Taube) Date: Mon, 31 Mar 2008 12:43:24 -0500 Subject: [CM] grace/cm3 beta available (osx) In-Reply-To: <256EE3B9-46F5-48BC-9B9B-00CDD8D6C9EF@web.de> References: <256EE3B9-46F5-48BC-9B9B-00CDD8D6C9EF@web.de> Message-ID: ok i think i used the wrong linking set, let me try again. From taube at uiuc.edu Mon Mar 31 11:48:03 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 31 Mar 2008 13:48:03 -0500 Subject: [CM] FIXED: grace/cm3 beta available (osx) In-Reply-To: <000001c8934c$dfae7890$2401a8c0@MACBOOK> References: <000001c8934c$dfae7890$2401a8c0@MACBOOK> Message-ID: <50E933CC-FDFA-4E1D-B1D2-72658D1BFD2B@uiuc.edu> ok i believe I have fixed the linking problem, apologies. i checked with otool, this one does not reference csound and its linking statically with chicken so it ought to run ootb. http://pinhead.music.uiuc.edu/~hkt/grace-cm3-osx-beta.zip > A (beta) drag 'n drop of Grace+CM3 is available for anyone that cares > to test cm3 out. Just double click and away you go. > > http://pinhead.music.uiuc.edu/~hkt/grace-cm3-osx-beta.zip > > > Hi, > just tried the beta on Macbook Pro 2.2Ghz Intel Core Duo, OS X > 10.4.11: > double-click on app but nothing happens...??? > > Hey I am eager to try it... just for what I waited... Thanks a lot > for your > great work > > Pieter >