From howell at ucsc.edu Thu Nov 5 10:28:11 2009 From: howell at ucsc.edu (David Cope) Date: Thu, 05 Nov 2009 10:28:11 -0800 Subject: [CM] WACM Message-ID: Dear Colleague, The seventh Workshop in Algorithmic Computer Music (WACM) will take place from June 21 through July 4, 2010 at the University of California, Santa Cruz (UCSC). The workshop will be held at UCSC's Music Center, which features state of the art facilities as well as sweeping vistas of the Monterey Bay. David Cope, Paul Nauert, and Peter Elsea will be among those on hand to teach and advise workshop attendees. Participants will take classes on the basic techniques of algorithmic composition, algorithmic music analysis, and learning and using the computer programming language Lisp. Participants will create three significant software projects: a Markov-based rules program, a genetic algorithm, and software modeled on the Experiments in Musical Intelligence program. Music analysis software and techniques will also be covered in depth. Many compositional approaches will be discussed in detail including rules-based techniques, data-driven models, genetic algorithms, neural networks, fuzzy logic, mathematical modeling, and sonification. Software programs such as Common Music, Max, Open Music, and so on will also be presented and used. The workshop is limited to 15 participants to ensure an excellent student/teacher ratio. Each participant will receive a class reference manual, class software in source code, and other printed and software tools and guides relevant to the workshop's goals. Access to the world class computer music facilities at UCSC will allow performances and special lectures by invited guests. The workshop includes eight daily hours of individual computer time (with an advisor close at hand). Each week will culminate in performances of participant works and presentations of analysis and composition software. By the workshop's end, each participant will have gained facility with Lisp, have written compositional and analytical software programs, and be presented with a CD of the workshop's accomplishments. Prospective students must have an ability to read music and understand basic music theory as well as have at least a basic facility with computers (text editing, etc.). Students need not be active musicians or programmers. Room and board is available on campus if desired. 5 quarter units of credit is available. see: http://artsites.ucsc.edu/WACM/ howell at ucsc.edu http://arts.ucsc.edu/faculty/cope WACM - Workshop in Algorithmic Computer Music http://arts.ucsc.edu/WACM From taube at uiuc.edu Thu Nov 5 13:04:40 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 5 Nov 2009 15:04:40 -0600 Subject: [CM] Chorale Composer 1.1 Message-ID: <48FC6DD7-C7B7-4044-B5F3-97C42EDE75C6@uiuc.edu> A new 1.1 release of Chorale Composer is available for Windows, Linux and Mac: http://camil.music.uiuc.edu/software/choralecomposer/ (You may have hit Reload in your browser to see the new page info ) Biggest changes in 1.1: 1. A new automatic analysis model takes a 'top-down" approach and yields more human-like tonal analyses 2. Automatic scoring (eg grading) now displayed on practices 3. Links to new example templates from our beginning and advanced theory courses Enjoy! Rick From errordeveloper at gmail.com Thu Nov 5 15:02:43 2009 From: errordeveloper at gmail.com (errordeveloper at gmail.com) Date: Thu, 5 Nov 2009 23:02:43 +0000 Subject: [CM] Snd + Jack, multiple file playback and recording In-Reply-To: <20091029211128.M97414@ccrma.Stanford.EDU> References: <20091029180438.GA15610@00110101.errordevlopment.0> <20091029211128.M97414@ccrma.Stanford.EDU> Message-ID: <20091105230242.GB15610@00110101.errordevlopment.0> On Thu, Oct 29, 2009 at 02:14:14PM -0700, Bill Schottstaedt wrote: > snd-rt is probably the right thing, but if you want to use Snd, > get the current tarball or CVS version (the stuff in the earlier > play.scm seems to be broken), and: > > (bind-key #\o 0 > (lambda () ; send oboe.snd to chan 0 > (play "oboe.snd" 0 #f #f #f #f #f 0))) ; how many #f's?? > > (bind-key #\p 0 > (lambda () ; send pistol.snd to chan 1 > (play "pistol.snd" 0 #f #f #f #f #f 1))) > > ;;; Now open a sound (so you have a non-listener pane to type to) > > (play #f 22050 2) ; srate 22050, 2 output chans > > ;;; this holds the DAC open indefinitely > ;;; Now type o and p in the sound pane until you want to quit, then > > (stop-playing) i would like to actually do it without the GUI. the idea is about building an embedded linux box with a micro-controller on a serial port. so after opening a port and evaluating the input strings as commands (i haven't figured how to do that exactly, but should be easily doable) i want to run some procs that will play files assigned to the outputs of the soundcards. the box would be a harddrive recorder basically ;) i might use digital multichannel interface for audio IO. i would need to be able to patch some channels in jack and record the output back into snd. so say i got 8 channels and 6 off them i'd like to play while the other two will pass trough an external FX via jack and record the two processed chans back into snd. From Mark.Sexton at port.ac.uk Thu Nov 5 15:58:52 2009 From: Mark.Sexton at port.ac.uk (Mark Sexton) Date: Thu, 05 Nov 2009 23:58:52 +0000 Subject: [CM] Cmdist Digest, Vol 21, Issue 1 In-Reply-To: References: Message-ID: <4AF366BC.2F4F.008B.0@port.ac.uk> Dear David I hope you're well. It's Mark Sexton from WACM '08 here. I've started a DPhil in algorithmic composition at Sussex University. I'm particularly interested in applying perceptual models e.g. GTTM to generate structural descriptions of analysed music that can then be used at models for further algorithmic compositions. Although I'm working on this anyway, I'd be quite interested in bringing a smaller sub-project to WACM 2010 as I really enjoyed the chance to benefit from all of your expertise and the chance to lock myself away from external day-to-day distractions! I'm wondering if you had any objections to someone attending WACM who has already been? Also, I'm visiting Cambodia at Christmas and was going to get in touch with Mannie in Phnom Phen from WACM '08. I seem to have lost his contact details and wondered if anyone there had a copy on file at all? I hope everyone at UCSC is well, I'm spreading the algorithmic composition word back here in the UK! Mark Sexton University of Portsmouth UK >>> 11/05/09 8:00 PM >>> Send Cmdist mailing list submissions to cmdist at ccrma.stanford.edu Today's Topics: 1. WACM (David Cope) ---------------------------------------------------------------------- Message: 1 Date: Thu, 05 Nov 2009 10:28:11 -0800 From: "David Cope" Subject: [CM] WACM To: cmdist at ccrma.Stanford.EDU Message-ID: Content-Type: text/plain;charset=utf-8;format="flowed" Dear Colleague, The seventh Workshop in Algorithmic Computer Music (WACM) will take place from June 21 through July 4, 2010 at the University of California, Santa Cruz (UCSC). The workshop will be held at UCSC's Music Center, which features state of the art facilities as well as sweeping vistas of the Monterey Bay. David Cope, Paul Nauert, and Peter Elsea will be among those on hand to teach and advise workshop attendees. Participants will take classes on the basic techniques of algorithmic composition, algorithmic music analysis, and learning and using the computer programming language Lisp. Participants will create three significant software projects: a Markov-based rules program, a genetic algorithm, and software modeled on the Experiments in Musical Intelligence program. Music analysis software and techniques will also be covered in depth. Many compositional approaches will be discussed in detail including rules-based techniques, data-driven models, genetic algorithms, neural networks, fuzzy logic, mathematical modeling, and sonification. Software programs such as Common Music, Max, Open Music, and so on will also be presented and used. The workshop is limited to 15 participants to ensure an excellent student/teacher ratio. Each participant will receive a class reference manual, class software in source code, and other printed and software tools and guides relevant to the workshop's goals. Access to the world class computer music facilities at UCSC will allow performances and special lectures by invited guests. The workshop includes eight daily hours of individual computer time (with an advisor close at hand). Each week will culminate in performances of participant works and presentations of analysis and composition software. By the workshop's end, each participant will have gained facility with Lisp, have written compositional and analytical software programs, and be presented with a CD of the workshop's accomplishments. Prospective students must have an ability to read music and understand basic music theory as well as have at least a basic facility with computers (text editing, etc.). Students need not be active musicians or programmers. Room and board is available on campus if desired. 5 quarter units of credit is available. see: http://artsites.ucsc.edu/WACM/ howell at ucsc.edu http://arts.ucsc.edu/faculty/cope WACM - Workshop in Algorithmic Computer Music http://arts.ucsc.edu/WACM ************************************* From bsack23 at gmail.com Thu Nov 5 19:38:11 2009 From: bsack23 at gmail.com (Bill Sack) Date: Thu, 5 Nov 2009 22:38:11 -0500 Subject: [CM] Grace: "Error: run-safety: unbound variable" Message-ID: <2eb2318a0911051938j5846137jc2962cb739072a03@mail.gmail.com> i built cm and Grace today using the current svn trunk version and the current sndlib. config and compile goes well, but on starting grace i see "Error: run-safety: unbound variable" in the console, and then "Error: definstrument: unbound variable" when i try to load a clm instrument. so it looks like something important hasn't gotten loaded ... i've tried this a few times and grepped around but can't figure out what i did wrong. it seems like the rest of cm and grace is working as it should, though i haven't tested it all thoroughly. this is on planetccrma/Fedora 8 and cm svn:1770 thanks, bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Fri Nov 6 02:47:07 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 6 Nov 2009 03:47:07 -0700 Subject: [CM] Grace: "Error: run-safety: unbound variable" In-Reply-To: <2eb2318a0911051938j5846137jc2962cb739072a03@mail.gmail.com> References: <2eb2318a0911051938j5846137jc2962cb739072a03@mail.gmail.com> Message-ID: <20091106104513.M7779@ccrma.Stanford.EDU> run-safety was removed awhile ago -- where is it still in use? definstrument is in sndlib-ws.scm or ws.scm. From taube at uiuc.edu Fri Nov 6 04:49:09 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 6 Nov 2009 06:49:09 -0600 Subject: [CM] Grace: "Error: run-safety: unbound variable" In-Reply-To: <2eb2318a0911051938j5846137jc2962cb739072a03@mail.gmail.com> References: <2eb2318a0911051938j5846137jc2962cb739072a03@mail.gmail.com> Message-ID: i think what is going on is that I built cm against an earlier version of sndlib where the function was defined. this is the version of sndlib I built against (visible in the Grace console): S7 Scheme 1.31 (7-Sep-09) (c) 2009 William Schottstaedt so if run-safety was removed since that time the souces wont work. I will be doing some work on grace this weekend, and there is a bug fix i need to check in for starting linux audio. im not sure about the definstrument, that worries me! clm is working great in the current Grace. ill try to sort this out in the next few days. From bsack23 at gmail.com Fri Nov 6 14:39:23 2009 From: bsack23 at gmail.com (Bill Sack) Date: Fri, 6 Nov 2009 17:39:23 -0500 Subject: [CM] Grace: "Error: run-safety: unbound variable" In-Reply-To: References: <2eb2318a0911051938j5846137jc2962cb739072a03@mail.gmail.com> Message-ID: <2eb2318a0911061439y469487e9h4d52f576630bfd77@mail.gmail.com> On Fri, Nov 6, 2009 at 7:49 AM, Heinrich Taube wrote: > i think what is going on is that I built cm against an earlier version of > sndlib where the function was defined. > this is the version of sndlib I built against (visible in the Grace > console): > > the sndlib i have now is S7 Scheme 1.36 (3-Nov-09) > > im not sure about the definstrument, that worries me! clm is working > great in the current Grace. ill try to sort this out in the next few days. > > i was thinking that sndlib-ws.scm (which contains definstrument) isn't getting completely loaded because of the error? i tried commenting out the line that refers to 'run-safety' and even recompiled grace but still get the error. -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Nov 8 07:21:48 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 8 Nov 2009 09:21:48 -0600 Subject: [CM] Grace: "Error: run-safety: unbound variable" In-Reply-To: <2eb2318a0911061439y469487e9h4d52f576630bfd77@mail.gmail.com> References: <2eb2318a0911051938j5846137jc2962cb739072a03@mail.gmail.com> <2eb2318a0911061439y469487e9h4d52f576630bfd77@mail.gmail.com> Message-ID: ok ive checked in a new bug fix release of cm (rev 1775) and bumped the version to 3.3.1 1 updated to use the latest sndlib tarball: S7 Scheme 1.37 (7-Nov-09) (c) 2009 William Schottstaedt you must install this sndlib or later! 2 added missing function load-sal-file so sal's load command now works for .sal files as well as .scm files 3 sal iteration now looks for duplicated variables in clause definitions and signals an error if it finds one 4 fixed window selection keyboard shortcuts (COMMAND-1 etc) so it wont crash the app if the window no longer exists 5 fixed linux bug that insisted on stereo input devices and timed out if you didnt have input devices if a few people would build and test ill make a binary release in a day or two would anyone mind if i removed support for Chicken Scheme? From errordeveloper at gmail.com Tue Nov 10 17:17:33 2009 From: errordeveloper at gmail.com (errordeveloper at gmail.com) Date: Wed, 11 Nov 2009 01:17:33 +0000 Subject: [CM] Snd GTK/Cairo + DirectFB Message-ID: <20091111011733.GC15610@00110101.errordevlopment.0> Hello, i have looked into xg.c and it seems like porting it to Cairo/DirectFB shouldn't be to difficult. it does look quite abstract, i.e. doesn't seem to have hardcoded Cairo/Xlib functions. but it is very hard to understand the whole structure of the code in xg.c ;( my project is to run snd without the main gui widget, but implement different custom bits of gui (widgets) but i'd like to avoid Xserver for my rather embedded project. that is going to be multitrack recorder/player with a micro controller board connected to serial port and sending commands to snd when buttons on the board a pressed. eventually i'd like to implement a touch screen with extended gui funtionality. i wanna use DirectFB (http://directfb.org) insted of X11 beacause it is definetly far more appropriate for this application. could anyone who knows the guts of xg.c help? From bil at ccrma.Stanford.EDU Wed Nov 11 04:04:16 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 11 Nov 2009 04:04:16 -0800 Subject: [CM] Snd GTK/Cairo + DirectFB In-Reply-To: <20091111011733.GC15610@00110101.errordevlopment.0> References: <20091111011733.GC15610@00110101.errordevlopment.0> Message-ID: <20091111120130.M86455@ccrma.Stanford.EDU> xg.c is probably not what you want to change. I looked at http://directfb.org/wiki/index.php/Projects:GTK_on_DirectFB and it looks like you need only fix some includes and the loader/compiler flags in the makefile. If I can find time (probably not today), I'll look into it. From awgrover at msen.com Wed Nov 11 06:23:18 2009 From: awgrover at msen.com (Alan Grover) Date: Wed, 11 Nov 2009 09:23:18 -0500 Subject: [CM] pops when sample == 1.0? Message-ID: <4AFAC8D6.9060008@msen.com> I was programmatically generating some waveforms, and got some pops in the middle of them. I tracked it down to samples whose value is 1.0, or more specifically, when a sample goes from <1.0 to 1.0, and from 1.0 to <1.0. Since I'm using make-oscil, I would assume that a pop is not to be expected. I'm new to snd, so, am I missing something? ;; This chunk produces a pop (close-sound #t) (new-sound "click") (define (sine-portion duration-secs start-phase duration-phase) "start a sine-wave at start-phase, for duration-phase wave-lengths, lasting duration-secs" (let* ( (full-wave-duration (* duration-secs (/ 1 duration-phase))) (sine-hz (/ 1 full-wave-duration)) (full-sine (vct-map! (make-vct (+ 1 (* (srate) duration-secs)) 0.0) (make-oscil sine-hz :initial-phase (* 2 pi start-phase)) ))) full-sine)) ; a "hump", start at zero, up to max, back down to zero (vct->channel (sine-portion 1 0 .5)) ; this will produce a click at the peak of the hump (play) ;; This chunk makes the pop go away ; replace the peak with slightly smaller value: (let* ( (has-click (vct->vector (sine-portion 1 0 .5))) (unpeaked (vector->vct (map (lambda (a) (if (= a 1.0) ; nb: those samples that are "exactly" 1.0 0.9999 ; change 1.0's into .99999's a)) has-click))) ) (close-sound #t) (new-sound "click") (vct->channel unpeaked)) ; no click: (play) -- Alan Grover awgrover at mail.msen.com +1.734.476.0969 (The "email signature" and/or digital-signature are only for informational and integrity purposes and does not constitute a legal signature) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: From bil at ccrma.Stanford.EDU Wed Nov 11 07:00:37 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 11 Nov 2009 07:00:37 -0800 Subject: [CM] pops when sample == 1.0? In-Reply-To: <4AFAC8D6.9060008@msen.com> References: <4AFAC8D6.9060008@msen.com> Message-ID: <20091111145721.M67098@ccrma.Stanford.EDU> > I tracked it down to samples whose value is 1.0 Probably the DAC is using a data format in which 1.0 becomes -1.0, giving a click. In with-sound, values of 1.0 are normally reset to 0.99999 (if clipping is on) to avoid these clicks. From errordeveloper at gmail.com Wed Nov 11 10:31:28 2009 From: errordeveloper at gmail.com (errordeveloper at gmail.com) Date: Wed, 11 Nov 2009 18:31:28 +0000 Subject: [CM] Snd GTK/Cairo + DirectFB In-Reply-To: <20091111120130.M86455@ccrma.Stanford.EDU> References: <20091111011733.GC15610@00110101.errordevlopment.0> <20091111120130.M86455@ccrma.Stanford.EDU> Message-ID: <20091111183128.GD15610@00110101.errordevlopment.0> On Wed, Nov 11, 2009 at 04:04:16AM -0800, Bill Schottstaedt wrote: > xg.c is probably not what you want to change. I looked at > > http://directfb.org/wiki/index.php/Projects:GTK_on_DirectFB > > and it looks like you need only fix some includes and the > loader/compiler flags in the makefile. If I can find time > (probably not today), I'll look into it. > that would be excelent ;) cheers, Bill. Best Reagrds, -- ilya .d From surgesg at gmail.com Wed Nov 11 16:16:25 2009 From: surgesg at gmail.com (Greg Surges) Date: Wed, 11 Nov 2009 18:16:25 -0600 Subject: [CM] Scheme Syntax Formatting Message-ID: <67a405730911111616h4c16483i3d279e388997a257@mail.gmail.com> Hi all, I haven't used CM in a while, and it appears that things have changed. Using Grace, tabbed indentation seems to not be working correctly. For example, the function (define (greater-than-three number) (cond ((> number 3) #t) ((< number 3) #f) ((= number 3) #f))) is formatted strangely by default, and I can't indent the last conditional case to match the other two. Is this a known issue, or am I missing something important? Thanks a lot, - Greg Surges -- -- http://www.gregsurges.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at illinois.edu Wed Nov 11 17:12:00 2009 From: taube at illinois.edu (taube at illinois.edu) Date: Wed, 11 Nov 2009 19:12:00 -0600 (CST) Subject: [CM] Scheme Syntax Formatting In-Reply-To: <67a405730911111616h4c16483i3d279e388997a257@mail.gmail.com> References: <67a405730911111616h4c16483i3d279e388997a257@mail.gmail.com> Message-ID: <20091111191200.BYH83609@expms6.cites.uiuc.edu> thanks for the report, ill have to take a look at it. ---- Original message ---- >Date: Wed, 11 Nov 2009 18:16:25 -0600 >From: Greg Surges >Subject: [CM] Scheme Syntax Formatting >To: cmdist at ccrma.Stanford.EDU > > Hi all, > I haven't used CM in a while, and it appears that things have changed. > Using Grace, tabbed indentation seems to not be working correctly. > For example, the function > (define (greater-than-three number) > ??(cond ((> number 3) #t) > ?? ? ? ?((< number 3) #f) > ?? ?((= number 3) #f))) > is formatted strangely by default, and I can't indent the last > conditional case to match the other two. Is this a known issue, or > am I missing something important? > Thanks a lot, > - Greg Surges > -- > -- > http://www.gregsurges.com >________________ >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Fri Nov 13 06:25:27 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 13 Nov 2009 08:25:27 -0600 Subject: [CM] Common Music feature request: OSC support... In-Reply-To: <675c26740911120930k7426895s56c380c7f721c6c5@mail.gmail.com> References: <675c26740911120930k7426895s56c380c7f721c6c5@mail.gmail.com> Message-ID: <0F35FBA1-D716-4B11-8077-C7A316253159@uiuc.edu> > > I was hoping you would consider adding OSC support for Common Music. > [...] > I hope you will consider this request. I think it would greatly expand > Common Musics capabilities and interoperability with other audio > software environments. > hi, thanks for the message -- im aware of oscpack and having osc port has been on my todo list. it wouldn't be much work to link to oscpack and provide a port, the real issue is what the scheme api would look like. todd ingalls had a common lisp api a few years ago maybe i could just dust that off. anyway ill take a look at this for the next release im going to remove support for Chicken Scheme unless anyone clucks about this decision in the next few days. ive been pleasantly surprised at how well s7 is standing up to realtime processing From dlphillips at woh.rr.com Fri Nov 13 07:12:55 2009 From: dlphillips at woh.rr.com (Dave Phillips) Date: Fri, 13 Nov 2009 10:12:55 -0500 Subject: [CM] Common Music feature request: OSC support... In-Reply-To: <0F35FBA1-D716-4B11-8077-C7A316253159@uiuc.edu> References: <675c26740911120930k7426895s56c380c7f721c6c5@mail.gmail.com> <0F35FBA1-D716-4B11-8077-C7A316253159@uiuc.edu> Message-ID: <4AFD7777.7090508@woh.rr.com> Heinrich Taube wrote: >> I was hoping you would consider adding OSC support for Common Music. >> [...] >> I hope you will consider this request. I think it would greatly expand >> Common Musics capabilities and interoperability with other audio >> software environments. >> >> Vote++ Perhaps liblo would fit ? http://liblo.sourceforge.net/ Best, dp From taube at uiuc.edu Fri Nov 13 07:30:50 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 13 Nov 2009 09:30:50 -0600 Subject: [CM] Common Music feature request: OSC support... In-Reply-To: <4AFD7777.7090508@woh.rr.com> References: <675c26740911120930k7426895s56c380c7f721c6c5@mail.gmail.com> <0F35FBA1-D716-4B11-8077-C7A316253159@uiuc.edu> <4AFD7777.7090508@woh.rr.com> Message-ID: <02D3B4DC-C279-482A-B4C1-343916EF87C4@uiuc.edu> yes im looking at liblo right now! trying to see if i could build it as a static lib... ive also run into a juce applet called MouseToOSC-1.1, i cant build it on mac but it looks like it works on linux. if someone could confirm that it might be easiest if i just used his code for the message and port implementation. http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/Mouse-To-OSC.shtml On Nov 13, 2009, at 9:12 AM, Dave Phillips wrote: > Heinrich Taube wrote: >>> I was hoping you would consider adding OSC support for Common Music. >>> [...] >>> I hope you will consider this request. I think it would greatly >>> expand >>> Common Musics capabilities and interoperability with other audio >>> software environments. >>> >>> > > Vote++ > > Perhaps liblo would fit ? > > http://liblo.sourceforge.net/ > > Best, > > dp > From taube at uiuc.edu Sun Nov 15 11:22:15 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 15 Nov 2009 13:22:15 -0600 Subject: [CM] cellular automata Message-ID: <0D5AD5F5-A07D-4434-9BD8-AA4A5C6D0E7E@uiuc.edu> svn now has an implementation 1 and 2D cellular automata, including the ability to display automata evolve in a GUI "state window" that lets you assocate cell colors with states. you probably need a recent sndlib for this to work. i dont have the dictionary updated yet but an example file with documentation is now in the Examples menu. just start Grace and try the examples (scheme for now). You can also work with automata in the 'cm' console app but of course there will be no gui states window there. the state window can actually be used for other things as well as automata. if you come up with a cool sounding or looking automata send it to me, or let me know if there are things the implementation still needs! From dlphillips at woh.rr.com Mon Nov 16 07:17:45 2009 From: dlphillips at woh.rr.com (Dave Phillips) Date: Mon, 16 Nov 2009 10:17:45 -0500 Subject: [CM] Common Music feature request: OSC support... In-Reply-To: <02D3B4DC-C279-482A-B4C1-343916EF87C4@uiuc.edu> References: <675c26740911120930k7426895s56c380c7f721c6c5@mail.gmail.com> <0F35FBA1-D716-4B11-8077-C7A316253159@uiuc.edu> <4AFD7777.7090508@woh.rr.com> <02D3B4DC-C279-482A-B4C1-343916EF87C4@uiuc.edu> Message-ID: <4B016D19.2010706@woh.rr.com> Heinrich Taube wrote: > > ive also run into a juce applet called MouseToOSC-1.1, i cant build > it on mac but it looks like it works on linux. if someone could > confirm that it might be easiest if i just used his code for the > message and port implementation. > > http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/Mouse-To-OSC.shtml > Hi Rick, Alas, the app was written for an older version of JUCE. As a result there are issues with the build, starting with its use of the deprecated ShinyLookAndFeel. AFAICT I was able to fix that error but promptly received another error message regarding a C++ issue. Debugging C++ is not so easy for me, so I've stopped trying to build the app until I join the JUCE group and post the error to their forum. I wrote to Niall Moody about the first error but haven't heard from him yet. He's stated that he has no time to update his code so I'll ask for help on the JUCE list. Best, dp From taube at uiuc.edu Mon Nov 16 07:36:54 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 16 Nov 2009 09:36:54 -0600 Subject: [CM] Common Music feature request: OSC support... In-Reply-To: <4B016D19.2010706@woh.rr.com> References: <675c26740911120930k7426895s56c380c7f721c6c5@mail.gmail.com> <0F35FBA1-D716-4B11-8077-C7A316253159@uiuc.edu> <4AFD7777.7090508@woh.rr.com> <02D3B4DC-C279-482A-B4C1-343916EF87C4@uiuc.edu> <4B016D19.2010706@woh.rr.com> Message-ID: <5243B113-0BA3-4A41-96A6-CB3895503533@uiuc.edu> otoh liblo looks really good, i can probably write C wrappers for that. im still not sure what people want to do with osc in scheme code but maybe i can just take todds old api. On Nov 16, 2009, at 9:17 AM, Dave Phillips wrote: > Heinrich Taube wrote: >> >> ive also run into a juce applet called MouseToOSC-1.1, i cant >> build it on mac but it looks like it works on linux. if someone >> could confirm that it might be easiest if i just used his code for >> the message and port implementation. >> >> http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/Mouse-To-OSC.shtml > Hi Rick, > > Alas, the app was written for an older version of JUCE. As a result > there are issues with the build, starting with its use of the > deprecated ShinyLookAndFeel. AFAICT I was able to fix that error but > promptly received another error message regarding a C++ issue. > Debugging C++ is not so easy for me, so I've stopped trying to build > the app until I join the JUCE group and post the error to their > forum. I wrote to Niall Moody about the first error but haven't > heard from him yet. He's stated that he has no time to update his > code so I'll ask for help on the JUCE list. > > Best, > > dp > From rbbekkhus at yahoo.com Tue Nov 17 01:47:47 2009 From: rbbekkhus at yahoo.com (Rune Boutroue Bekkhus) Date: Tue, 17 Nov 2009 01:47:47 -0800 (PST) Subject: [CM] Notes from the Metalevel In-Reply-To: <20080509133753.BEE82229@expms6.cites.uiuc.edu> References: <2A1FFC0C-D120-4FCB-9E52-22D25AE6166F@yahoo.com> <20080509133753.BEE82229@expms6.cites.uiuc.edu> Message-ID: <26387014.post@talk.nabble.com> It sounds so wonderful to have updated examples? Has anyone had the chance to rewrite them yet? The "Metalevel" book is all I have, but "Unbound variable" haunts me around every corner as I try to follow it. If it's too much work rewriting everything, then maybe just an alphabetical or chronological list over outdates functions and their replacements CM 3.3.0? Rune Boutroue Bekkhus. Heinrich Taube wrote: > > [?] But really, I should just rewrite the book's examples for Grace+CM3! > that would be a much friendlier environment for working with the examples > than what I have on that CD, which is years old now. [?] > > best, rick > > ---- Original message ---- >>Date: Thu, 8 May 2008 16:00:04 -0400 >>From: Henry Feinberg >>Subject: [CM] Notes from the Metalevel >>To: cmdist at ccrma.Stanford.EDU >> >>I just bought th e book "Notes from the Metalevel" and the CD that >>comes with the book is obsolete for my operating system - an Imac - >>Tiger 10.4.1 (?] >>Henry Feinberg >>pianohenry at yahoo.com >> >>_______________________________________________ >>Cmdist mailing list >>Cmdist at ccrma.stanford.edu >>http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -- View this message in context: http://old.nabble.com/Notes-from-the-Metalevel-tp17135282p26387014.html Sent from the CCRMA - CMdist mailing list archive at Nabble.com. From charles.virot at gmail.com Fri Nov 20 14:07:29 2009 From: charles.virot at gmail.com (charles virot) Date: Fri, 20 Nov 2009 23:07:29 +0100 Subject: [CM] ladspa plugins Message-ID: <25ce904b0911201407j79e3557cx1b47b5c5b1f60edb@mail.gmail.com> Hi every one, I can't get working the gui to the ladspa plugins. when i load ladspa.scm there is the message: Unbound variable: def-class A menu appears, but nothing inside it. My ladspa-dir is well set to /usr/lib/ladspa. I didn't find any help on the web. The menu works well in snd-ls, but i prefer a light soft with customization. I use snd-8.8, because record is working, though i can't get working ladspa gui in any snd version. Thanks for your help. Charles. -------------- next part -------------- An HTML attachment was scrubbed... URL: From k.s.matheussen at notam02.no Fri Nov 20 14:35:40 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 20 Nov 2009 23:35:40 +0100 (CET) Subject: [CM] ladspa plugins In-Reply-To: <25ce904b0911201407j79e3557cx1b47b5c5b1f60edb@mail.gmail.com> References: <25ce904b0911201407j79e3557cx1b47b5c5b1f60edb@mail.gmail.com> Message-ID: On Fri, 20 Nov 2009, charles virot wrote: > Hi every one, > > I can't get working the gui to the ladspa plugins. > when i load ladspa.scm there is the message: > Unbound variable: def-class > A menu appears, but nothing inside it. > My ladspa-dir is well set to /usr/lib/ladspa. > I didn't find any help on the web. > The menu works well in snd-ls, but i prefer a light soft with customization. > I use snd-8.8, because record is working, though i can't get working ladspa > gui in any snd version. > > Thanks for your help. > I guess debugging isn't turned on. The following stuff should be in $HOME/.snd : " (use-modules (ice-9 debug)) (use-modules (ice-9 rdelim)) (set! (show-backtrace) #t) (debug-enable 'debug) (read-enable 'positions) (if #f (begin (read-enable 'positions) (debug-enable 'debug) (debug-enable 'backtrace) (debug-set! frames 28) (debug-set! depth 250))) " When debugging turned on, I get this message when loading ladspa.scm: " Unbound variable: srfi-loaded In unknown file: ?: 0* [primitive-load-path "oo.scm"] In /home/kjetil/snd-run/oo.scm: 83: 1* (if (not srfi-loaded) (use-modules (srfi srfi-1))) 83: 2* [not ... ; (load-from-path "ladspa.scm") " And that explains the problem. This works (at least for me): (define srfi-loaded #f) (load-from-path "ladspa.scm") From taube at uiuc.edu Tue Nov 24 09:00:53 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 24 Nov 2009 11:00:53 -0600 Subject: [CM] CM <-> OSC working Message-ID: svn tip has a new OSC port working. See the Audio>OSC menu for opening/closing connections using the GUI, or use the following scheme api: (osc:open in out) (osc:message path data...) (osc:hook func) (osc:close ) see res/doc/cm.html#osc for the documentation, examples are already in the Help>Examples menu ive tested on osx and linux. Ive saved an OSX build for people to try out here: http://camil.music.uiuc.edu/software/grace/grace-3.4.0-osx-intel.zip I can probably save a Ubuntu build too if anyone wants it but its easy enought to build from sources, you just need liblo installed and its root path specified to premake (you need a recent sndlib too): premake --verbose --target gnu --sndlib /path/to/sndlib --liblo /usr/ local -- possible next steps: optimize input hook calling and implementing osc bundles. i wont tackle this stuff until the dust settles and i get feedback i. todd ingalls wrote a very nice library of supercollider bundles that might be worth porting from cm2/src/rt-sc.lisp ... From taube at uiuc.edu Tue Nov 24 09:31:44 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 24 Nov 2009 11:31:44 -0600 Subject: [CM] help menu In-Reply-To: References: Message-ID: <5BB6B3FF-130A-4D10-AD64-FE53BEBA7A19@uiuc.edu> forgot to say that the help menu now has submenus for sal and scheme tutorials/examples and ive added ugur's scheme translations of the tutorials to the Help>Scheme Tutorials> submenu. I havent had a chance to look at these tutorials or clean them up in any way. the scm examples menu is not very full yet, just osc, plotting and cellular automata. cellular automata functions are jnow documented. From dlphillips at woh.rr.com Tue Nov 24 09:39:45 2009 From: dlphillips at woh.rr.com (Dave Phillips) Date: Tue, 24 Nov 2009 12:39:45 -0500 Subject: [CM] CM <-> OSC working In-Reply-To: References: Message-ID: <4B0C1A61.4060504@woh.rr.com> Heinrich Taube wrote: > svn tip has a new OSC port working... Hi Rick, Excellent news. I'll test asap. Btw, Niall Moody sent updated code for MouseToOSC, it built without troubles on Ubuntu Jaunty. The app runs, but I haven't tested it with anything yet. Maybe I can put it together with CM. Holidays. Busy, busy, busy. :-/ Best, dp From taube at uiuc.edu Tue Nov 24 09:54:11 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 24 Nov 2009 11:54:11 -0600 Subject: [CM] CM <-> OSC working In-Reply-To: <4B0C1A61.4060504@woh.rr.com> References: <4B0C1A61.4060504@woh.rr.com> Message-ID: im actually very happy with liblo, its simple and well supported. btw it looks like juce finally has jack support, at least thats what the linux subgroup seems to suggest. i cant tell if its actually working, it seems jules checked in someone elses code. On Nov 24, 2009, at 11:39 AM, Dave Phillips wrote: > Heinrich Taube wrote: >> svn tip has a new OSC port working... > > Hi Rick, > > Excellent news. I'll test asap. Btw, Niall Moody sent updated code > for MouseToOSC, it built without troubles on Ubuntu Jaunty. The app > runs, but I haven't tested it with anything yet. Maybe I can put it > together with CM. > > Holidays. Busy, busy, busy. :-/ > > Best, > > dp > From computer.music.neix at gmail.com Wed Nov 25 12:16:45 2009 From: computer.music.neix at gmail.com (miquel parera) Date: Wed, 25 Nov 2009 21:16:45 +0100 Subject: [CM] Snd newbie question Message-ID: Hello. I try to begin with snd in Ubuntu Hardy but the .scm archives for motif don't work. I googled xm.so to find out which package I can find but I did not succeed. Does anyone use snd with all complementary in ubuntu? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed Nov 25 12:21:48 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 25 Nov 2009 12:21:48 -0800 Subject: [CM] Snd newbie question In-Reply-To: References: Message-ID: <20091125201809.M45304@ccrma.Stanford.EDU> > I try to begin with snd in Ubuntu Hardy but the .scm archives for motif don't work. > I googled xm.so to find out which package I can find but I did not succeed. > Does anyone use snd with all complementary in ubuntu? It what way did something not work? There is no xm.so. From andersvi at notam02.no Fri Nov 27 03:45:20 2009 From: andersvi at notam02.no (andersvi at notam02.no) Date: Fri, 27 Nov 2009 12:45:20 +0100 Subject: [CM] snd fd error Message-ID: <877htcdukb.fsf@notam02.no> Hi. Using recent snd's with jack, im getting some error trying to play anything: file descriptors not initialized: mus_write: no file descriptors![Thread 0xb4bf3b90 (LWP 9947) exited] and: SNDLIB: Unable to set SCHED_RR realtime priority for the player thread. Heres a run using gdb (gdb) run Starting program: /mnt/data/site/cm-sys/snd-11/snd [Thread debugging using libthread_db enabled] [New Thread 0xb644a730 (LWP 9910)] [New Thread 0xb627cb90 (LWP 9913)] [New Thread 0xb595cb90 (LWP 9916)] [New Thread 0xb4bf3b90 (LWP 9947)] SNDLIB: Unable to set SCHED_RR realtime priority for the player thread. file descriptors not initialized: mus_write: no file descriptors![Thread 0xb4bf3b90 (LWP 9947) exited] *features* (snd11 snd snd-guile snd-motif jack oss snd-debug gl xm snd-ladspa gl2ps clm4 clm sndlib record defmacro array array-for-each random debug-extensions delay current-time values sort socket net-db regex EIDs posix inexact complex i/o-extensions i18n threads full-continuation char-ready? system) (snd-version) "26-Nov-09" While im at it, how can i run snd in gdb, and get access to gdbs various commands ('where' 'up'...)? Im only talking with guile now it seems. Cheers. -anders From bil at ccrma.Stanford.EDU Fri Nov 27 06:18:19 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 27 Nov 2009 06:18:19 -0800 Subject: [CM] snd fd error In-Reply-To: <877htcdukb.fsf@notam02.no> References: <877htcdukb.fsf@notam02.no> Message-ID: <20091127141708.M587@ccrma.Stanford.EDU> > SNDLIB: Unable to set SCHED_RR realtime priority for the player thread. This is from the Jack portion of audio.c. My guess is that after this error, the output ports aren't opened, so you get the other error, but Kjetil is the expert. > While im at it, how can i run snd in gdb, and get access to gdbs various > commands ('where' 'up'...)? Im only talking with guile now it seems. Normally, C-C will stop Snd and drop you into gdb, if you started in gdb. C-C may be trapped in your version of Snd, so you might need (abort) or even (exit). From k.s.matheussen at notam02.no Fri Nov 27 06:31:38 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 27 Nov 2009 15:31:38 +0100 (CET) Subject: [CM] snd fd error In-Reply-To: <20091127141708.M587@ccrma.Stanford.EDU> References: <877htcdukb.fsf@notam02.no> <20091127141708.M587@ccrma.Stanford.EDU> Message-ID: On Fri, 27 Nov 2009, Bill Schottstaedt wrote: >> SNDLIB: Unable to set SCHED_RR realtime priority for the player thread. > > This is from the Jack portion of audio.c. My guess is that after > this error, the output ports aren't opened, so you get the other > error, but Kjetil is the expert. > It's not an error. It just informs that the player thread is not going to run in realtime. So everything is apparently fine in the jack part of the player. From bil at ccrma.Stanford.EDU Fri Nov 27 06:52:47 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 27 Nov 2009 06:52:47 -0800 Subject: [CM] snd fd error In-Reply-To: <877htcdukb.fsf@notam02.no> References: <877htcdukb.fsf@notam02.no> Message-ID: <20091127145142.M98377@ccrma.Stanford.EDU> Could this be related to the recent, not-backwards-compatible change to "play"? I tried to fix up all the cases in Snd's scm files. To get the old version, use "old-play". From taube at uiuc.edu Fri Nov 27 08:21:51 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 27 Nov 2009 10:21:51 -0600 Subject: [CM] cm running in juce 1.50 Message-ID: <69F37F1B-128E-4D5D-8111-52DF40931EDD@uiuc.edu> svn tip is now upgraded to use the latest version of juce_amalgamated from his 'git tip' so that I dont get too far behind his development. in addition to bug fixes the new juce contains alot of nice additions (many of which are not fully implemted): jack support on linux, a real CodeEditor class, juce-in-a-browser , and -- on the mac -- a port to cocoa and juce-on-an-iphone (!) ive ifdef'ed the mods I had to make so its easy enough to switch cm back to the stable 1.48 juce_amalgamated if things dont work out right, i think it would be something like: svn merge -c -1792 src/juce_amalgamated.* i just saved a new beta binary of cm 3.4 for mac that uses the new juce version, the only thing i have to still figure out is how to install a custom font (you get the default one for now) : http://camil.music.uiuc.edu/software/grace/grace-3.4.0-osx-intel.zip From taube at uiuc.edu Sat Nov 28 05:09:23 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 28 Nov 2009 07:09:23 -0600 Subject: [CM] aif in Grace and CLM In-Reply-To: References: Message-ID: hi charles! in Grace the default audio file format is initialized to WAV because that format works everywhere. but in clm you can use any format you want, you just need to specify the appropriate header and data format values, which for AIFF would be :header-type mus-aifc and :data-format mus-bshort , respectively. so your example would look something like: (with-sound (:srate 44100 :header-type mus-aifc :data-format mus- bshort :output "/Users/cnichols/Work/composition/playground/clm/ test.aif") (grani 0 5 1 "/Users/cnichols/Work/composition/playground/clm/km1- sicltttN.aif") ) if you set up clm's globals the way you want then you dont need to specfiy these values each time you use with-sound: (define *clm-file-name* "test.aif") (define *clm-data-format* mus-aifc ) (define *clm-header-type* mus-bshort) (define *clm-srate* 44100) and now your example becomes more managable: (with-sound (:output "/Users/cnichols/Work/composition/playground/clm/ test.aif") (grani 0 5 1 "/Users/cnichols/Work/composition/playground/clm/km1- sicltttN.aif") ) If you look in Grace's Audio Menu you will find a SndLib submenu where you can set preferneces like channels and srate. The advantage of a preference is that the app will boot up with those values in effect so you dont ever need to set globals. but I see that my menu doesn have a "default audio format" prefernce for saving AIFF vs WAV vs SND settings. hmm this would only take about 20 minutes to add so ill do it today and post a message when you can download the beta app with it working. On Nov 28, 2009, at 12:10 AM, Nichols, Charles wrote: > Rick- > > I'm excited to get back to using CM and CLM, and have downloaded > your new Grace environment, which looks elegant! > > I'm trying to write output to an .aif file with > > (with-sound (:srate 44100 :output "/Users/cnichols/Work/composition/ > playground/clm/test.aif") > (grani 0 5 1 "/Users/cnichols/Work/composition/playground/clm/km1- > sicltttN.aif") > ) > > but it doesn't write a playable file. It reads the "km1- > siclttN.aif" file, but it won't write a playable "test.aif", > "test.aiff", or "test.snd" file. It will write a playable > "test.wav" file. Is there something I'm forgetting, to write > an .aif, or should I stick with .wav? Or, is this a question for > Bill? > > Looking forward to working with Grace. > > -Charles > > Charles Nichols > Associate Professor, Composition and Music Technology > University of Montana, Department of Music > 32 Campus Drive, Missoula, MT 59812 > (406) 243-5360 > www.charlesnichols.com > From bil at ccrma.Stanford.EDU Sun Nov 29 03:48:29 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 29 Nov 2009 03:48:29 -0800 Subject: [CM] Snd 11.1 Message-ID: <20091129114638.M50789@ccrma.Stanford.EDU> Snd 11.1 many more ruby/forth improvements thanks to Mike. *trace-hook* in s7. Also defmacro* and define-macro*. make-list. force and delay are now included in s7 only if WITH_FORCE is defined. The slib implementation is used. The promise? function has been removed. I used "make-promise" for "delay" in earlier versions of s7 to avoid collisions with CLM. removed the sbcl ppc undefined_alien_function stuff from cmus.c. removed all support for gtkglext and fftw2 (use fftw3). play is generic, and uses optkey args (this is a non-compatible change). "old-play" is the old version of play. play-channel, play-mix, play-region, play-selection, and play-and-wait are deprecated. selection function/object; added selection choice to the generic funcs. selection->mix. The graphed selection bounds can be changed by dragging the mouse. The mix dialog follows the (mix-)sync field, and has 2 new buttons! copy and fill! for selection and sound, and copy for mix and mark. moved with-mix from ws.scm to snd11.scm. moved save-mix from mix.scm into C. added check-mix-tags to mix.scm. added snd-forth-docs.fs (incorporated in sndclm.html), thanks to Mike. colormaps are objects now, not ints; added the predefined colormaps as built-in objects (hot-colormap, etc), and integer->colormap, colormap->integer. Each colormap function now takes a colormap object as the first argument, not an integer. transforms are objects also; fourier-transform etc; integer->transform and transform->integer. add-transform returns such an object, delete-transform and transform-type take one. removed tools/snd-index.cl. checked: sbcl 1.0.32, gtk 2.19.0, acl 8.2, mpc 0.8, guile 1.9.5, fth 1.2.8 Thanks!: Geoff Lee, Mike Scholz, Rick Taube, Alan Grover, Kjetil Matheussen. From taube at uiuc.edu Sun Nov 29 09:05:59 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 29 Nov 2009 11:05:59 -0600 Subject: [CM] aif in Grace and CLM Message-ID: OK, the SndLib menu now has an "Audio Format" preference for setting clm's default output sound file format. The menu currently has WAV, AIFF and SND. not sure what else could belong there; send me the values for *clm-file-name*, *clm-data-format* *clm-header-type* if you want some other one supported (and if it works in clm...) also new: 1 Most Help menus now have a "Save All..." menu item that will dump all the files in the menu to a directory of your choice. this effectively lets you restore all the bundled examples, tutorials and sndlub instruments. 2. Console Themes are back, see Console>Themes 3. new functions: deltas, harmonics, and spectrum-invert! , all are documented 4. changelog is updated and also available in the Help>Manuals submenu. that about wraps it up for the next release except for bug fixes (I have to get rid of the now-useless audio display in the Sound File Player...) and trying to get this working on windows... ive updated a temporary beta here for mac: http://camil.music.uiuc.edu/software/grace/grace-3.4.0-osx-intel.zip