From gdimike at gmail.com Fri Jan 1 14:28:24 2010 From: gdimike at gmail.com (Michael Goldberg) Date: Fri, 1 Jan 2010 16:28:24 -0600 Subject: [CM] CLM-4 Mac OS 10.6 libclm.so problem Message-ID: <1a2f68931001011428r17926accm5658cc2df0a31f9a@mail.gmail.com> I had the similar problems with CLM-4 in Ubuntu Linux 9.10 (64-bit) and Crunchbang Linux 32-bit. (Crunchbang is derived from Ubuntu 9.04.) The libclm.so file was not being created because development versions of necessary libraries were not installed. (This is a common Debian/Ubuntu problem -- you need to install *-dev versions of a library to compile.) I think after I installed the libasound2-dev and libpthread-stubs0-dev it just started working on Ubuntu 64-bit, with both clisp and sbcl. I may have installed some other libraries -- I didn't keep close track. I also installed some lisp stuff (cl-uffi, cl-asdf.) The Crunchbang Linux 32-bit did not work even after adding the missing *-dev libraries. Audio files (*.aiff) were created. The "sndplay" program was compiled, but does not run correctly, so no sound is heard. (Text is displayed on the screen; but no sound is played.) My sleazy hack to fix this is to replace sndplay with play from the sox (sound exchange) package. Things seem to be working now, with both clisp and sbcl. Stupid question: what resources are required to run CLM-4? Mike Goldberg, "Lost in Lisp" From mjkoskin at kolumbus.fi Sat Jan 2 16:52:55 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Sun, 3 Jan 2010 02:52:55 +0200 Subject: [CM] how to enable openmcl in gracecl Message-ID: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> first to bill: got snd working using gtk, somehow motif gives the error not finding font. then clm-4 works best so far with clozurecl, i've been able to play popi.clm and fmviolin with dx86ck64 (didn't need to add -m32 to cflags. and rick: how to enable openmcl in gracecl (know much better common lisp than scheme) i've installed clozurecl to ~/ccl-1.4 and like to use the 64-bit version, as it doesn't need cflag modifications, but in gracecl configure it's greyed. thanks -matti From bil at ccrma.Stanford.EDU Sun Jan 3 03:14:28 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 3 Jan 2010 03:14:28 -0800 Subject: [CM] how to enable openmcl in gracecl In-Reply-To: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> References: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> Message-ID: <20100103111058.M81867@ccrma.Stanford.EDU> > i've been able to play popi.clm that makes me smile... I wrote the popeye "fugue" as a joke in 1972 when a friend claimed it was impossible. From taube at uiuc.edu Sun Jan 3 06:00:38 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 3 Jan 2010 08:00:38 -0600 Subject: [CM] how to enable openmcl in gracecl In-Reply-To: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> References: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> Message-ID: <88C35352-C28F-49E3-BD7C-928DA7CCCA20@uiuc.edu> > and rick: how to enable openmcl in gracecl (know much better common > lisp than scheme) i've installed clozurecl to ~/ccl-1.4 and like to > use the 64-bit version, as it doesn't need cflag modifications, but > in gracecl configure it's greyed. you would have to make sure that openmcl's socket support actually works now and then just re-enable the greyed out gui code. when i wrote the lisp-side socket connection code openmcl had a very nasty low-level bug that made recovering under errors unworkable on the lisp server side. it might be fixed now or might not be, ive lost track of openmcl. try it and see. if not good luck debugging a server side socket problem! MY TWO CENTS: even if you are a committe cltl user, send some time and become familiar with s7 -- it has lots of friendly common lisp features including generalized set , sequences (lite), rationals, identical or similar function names/behavior with cl; keywords, keyword/rest args, and on and on. if after trying s7 it still weren't close enough to cltl then its very easy to create a small cltl compatability package that added a few more cltl sequece functions and some macros for defun defvar. s7 isnt common lisp but with a little work you could easily pretend it was. s7 also has some interesting features of its own, including applicable arrays and lists -- very nice once you let go and trust it works! and sndlib has all of clm working and without a compiler -- you just load the interpreted instrument and go!. its not quite as fast but its in the ballpark an i know bill is (was?) optimizing it. when you compare the 1 little s7.c file (well...maybe not so little... ) against the huge-megabyte cltl installation pacakges s7 is an astounding piece of work. and with bill still cranking away will only get better. On Jan 2, 2010, at 6:52 PM, Matti Koskinen wrote: > first to bill: got snd working using gtk, somehow motif gives the > error not finding font. > > then clm-4 works best so far with clozurecl, i've been able to play > popi.clm and fmviolin with dx86ck64 (didn't need to add -m32 to > cflags. > > and rick: how to enable openmcl in gracecl (know much better common > lisp than scheme) i've installed clozurecl to ~/ccl-1.4 and like to > use the 64-bit version, as it doesn't need cflag modifications, but > in gracecl configure it's greyed. > > thanks > > -matti > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Sun Jan 3 06:13:58 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 3 Jan 2010 06:13:58 -0800 Subject: [CM] how to enable openmcl in gracecl In-Reply-To: <88C35352-C28F-49E3-BD7C-928DA7CCCA20@uiuc.edu> References: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> <88C35352-C28F-49E3-BD7C-928DA7CCCA20@uiuc.edu> Message-ID: <20100103141209.M46087@ccrma.Stanford.EDU> > bill is (was?) optimizing it yes yes! Send me hints! Also, I'm very interested in a CL-compatibility package -- every now and then a fit comes over me and I start writing all the CL sequence functions. From taube at uiuc.edu Sun Jan 3 06:41:52 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 3 Jan 2010 08:41:52 -0600 Subject: [CM] how to enable openmcl in gracecl In-Reply-To: <20100103141209.M46087@ccrma.Stanford.EDU> References: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> <88C35352-C28F-49E3-BD7C-928DA7CCCA20@uiuc.edu> <20100103141209.M46087@ccrma.Stanford.EDU> Message-ID: maybe a ./configure --with-cltl-compatability option would allow people to have it or not? personally im happy without it since the built-in behavior is already pretty close and i have the loop macro. ive even gotten used to the (do () ) abomination (still often wish for do* ) i will be teaching with clm next semester, there will be plenty of optimization requests at that point! On Jan 3, 2010, at 8:13 AM, Bill Schottstaedt wrote: >> bill is (was?) optimizing it > > yes yes! Send me hints! Also, I'm very interested in a CL- > compatibility > package -- every now and then a fit comes over me and I start writing > all the CL sequence functions. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mjkoskin at kolumbus.fi Sun Jan 3 08:15:40 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Sun, 3 Jan 2010 18:15:40 +0200 Subject: [CM] how to enable openmcl in gracecl In-Reply-To: <88C35352-C28F-49E3-BD7C-928DA7CCCA20@uiuc.edu> References: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> <88C35352-C28F-49E3-BD7C-928DA7CCCA20@uiuc.edu> Message-ID: <36C707CE-B050-422B-846C-ADC6C4200E0D@kolumbus.fi> On Jan 3, 2010, at 4:00 PM, Heinrich Taube wrote: >> and rick: how to enable openmcl in gracecl (know much better common lisp than scheme) i've installed clozurecl to ~/ccl-1.4 and like to use the 64-bit version, as it doesn't need cflag modifications, but in gracecl configure it's greyed. > > you would have to make sure that openmcl's socket support actually works now and then just re-enable the greyed out gui code. when i wrote the lisp-side socket connection code openmcl had a very nasty low-level bug that made recovering under errors unworkable on the lisp server side. it might be fixed now or might not be, ive lost track of openmcl. try it and see. if not good luck debugging a server side socket problem! i got ccl working with slime, so the socket is working. where's the code for re-enabling openmcl hidden? i've looked at package code, but haven't been able to spot it. the cl need comes from programs i've written in cl, and don't exactly know how to convert to scheme. using gimp i wrote some plugins in scheme, so it's not so unfamiliar, but have some tutorial cl books (bought 1 euro a piece, when a local library sold their old books) i'd be very interested to get genetic_algs.lisp from ccrma pages working, either with cl or scheme. using ccl i've heard something, but sbcl gives some error when loading gracecl, and clisp gives error (loop-finish) is not allowed outside loop, but ccl works. using gracecl with ccl would be so nice to try out. > > > thanks -matti From taube at uiuc.edu Sun Jan 3 08:45:47 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 3 Jan 2010 10:45:47 -0600 Subject: [CM] how to enable openmcl in gracecl In-Reply-To: <36C707CE-B050-422B-846C-ADC6C4200E0D@kolumbus.fi> References: <378D255B-76A3-4057-ACF9-236231FA1CFF@kolumbus.fi> <88C35352-C28F-49E3-BD7C-928DA7CCCA20@uiuc.edu> <36C707CE-B050-422B-846C-ADC6C4200E0D@kolumbus.fi> Message-ID: <88A45C61-8212-4778-BEE0-9BE77D6A709A@uiuc.edu> > where's the code for re-enabling openmcl hidden? i've looked at > package code, but haven't been able to spot it. maybe you just have to edit CommonLisp::launchLisp() in src/ CommonLisp.cpp and add the startup args for CCL. the serverside socket code is in cm2/src/socketserver.lisp. you may have to hack that code for ccl -- i cant remember if i ripped out the ccl: port or not after it didnt work. but if you already have cm2 running in Slime and you know emacs im not sure why you dont stick with that. > i'd be very interested to get genetic_algs.lisp from ccrma pages > working, either with cl or scheme. it looks like its already written in cl. > using ccl i've heard something, but sbcl gives some error when > loading gracecl, and clisp gives error (loop-finish) is not allowed > outside as you can see im able to start cm 2.12.0 in GraceCL using both sbcl and clisp so im not sure what the issue you are seeing is. the "launching" lines shows you what command gets exec'ed to start lisp on the local host. you would have to cobble up the aprropriate line for ccl in CommonLisp::launchLisp(). GraceCL 3.4.0 [svn:1811] (c) 2010 Rick Taube Launching /usr/local/bin/sbcl --eval '(load "/Users/hkt/Software/cm2/ src/socketserver.lisp")' --eval '(cl-user::start-server 8000 "/Users/ hkt/Library/Caches/GraceCL/temp1GraceCL")' Polling socket server... =:) Connected to Common Lisp on port 8000 ; CM install directory: /Users/hkt/Software/cm2/ ; Loading pkg.fasl ; Loading sbcl.fasl ; Loading iter.fasl ; Loading level1.fasl ; Loading clos.fasl ; Loading scheme.fasl ; Loading utils.fasl ; Loading mop.fasl ; Loading objects.fasl ; Loading data.fasl ; Loading scales.fasl ; Loading spectral.fasl ; Loading patterns.fasl ; Loading io.fasl ; Loading scheduler.fasl ; Loading gnuplot.fasl ; Loading plt.fasl ; Loading sco.fasl ; Loading clm.fasl ; Loading midi1.fasl ; Loading midi2.fasl ; Loading midi3.fasl ; Loading cmn.fasl ; Loading fomus.fasl ; Loading midishare.fasl ; Loading player.fasl ; Loading sc.fasl ; Loading pm.fasl ; Loading rt.fasl ; Loading parse.fasl ; Loading sal.fasl /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 2.12.0 ---/--\\\------ --/----\\\----- / \\\/ OK GraceCL 3.4.0 [svn:1811] (c) 2010 Rick Taube Launching /usr/local/bin/clisp -x '(load "/Users/hkt/Software/cm2/src/ socketserver.lisp")' -x '(cl-user::start-server 8000 "/Users/hkt/ Library/Caches/GraceCL/temp1GraceCL")' Polling socket server =:) Connected to Common Lisp on port 8000 ;; Loading file /Users/hkt/Software/cm2/cm.asd ... ;; Loading file /Users/hkt/Software/cm2/src/asdf.lisp ... ;; Loaded file /Users/hkt/Software/cm2/src/asdf.lisp ;; Loaded file /Users/hkt/Software/cm2/cm.asd ; CM install directory: /Users/hkt/Software/cm2/ ; Loading pkg.fas ; Loading clisp.fas ; Loading iter.fas ; Loading level1.fas ; Loading clos.fas ; Loading scheme.fas ; Loading utils.fas ; Loading mop.fas ; Loading objects.fas ; Loading data.fas ; Loading scales.fas ; Loading spectral.fas ; Loading patterns.fas ; Loading io.fas ; Loading scheduler.fas ; Loading gnuplot.fas ; Loading plt.fas ; Loading sco.fas ; Loading clm.fas ; Loading midi1.fas ; Loading midi2.fas ; Loading midi3.fas ; Loading cmn.fas ; Loading fomus.fas ; Loading midishare.fas ; Loading player.fas ; Loading sc.fas ; Loading pm.fas ; Loading rt.fas ; Loading parse.fas ; Loading sal.fas /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 2.12.0 ---/--\\\------ --/----\\\----- / \\\/ 0 errors, 0 warnings OK From drkrause at mindspring.com Sun Jan 3 16:35:50 2010 From: drkrause at mindspring.com (Drew Krause) Date: Sun, 03 Jan 2010 18:35:50 -0600 Subject: [CM] CM compositions on web Message-ID: <4B4137E6.2070504@mindspring.com> Hello all, I completed 10 sets of organ variations with Common Music a couple summers ago, and I've just now posted the scores, MIDI files, and annotated Lisp code at: http://www.wordecho.org/organ/index.html They use CM code that I've made available elsewhere on the website. (I'm interested in sharing ideas about these techniques, so please write to me.) I'm also *very* interested in bringing these works to the attention of any organists who might be interested in performing them -- Best, Drew Krause From terrywisniewski at gmail.com Sun Jan 3 21:03:57 2010 From: terrywisniewski at gmail.com (Terry Wisniewski) Date: Sun, 3 Jan 2010 23:03:57 -0600 Subject: [CM] CM compositions on web In-Reply-To: <4B4137E6.2070504@mindspring.com> References: <4B4137E6.2070504@mindspring.com> Message-ID: <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> Thank you very much Drew for sharing this. I am a new user of Common Music, I have worked through Dr. Taube's book and have started assembling some basic methodology and my composition environment. I have come to algorithmic composition later than most in life. I am soon to turn 50 years of age. I will learn much from the code you are sharing and I have enjoyed listening to your compositions! May I please ask how you approach the idea or meaning of "gesture" as it applies to your work with music and algorithmic composition? Currently, most of the list conversation centers around the programming/set-up of Common Music and I have been wanting to talk about this with someone. Any direction that you or other list members can provide would be greatly appreciated. I think coming to a functional understanding of "gesture" will be fundamental to creating compositions with greater depth and meaning for myself and potentially the listener. Right now, in my learning progression, I would say that "gesture", in some broad generalization, is the basis for all meaning in music and music as a whole. Remember though, I am a complete beginner to composition! If I am thinking wrong please let me know. LOL Is there some reading I should do? Terry Wisniewski On Sun, Jan 3, 2010 at 6:35 PM, Drew Krause wrote: > Hello all, > > I completed 10 sets of organ variations with Common Music a couple > summers ago, and I've just now posted the scores, MIDI files, and > annotated Lisp code at: > > http://www.wordecho.org/organ/index.html > > They use CM code that I've made available elsewhere on the website. (I'm > interested in sharing ideas about these techniques, so please write to me.) > > I'm also *very* interested in bringing these works to the attention of > any organists who might be interested in performing them -- > > Best, > Drew Krause > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Mon Jan 4 11:19:28 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 4 Jan 2010 11:19:28 -0800 Subject: [CM] Snd 11.2 Message-ID: <20100104191826.M40560@ccrma.Stanford.EDU> Snd 11.2 added portaudio (version 19) support. s7: hash-table-for-each. added tools/sam.c: a Samson box emulator! some of the more useful extensions were moved to C: make-current-window-display (draw.*) as with-inset-graph. focus-follows-mouse as with-pointer-focus. peak-env support, so peak-env.* removed, peak-env-info, read-peak-env-info-file and write-peak-env-info-file removed, added peak-env-dir which if not null (the default) turns on the peak env machinery. smart-line-cursor also moved to C. lots of long-delayed cleanups: removed Guile support. this includes remove-local-hook! in hooks.scm, use-modules and all the guile-specific reader/debugger settings ("debug-set!" etc), --with-guile, --with-modules, and --with-hobbit configuration switches, snd-out in examp.scm, pd-* and rt-* are currently broken. def-optkey-fun is now just define*, and def-optkey-instrument is definstrument. load-from-path is load. shell is system. removed fix-optargs.scm. removed mus-audio-systems, mus-audio-mixer-read, mus-audio-mixer-write, and all the associated field and device names (in CLM as well as Snd). removed mus-audio-report and changed mus-audio-describe to return the description as a string. removed sndrecord.c and new-buttons.scm. removed SGI support. removed midi.c and the --with-midi configure switch. in CLM, removed sc.c and clm-snd.lisp (CLM to Snd interjob communication). removed XmPrint/libXp support (--with-xp configure switch). versions of Alsa before 1.0 are no longer supported. mpc versions before 0.8.0 are no longer supported. checked: autoconf 2.65, sbcl 1.0.33|4, mpfr 2.4.2, gtk 2.19.1|2, mpc 0.8.1 Thanks!: Hermann Beyer, Mike Scholz, Tommy Rushton, Mike Winter, Rick Taube. From terrywisniewski at gmail.com Tue Jan 5 18:20:33 2010 From: terrywisniewski at gmail.com (Terry Wisniewski) Date: Tue, 5 Jan 2010 20:20:33 -0600 Subject: [CM] CM compositions on web In-Reply-To: <4B41EABE.9080007@mindspring.com> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> Message-ID: <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> Hello Drew and interested list-members, Thank you very much for your response Drew. I stayed up way to late that night listening to your compositions and going through your website looking at code. I have found the file you suggested and am exploring your code avidly to enrich my own understanding of how Common Music can be utilized. Thanks for sharing! I figured that my use of the term "gesture" would probably be awkward for this little idea I am exploring, but it is the most descriptive term I have come up with so far to represent everything that is added to or encopassing the note or notes being generated to provide meaningful content to the experience of the listener of the notes. It seems I am still bumping into the basic issue that brought me to Common Music as a learning and composition tool. As I started learning about computer assisted composition, it seemed that two methodologies had to be learned. First, note/sound selection and then sound synthesis. That is, if I wanted the computer to be the instrument(s) of performance. I spend half a year working with Supercollider going through many tutorials and David's Cottle's material. It was great fun and really good learning, but was not easy to get to algorithmic composition. I could create some interesting synthdef's and program some nice little patterns, but pretty much everything was hard-coded. I did not have the skill set yet to create any of the algorithmic processes like markov chains, cellular automata, lindenmayer systems or any of the other recognized methods. I had not found or discovered a personally understandable model of sclang to get there. So I searched elsewhere, Nyquist, Csound, Snd and finally discovered Common Music. It was while reading Prof. Taube's writing about the meta-level of music and music composition that something clicked. Now, that I have gained a little more understanding and programming skill, I can generate notes, work with rhythm, dynamics, tonal and rythmic cadences. But for me, the music is still more than this, and it is this "more" that I would like to have alogorithmic understanding/control of. I reckon it is the sound synthesis piece that I need to explore simultaneously with the compositional basics I am gaining through working to learn Common Music. Pardon the prattle of an absolute beginner, I will keep working, learning, and gaining understanding of my instrument. I appreciate your response and wish you the best. I look forward to hearing more of your music and learning from your code. Terry Wisniewski On Mon, Jan 4, 2010 at 7:18 AM, Drew Krause wrote: > Hi Terry, > > Nice to hear from you, and thanks for your interest in the organ pieces. > > I'm not entirely certain what you mean by 'gesture' in this context, though > perhaps 'phrase' and 'motive' might be included in the same category (which > might be called 'profile'?). I dunno .. algorithms by themselves do tend to > produce static results, & I often find myself injecting 'profile' into the > processes in any way I can. > > What was nice about the organ variations was that the source material > already had clear phrases, motions, goals, etc. so that I could just play > around within it, as it were. But it can be done using even entirely random > processes.... > > Elsewhere on www.wordecho.org you'll find "nudruz.lisp", which contains > the bulk of the code I use. Some functions here, including 'strums', > 'poissonvec', 'entropy', 'thinout', 'tendreg', & 'smooth->jumpy' work in a > 'lumpier', more directional fashion. So gestures, I think, become possible. > > All best, > Drew Krause > > Terry Wisniewski wrote: > >> Thank you very much Drew for sharing this. I am a new user of Common >> Music, I have worked through Dr. Taube's book and have started assembling >> some basic methodology and my composition environment. I have come to >> algorithmic composition later than most in life. I am soon to turn 50 years >> of age. I will learn much from the code you are sharing and I have enjoyed >> listening to your compositions! >> May I please ask how you approach the idea or meaning of "gesture" as it >> applies to your work with music and algorithmic composition? Currently, >> most of the list conversation centers around the programming/set-up of >> Common Music and I have been wanting to talk about this with someone. Any >> direction that you or other list members can provide would be greatly >> appreciated. I think coming to a functional understanding of "gesture" will >> be fundamental to creating compositions with greater depth and meaning for >> myself and potentially the listener. Right now, in my learning progression, >> I would say that "gesture", in some broad generalization, is the basis for >> all meaning in music and music as a whole. Remember though, I am a complete >> beginner to composition! If I am thinking wrong please let me know. LOL >> Is there some reading I should do? >> Terry Wisniewski >> On Sun, Jan 3, 2010 at 6:35 PM, Drew Krause > drkrause at mindspring.com>> wrote: >> >> Hello all, >> >> I completed 10 sets of organ variations with Common Music a couple >> summers ago, and I've just now posted the scores, MIDI files, and >> annotated Lisp code at: >> >> http://www.wordecho.org/organ/index.html >> >> They use CM code that I've made available elsewhere on the >> website. (I'm >> interested in sharing ideas about these techniques, so please >> write to me.) >> >> I'm also *very* interested in bringing these works to the attention of >> any organists who might be interested in performing them -- >> >> Best, >> Drew Krause >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Jan 6 10:23:17 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 6 Jan 2010 12:23:17 -0600 Subject: [CM] CM compositions on web In-Reply-To: <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> Message-ID: <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> > I spend half a year working with Supercollider going through many > tutorials and David's Cottle's material. It was great fun and really > good learning, but was not easy to get to algorithmic composition > [... ] I reckon it is the sound synthesis piece that I need to > explore simultaneously with the compositional basics I am gaining > through working to learn Common Music. > the new OSC code in cm (linux and mac) will allow you can combine the two: you can define compositional materials in cm that control synthesis in supercollier in real time using (osc:message ...) and (osc:bundle ...) calls From taube at uiuc.edu Wed Jan 6 10:32:03 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 6 Jan 2010 12:32:03 -0600 Subject: [CM] sal improvements Message-ID: rev 1813 in svn has some big improvements to sal: 1 tokenizing is now completly C based with resulting speedup and greatly reduced consing in lisp. 2 sal printing is now many times faster 3 a new 'soundfile' construct for creating soundfiles a la with-sound, eg: soundfile "zest.wav" () send "wave", 0, .5, 440 , .2 end soundfile "zest.wav" ( ) with env = {0 .2 1 .005} send "wave", 0.2, 5, 240 , .025 loop for t from 2 to 10 by .5 send "wave", t, .5, between(440, 880), interp(t / 10, env) end end since a lot of low-level changes have taken place if you are on osx and you use sal it would be great if you would try out one or two of your programs in this app to make sure things are still working: http://camil.music.uiuc.edu/software/grace/xcm.zip ive completely removed support for running in chicken scheme. cm's C side now handles s7_pointers directly an i am about half-way through improving the scheme/c bridge. From fliptop2 at yahoo.com Wed Jan 6 20:59:25 2010 From: fliptop2 at yahoo.com (James Long) Date: Wed, 6 Jan 2010 20:59:25 -0800 (PST) Subject: [CM] CM compositions on web In-Reply-To: <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> Message-ID: <616215.51115.qm@web50008.mail.re2.yahoo.com> Why can't I send osc:message and osc:bundle calls to supercollider in realtime using OSC code in cm in Windows? ________________________________ From: Heinrich Taube To: Terry Wisniewski Cc: commonmusic-Mailing-List List Sent: Thu, January 7, 2010 2:23:17 AM Subject: Re: [CM] CM compositions on web >? I spend half a year working with Supercollider going through many? > tutorials and David's Cottle's material. It was great fun and really? > good learning, but was not easy to get to algorithmic composition? > [... ] I reckon it is the sound synthesis piece that I need to? > explore simultaneously with the compositional basics I am gaining? > through working to learn Common Music. > the new OSC code in cm (linux and mac) will allow you can combine the? two: you can define compositional materials in cm that control? synthesis in supercollier in real time using (osc:message ...) and? (osc:bundle ...) calls _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Thu Jan 7 03:45:19 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 7 Jan 2010 05:45:19 -0600 Subject: [CM] CM compositions on web In-Reply-To: <616215.51115.qm@web50008.mail.re2.yahoo.com> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <616215.51115.qm@web50008.mail.re2.yahoo.com> Message-ID: because i was not able to build with liblo/pthreads there using visual studio. On Jan 6, 2010, at 10:59 PM, James Long wrote: > Why can't I send osc:message and osc:bundle calls to supercollider > in realtime using OSC code in cm in Windows? > > From: Heinrich Taube > To: Terry Wisniewski > Cc: commonmusic-Mailing-List List > Sent: Thu, January 7, 2010 2:23:17 AM > Subject: Re: [CM] CM compositions on web > > > I spend half a year working with Supercollider going through many > > tutorials and David's Cottle's material. It was great fun and really > > good learning, but was not easy to get to algorithmic composition > > [... ] I reckon it is the sound synthesis piece that I need to > > explore simultaneously with the compositional basics I am gaining > > through working to learn Common Music. > > > the new OSC code in cm (linux and mac) will allow you can combine the > two: you can define compositional materials in cm that control > synthesis in supercollier in real time using (osc:message ...) and > (osc:bundle ...) calls > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From fliptop2 at yahoo.com Thu Jan 7 05:17:05 2010 From: fliptop2 at yahoo.com (James Long) Date: Thu, 7 Jan 2010 05:17:05 -0800 (PST) Subject: [CM] CM compositions on web In-Reply-To: References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <616215.51115.qm@web50008.mail.re2.yahoo.com> Message-ID: <642867.33173.qm@web50002.mail.re2.yahoo.com> bummer, apparently Michael Gogins got liblo/pthreads working on his csound build: http://old.nabble.com/OSC-on-Windows-p10938287.html ? ________________________________ From: Heinrich Taube To: James Long Cc: commonmusic-Mailing-List List Sent: Thu, January 7, 2010 7:45:19 PM Subject: Re: [CM] CM compositions on web because i was not able to build with liblo/pthreads there using visual studio. On Jan 6, 2010, at 10:59 PM, James Long wrote: > Why can't I send osc:message and osc:bundle calls to supercollider in realtime using OSC code in cm in Windows? > > From: Heinrich Taube > To: Terry Wisniewski > Cc: commonmusic-Mailing-List List > Sent: Thu, January 7, 2010 2:23:17 AM > Subject: Re: [CM] CM compositions on web > > >? I spend half a year working with Supercollider going through many > > tutorials and David's Cottle's material. It was great fun and really > > good learning, but was not easy to get to algorithmic composition > > [... ] I reckon it is the sound synthesis piece that I need to > > explore simultaneously with the compositional basics I am gaining > > through working to learn Common Music. > > > the new OSC code in cm (linux and mac) will allow you can combine the > two: you can define compositional materials in cm that control > synthesis in supercollier in real time using (osc:message ...) and > (osc:bundle ...) calls > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Thu Jan 7 05:52:53 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 7 Jan 2010 07:52:53 -0600 Subject: [CM] CM compositions on web In-Reply-To: <642867.33173.qm@web50002.mail.re2.yahoo.com> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <616215.51115.qm@web50008.mail.re2.yahoo.com> <642867.33173.qm@web50002.mail.re2.yahoo.com> Message-ID: <0ED02D8E-78C6-472C-8C53-F6D963479AE2@uiuc.edu> thats a mingw build. it should be possible in visual studio since liblo has a vs project file ready to go. but i wasnt able to get a build to work On Jan 7, 2010, at 7:17 AM, James Long wrote: > bummer, apparently Michael Gogins got liblo/pthreads working on his > csound build: > > http://old.nabble.com/OSC-on-Windows-p10938287.html > > > > > From: Heinrich Taube > To: James Long > Cc: commonmusic-Mailing-List List > Sent: Thu, January 7, 2010 7:45:19 PM > Subject: Re: [CM] CM compositions on web > > because i was not able to build with liblo/pthreads there using > visual studio. > > On Jan 6, 2010, at 10:59 PM, James Long wrote: > > > Why can't I send osc:message and osc:bundle calls to supercollider > in realtime using OSC code in cm in Windows? > > > > From: Heinrich Taube > > To: Terry Wisniewski > > Cc: commonmusic-Mailing-List List > > Sent: Thu, January 7, 2010 2:23:17 AM > > Subject: Re: [CM] CM compositions on web > > > > > I spend half a year working with Supercollider going through many > > > tutorials and David's Cottle's material. It was great fun and > really > > > good learning, but was not easy to get to algorithmic composition > > > [... ] I reckon it is the sound synthesis piece that I need to > > > explore simultaneously with the compositional basics I am gaining > > > through working to learn Common Music. > > > > > the new OSC code in cm (linux and mac) will allow you can combine > the > > two: you can define compositional materials in cm that control > > synthesis in supercollier in real time using (osc:message ...) and > > (osc:bundle ...) calls > > > > _______________________________________________ > > 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 > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From terrywisniewski at gmail.com Thu Jan 7 18:08:32 2010 From: terrywisniewski at gmail.com (Terry Wisniewski) Date: Thu, 7 Jan 2010 20:08:32 -0600 Subject: [CM] CM compositions on web In-Reply-To: <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> Message-ID: <53b00b9c1001071808g67717df3n853753ea591275c2@mail.gmail.com> Thanks Prof. Taube, Unfortunately, I am in a Vista environment. I have gotten the Csound book and will soon be learning how to use your great tool Common Music as the front end. Thank you for the great tool and great book! On Wed, Jan 6, 2010 at 12:23 PM, Heinrich Taube wrote: > I spend half a year working with Supercollider going through many >> tutorials and David's Cottle's material. It was great fun and really good >> learning, but was not easy to get to algorithmic composition [... ] I reckon >> it is the sound synthesis piece that I need to explore simultaneously with >> the compositional basics I am gaining through working to learn Common Music. >> >> the new OSC code in cm (linux and mac) will allow you can combine the two: > you can define compositional materials in cm that control synthesis in > supercollier in real time using (osc:message ...) and (osc:bundle ...) calls > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Fri Jan 8 10:20:56 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 8 Jan 2010 12:20:56 -0600 Subject: [CM] new audiofile widget Message-ID: i've reimplemented grace's audiofile player widget, the new display now works on windows and linux and with less chance of dropouts. if you do get dropouts use the Audio Settings.... button to select a larger buffer -- this size choice is now saved as a preference. the new widget also has zooming and scrolling controls. by default the full file is shown; the slider at the bottom of the window zooms the waveform; use the mousewheel to scroll on a zoomed in display; double- click the waveform to reset zoom and scroll position back to full view. here's a pic of playing clm's birds audio file zoomed in a bit -------------- next part -------------- A non-text attachment was scrubbed... Name: player.png Type: image/png Size: 28048 bytes Desc: not available URL: -------------- next part -------------- prebuilts are here, ill make a release in about a week: osx: http://camil.music.uiuc.edu/software/grace/xcm.zup win (no osc or fomus yet): http://camil.music.uiuc.edu/software/grace/winxcm.zup From taube at uiuc.edu Fri Jan 8 10:29:19 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 8 Jan 2010 12:29:19 -0600 Subject: [CM] CM compositions on web In-Reply-To: <53b00b9c1001071808g67717df3n853753ea591275c2@mail.gmail.com> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <53b00b9c1001071808g67717df3n853753ea591275c2@mail.gmail.com> Message-ID: <15C911C0-CA1A-40A7-B87A-CEB603B28FE2@uiuc.edu> csound is great but you should definitely look at clm too! its already built into Grace so you have nothing to lose or install: choose Audio>SndLib>Open Instrument Browser... to get a bird's eye view of what is available. code and examples are available in the browser. if you click on the little "autoload" button with a instrument selected Grace will load that for you automatically each time you start up. instruments already loaded are are marked by green text in the browser's table. On Jan 7, 2010, at 8:08 PM, Terry Wisniewski wrote: > I have gotten the Csound book and will soon be learning how to use > your great tool Common Music as the front end. Thank you for the > great tool and great book! From terrywisniewski at gmail.com Sat Jan 9 17:02:58 2010 From: terrywisniewski at gmail.com (Terry Wisniewski) Date: Sat, 9 Jan 2010 19:02:58 -0600 Subject: [CM] CM compositions on web In-Reply-To: <15C911C0-CA1A-40A7-B87A-CEB603B28FE2@uiuc.edu> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <53b00b9c1001071808g67717df3n853753ea591275c2@mail.gmail.com> <15C911C0-CA1A-40A7-B87A-CEB603B28FE2@uiuc.edu> Message-ID: <53b00b9c1001091702q36598324k3d4e3d146f526ef6@mail.gmail.com> Thanks for the direction Prof., and thanks for the material on the web. Your class material for this last semester has been a wonderful resource that I hope you don't mind that I have used along with your book. Will SAL continue to grow or should I switch to SCHEME? Sincerely, Terry Wisniewski On Fri, Jan 8, 2010 at 12:29 PM, Heinrich Taube wrote: > csound is great but you should definitely look at clm too! its already > built into Grace so you have nothing to lose or install: choose > Audio>SndLib>Open Instrument Browser... to get a bird's eye view of what is > available. code and examples are available in the browser. if you click on > the little "autoload" button with a instrument selected Grace will load that > for you automatically each time you start up. instruments already loaded are > are marked by green text in the browser's table. > > > > On Jan 7, 2010, at 8:08 PM, Terry Wisniewski wrote: > >> I have gotten the Csound book and will soon be learning how to use your >> great tool Common Music as the front end. Thank you for the great tool and >> great book! >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Sun Jan 10 04:42:49 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 10 Jan 2010 04:42:49 -0800 Subject: [CM] do* In-Reply-To: References: Message-ID: <20100110124149.M10608@ccrma.Stanford.EDU> > ive even gotten used to the (do () ) abomination (still often wish > for do* ) would this work? (defmacro do* (spec end . body) `(let* (,@(map (lambda (var) (list (car var) (cadr var))) spec)) (do () ,end , at body ,@(map (lambda (var) (list 'set! (car var) (caddr var))) spec)))) ;(do* ((i 0 (+ i 1)) (j i (+ i 1))) ((= i 3) "hiho") (display j)) From taube at uiuc.edu Sun Jan 10 06:18:50 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 08:18:50 -0600 Subject: [CM] grace build failure In-Reply-To: <20100110134803.9aa1f5b0.blueprint@poetaster.de> References: <20100110134803.9aa1f5b0.blueprint@poetaster.de> Message-ID: <8E3E2058-CD10-47F6-9DCF-7FD02C09C744@uiuc.edu> hi im able to build on unbuntu so it must be something to do with how you have things fconfigured. i wonder if you forgot to delete sndlib/ libsndlib.so before linking? if a shared lib is around the linker will use it even if though i tell it to use the static lib. if you did a 'make install' of sndlib then you may have installed the .so files so you'll have to take care of these too. sorry, i dont knwo what @LD_XM_LIBS@ is doing in that printout. also be sure you built sndlb doing './configure CC=g++' you want a static link to ../sndlib/libsnlib.a directions of what i do are in cm/readme.text i just checked in a bugfix for the audio player's thumbnail cache so you might want to do an snv update in the cm folder -- --rick On Jan 10, 2010, at 6:48 AM, Mark Washeim wrote: > hello, > > I'm been attempting to build sndlib and grace. sndlib builds and > installs just fine, but attempting to build grace fails with: > > ==== Building grace ==== > mkdir -p bin > mkdir -p . > mkdir -p bin > g++ -o bin/Grace obj/grace/Release/Scanner.o obj/grace/Release/ > Syntax.o obj/grace/Release/CmSupport.o obj/grace/Release/Console.o > obj/grace/Release/Scheme.o obj/grace/Release/Preferences.o obj/grace/ > Release/SchemeSources.o obj/grace/Release/Midi.o obj/grace/Release/ > Csound.o obj/grace/Release/Main.o obj/grace/Release/Resources.o obj/ > grace/Release/Fonts.o obj/grace/Release/Help.o obj/grace/Release/ > Commands.o obj/grace/Release/Menus.o obj/grace/Release/TextEditor.o > obj/grace/Release/Documentation.o obj/grace/Release/Images.o obj/ > grace/Release/Audio.o obj/grace/Release/CommonLisp.o obj/grace/ > Release/Triggers.o obj/grace/Release/Cells.o obj/grace/Release/ > Plot.o obj/grace/Release/Alerts.o obj/grace/Release/SndLib.o obj/ > grace/Release/SndLibBridge.o obj/grace/Release/Instruments.o -Lbin - > L. -mwindows -s -L/usr/lib -lm @LD_XM_LIBS@ -lasound -lm -L"obj/ > juce" -L"../sndlib/" -L"/usr/X11R6/lib/" -L./obj/juce -ljuce - > lsndlib -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound -lfreetype > g++: @LD_XM_LIBS@: No such file or directory > make[1]: *** [bin/Grace] Error 1 > make: *** [grace] Error 2 > > I have the cm and sndlib folders in ~/src and am using the Linux > (AMD, 64 Bit) gnu target (premake --verbose --target gnu -- > sndlib ../sndlib) > > It seems @LD_XM_LIBS@ is not defined OR I need to specify /usr/local/ > lib for installed lib? In any case, I can get grace to build by > removing the @LD_XM_LIBS@ which, of course, doesn't help :) > > Thanks and regards for what looks a very promising (I'm a scheme fan > (use lilypond and script gimp gladly)) 'enhanced' use of csound. > > Mark Washeim From taube at uiuc.edu Sun Jan 10 06:31:48 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 08:31:48 -0600 Subject: [CM] CM compositions on web In-Reply-To: <53b00b9c1001091702q36598324k3d4e3d146f526ef6@mail.gmail.com> References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <53b00b9c1001071808g67717df3n853753ea591275c2@mail.gmail.com> <15C911C0-CA1A-40A7-B87A-CEB603B28FE2@uiuc.edu> <53b00b9c1001091702q36598324k3d4e3d146f526ef6@mail.gmail.com> Message-ID: ill be posting new course materials in about a week when the semester starts up. there will be some new tutorials added during the semester, ill have a sal intro to clm for sure. ill post a link to the class when its up. i dont use lisp syntax to teach anymore so sal will continue to develop. there is no runtime penalty for using sal so there is no reason to tackle scheme until you really want to. im toying with the idea of version of sal that simply provides infix expressions without the structure of 'commands'. at that point it would sort of look like Lua... On Jan 9, 2010, at 7:02 PM, Terry Wisniewski wrote: > Thanks for the direction Prof., and thanks for the material on the > web. Your class material for this last semester has been a > wonderful resource that I hope you don't mind that I have used > along with your book. Will SAL continue to grow or should I switch > to SCHEME? > From taube at uiuc.edu Sun Jan 10 06:32:56 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 08:32:56 -0600 Subject: [CM] do* In-Reply-To: <20100110124149.M10608@ccrma.Stanford.EDU> References: <20100110124149.M10608@ccrma.Stanford.EDU> Message-ID: thanks, ill try it out! On Jan 10, 2010, at 6:42 AM, Bill Schottstaedt wrote: >> ive even gotten used to the (do () ) abomination (still often wish >> for do* ) > > would this work? > > (defmacro do* (spec end . body) > `(let* (,@(map (lambda (var) (list (car var) (cadr var))) spec)) > (do () ,end > , at body > ,@(map (lambda (var) (list 'set! (car var) (caddr var))) > spec)))) > > ;(do* ((i 0 (+ i 1)) (j i (+ i 1))) ((= i 3) "hiho") (display j)) > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sun Jan 10 06:40:33 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 08:40:33 -0600 Subject: [CM] vs compiler nits fixed Message-ID: <50167B96-C648-4388-B565-9F11ACFEFE10@uiuc.edu> if you build from sources please note that i finally checked in some low-level changes that stops the tons of warnings issued by the visual studio compiler. there are still a few warnings but these are reasonable and i intend to resolve them. anyway let me know if you notice something misbehaving. From taube at uiuc.edu Sun Jan 10 06:46:57 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 08:46:57 -0600 Subject: [CM] grace build failure In-Reply-To: <20100110134803.9aa1f5b0.blueprint@poetaster.de> References: <20100110134803.9aa1f5b0.blueprint@poetaster.de> Message-ID: since you like lisp and are already using lilypond you should definitely check out fomus: http://fomus.sourceforge.net/ you can compile Grace with fomus enabled and then generate lilypond scores. see Help/Examples/Sal/fomus.sal for examples. On Jan 10, 2010, at 6:48 AM, Mark Washeim wrote: > (I'm a scheme fan (use lilypond and script gimp gladly)) 'enhanced' > use of csound. From johannes.quint at web.de Sun Jan 10 07:02:06 2010 From: johannes.quint at web.de (Johannes Quint) Date: Sun, 10 Jan 2010 16:02:06 +0100 Subject: [CM] CM compositions on web In-Reply-To: References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <53b00b9c1001071808g67717df3n853753ea591275c2@mail.gmail.com> <15C911C0-CA1A-40A7-B87A-CEB603B28FE2@uiuc.edu> <53b00b9c1001091702q36598324k3d4e3d146f526ef6@mail.gmail.com> Message-ID: > im toying with the > idea of version of sal that simply provides infix expressions without > the structure of 'commands'. good idea. they are - among others - the reason why i turned away from sal back to scheme. it also would be great to have optional arguments and rests for function-definitions in sal. j From taube at uiuc.edu Sun Jan 10 09:54:04 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 11:54:04 -0600 Subject: [CM] Problem recording MIDI with CM3 In-Reply-To: <38793.39851.qm@web23706.mail.ird.yahoo.com> References: <38793.39851.qm@web23706.mail.ird.yahoo.com> Message-ID: <56268DC7-B345-4D61-B3CB-7B76057CD0BF@uiuc.edu> Hi Alex, Im not sure what you mean, Grace sends midi data in "real time" and midi messages dont contain timestamps. Presumably when Cubase is in record mode its internal recoding clock is running and so it "stamps" any incoming midi messages it receives relative to this timer.i just tested sending midi to the IAC Driver bus (mac) and recording in logic express and things are working fine. are you sure that your cubase app is listening to the same device that you are sending to inside grace? On Jan 10, 2010, at 11:03 AM, Alex Dowling wrote: > Hi Prof Taube, > > I have just started using Common Music with Grace and am sending > MIDI messages into Cubase to be recorded. > I have noticed (through using 'MIDI Monitor') that each MIDI message > being sent does not contain any sort of time stamp. > Because of this, Cubase does not know how to sequence the notes and > so doesn't record them. > Is there a way to give each note a time stamp of some sort so that > MIDI can be recorded in real time? > Or am I just doing something wrong? > > Thanks, > > Alex Dowling > > Send instant messages to your online friends http://uk.messenger.yahoo.com From taube at uiuc.edu Sun Jan 10 09:58:58 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 11:58:58 -0600 Subject: [CM] Problem recording MIDI with CM3 In-Reply-To: <56268DC7-B345-4D61-B3CB-7B76057CD0BF@uiuc.edu> References: <38793.39851.qm@web23706.mail.ird.yahoo.com> <56268DC7-B345-4D61-B3CB-7B76057CD0BF@uiuc.edu> Message-ID: <96A4C8C8-E39C-428A-BD78-D28171AE3DD8@uiuc.edu> worse case you can write a midi file an import it into cubase, surely it will be able to handle that! to write a midi file provide a file name when you sprout, eg: (sprout (foo) "foo.mid") or sprout foo(), "foo.mid" On Jan 10, 2010, at 11:54 AM, Heinrich Taube wrote: > Hi Alex, Im not sure what you mean, Grace sends midi data in "real > time" and midi messages dont contain timestamps. Presumably when > Cubase is in record mode its internal recoding clock is running and > so it "stamps" any incoming midi messages it receives relative to > this timer.i just tested sending midi to the IAC Driver bus (mac) > and recording in logic express and things are working fine. are you > sure that your cubase app is listening to the same device that you > are sending to inside grace? > > > On Jan 10, 2010, at 11:03 AM, Alex Dowling wrote: > >> Hi Prof Taube, >> >> I have just started using Common Music with Grace and am sending >> MIDI messages into Cubase to be recorded. >> I have noticed (through using 'MIDI Monitor') that each MIDI >> message being sent does not contain any sort of time stamp. >> Because of this, Cubase does not know how to sequence the notes and >> so doesn't record them. >> Is there a way to give each note a time stamp of some sort so that >> MIDI can be recorded in real time? >> Or am I just doing something wrong? >> >> Thanks, >> >> Alex Dowling >> >> Send instant messages to your online friends http://uk.messenger.yahoo.com > From taube at uiuc.edu Sun Jan 10 11:33:44 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 10 Jan 2010 13:33:44 -0600 Subject: [CM] Problem recording MIDI with CM3 In-Reply-To: <401959.92629.qm@web23704.mail.ird.yahoo.com> References: <38793.39851.qm@web23706.mail.ird.yahoo.com> <56268DC7-B345-4D61-B3CB-7B76057CD0BF@uiuc.edu> <96A4C8C8-E39C-428A-BD78-D28171AE3DD8@uiuc.edu> <401959.92629.qm@web23704.mail.ird.yahoo.com> Message-ID: <3F2F444C-4671-4FDA-B70E-4A218D4648B5@uiuc.edu> hmm i dont know, maybe its using smpte clocking or someting? a smpte clock is not part of a midi message, it IS a midi message and grace isnt sending them out. On Jan 10, 2010, at 12:43 PM, Alex Dowling wrote: > using says 'None' in relation to the time of each note coming from CM. > Whereas when I use Max it gives a time for each MIDI note. I'm not > sure why that is. > I'll have to see what Steinberg say. > From mjkoskin at kolumbus.fi Thu Jan 14 02:38:26 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Thu, 14 Jan 2010 12:38:26 +0200 Subject: [CM] hard times getting clm-4 working Message-ID: i can't get clm working ok under mac os x snow leopard. Adding -m32 to c-compile code and running aquamacs emacs slime, builds clm-4, but trying to compile e.g. singer.ins gives error. In clisp i get (loop-finish) outside loop error, and compilation ends. sbcl gives another error and prints inferior-lisp windows full of lisp code. 64-bit version of sbcl builds libclm.so, but loading stops, when lisp loads initmus.fasl. Compiling v.ins and jcrev.ins succeeds in 32-bit clisp and sbcl, and sound is getting from popi.clm and fmviolin.clm. Trying to compile clm under clozure cl either 64-bit or 32-bit gives error macroexpand-all is already defined in clozure cl. Then to continue inferior lisp dies with trace/bpt trap. Running clozure cl64.app works best. It doesn't give the bpt trap error and singer can be compiled. But then i tried the genetic_algs.lisp and spectr.ins i found from ccrma pages, compiles them after editing goal-spectr using open-input* and c-open-output-file. But running goal-spectr gives error and clozure cl debugger window is opened and it gives the error at foreign code at strlen+16. running goal-spectr under sbcl crashes equally. I think i tried commenting out clm-prints and it ran, but of course no output file was created. same errors and problems under linux ubuntu karmic 32-bit. and sometimes in osx sndplay doesn't stop, but keeps running taking 100 % of cpu. help please. -matti From bil at ccrma.Stanford.EDU Thu Jan 14 04:39:24 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 14 Jan 2010 04:39:24 -0800 Subject: [CM] hard times getting clm-4 working In-Reply-To: References: Message-ID: <20100114123703.M43083@ccrma.Stanford.EDU> I don't think you need to use -m32. clisp expands loop sometimes to code that includes loop-finish, and then routinely changes the expansion of loop-finish, breaking my optimizer. I'll have to change the run-time loops to use "do", I suppose. sbcl (32 bit) works fine for me: /Users/bil/clm/ sbcl This is SBCL 1.0.34, an implementation of ANSI Common Lisp. ... * (load "all.lisp") ... * (compile-file "singer.ins") ; Writing "/Users/bil/clm/clm_SINGER.c" ; Compiling "/Users/bil/clm/clm_SINGER.c" ... * (load "singer") T * (with-sound () (singer 0 .1 '((.4 ehh.shp test.glt 523.0 .8 0.0 .01) (.6 oo.shp test.glt 523.0 .7 .1 .01)))) "test.aiff" * I don't have clozure. macroexpand-all is defined in walk.lisp, so perhaps you can just comment out that definition using #-openmcl. The genetic_algs.lisp I find is an 8 year old 220b project using the singer -- it's not something I maintain as a part of the CLM package. I don't know what goal-spectr or spectr.ins are. If you want help with random stuff like this, you'll need to at least send the code (or a url), and show the actual errors. From taube at uiuc.edu Thu Jan 14 05:22:54 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 14 Jan 2010 07:22:54 -0600 Subject: [CM] hard times getting clm-4 working In-Reply-To: <20100114123703.M43083@ccrma.Stanford.EDU> References: <20100114123703.M43083@ccrma.Stanford.EDU> Message-ID: for example this looks a lot more polished and is very well documented: http://www.jakevoytko.com/blog/2008/12/16/evolving-genetic-algorithms-in-lisp/ > The genetic_algs.lisp I find is an 8 year old 220b project using > the singer -- it's not something I maintain as a part of the > CLM package. I don't know what goal-spectr or spectr.ins are. > If you want help with random stuff like this, you'll need > to at least send the code (or a url), and show the actual errors. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mjkoskin at kolumbus.fi Thu Jan 14 07:48:15 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Thu, 14 Jan 2010 17:48:15 +0200 Subject: [CM] hard times getting clm-4 working In-Reply-To: <20100114123703.M43083@ccrma.Stanford.EDU> References: <20100114123703.M43083@ccrma.Stanford.EDU> Message-ID: <1CFC3B52-03DA-402F-8AF8-A04DE3461913@kolumbus.fi> On Jan 14, 2010, at 2:39 PM, Bill Schottstaedt wrote: > I don't think you need to use -m32. snow leopard gcc compiles 64-bit code without -m32 , which can't be used in 32-bit lisp > > clisp expands loop sometimes to code that > includes loop-finish, and then routinely changes the expansion of loop-finish, > breaking my optimizer. I'll have to change the run-time loops to use "do", I suppose. > > sbcl (32 bit) works fine for me: > > /Users/bil/clm/ sbcl > This is SBCL 1.0.34, an implementation of ANSI Common Lisp. > .. > * (load "all.lisp") > .. > * (compile-file "singer.ins") > ; Writing "/Users/bil/clm/clm_SINGER.c" > ; Compiling "/Users/bil/clm/clm_SINGER.c" > .. > * (load "singer") > > T > * (with-sound () (singer 0 .1 '((.4 ehh.shp test.glt 523.0 .8 0.0 .01) (.6 oo.shp test.glt 523.0 .7 .1 > 01)))) > > "test.aiff" > * > to me, now go. Are you using 10.6 osx? > I don't have clozure. macroexpand-all is defined in walk.lisp, > so perhaps you can just comment out that definition using #-openmcl. > > The genetic_algs.lisp I find is an 8 year old 220b project using > the singer -- it's not something I maintain as a part of the > CLM package. I don't know what goal-spectr or spectr.ins are. > If you want help with random stuff like this, you'll need > to at least send the code (or a url), and show the actual errors. > sorry, this is the page https://ccrma.stanford.edu/~nharlow/220b/proj/spectr.ins after removing clm-print i get no segfault error and changing the loop clause to dotimes it compiles under clisp. But trying it, it mangles the filename: (with-sound(:play nil)(goal-spectr "/Users/mjkoskin/sounds/test1.aiff" "goal-spectra.lisp" "goal-spectra" 256)) can't open esU/m/srsokj/niknuost/sd1tsefia.: No such file or directoryesU/m/srsokj/niknuost/sd1tsefia. chans: -1can't open esU/m/srsokj/niknuost/sd1tsefia.: No such file or directoryesU/m/srsokj/niknuost/sd1tsefia. ??? -matti From mjkoskin at kolumbus.fi Thu Jan 14 07:57:26 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Thu, 14 Jan 2010 17:57:26 +0200 Subject: [CM] hard times getting clm-4 working In-Reply-To: References: <20100114123703.M43083@ccrma.Stanford.EDU> Message-ID: <8007EDB6-549D-46A6-8FD2-C8331429603D@kolumbus.fi> On Jan 14, 2010, at 3:22 PM, Heinrich Taube wrote: > for example this looks a lot more polished and is very well documented: > > http://www.jakevoytko.com/blog/2008/12/16/evolving-genetic-algorithms-in-lisp/ thanks, have to look at it. to me, the problem isn't the genetic algorithm, but the fitness function applied to music. I coded the Iazetta's simulated annealing music algorithm in c, and maybe i'll try to get some lisp(scheme) code out of it. jmusic has some genetic code, but it's not documented well. Changing computer from linux to windows to mac, i have long since lost the simulated annealing midi generator i coded , that used as the fitness function ones in jmusic. -matti > From taube at uiuc.edu Thu Jan 14 08:59:10 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 14 Jan 2010 10:59:10 -0600 Subject: [CM] hard times getting clm-4 working In-Reply-To: <8007EDB6-549D-46A6-8FD2-C8331429603D@kolumbus.fi> References: <20100114123703.M43083@ccrma.Stanford.EDU> <8007EDB6-549D-46A6-8FD2-C8331429603D@kolumbus.fi> Message-ID: <4519143F-AC84-422F-9DA4-FB24756BE068@uiuc.edu> On Jan 14, 2010, at 9:57 AM, Matti Koskinen wrote: > to me, the problem isn't the genetic algorithm, but the fitness > function applied to music. I coded the Iazetta's simulated annealing > music algorithm in c, and maybe i'll try to get some lisp(scheme) > code out of it. no need, you can simply call it from s7! just stick in in SndLibBridge.cpp and add a line to cm_init(). maybe i should have a plugin.cpp file or something for adding stuff. From mjkoskin at kolumbus.fi Thu Jan 14 14:37:18 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Fri, 15 Jan 2010 00:37:18 +0200 Subject: [CM] building grace Message-ID: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> i tried to compile grace under osx 10.6.2. Using juce_amalgamated from cm ends building grace at StandardAlert not defined in this scope. Building juce with xcode goes ok. Grace compiles without error using --juce ../juce but linking fails with unresolved juce code. Juce is built as i386 so had to add -m32 flag to cflags. cm console app is built ok as i386 or x86_64. this with juce-1.50, grace latest svn and sndlib.tar.gz downloaded today. i googled StandardAlert and it's Apple's own function, but my knowledge of mac programming ends with pure console apps or ports with fink or macports. what to try? Are these all 10.6 symptoms? thanks -matti From taube at uiuc.edu Thu Jan 14 15:00:39 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 14 Jan 2010 17:00:39 -0600 Subject: [CM] building grace In-Reply-To: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> References: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> Message-ID: > > what to try? Are these all 10.6 symptoms? yes its some stupid 10.6 issue, it builds fine on 10.5. i dont have 10.6 so i cant do anything until i can find a student here with a new laptop they will loan me. it'll probably be next week until i can deal with it, sorry. From taube at uiuc.edu Fri Jan 15 06:17:10 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 15 Jan 2010 08:17:10 -0600 Subject: [CM] building grace In-Reply-To: <34D7C79E-129F-4956-94DF-953732BA9E35@kolumbus.fi> References: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> <34D7C79E-129F-4956-94DF-953732BA9E35@kolumbus.fi> Message-ID: > i succeeded compiling cm, grace and gracecl adding to flags -m32 - > isysroot /Developer/SDKs/MacOSX10.5.sdk > and using g++ and gcc ver. 4.0 thank you for your perseverance! > a quick test with graceCL selecting clisp halted when browsing for > clisp. dont know about either sbcl or clisp. both are working on 10.5. do make sure that you aren't reloading old fasls -- do rm -r cm2/bin/* before you start either. > > grace looks like working (define (test x y)(* x y)) gave ok results. > Sounds i've not tried, but usb-soundcard blinks, when grace is > running so audio is working. try something that will exercise the whole thing: select Audio/SndLib/AutoPlay select Audio/SndLib/Open INstrument Browser. select the line "bigbird" click on "load instrument" click on "open example" when the editor pops up put your cursor at the end of the line (make-birds) and hit Command-Enter it shoud write a 1 minute soud file and start playing it in the sound file player. > > I've edited the makefile, as i don't know how to add the flags > in .lua t If you send me the mods to get it compiling on 10.6 ill try to encorporate them in premake. From taube at uiuc.edu Fri Jan 15 06:31:00 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 15 Jan 2010 08:31:00 -0600 Subject: [CM] building grace In-Reply-To: References: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> <34D7C79E-129F-4956-94DF-953732BA9E35@kolumbus.fi> Message-ID: On Jan 15, 2010, at 8:17 AM, Heinrich Taube wrote: >> >> a quick test with graceCL selecting clisp halted when browsing for >> clisp. > ahh. if you mean it halted when you were using an "open file dialog" then this might mean there is an underlying problem in 10.6. what happens when you use File>Open can you open a file in the editor? From mjkoskin at kolumbus.fi Fri Jan 15 06:58:49 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Fri, 15 Jan 2010 16:58:49 +0200 Subject: [CM] building grace In-Reply-To: References: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> <34D7C79E-129F-4956-94DF-953732BA9E35@kolumbus.fi> Message-ID: <7DFE632D-5D85-411C-8574-0CB0164921A0@kolumbus.fi> On Jan 15, 2010, at 4:17 PM, Heinrich Taube wrote: >> i succeeded compiling cm, grace and gracecl adding to flags -m32 -isysroot /Developer/SDKs/MacOSX10.5.sdk >> and using g++ and gcc ver. 4.0 > > thank you for your perseverance! > you're welcome >> a quick test with graceCL selecting clisp halted when browsing for clisp. > > dont know about either sbcl or clisp. both are working on 10.5. do make sure that you aren't reloading old fasls -- do rm -r cm2/bin/* before you start either. > yes it was in file open > >> >> grace looks like working (define (test x y)(* x y)) gave ok results. Sounds i've not tried, but usb-soundcard blinks, when grace is running so audio is working. > > try something that will exercise the whole thing: > > select Audio/SndLib/AutoPlay > select Audio/SndLib/Open INstrument Browser. > select the line "bigbird" > click on "load instrument" > click on "open example" when the editor pops up put your cursor at the end of the line (make-birds) and hit Command-Enter > it shoud write a 1 minute soud file and start playing it in the sound file player. > works perfectly midi examples using qsynth and fluid should work, as grace finds the fluidsynth port and qsynth's light is blinking when midi is sent, but i get no sound. User error i think. >> >> I've edited the makefile, as i don't know how to add the flags in .lua t > > > If you send me the mods to get it compiling on 10.6 ill try to encorporate them in premake. these have to be inserted both to sndlib and cm G++ = g++-4.0 (or change the symlink) CC = gcc-4.0 CPPFLAGS += -isysroot /Developer/SDKs/MacOSX10.5.sdk -m32 LDFLAGS += -sysroot /Developer/SDKs/MacOSX10.5.sdk -m32 From taube at uiuc.edu Fri Jan 15 07:10:45 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 15 Jan 2010 09:10:45 -0600 Subject: [CM] building grace In-Reply-To: <7DFE632D-5D85-411C-8574-0CB0164921A0@kolumbus.fi> References: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> <34D7C79E-129F-4956-94DF-953732BA9E35@kolumbus.fi> <7DFE632D-5D85-411C-8574-0CB0164921A0@kolumbus.fi> Message-ID: On Jan 15, 2010, at 8:58 AM, Matti Koskinen wrote: > works perfectly :) > midi examples using qsynth and fluid should work, as grace finds the > fluidsynth port and qsynth's light is blinking when midi is sent, > but i get no sound. User error i think. 1. Make sure you have the IAC Driver Bus active (use Apple's Audio/ Midi Setup utilitity) 2. Try testing first with SimpleSynth since I know this works: http://notahat.com/simplesynth 3. Start SimpleSynth and select "IAC Driver Bus" in its Midi Source menu 4. Start Grace and Select Audio>MidiOut> IAC Driver Bus 1 5. Type Command-T to send a random burst to that port. if you dont hear anythign then there is something wrong with the midi out device or the routing. 6. If that works try a canonical example like Help>Examples>Reich or something. From mjkoskin at kolumbus.fi Fri Jan 15 08:00:17 2010 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Fri, 15 Jan 2010 18:00:17 +0200 Subject: [CM] building grace In-Reply-To: References: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> <34D7C79E-129F-4956-94DF-953732BA9E35@kolumbus.fi> <7DFE632D-5D85-411C-8574-0CB0164921A0@kolumbus.fi> Message-ID: <64F41427-BF14-4468-869E-6FAA7C032051@kolumbus.fi> On Jan 15, 2010, at 5:10 PM, Heinrich Taube wrote: >> > > 1. Make sure you have the IAC Driver Bus active (use Apple's Audio/Midi Setup utilitity) > 2. Try testing first with SimpleSynth since I know this works: > http://notahat.com/simplesynth > 3. Start SimpleSynth and select "IAC Driver Bus" in its Midi Source menu > > 4. Start Grace and Select Audio>MidiOut> IAC Driver Bus 1 > > 5. Type Command-T to send a random burst to that port. if you dont hear anythign then there is something wrong with the midi out device or the routing. > > 6. If that works try a canonical example like Help>Examples>Reich or something. > reich works with simplesynth. Though i don't find IAC, but simplesynth's virtual midi was found too in grace and this configuration seems to be enough. As i don't have midi i/o in mac, but in linux box, is it possible to read midi events in linux and send them via osc to mac and vice versa? thanks -matti From taube at uiuc.edu Fri Jan 15 08:20:47 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 15 Jan 2010 10:20:47 -0600 Subject: [CM] building grace In-Reply-To: <64F41427-BF14-4468-869E-6FAA7C032051@kolumbus.fi> References: <4F0CFC99-A88F-4740-974E-EB8E269ECDC8@kolumbus.fi> <34D7C79E-129F-4956-94DF-953732BA9E35@kolumbus.fi> <7DFE632D-5D85-411C-8574-0CB0164921A0@kolumbus.fi> <64F41427-BF14-4468-869E-6FAA7C032051@kolumbus.fi> Message-ID: On Jan 15, 2010, at 10:00 AM, Matti Koskinen wrote: > reich works with simplesynth. Though i don't find IAC, but > simplesynth's virtual midi was found too in grace and this > configuration seems to be enough. If you dont find IAC then you should enable it as it then lets you route midi to any app on the mac. Use the Audio/Midi setup utility to do this. i sent a message out about a week ago on how to do it. > | As i don't have midi i/o in mac, but in linux box, is it possible > to read midi events in linux and send them via osc to mac and vice > versa? yes but i dont see why you dont enable the iac buss. you could use osc, the OSC port seems tp be working really well. But you have to build with liblo or wait a day for me to do it. i build liblo statically, ill have to add a section to readme.text on what to do i think its cd liblo-02.6 ./configure --enable-static=yes --disable-shared=yes but i guess you could build dynamically. if you did 'make install' in liblo then to build CM you would do premake --target gnu --sndlib ../sndlib --liblo /usr/local if you DONT install liblo then you need to do: cd path/to/liblo-0.26 mkdir include cp -r lo include mkdir lib cp src/.libs/*.a lib cd /path/to/cm premake --target gnu --sndlib ../sndlib --liblo /path/to/liblo at that point you might as well build everything by inclduing fomus! install fomus from sourceforge and then do: premake --target gnu --sndlib ../sndlib --liblo /path/to/liblo -- fomus /usr/local/ From taube at uiuc.edu Sat Jan 16 14:51:46 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 16 Jan 2010 16:51:46 -0600 Subject: [CM] CM In-Reply-To: References: Message-ID: <2B9AE146-0022-4CFF-ADA3-71823628529E@uiuc.edu> not currently but there is no reason it cant. it would take a bit of work however because of syntax hightlighting would have to be included. but i cant get it in the next release wich im hoping will be sometime next week On Jan 16, 2010, at 4:08 PM, ttakt wrote: > Hello > > Is it possible to assign an alternative 'Theme' to the editor window > in Grace? > > For example could the editor window be assigned the 'Clarity and > Beauty' theme as used by the console. > > Thanks > > Chris From nthperson at gmail.com Mon Jan 18 03:39:27 2010 From: nthperson at gmail.com (YOUR NAME) Date: Mon, 18 Jan 2010 12:39:27 +0100 Subject: [CM] snd 11.2 Message-ID: <1cd68a681001180339u5fb8a70x4e24ac9334aa2dd@mail.gmail.com> Hello, I'm have a problem with snd, I start it at priority 50 and if I press play, it goes down to priority 2, then to 0. I can't find anything about priority in the documentation. Clicks and hums. Aaaa. nice day, Dylan_ -------------- next part -------------- An HTML attachment was scrubbed... URL: From k.s.matheussen at notam02.no Mon Jan 18 04:23:23 2010 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Mon, 18 Jan 2010 13:23:23 +0100 (CET) Subject: [CM] snd 11.2 In-Reply-To: <1cd68a681001180339u5fb8a70x4e24ac9334aa2dd@mail.gmail.com> References: <1cd68a681001180339u5fb8a70x4e24ac9334aa2dd@mail.gmail.com> Message-ID: On Mon, 18 Jan 2010, YOUR NAME wrote: > Hello, > I'm have a problem with snd, I start it at priority > 50 and if I press play, it goes down to priority 2, > then to 0. I can't find anything about priority in > the documentation. Clicks and hums. Aaaa. > nice day, > Dylan_ > The jack backend manipulates priorities automatically, using SCHED_RR while playing plus adding a watchdog. In case you are using the jack backend, you should not be able to set better priorities manually. Setting a priority as high as 50 is not useful here. So those clicks and hums are still going to be there. (chances are they'll disappear if you use snd-ls instead of snd though because the player in snd-ls puts all sounddata on a ringbuffer before processing) From nthperson at gmail.com Mon Jan 18 12:41:39 2010 From: nthperson at gmail.com (YOUR NAME) Date: Mon, 18 Jan 2010 21:41:39 +0100 Subject: [CM] Fwd: snd 11.2 In-Reply-To: <1cd68a681001181241p50f0165aud0d0f17b26047243@mail.gmail.com> References: <1cd68a681001180339u5fb8a70x4e24ac9334aa2dd@mail.gmail.com> <1cd68a681001181241p50f0165aud0d0f17b26047243@mail.gmail.com> Message-ID: <1cd68a681001181241j68cc5510nbe974da57d82cff5@mail.gmail.com> ---------- Forwarded message ---------- From: YOUR NAME Date: Mon, Jan 18, 2010 at 9:41 PM Subject: Re: [CM] snd 11.2 To: "Kjetil S. Matheussen" Yeah, I'm using it with jack, I'll try snd-ls. Thanks for the response, Dylan_ On Mon, Jan 18, 2010 at 1:23 PM, Kjetil S. Matheussen < k.s.matheussen at notam02.no> wrote: > > > On Mon, 18 Jan 2010, YOUR NAME wrote: > > Hello, >> I'm have a problem with snd, I start it at priority >> 50 and if I press play, it goes down to priority 2, >> then to 0. I can't find anything about priority in >> the documentation. Clicks and hums. Aaaa. >> nice day, >> Dylan_ >> >> > The jack backend manipulates priorities automatically, > using SCHED_RR while playing plus adding a watchdog. > > In case you are using the jack backend, you should > not be able to set better priorities manually. Setting > a priority as high as 50 is not useful here. So those > clicks and hums are still going to be there. (chances > are they'll disappear if you use snd-ls instead of snd > though because the player in snd-ls puts all > sounddata on a ringbuffer before processing) > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Mon Jan 18 16:44:08 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 18 Jan 2010 18:44:08 -0600 Subject: [CM] supercollider examples Message-ID: Ive added examples of working with supercollider and the osc port, see: Help>Examples>Scheme>SuperCollider The examples use a new insrument sc:wave, a version of (wave ...) that i implemented in Supercollider with guidance from Michael Klingbeil. There are several other new features related to SC: 1 the instrument browser can now include sc insturments in addition to SndLib. The browser has been moved to the top level of the Audio Menu. 2 new item Audio>Export Instruments... for restoring all or any instrument files from the embedded distribuition. 3 you can now load instruments directly from the embedded sources. That is, if you specify a file that does not contain a directory component. eg: (load "v.scm") (load "wavesc.scm") then Grace will search the embedded instrument distribution for that file if it does not exist in the current working directory. It is very easy to add instruments to the instrument distribution -- I would welcome anyone sending me compositionally useful synthdefs (.rtf or .sc files ) along with their instrument wrappers in scheme. to see how to define a sc instrument wrapper open sc:wave in the browser. (basically you just assemble calls to osc:bundle an osc:message ...) apps : (because of the changes to the Insrument browser Ive remade the window's app even though OSC doesnt work there.) osx http://camil.music.uiuc.edu/software/grace/xcm.zip win http://camil.music.uiuc.edu/software/grace/winxcm.zip linux http://camil.music.uiuc.edu/software/grace/xcm.tgz From taube at uiuc.edu Wed Jan 20 14:21:13 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 20 Jan 2010 16:21:13 -0600 Subject: [CM] CM compositions on web In-Reply-To: References: <4B4137E6.2070504@mindspring.com> <53b00b9c1001032103l3e1596a9xd25497e6139da5c4@mail.gmail.com> <4B41EABE.9080007@mindspring.com> <53b00b9c1001051820q71b0e652w4e5463a9e7c8c1d1@mail.gmail.com> <8F5F22F8-D7AD-4A5A-94C7-91C6944ED2F2@uiuc.edu> <53b00b9c1001071808g67717df3n853753ea591275c2@mail.gmail.com> <15C911C0-CA1A-40A7-B87A-CEB603B28FE2@uiuc.edu> <53b00b9c1001091702q36598324k3d4e3d146f526ef6@mail.gmail.com> Message-ID: <1B26D858-D7E2-4E3E-9402-F7D66837FB4E@uiuc.edu> On Jan 10, 2010, at 9:02 AM, Johannes Quint wrote: >> im toying with the >> idea of version of sal that simply provides infix expressions without >> the structure of 'commands'. > > good idea. they are - among others - the reason why i turned away from > sal back to scheme. > it also would be great to have optional arguments and rests for > function-definitions in sal. i forgot to mention that in the last beta apps i saved, sal function parameters are now opt/key -- similar to how definstrument or supercollider functions work. you assign default values to parameters like any variable binding, ie define function hiho (a = 1, b ) return list(a,b) print hiho() {1 #f} print hiho(4,5) {4 5} print hiho(b: 44) {#f 44} to get a &rest arg you can append ... to the last parmeters name define function hiho (args...) return args print hiho(1,2,3,4,5) {1 2 3 4 5} internally i simply switched from define to s7's define* this should be completely backward compatible since only required was supported until now. at some point this year i will have a functional version of sal (sal2), but im taking a break after this upcoming release to write some music!