From bil at ccrma.Stanford.EDU Fri Sep 1 07:19:11 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 1 Sep 2006 07:19:11 -0700 Subject: [CM] re: snd_frg.scm Message-ID: <20060901141506.M69641@ccrma.Stanford.EDU> I added your code to the Snd tarball and CVS site -- thanks again! > To compile Snd with all gtk extensions, it seems that --with-static-xg flag is > needed. If not, xg.o nor xg.so are produced. I need to compile them manually. > Looks like a bug in configure or something like that. The current expectation is that if you want xg.so as a separate module you'll either use libxm or "make xg" (as a separate command). I'd rather not make this automatic in the makefile. I could add another entry point, I suppose -- "make gtk-snd" or something. From bil at ccrma.Stanford.EDU Fri Sep 1 07:32:55 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 1 Sep 2006 07:32:55 -0700 Subject: [CM] motif's future Message-ID: <20060901141933.M92675@ccrma.Stanford.EDU> Fernando noticed that Fedora is dropping openmotif: http://lwn.net/Articles/197744/ (The discussion is disappointing -- rationalizations, empty rhetoric, ignorant arguments; they've decided, now they shout and pound on the table; lesstif is not an option for Snd -- many serious bugs -- I reported some, with suggested fixes a long time ago, and got no response). I'll keep the motif side of Snd going indefinitely (I still prefer motif to gtk...). From nolv at free.fr Fri Sep 1 08:02:10 2006 From: nolv at free.fr (Olivier =?iso-8859-1?b?RG9hcuk=?=) Date: Fri, 01 Sep 2006 17:02:10 +0200 Subject: [CM] re: snd_frg.scm In-Reply-To: <20060901141506.M69641@ccrma.Stanford.EDU> References: <20060901141506.M69641@ccrma.Stanford.EDU> Message-ID: <1157122930.44f84b7282391@imp5-g19.free.fr> Selon Bill Schottstaedt : > I added your code to the Snd tarball and CVS site -- thanks again! Thanks! But note again that in its current form, it won't work with snd except the version in snd-ls (like the snd_conffile.scm). I could try to make one that works, when i have time. > The current expectation is that if you want xg.so as a separate > module you'll either use libxm or "make xg" (as a separate > command). I'd rather not make this automatic in the makefile. > I could add another entry point, I suppose -- "make gtk-snd" > or something. > Thanks for the 'make xg' trick. It's fine with me. It's just that it seems this is not documented anywhere. -- Olivier From drkrause at mindspring.com Fri Sep 1 14:21:51 2006 From: drkrause at mindspring.com (Drew Krause) Date: Fri, 01 Sep 2006 17:21:51 -0400 Subject: [CM] 'drunk' behavior Message-ID: <44F8A46F.4080208@mindspring.com> I've noticed that CM's 'drunk' function has a strong tendency to descend (see test below). Is it working properly, or should a random seed be re-set or something? Thanks! The following function returns a list of length 'len' starting drunk from 'startpit': (defun drunkvec (startpit len &optional (stepsize 1)) (loop repeat len for r = startpit then (drunk r stepsize) collect r)) All 30 runs of length 20 descended from 50 to the following final numbers: (loop repeat 30 append (last (drunkvec 50 20))) =>(44 42 44 39 42 40 38 43 41 41 39 40 44 39 40 42 42 40 39 39 41 41 39 42 38 46 45 38 45 40) Drew Krause From taube at uiuc.edu Sun Sep 3 17:58:32 2006 From: taube at uiuc.edu (Rick Taube) Date: Sun, 3 Sep 2006 19:58:32 -0500 Subject: [CM] 'drunk' behavior In-Reply-To: <44F8A46F.4080208@mindspring.com> References: <44F8A46F.4080208@mindspring.com> Message-ID: indeed. the bug is that the value is bounded (between (- width) width) which means that there is 1 more neg. number than positive :/ if you change that to (between (- width) (+ width 1) ) then it behaves correctly ie drunkvec averages to the initial value: (defun drunkvec (startpit len &optional (stepsize 1)) (loop repeat len for r = startpit then (drunk r stepsize) collect r)) (defun avr (l) (floor (apply #'+ l) (length l))) ? (avr (loop repeat 30 append (last (drunkvec 50 20)))) => 49 ? (avr (loop repeat 30 append (last (drunkvec 50 20)))) => 51 ? (avr (loop repeat 30 append (last (drunkvec 50 20)))) => 50 this is fixed in cvs (rev 1.14 of data.scm). thanks drew! From Tom.Lopez at oberlin.edu Tue Sep 5 21:08:44 2006 From: Tom.Lopez at oberlin.edu (Tom Lopez) Date: Wed, 06 Sep 2006 00:08:44 -0400 Subject: [CM] SEAMUS/ASCAP student commission Message-ID: <3795BC7C-2A74-4A4A-B9C7-B89D1F263560@oberlin.edu> Apologies for cross-postings. Please forward as appropriate. SEAMUS is pleased to announce the 2007 ASCAP/SEAMUS Student Composer Commissioning Program, with the help of Frances Richard and the American Society for Composers, Authors and Publishers (ASCAP) . The commission includes an honorarium for a new electro-acoustic composition, a stipend for copying and material costs, a plaque, a recording on the annual conference CD, and a performance at the SEAMUS 2008 National Conference. You must be a student currently enrolled in an academic course of study that leads to a high school diploma, or baccalaureate, masters, or doctoral degree in music or electro-acoustic music, or a program that includes electro-acoustic music and related fields. This competition is open to student members of SEAMUS, US citizens, or legal residents of the United States. The postmark deadline is October 15, 2006. For more information, including the application form: http://seamusonline.org/ascap.html IMPORTANT: applying for the SEAMUS/ASCAP Student Commission is entirely different from submitting work for performance at the SEAMUS National Conference, which requires a separate application. Sincerely, Tom Lopez SEAMUS/ASCAP Commissioning Program Coordinator 77 W. College St. Oberlin Conservatory of Music Oberlin, Ohio 44074 USA (440) 775-8748 -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlosjosepita at yahoo.com.ar Thu Sep 7 01:49:48 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Thu, 7 Sep 2006 08:49:48 +0000 (GMT) Subject: [CM] Two minor bugs in snd-8 preferences menu Message-ID: <20060907084948.8858.qmail@web50312.mail.yahoo.com> Hi all! The bugs I found are: 1) if the sonogram colormap is not set!ed in .snd_prefs_guile, a segmentation fault occurs the first time you try to open the preferences dialog. At the next try the menu is opened but the options are listed only up to sonogram colormap, which is broken and unsettable. If you save the preferences, the colormap is given the value -1, which happens to have the same effect described above. 2) the load path value is not saved, which is specially unfortunate beacuse another settings depend on loading .scm files (for example ws.scm), and .snd_prefs_guile seems to take precedence over my .snd (which establishes the load path). That's all. Best regards, Carlos __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From carlosjosepita at yahoo.com.ar Thu Sep 7 01:59:39 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Thu, 7 Sep 2006 08:59:39 +0000 (GMT) Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060907084948.8858.qmail@web50312.mail.yahoo.com> Message-ID: <20060907085939.80763.qmail@web50315.mail.yahoo.com> > 2) the load path value is not saved, Just for the sake of precision: it is saved when you specifically modify it, but not retained in .snd_prefs_guile when you save another changes not including the load path (although it's usually showed in the preferences menu as it's value is taken from that customarily established in your .snd anyway; but as .snd_prefs_guile is loaded first, it would be desirable to have the load path setted by it before attempting actions that require snd's root dir in the path). > Hi all! > > The bugs I found are: > > 1) if the sonogram colormap is not set!ed in > .snd_prefs_guile, a segmentation fault occurs the > first time you try to open the preferences dialog. > At > the next try the menu is opened but the options are > listed only up to sonogram colormap, which is broken > and unsettable. If you save the preferences, the > colormap is given the value -1, which happens to > have > the same effect described above. > > 2) the load path value is not saved, which is > specially unfortunate beacuse another settings > depend > on loading .scm files (for example ws.scm), and > .snd_prefs_guile seems to take precedence over my > .snd > (which establishes the load path). > > That's all. > Best regards, > Carlos > > > > > > > __________________________________________________ > Pregunt?. Respond?. Descubr?. > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en Yahoo! Respuestas (Beta). > ?Probalo ya! > http://www.yahoo.com.ar/respuestas > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From bil at ccrma.Stanford.EDU Thu Sep 7 04:14:34 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 7 Sep 2006 04:14:34 -0700 Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060907084948.8858.qmail@web50312.mail.yahoo.com> References: <20060907084948.8858.qmail@web50312.mail.yahoo.com> Message-ID: <20060907111344.M30222@ccrma.Stanford.EDU> > if the sonogram colormap is not set!ed in > .snd_prefs_guile, a segmentation fault occurs the > first time you try to open the preferences dialog. I can't get this to happen in any version of Snd. > At the next try the menu is opened but the options are > listed only up to sonogram colormap, which is broken > and unsettable. If you save the preferences, the > colormap is given the value -1, which happens to have > the same effect described above. The value of -1 is not legal -- it should generate an error message. I don't set it to -1 anywhere. :(set! (colormap) -1) colormap: no-such-colormap: (-1) What version of Snd is this? (what does ./snd --version print out?). Also, if possible, what is the stack trace at the point of the seg fault? From carlosjosepita at yahoo.com.ar Thu Sep 7 04:33:06 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Thu, 7 Sep 2006 11:33:06 +0000 (GMT) Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060907111344.M30222@ccrma.Stanford.EDU> Message-ID: <20060907113306.50105.qmail@web50313.mail.yahoo.com> > What version of Snd is this? (what does ./snd > --version print out?). Also, if possible, what is the stack > trace at the point of the seg fault? snd --version ==> This is Snd version 8.4 of 6-Sep-06. But I observed the same behaviour with: snd --version ==> This is Snd version 8.3 of 30-Jul-06 I got any detail more than: Caught seg fault (will try to continue): (even when show-backtrace is #t) To reproduce the failure I simply commented out (set! (colormap) 1) from .snd_prefs_guile. Are you sure that none of your initialization scripts is setting this option to some value before the first time you open the preferences dialog? Also, the -1 value seems to be a somehow indirect consequence of the seg fault, so it's not surprising that you don't get it as long as you can't reproduce the error in the first term. Regards, Carlos __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From carlosjosepita at yahoo.com.ar Thu Sep 7 04:33:24 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Thu, 7 Sep 2006 08:33:24 -0300 (ART) Subject: [CM] CM tutorial example raises out-of-range error on guile/Snd Message-ID: <20060907113325.88452.qmail@web50310.mail.yahoo.com> Hi! I'm just trying to run the examples from the intro.lisp CM tutorial in guile/Snd and I get the following error: (new seq :name 'pulse :subobjects (loop with d = .1 for i below 80 collect (new midi :time (* i d) :keynum (pickl '(c4 d4 ef4 f4 g4 af4 bf4 c5)) :duration d :amplitude (interp (mod i 8) 0 .25 7 .75)))) ==># (list-objects #&pulse :end 3) ==>0. substring: out-of-range: Argument 3 out of range: 2 #f: line #f ; (list-objects #&pulse :end 3) From taube at uiuc.edu Thu Sep 7 05:17:46 2006 From: taube at uiuc.edu (Rick Taube) Date: Thu, 7 Sep 2006 07:17:46 -0500 Subject: [CM] CM tutorial example raises out-of-range error on guile/Snd In-Reply-To: <20060907113325.88452.qmail@web50310.mail.yahoo.com> References: <20060907113325.88452.qmail@web50310.mail.yahoo.com> Message-ID: please let me know if using (ice-9 format) this fixes the problem, try this: (use-modules (ice-9 format)) (new seq :name 'pulse :subobjects (loop with d = .1 for i below 80 collect (new midi :time (* i d) :keynum (pickl '(c4 d4 ef4 f4 g4 af4 bf4 c5)) :duration d :amplitude (interp (mod i 8) 0 .25 7 .75)))) (list-objects #&pulse :end 3) From bil at ccrma.Stanford.EDU Thu Sep 7 05:18:21 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 7 Sep 2006 05:18:21 -0700 Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060907113306.50105.qmail@web50313.mail.yahoo.com> References: <20060907111344.M30222@ccrma.Stanford.EDU> <20060907113306.50105.qmail@web50313.mail.yahoo.com> Message-ID: <20060907121523.M69738@ccrma.Stanford.EDU> > Just for the sake of precision: it is saved when you > specifically modify it, but not retained in > .snd_prefs_guile when you save another changes not > including the load path (although it's usually showed > in the preferences menu as it's value is taken from > that customarily established in your .snd anyway; but > as .snd_prefs_guile is loaded first, it would be > desirable to have the load path setted by it before > attempting actions that require snd's root dir in the > path). The initialization files are loaded in the order: .snd_prefs_guile, .snd_guile, .snd If you set the load-path in ~/.snd by consing a path onto the front of the list, that becomes the load-path reported by the preferences dialog. I do not touch any file except the preferences output, so I can't fix this. Another possible "gotcha" here is that you need to type in the text widget for it to notice that its value has changed. So, if I understand the problem, either remove the bad value from your ~/.snd file, or at least don't make it the first thing in the load list. Or, since you're using ~/.snd anyway, combine whatever you want from the prefs output into ~/.snd and delete the prefs file. From carlosjosepita at yahoo.com.ar Thu Sep 7 05:40:49 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Thu, 7 Sep 2006 12:40:49 +0000 (GMT) Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060907121523.M69738@ccrma.Stanford.EDU> Message-ID: <20060907124049.78017.qmail@web50313.mail.yahoo.com> > Another > possible "gotcha" here is that you need to type > > in the text widget for it to notice that its value > has > changed. Yeah, I'm doing that and also moving out focus to another widget after pressing , in order to commit the "change". In fact, even when the value remains constant, I need to do that just to preserve its line at .snd_prefs_guile so later steps of the execution of this script will be aware of the load-path (take for example: (if (not (provided? 'snd-edit-menu.scm)) (load-from-path "edit-menu.scm")) (if (not (provided? 'snd-marks-menu.scm)) (load-from-path "marks-menu.scm")) (if (not (provided? 'snd-mix-menu.scm)) (load-from-path "mix-menu.scm")) (if (not (provided? 'snd-ws.scm)) (load-from-path "ws.scm")) (if (not (provided? 'snd-snd-motif.scm)) (load-from-path "snd-motif.scm")) which are all generated by the preferences dialog too) > So, if I understand the problem, either > remove the bad value from your ~/.snd file, or at No, I think you are misunderstanding me. It's not a problem of load-path's value but the necessity of it being established before executing another settings in .snd_prefs_guile that require it. And also the fact that the preferences dialog erases it from .snd_prefs_guile every time you save your preferences except that you follow the above protocol (pressing return and changing focus). But the point here is: that happens even when you don't change the load path, so any time you forget repeating the return-focus ceremony before saving preferences, you lost its setting at .snd_prefs_guile and snd initialization will be broken next time. Hope I'm being more clear this time. Regards, Carlos __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From bil at ccrma.Stanford.EDU Thu Sep 7 06:39:22 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 7 Sep 2006 06:39:22 -0700 Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060907124049.78017.qmail@web50313.mail.yahoo.com> References: <20060907121523.M69738@ccrma.Stanford.EDU> <20060907124049.78017.qmail@web50313.mail.yahoo.com> Message-ID: <20060907133451.M93205@ccrma.Stanford.EDU> Oh! I see now -- there are probably at least 3 bugs in this silly thing: the dialog should display the actual value of the variable, the load-path needs to be set before the prefs file uses it (duh!), and the 'save' mechanism should not assume someone else is handling what it confusedly decides is a default value. Gad -- how could anything be that broken? I still can't repeat the segfault -- I've tried to build a version that is as close as possible to yours (we have different versions of several libraries), but it's happy -- will poke at it further. From torstenanders at gmx.de Thu Sep 7 08:05:37 2006 From: torstenanders at gmx.de (Torsten Anders) Date: Thu, 7 Sep 2006 17:05:37 +0200 Subject: [CM] [OT] Strasheela 0.8.1 has been released Message-ID: <07ee9d420101933dd0ae6711f05e7516@gmx.de> [Apologies for multiple postings] Strasheela is a highly expressive constraint-based music composition system. Users declaratively state a music theory and the computer generates music which complies with this theory. A theory is formulated as a constraint satisfaction problem (CSP) by a set of rules (constraints) applied to a music representation in which some aspects are expressed by variables (unknowns). Music constraint programming is style-independent and is well-suited for highly complex theories (e.g. a fully-fledged theory of harmony). Results can be output into various formats including MIDI, Lilypond, and Csound. The installation instructions and other documentation have been revised. Support for more output formats has been added, namely ENP and Fomus, thus allowing export to Finale and Sibelius. Other extensions have been added, and bugfixes have been made. For more information, please visit http://strasheela.sourceforge.net/ This release can be downloaded from: https://sourceforge.net/project/showfiles.php?group_id=167225 Best, Torsten -- Torsten Anders Sonic Arts Research Centre ? Queen's University Belfast Frankstr. 49 ? D-50996 K?ln Tel: +49-221-3980750 http://www.torsten-anders.de http://strasheela.sourceforge.net From carlosjosepita at yahoo.com.ar Thu Sep 7 12:59:03 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Thu, 7 Sep 2006 19:59:03 +0000 (GMT) Subject: [CM] CM tutorial example raises out-of-range error on guile/Snd In-Reply-To: Message-ID: <20060907195903.96092.qmail@web50311.mail.yahoo.com> A different error is thrown in each case (standalone guile with and without ice-9 format): with ice-9 format) guile> (list-objects #&pulse :end 10) 0. /usr/share/guile/1.6/ice-9/format.scm:123:19: In procedure substring in expression (substring format-string 0 ...): /usr/share/guile/1.6/ice-9/format.scm:123:19: Argument 3 out of range: 2 ABORT: (out-of-range) without ice-9 format) guile> (list-objects #&pulse :end 10) objects.scm:338:24: In procedure simple-format in expression (format #t "~d. ~s~%" ...): objects.scm:338:24: FORMAT: Unsupported format option ~d - use (ice-9 format) instead ABORT: (misc-error) Regards, Carlos --- Rick Taube escribi?: > please let me know if using (ice-9 format) this > fixes the problem, > try this: > > > (use-modules (ice-9 format)) > > (new seq :name 'pulse > :subobjects > (loop with d = .1 > for i below 80 > collect (new midi :time (* i d) > :keynum (pickl '(c4 d4 ef4 f4 g4 af4 bf4 > c5)) > :duration d > :amplitude (interp (mod i 8) 0 .25 7 > .75)))) > > (list-objects #&pulse :end 3) > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From johannes.quint at web.de Fri Sep 8 03:54:52 2006 From: johannes.quint at web.de (johannes.quint at web.de) Date: Fri, 08 Sep 2006 12:54:52 +0200 Subject: [CM] channel-tuning Message-ID: is it possible to work with 3 different midi-instruments all using quarter-tone-playback? which 'channel-tuning'-setting i have to choose? thanks for help. johannes -- Johannes Quint www.johannes-quint.de From taube at uiuc.edu Fri Sep 8 04:58:52 2006 From: taube at uiuc.edu (Rick Taube) Date: Fri, 8 Sep 2006 06:58:52 -0500 Subject: [CM] channel-tuning In-Reply-To: References: Message-ID: <1BCCCD0F-EA2E-4D77-A182-B23EA63245C8@uiuc.edu> > > is it possible to work with 3 different midi-instruments all using > quarter-tone-playback? sure but realize that when floating point keynums get written to files their actual channel values are ignored, ie the notes are assigned to the appropriately tuned channel in the stream. this means that you lose channel information in the file for retuned notes. > which 'channel-tuning'-setting i have to choose? the value is the number of divisinos per halfstep so doing ':channel- tuning 2' gives quarter-tone resolution, ie (events (foo) "qt.mid" :channel-tuning 2) means that channels 0 and 1 will be used for quarter tones quantization. in a related matter, import-events now parses floating point keynums from midi files if you specify :channel-tuning t to it. this is not documented yet. On Sep 8, 2006, at 5:54 AM, johannes.quint at web.de wrote: > > thanks for help. johannes > > -- > Johannes Quint > www.johannes-quint.de > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Fri Sep 8 05:28:43 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 8 Sep 2006 05:28:43 -0700 Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060907113306.50105.qmail@web50313.mail.yahoo.com> References: <20060907111344.M30222@ccrma.Stanford.EDU> <20060907113306.50105.qmail@web50313.mail.yahoo.com> Message-ID: <20060908122700.M79390@ccrma.Stanford.EDU> I think the preferences dialog segfault is caused by the line *spectrogramColor: -1 in Snd.ad -- I totally forgot about this file (hooray for X resources). From taube at uiuc.edu Fri Sep 8 08:23:11 2006 From: taube at uiuc.edu (Rick Taube) Date: Fri, 8 Sep 2006 10:23:11 -0500 Subject: [CM] channel-tuning In-Reply-To: <1BCCCD0F-EA2E-4D77-A182-B23EA63245C8@uiuc.edu> References: <1BCCCD0F-EA2E-4D77-A182-B23EA63245C8@uiuc.edu> Message-ID: rev 1.37 of src/midi3.scm fixes a bug in importing floating point keynums and adds a :pitch-bend-width arg which defaults to 2 (whole- step) (import-events "foo.mid" :channel-tuning t) From carlosjosepita at yahoo.com.ar Fri Sep 8 23:11:52 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Sat, 9 Sep 2006 03:11:52 -0300 (ART) Subject: [CM] CM tutorial example raises out-of-range error on guile/Snd In-Reply-To: <20060907195903.96092.qmail@web50311.mail.yahoo.com> Message-ID: <20060909061152.55429.qmail@web50310.mail.yahoo.com> Just want to add that I have tested the same code fragment against guile 1.8 and it run as smooth as silk. So the previous report applies at least for guile 1.6.x (off-the-shelf debian package), but not for the newer 1.8.x series. Regards, Carlos --- Carlos Pita escribi?: > A different error is thrown in each case (standalone > guile with and without ice-9 format): > > with ice-9 format) > > guile> (list-objects #&pulse :end 10) > 0. /usr/share/guile/1.6/ice-9/format.scm:123:19: In > procedure substring in expression (substring > format-string 0 ...): > /usr/share/guile/1.6/ice-9/format.scm:123:19: > Argument > 3 out of range: 2 > ABORT: (out-of-range) > > without ice-9 format) > > guile> (list-objects #&pulse :end 10) > objects.scm:338:24: In procedure simple-format in > expression (format #t "~d. ~s~%" ...): > objects.scm:338:24: FORMAT: Unsupported format > option > ~d - use (ice-9 format) instead > ABORT: (misc-error) > > Regards, > Carlos > > --- Rick Taube escribi?: > > > please let me know if using (ice-9 format) this > > fixes the problem, > > try this: > > > > > > (use-modules (ice-9 format)) > > > > (new seq :name 'pulse > > :subobjects > > (loop with d = .1 > > for i below 80 > > collect (new midi :time (* i d) > > :keynum (pickl '(c4 d4 ef4 f4 g4 af4 bf4 > > c5)) > > :duration d > > :amplitude (interp (mod i 8) 0 .25 7 > > .75)))) > > > > (list-objects #&pulse :end 3) > > > > > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > > > > > > __________________________________________________ > Pregunt?. Respond?. Descubr?. > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en Yahoo! Respuestas (Beta). > ?Probalo ya! > http://www.yahoo.com.ar/respuestas > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From carlosjosepita at yahoo.com.ar Fri Sep 8 23:33:46 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Sat, 9 Sep 2006 03:33:46 -0300 (ART) Subject: [CM] Two minor bugs in snd-8 preferences menu In-Reply-To: <20060908122700.M79390@ccrma.Stanford.EDU> Message-ID: <20060909063346.96144.qmail@web50307.mail.yahoo.com> Glad to read you found out it. Is the default taken from Snd.ad? If it is, where should I place that file? Or perhaps I have to set the property in .Xresources, haven't I? I'm in doubt because of the "disclaimer" on top of the distributed Snd.ad: ! Snd app-defaults -- these defaults are already taken care of in Snd, ! so this file is redundant unless something is changed. ! Actually, since I forget this file even exists, it's best not to use it. Thank you very much. Regards, Carlos --- Bill Schottstaedt escribi?: > I think the preferences dialog segfault is caused by > the line > > *spectrogramColor: -1 > > in Snd.ad -- I totally forgot about this file > (hooray for X resources). > > > __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From david.kamp at gmx.de Sat Sep 9 04:39:00 2006 From: david.kamp at gmx.de (David Kamp) Date: Sat, 9 Sep 2006 13:39:00 +0200 Subject: [CM] Building applications with CM? Message-ID: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> Hello List. Im a common music newbie, just finished a course at University using it, So first: hi everybody! Now my Question: What possibillities are there to develop "Applications" based on Common Music? The Idea is to build something (with some kind of gui maybe) i could pass on to my friends to play around with, without having them to mess with stuff like Lisp compilers, the common music sources etcetera... Would this work? What would be the process to convert some nice working common music code to a nice looking user friendly application? Any hints to point me in the right direction are greatly appreciated... Sorry if this is a stupid question, but im just starting out... Thanks, David. From taube at uiuc.edu Sat Sep 9 06:58:18 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 9 Sep 2006 08:58:18 -0500 Subject: [CM] Building applications with CM? In-Reply-To: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> Message-ID: > What possibillities are there to develop "Applications" based on > Common Music? if you look on cm's sourceforge File Release page you will see that for osx i save an "application" version of the stable cm branch that works out-of-the-box if you have Aquamacs Emacs installed. (I dont do this for linux because these folks are generally comfortable assembling software from scratch). this could be done for the unstable-branch as well if some mechanism were added to auto-download newer sources under the application (M-x update-system cm clm ) ?? > The Idea is to build something (with some kind of gui maybe) i > could pass on to my friends to play around with, > without having them to mess with stuff like Lisp compilers, the > common music sources etcetera... A laudable goal, however Emacs and Lisp syntax will be HUGE hurdles for people (non-technical composers) that want to learn about algorithmic composition, in my opinon your wish to "pass on to my friends to play around with" is very optimistic... I have very intelligent students that -- even after a semeseter's study -- are still frustrated trying to express even simple ideas in the emacs/ lisp environment. but go for it! the holy-grail would be a cross- platform, non-emacs "gui" that integrated graphics (plotting and notation) with text-based algorithmic development with/without lisp syntax. A few years ago I had really hoped that gtk would be the answer for the GUI side and i actually started this work, but even now there is still no native version on osx and i wont do any more gtk until i see at least that (in my lab cm's gtk gui takes more than a minute to open a window, its a joke) SO im in a holding pattern for gui work, as usual. in the meantime two true cross-platform gui tool kits have surfacec that might allow some way to move foward: wx and JUCE. JUCE look particularly interesting. and FOMUS does an amazingly good job of translating generated events into a notation. so perhaps the pieces are there. From david.kamp at gmx.de Sat Sep 9 07:17:20 2006 From: david.kamp at gmx.de (David Kamp) Date: Sat, 9 Sep 2006 16:17:20 +0200 Subject: [CM] Building applications with CM? In-Reply-To: References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> Message-ID: <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> Thanks for the quick response. Juce looks really interesting, allthough i never tried C++ until now... But what i meant by the "things to pass on to my frieds to play around with" were "finished applications" that do just a simple task. Let me put it that way: I programm something in CM thats generates MIDI Drumloops for example. And now i want to turn this into a small little app, that does just this, with maybe 3 Number boxes/sliders with parameters, a nice knob called "generate" and thats it. Is this possible? And what would i need to do it? Thanks, David. On 09.09.2006, at 15:58, Rick Taube wrote: >> What possibillities are there to develop "Applications" based on >> Common Music? > > if you look on cm's sourceforge File Release page you will see that > for osx i save an "application" version of the stable cm branch > that works out-of-the-box if you have Aquamacs Emacs installed. (I > dont do this for linux because these folks are generally > comfortable assembling software from scratch). this could be done > for the unstable-branch as well if some mechanism were added to > auto-download newer sources under the application (M-x update- > system cm clm ) ?? > >> The Idea is to build something (with some kind of gui maybe) i >> could pass on to my friends to play around with, >> without having them to mess with stuff like Lisp compilers, the >> common music sources etcetera... > > A laudable goal, however Emacs and Lisp syntax will be HUGE hurdles > for people (non-technical composers) that want to learn about > algorithmic composition, in my opinon your wish to "pass on to my > friends to play around with" is very optimistic... I have very > intelligent students that -- even after a semeseter's study -- are > still frustrated trying to express even simple ideas in the emacs/ > lisp environment. but go for it! the holy-grail would be a cross- > platform, non-emacs "gui" that integrated graphics (plotting and > notation) with text-based algorithmic development with/without lisp > syntax. A few years ago I had really hoped that gtk would be the > answer for the GUI side and i actually started this work, but even > now there is still no native version on osx and i wont do any more > gtk until i see at least that (in my lab cm's gtk gui takes more > than a minute to open a window, its a joke) SO im in a holding > pattern for gui work, as usual. in the meantime two true cross- > platform gui tool kits have surfacec that might allow some way to > move foward: wx and JUCE. JUCE look particularly interesting. and > FOMUS does an amazingly good job of translating generated events > into a notation. so perhaps the pieces are there. > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From taube at uiuc.edu Sat Sep 9 07:33:58 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 9 Sep 2006 09:33:58 -0500 Subject: [CM] Building applications with CM? In-Reply-To: <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> Message-ID: On Sep 9, 2006, at 9:17 AM, David Kamp wrote: > Thanks for the quick response. Juce looks really interesting, > allthough i never tried C++ until now... > But what i meant by the "things to pass on to my frieds to play > around with" were "finished applications" that do just a simple task. > Let me put it that way: I programm something in CM thats generates > MIDI Drumloops for example. > And now i want to turn this into a small little app, that does just > this, with maybe 3 Number boxes/sliders with parameters, > a nice knob called "generate" and thats it. > Is this possible? And what would i need to do it? > Thanks, > David. its certainly possible right now if you have gtk installed on your machine and use either openmcl, sbcl or cmucl. you can see all the widgets you require in the graphics on this page: http://commonmusic.sourceforge.net/doc/dict/cmio-topic.html info on cm-gtk is here: http://commonmusic.sourceforge.net/doc/install.html#cm-gtk look in cm-gtkl/cmio.lisp for how do do it. perhaps an even easier way would be to create a MENU of such items and add it to Emacs's lisp-mode with calls to cm that do what you want. look in cm/etc/xemacs/cm.el for how to make an Emacs menu and send commands to CM from an emacs buffer. From taube at uiuc.edu Sat Sep 9 08:03:56 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 9 Sep 2006 10:03:56 -0500 Subject: [CM] CM tutorial example raises out-of-range error on guile/Snd In-Reply-To: <20060909061152.55429.qmail@web50310.mail.yahoo.com> References: <20060909061152.55429.qmail@web50310.mail.yahoo.com> Message-ID: thank you for testing. i think i wont patch code for guile versions < 1.7. i will update the readme for supported lisps. --rick On Sep 9, 2006, at 1:11 AM, Carlos Pita wrote: > > Just want to add that I have tested the same code > fragment against guile 1.8 and it run as smooth as > silk. So the previous report applies at least for > guile 1.6.x (off-the-shelf debian package), but not > for the newer 1.8.x series. > > Regards, > Carlos > From mperti at ciudad.com.ar Sat Sep 9 09:12:39 2006 From: mperti at ciudad.com.ar (M. Perticone) Date: Sat, 9 Sep 2006 13:12:39 -0300 Subject: [CM] Building applications with CM? References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> Message-ID: <005101c6d42a$c619c390$fa9fd4c9@piii> hello i think david is thinking about a self-contained distributable app. i think this is not possible, at least right now. am i wrong? best, marcelo ----- Original Message ----- From: "Rick Taube" To: "David Kamp" Cc: Sent: Saturday, September 09, 2006 11:33 AM Subject: Re: [CM] Building applications with CM? > > On Sep 9, 2006, at 9:17 AM, David Kamp wrote: > > > Thanks for the quick response. Juce looks really interesting, > > allthough i never tried C++ until now... > > But what i meant by the "things to pass on to my frieds to play > > around with" were "finished applications" that do just a simple task. > > Let me put it that way: I programm something in CM thats generates > > MIDI Drumloops for example. > > And now i want to turn this into a small little app, that does just > > this, with maybe 3 Number boxes/sliders with parameters, > > a nice knob called "generate" and thats it. > > Is this possible? And what would i need to do it? > > Thanks, > > David. > > its certainly possible right now if you have gtk installed on your > machine and use either openmcl, sbcl or cmucl. you can see all the > widgets you require in the graphics on this page: > > http://commonmusic.sourceforge.net/doc/dict/cmio-topic.html > > info on cm-gtk is here: > > http://commonmusic.sourceforge.net/doc/install.html#cm-gtk > > look in cm-gtkl/cmio.lisp for how do do it. > > perhaps an even easier way would be to create a MENU of such items > and add it to Emacs's lisp-mode with calls to cm that do what you want. > look in cm/etc/xemacs/cm.el for how to make an Emacs menu and send > commands to CM from an emacs buffer. > > > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From taube at uiuc.edu Sat Sep 9 10:24:38 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 9 Sep 2006 12:24:38 -0500 Subject: [CM] Building applications with CM? In-Reply-To: <005101c6d42a$c619c390$fa9fd4c9@piii> References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> <005101c6d42a$c619c390$fa9fd4c9@piii> Message-ID: <8F66BC17-F36C-448F-BCAC-4447BB5B8423@uiuc.edu> > i think david is thinking about a self-contained distributable app. > i think > this is not possible, at least right now. am i wrong? > best, > marcelo > thats what CM.app is -- EVERYTHING is installed under the application directory; to install you drag the application icon to your harddrive, then double-click it to starts CM under Emacs (if you have emacs installed) else in a terminal if you dont. so its just like Lisp-In-a-Box ( http://www.gigamonkeys.com/ lispbox/ ) except that i dont ship Emacs. im not sure how i could make it more self-contained, except of course to use JUCE or Wx to turn cm into true gui app witth its own editor. From testcase at asu.edu Sat Sep 9 10:07:18 2006 From: testcase at asu.edu (todd ingalls) Date: Sat, 9 Sep 2006 10:07:18 -0700 Subject: [CM] Building applications with CM? In-Reply-To: <005101c6d42a$c619c390$fa9fd4c9@piii> References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> <005101c6d42a$c619c390$fa9fd4c9@piii> Message-ID: this would actually be possible - i have used SWIG to create bindings for Juce and been able to make very simple GUI apps. I want to continue this w/ Rick after I am finished with a current project. On Sep 9, 2006, at 9:12 AM, M. Perticone wrote: > hello > > i think david is thinking about a self-contained distributable app. > i think > this is not possible, at least right now. am i wrong? > best, > marcelo > > ----- Original Message ----- > From: "Rick Taube" > To: "David Kamp" > Cc: > Sent: Saturday, September 09, 2006 11:33 AM > Subject: Re: [CM] Building applications with CM? > > >> >> On Sep 9, 2006, at 9:17 AM, David Kamp wrote: >> >>> Thanks for the quick response. Juce looks really interesting, >>> allthough i never tried C++ until now... >>> But what i meant by the "things to pass on to my frieds to play >>> around with" were "finished applications" that do just a simple >>> task. >>> Let me put it that way: I programm something in CM thats generates >>> MIDI Drumloops for example. >>> And now i want to turn this into a small little app, that does just >>> this, with maybe 3 Number boxes/sliders with parameters, >>> a nice knob called "generate" and thats it. >>> Is this possible? And what would i need to do it? >>> Thanks, >>> David. >> >> its certainly possible right now if you have gtk installed on your >> machine and use either openmcl, sbcl or cmucl. you can see all the >> widgets you require in the graphics on this page: >> >> http://commonmusic.sourceforge.net/doc/dict/cmio-topic.html >> >> info on cm-gtk is here: >> >> http://commonmusic.sourceforge.net/doc/install.html#cm-gtk >> >> look in cm-gtkl/cmio.lisp for how do do it. >> >> perhaps an even easier way would be to create a MENU of such items >> and add it to Emacs's lisp-mode with calls to cm that do what you >> want. >> look in cm/etc/xemacs/cm.el for how to make an Emacs menu and send >> commands to CM from an emacs buffer. >> >> >> >> >> >> >> _______________________________________________ >> 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 david.kamp at gmx.de Sat Sep 9 13:44:23 2006 From: david.kamp at gmx.de (David Kamp) Date: Sat, 9 Sep 2006 22:44:23 +0200 Subject: [CM] Building applications with CM? In-Reply-To: <8F66BC17-F36C-448F-BCAC-4447BB5B8423@uiuc.edu> References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> <005101c6d42a$c619c390$fa9fd4c9@piii> <8F66BC17-F36C-448F-BCAC-4447BB5B8423@uiuc.edu> Message-ID: Yeah. I want to create a small app, something where the users just controls some parameters. (without letting the user ever see Scheme/LISP code) Then there is some CM stuff happening internally and -dadah!!!- The Users gets a wav/midifile. The target user would be more like a "consumer". I create something cool in CM, make an app out of it and the user uses the app for its single task. (making GM-drumbeats or whatever.) How would i turn some CM programming into a self contained Application? Again, im new to this so please be patient ;-) David. On 09.09.2006, at 19:24, Rick Taube wrote: >> i think david is thinking about a self-contained distributable >> app. i think >> this is not possible, at least right now. am i wrong? >> best, >> marcelo >> From taube at uiuc.edu Sat Sep 9 15:55:55 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 9 Sep 2006 17:55:55 -0500 Subject: [CM] Building applications with CM? In-Reply-To: References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> <005101c6d42a$c619c390$fa9fd4c9@piii> <8F66BC17-F36C-448F-BCAC-4447BB5B8423@uiuc.edu> Message-ID: > How would i turn some CM programming into a self contained > Application? > Again, im new to this so please be patient ;-) if you want to pop up a gtk window from within cm that does what you want its entirely possible. it would also be simple enough to write, say, a shell command that starts cm with appropriate input parameeters and exits after generating a midi file. but these days most programs require external libraries or have install scripts that provide their own that they link to dynamically. so "self-contained Application" is proably a myth in any language. --rick From taube at uiuc.edu Sat Sep 9 16:06:19 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 9 Sep 2006 18:06:19 -0500 Subject: [CM] Building applications with CM? In-Reply-To: <001501c6d460$8a037870$fa9fd4c9@piii> References: <79FF3897-2BB2-461C-87B8-5C7C17AF9399@gmx.de> <5C942D12-558D-48B9-BB76-078B1FB98A90@gmx.de> <005101c6d42a$c619c390$fa9fd4c9@piii> <8F66BC17-F36C-448F-BCAC-4447BB5B8423@uiuc.edu> <002301c6d446$ee41b280$fa9fd4c9@piii> <001501c6d460$8a037870$fa9fd4c9@piii> Message-ID: On Sep 9, 2006, at 5:37 PM, M. Perticone wrote: > if cm works with > lisp-in-a-box, that would be nice. cm, like lisp-in-a-box, is ASDF based so it should be trivial to load it into a running lisp-in-a-box. simply add the cm tree to whereever lisp in a box keeps its libraries and then do (oos 'load-op :cm) From chris_melen at yahoo.com Mon Sep 11 21:16:26 2006 From: chris_melen at yahoo.com (christopher melen) Date: Tue, 12 Sep 2006 05:16:26 +0100 (BST) Subject: [CM] Music? Message-ID: <20060912041626.15019.qmail@web54308.mail.yahoo.com> Hi all, This list is mainly for technical issues/discussion, obviously, but I was wondering if there is any info available on music composed using CM/CLM? All I've come across is the stuff in Rick's book. Many thanks, Chris ___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html From taube at uiuc.edu Tue Sep 12 04:57:43 2006 From: taube at uiuc.edu (Rick Taube) Date: Tue, 12 Sep 2006 06:57:43 -0500 Subject: [CM] Music? In-Reply-To: <20060912041626.15019.qmail@web54308.mail.yahoo.com> References: <20060912041626.15019.qmail@web54308.mail.yahoo.com> Message-ID: i assembled a list some years ago when i went up for tenure. i collected 50 pieces or so titles from people that replied to my query. it would be much easier if there was some sort of wiki where people that wanted to could add their entires with links to mp3s etc. --rick On Sep 11, 2006, at 11:16 PM, christopher melen wrote: > Hi all, > > This list is mainly for technical issues/discussion, > obviously, but I was wondering if there is any info > available on music composed using CM/CLM? All I've > come across is the stuff in Rick's book. > > Many thanks, > Chris > > > > > > ___________________________________________________________ > All new Yahoo! Mail "The new Interface is stunning in its > simplicity and ease of use." - PC Magazine > http://uk.docs.yahoo.com/nowyoucan.html > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From david.kamp at gmx.de Tue Sep 12 07:44:02 2006 From: david.kamp at gmx.de (David Kamp) Date: Tue, 12 Sep 2006 16:44:02 +0200 Subject: [CM] Forum for Common Music Pieces In-Reply-To: References: <20060912041626.15019.qmail@web54308.mail.yahoo.com> Message-ID: I just set up a forum for the purpose of sharing pieces composed with Common Music as well as some general discussion... you can find it here: http://cm.iforumer.com/ Hope to see you there... And spread the news to everyone who might be interested. Cheers, David. > i assembled a list some years ago when i went up for tenure. i > collected 50 pieces or so titles from people that replied to my > query. it would be much easier if there was some sort of wiki where > people that wanted to could add their entires with links to mp3s > etc. --rick > > On Sep 11, 2006, at 11:16 PM, christopher melen wrote: > From bil at ccrma.Stanford.EDU Tue Sep 12 10:30:21 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 12 Sep 2006 10:30:21 -0700 Subject: [CM] Snd 8.4 Message-ID: <20060912172838.M79839@ccrma.Stanford.EDU> Snd 8.4 many ruby, forth, and sndins-related improvements from Mike including new file: analog-filter.rb. "scheme" instead of "guile" in various names in inf-snd.el (for gauche) improvements in strad.ins and bandedwg.ins from Juan Reyes snd_frg.scm thanks to Olivier Doare I was mainly fixing bugs -- my TODO list has only 97 entries! granulated-sound-interp (examp.scm) display-bark-fft (dsp.scm) -- spectral display using bark, erb, and mel scales def-optkey-instrument (ws.scm) new optional argument to graph -- lisp graph axis choice new axis choice --show-bare-x-axis snd-color snd-font after-lisp-graph-hook removed vu-font and vu-size, added vu-in-dB removed spectrogramColor X resource checked: ruby 1.8.5, sbcl 0.9.15|16, gtk 2.10.2|3, fth 0.10.22 Thanks: Mike Scholz, Anders Vinjar, Kjetil Matheussen, Bill Sack, Pam & Harold Norris, Juan Reyes, Daniel Stahl, Michael Edwards, Carlos Pita sourceforge seems to be unresponsive right now, so I'll deal with it and freshmeat tomorrow. From chris_melen at yahoo.com Tue Sep 12 10:39:51 2006 From: chris_melen at yahoo.com (christopher melen) Date: Tue, 12 Sep 2006 18:39:51 +0100 (BST) Subject: [CM] Forum for Common Music Pieces In-Reply-To: Message-ID: <20060912173952.93192.qmail@web54303.mail.yahoo.com> Excellent! I think it's important (aswell as extremely useful, from a didactic point of view) to see how people are actually using CM and CLM to create music... After all, that's what it's all about. Best wishes, Chris --- David Kamp wrote: > I just set up a forum for the purpose of sharing > pieces composed with > Common Music as well as some general discussion... > > you can find it here: > http://cm.iforumer.com/ > > > > Hope to see you there... > And spread the news to everyone who might be > interested. > > Cheers, > David. > > > > > > > i assembled a list some years ago when i went up > for tenure. i > > collected 50 pieces or so titles from people that > replied to my > > query. it would be much easier if there was some > sort of wiki where > > people that wanted to could add their entires with > links to mp3s > > etc. --rick > > > > On Sep 11, 2006, at 11:16 PM, christopher melen > wrote: > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > ___________________________________________________________ Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html ___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html From juanig at ccrma.Stanford.EDU Thu Sep 14 16:40:27 2006 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Thu, 14 Sep 2006 19:40:27 -0400 Subject: [CM] lisp loop iteration in cm Message-ID: <1158277228.27462.23.camel@strawberry> Hi Rick, I have been trying to implement the following Lisp function for the Henon map in CM with no success. Perhaps I am missing something in the way loops are implemented in CM and therefore I thought may be you could guide me a little o bit or give some clues on how would be the best way to deal with this sort of Lisp loops in CM. I just want to output a MIDI note after each Iteration inside a dotimes Lisp loop and update present and past values. Thanks a lot! --* Juan ;;; ;;; normalize output from Henon function ;;; (defun midinormz (x) (let ((offset 1.0) (maxinput 2.0) (slope 1.25) (maxoutput 127.0) (c 0.75) (lowbound 15)) (floor (+ (* (/ (+ x offset) (* maxinput slope)) (+ maxoutput c)) lowbound)) )) ;;; ;;; Henon map function with initial conditions: ;;; (defun henon (cycl &key (a -1.85039) ;; a=-1.56693 b= -0.011811 (b 0.003937) (x 0.63135448) (y 0.18940634) ) (dotimes (i cycl) (let ((newx (+ (* a (expt x 2)) (* b y) 1)) (newy x)) (setf x newx) (setf y newy)) (format t ";;; henon values: X: ~f Y: ~f ~%" (midinormz x) (midinormz y)) )) ;;; (henon 12) From bil at ccrma.Stanford.EDU Fri Sep 15 11:47:08 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 15 Sep 2006 11:47:08 -0700 Subject: [CM] radium -> cmn Message-ID: <20060915184635.M83108@ccrma.Stanford.EDU> Kjetil Matheussen has added two files to the CMN package: rad2cmn.lisp and example.rad. rad2cmn.lisp can create scores from music created with the graphical music editor "Radium": http://www.notam02.no/radium/ Thank you! From carlosjosepita at yahoo.com.ar Sat Sep 16 10:44:20 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Sat, 16 Sep 2006 14:44:20 -0300 (ART) Subject: [CM] run (guile) type declarations Message-ID: <20060916174420.50356.qmail@web50303.mail.yahoo.com> Hi all! Suppose I have the following simple additive instrument definition, which envelopes its spectrum in half a sin period: (definstrument (add beg dur freq amp) (let* ((start (seconds->samples beg)) (end (+ start (seconds->samples dur))) (vec (make-vector 20))) (do ((i 0 (1+ i))) ((= i 20)) (vector-set! vec i (make-oscil (* (1+ i) 100)))) (run (lambda () ; (declare env float) (do ((i start (1+ i))) ((= i end)) ; (declare env float) (let ((sum 0.0)) ; (declare env float) (do ((j 0 (1+ j)) (env 0 (+ (/ pi 20.) env))) ((= j 20)) ; (declare env float) (set! sum (+ sum (* (sin env) (oscil (vector-ref vec j)))))) (outa i (* amp .05 sum) *output*))))))) When running it with optimization level 4 it simply generates a zero constant wave. I guess it have to do with the env variable being taken as an int instead of a floating point number. In fact, if I replace (env 0 ...) by (env 0.0 ...) it works fine even for opt level 4. Is there a way to achieve the same effect by adding a type declaration somewhere? I try putting (declare env float) in every commented out place above but neither of them seems to be honoured. I'm not sure about where to put the declaration or whether it is a valid one. Can you help me? Thank you in advance. Best regards, Carlos __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From bil at ccrma.Stanford.EDU Sat Sep 16 11:20:26 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 16 Sep 2006 11:20:26 -0700 Subject: [CM] run (guile) type declarations In-Reply-To: <20060916174420.50356.qmail@web50303.mail.yahoo.com> References: <20060916174420.50356.qmail@web50303.mail.yahoo.com> Message-ID: <20060916181858.M19356@ccrma.Stanford.EDU> Here's one way: (definstrument (add beg dur freq amp) (let* ((start (seconds->samples beg)) (end (+ start (seconds->samples dur))) (vec (make-vector 20)) (env 0)) (do ((i 0 (1+ i))) ((= i 20)) (vector-set! vec i (make-oscil (* (1+ i) 100)))) (run (lambda () (declare env float) (do ((i start (1+ i))) ((= i end)) (let ((sum 0.0)) (do ((j 0 (1+ j))) ((= j 20)) (set! sum (+ sum (* (sin env) (oscil (vector-ref vec j))))) (set! env (+ env (/ pi 20.)))) (outa i (* amp .05 sum) *output*))))))) but it seems perverse -- I'll look into making the optimizer's type checker smarter about this sort of case. From mari at freeshell.org Sat Sep 16 11:36:39 2006 From: mari at freeshell.org (Mari Masuda) Date: Sat, 16 Sep 2006 11:36:39 -0700 Subject: [CM] *clm-file-buffer-size* Message-ID: <71F4AC51-A676-43CD-BA12-92B1AA25E6A8@freeshell.org> A simple question: in what unit of measure is *clm-file-buffer-size* given? Kilobytes of RAM? Thank you. From carlosjosepita at yahoo.com.ar Sat Sep 16 11:37:27 2006 From: carlosjosepita at yahoo.com.ar (Carlos Pita) Date: Sat, 16 Sep 2006 18:37:27 +0000 (GMT) Subject: [CM] run (guile) type declarations In-Reply-To: <20060916181858.M19356@ccrma.Stanford.EDU> Message-ID: <20060916183727.99685.qmail@web50311.mail.yahoo.com> The moral here is that declare should go immediately below the run lambda and predicate only of variables bound in the outer (non-optimized) scope, isn't it? --- Bill Schottstaedt escribi?: > Here's one way: > > (definstrument (add beg dur freq amp) > (let* ((start (seconds->samples beg)) > (end (+ start (seconds->samples dur))) > (vec (make-vector 20)) > (env 0)) > (do ((i 0 (1+ i))) ((= i 20)) > (vector-set! vec i (make-oscil (* (1+ i) > 100)))) > (run > (lambda () > (declare env float) > (do ((i start (1+ i))) > ((= i end)) > (let ((sum 0.0)) > (do ((j 0 (1+ j))) > ((= j 20)) > (set! sum (+ sum (* (sin env) (oscil > (vector-ref vec j))))) > (set! env (+ env (/ pi 20.)))) > (outa i (* amp .05 sum) *output*))))))) > > but it seems perverse -- I'll look into making the > optimizer's type checker smarter > about this sort of case. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas From bil at ccrma.Stanford.EDU Sat Sep 16 12:07:43 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 16 Sep 2006 12:07:43 -0700 Subject: [CM] *clm-file-buffer-size* In-Reply-To: <71F4AC51-A676-43CD-BA12-92B1AA25E6A8@freeshell.org> References: <71F4AC51-A676-43CD-BA12-92B1AA25E6A8@freeshell.org> Message-ID: <20060916190616.M68231@ccrma.Stanford.EDU> > A simple question: in what unit of measure is *clm-file-buffer-size* > given? samples. If this is Common Lisp, the sample type is probably float. From juanig at ccrma.Stanford.EDU Sat Sep 16 12:47:26 2006 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Sat, 16 Sep 2006 12:47:26 -0700 Subject: [CM] lisp loop iteration in cm Message-ID: <1158436046.7600.16.camel@chryseis> Hi Rick, Below is my example for using loop iteration using the Henon Map. If you change a and b values the algorithm can be more stable or unstable. For instance a=0.42 and b=-0.99 are also good choices. The initial conditions x and y of this map can also be changed! --* Juan ;;;; this function maps Henon values to midi note values (defun midinormz (x) (let ((offset 1.0) (maxinput 2.0) (slope 1.25) (maxoutput 127.0) (c 0.75) (lowbound 15)) (floor (+ (* (/ (+ x offset) (* maxinput slope)) (+ maxoutput c)) lowbound)) )) ;;; ;;; Function to generate MIDI notes using the henon map ;;; ;;; http://henon.sapp.org/ ;;; (defun henonseq (cycles rhy dur amp &key (a -1.85039) ;; a=-1.56693 b= -0.011811 (b 0.003937) (x 0.63135448) (y 0.18940634)) (process repeat cycles with newx = 0.00 with newy = 0.00 do (progn (setf newx (+ (* a (expt x 2)) (* b y) 1)) (setf newy x) (setf x newx) (setf y newy)) output (new midi :time (now) :duration dur :amplitude amp :keynum (midinormz x)) wait rhy)) ;;; (events (henonseq 12 0.25 0.1 0.7) "henonseq.mid") From juanig at ccrma.Stanford.EDU Sat Sep 16 12:59:40 2006 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Sat, 16 Sep 2006 12:59:40 -0700 Subject: [CM] arpeggio in snd Message-ID: <1158436780.7600.23.camel@chryseis> Now that we are in the mood for Snd's instruments here is an example of Guile code for Risset's arpeggio documented on Dodge and Jerse's Computer Music pages 98~102. --* Juan (define arpeggio (lambda* (beg dur freq amp #:key (ampenv '(0 0 0.5 1 1 0)) (offset 1.0)) (let* ((start (floor (* beg (srate)))) (end (+ start (floor (* dur (srate))))) (waveshbank (make-vector 12)) (amp-env (make-env :envelope ampenv :scaler (* amp .25) :start start :end end)) (output (make-vct end))) (do ((i 0 (1+ i))) ((= i 12)) (vector-set! waveshbank i (make-waveshape :frequency (+ freq (* offset (1+ (* i 0.1)))) :partials '(1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9)) )) (do ((i 0 (1+ i))) ((= i end)) (let ((wvsum 0.0)) (do ((j 0 (1+ j))) ((= j 12)) (set! wvsum (+ wvsum (waveshape (vector-ref waveshbank j))))) (vct-set! output i (* (env amp-env) wvsum )))) (vct->channel output start end )))) ;;; (load "arpeggio.scm") ;;; ;;; (arpeggio 0 10 400 0.5) ;;; (arpeggio 0 10 400 0.5 :offset 1.25) ;;; From taube at uiuc.edu Sat Sep 16 15:14:22 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 16 Sep 2006 17:14:22 -0500 Subject: [CM] Re: lisp loop iteration in cm In-Reply-To: <1158436046.7600.16.camel@chryseis> References: <1158436046.7600.16.camel@chryseis> Message-ID: thanks you beat me to it -- i was going to send you bascially the same thing later today On Sep 16, 2006, at 2:47 PM, Juan Reyes wrote: From taube at uiuc.edu Sat Sep 16 15:42:10 2006 From: taube at uiuc.edu (Rick Taube) Date: Sat, 16 Sep 2006 17:42:10 -0500 Subject: [CM] lisp loop iteration in cm In-Reply-To: <1158436046.7600.16.camel@chryseis> References: <1158436046.7600.16.camel@chryseis> Message-ID: <959E61EF-12CD-411D-8F1B-F935D5A076AC@uiuc.edu> this version adds the rhythmic element a la http://henon.sapp.org/ also see the Chaos chapter in Notes from the Metalevel, I think that version uses the y value for rhythmic values... (defun henonseq (cycles rhy dur amp &key (a -1.85039) ;; a=-1.56693 b= -0.011811 (b 0.003937) (x 0.63135448) (y 0.18940634) (low 0) (high 127)) (process with key and newx = 0.00 and newy = 0.00 repeat cycles do (progn (setf newx (+ (* a (expt x 2)) (* b y) 1)) (setf newy x) (setf x newx) (setf y newy) (setf key (midinormz x))) when (<= low key high) output (new midi :time (now) :duration dur :amplitude amp :keynum key) wait rhy)) (events (henonseq 500 0.125 0.1 0.7 :a -1.56693 :b -0.011811 :x 0 :y 0 :low 30 :high 100) "henonseq.mid") From bil at ccrma.Stanford.EDU Sun Sep 17 05:11:41 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 17 Sep 2006 05:11:41 -0700 Subject: [CM] arpeggio in snd In-Reply-To: <1158436780.7600.23.camel@chryseis> References: <1158436780.7600.23.camel@chryseis> Message-ID: <20060917120217.M47473@ccrma.Stanford.EDU> I don't have that book handy, but I would have done it more like this: :frequency (+ freq (* offset (- i 6) 0.03)) :partials '(1 1 5 .7 6 .7 7 .7 8 .7 9 .7 10 .7)) (arpeggio 0 10 65 0.5) There are people, in San Francisco anyway, who can listen to such sounds for hours. They send me CDs. From juanig at ccrma.Stanford.EDU Mon Sep 18 12:28:55 2006 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Mon, 18 Sep 2006 15:28:55 -0400 Subject: [CM] lisp loop iteration in cm In-Reply-To: <959E61EF-12CD-411D-8F1B-F935D5A076AC@uiuc.edu> References: <1158436046.7600.16.camel@chryseis> <959E61EF-12CD-411D-8F1B-F935D5A076AC@uiuc.edu> Message-ID: <1158607735.6083.15.camel@strawberry> Thanks a lot Rick! As my understanding now, the 'process' macro behaves very much like the 'loop' macro in CL. This is great and very sophisticated! Certain (a,b) duplets make the attractor periodic and stable in short periods. These are very good to map rhythms but they will need to be constrained to CM's durations. Therefore if I find Henon values which are too periodic I will constrain them and map them to rhythm. --* Juan From taube at uiuc.edu Mon Sep 18 12:59:45 2006 From: taube at uiuc.edu (Rick Taube) Date: Mon, 18 Sep 2006 14:59:45 -0500 Subject: [CM] lisp loop iteration in cm In-Reply-To: <1158607735.6083.15.camel@strawberry> References: <1158436046.7600.16.camel@chryseis> <959E61EF-12CD-411D-8F1B-F935D5A076AC@uiuc.edu> <1158607735.6083.15.camel@strawberry> Message-ID: On Sep 18, 2006, at 2:28 PM, Juan I Reyes wrote: > > Thanks a lot Rick! > > As my understanding now, the 'process' macro behaves very much like > the > 'loop' macro in CL. This is great and very sophisticated! hi juan, its a superset of loop with extra music clauses like output, sprout, 'for x OVER ', wait etc documentation is here: http://commonmusic.sourceforge.net/doc/dict/process-mac.html From k.s.matheussen at notam02.no Mon Sep 18 16:02:11 2006 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Tue, 19 Sep 2006 01:02:11 +0200 (CEST) Subject: [CM] [ANN] SND-ls V0.9.7.0 Message-ID: Download from http://ccrma.stanford.edu/~kjetil/src/ Snd-ls is a distribution of Bill Schottstaedt's sound editor SND. Its target is people that don't know scheme very well, and don't want to spend too much time configuring Snd. It can also serve as a quick introduction to Snd and how it can be set up. Changes 0.9.6.2 -> 0.9.7.0 --------------------------- -Updated Snd from 8.0/2.4.2006 to 8.4/13.9.2006. Many important fixes. -Added --fast-math as default cflags option. -Various fixes. From juanig at ccrma.Stanford.EDU Tue Sep 19 10:02:15 2006 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Tue, 19 Sep 2006 13:02:15 -0400 Subject: [CM] arpeggio in snd In-Reply-To: <20060917120217.M47473@ccrma.Stanford.EDU> References: <1158436780.7600.23.camel@chryseis> <20060917120217.M47473@ccrma.Stanford.EDU> Message-ID: <1158685335.9794.9.camel@strawberry> Hi Bill My choice of partials was because some people (composers I bet) say that sawtooth waveforms outline better the 'out-of-phase' effect. But I should say that your choice of partials is nice and smooth if I have to use a composer's or rather a listener's adjective. --* Juan > I don't have that book handy, but I would have done it more like this: > > :frequency (+ freq (* offset (- i 6) 0.03)) > :partials '(1 1 5 .7 6 .7 7 .7 8 .7 9 .7 10 .7)) > > (arpeggio 0 10 65 0.5) > From j_hearon at hotmail.com Wed Sep 20 22:14:45 2006 From: j_hearon at hotmail.com (James Hearon) Date: Thu, 21 Sep 2006 05:14:45 +0000 Subject: [CM] stuck on cm in emacs, w/ xp Message-ID: Hi, Newbie trying to start cm in emacs under xp. Unsure about .el or .emacs file, and where it belongs. I'm using: Win XP, w/command-prompt lisp is clisp in lispbox-0.7 which includes emacs-21.3 slime-2005-12-27 Clisp-2.37 Have CM 2.9.1 and working cm.bat in CM run Lispbox.bat in command-prompt which starts emacs: CLIPS Port:1288 Pid: 3822 ; SLIME 2005-12-27 CL-USER> But when i type M-x cm, i get no value. directories under Lispbox-0.7: Clisp-2.37 emacs-21.3 portableaserve-20051204.214932 practical-1.0.3 slime-20060110 I have tried placing init.el, and/or naming it init.emacs, and placing it in emacs-21.3 subdirectories including bin, etc, lisp, site-lisp -------------------------------- (defvar cm-directory "C:/utah/opt/cm") (defvar cm-startfile "cm.bat") (let* ((els (concat cm-directory "C:/utah/opt/cm/xemacs")) (bin (concat cm-directory "C:/utah/opt/cm/bin/" cm-startfile)) (load-path (cons els load-path))) (load "listener") (load "cm") (setq inferior-lisp-program bin)) From taube at uiuc.edu Thu Sep 21 04:50:26 2006 From: taube at uiuc.edu (Rick Taube) Date: Thu, 21 Sep 2006 06:50:26 -0500 Subject: [CM] stuck on cm in emacs, w/ xp In-Reply-To: References: Message-ID: <2B41D75F-4B1E-4347-8325-95EF8D7C7BC1@uiuc.edu> > Hi, > Newbie trying to start cm in emacs under xp. Unsure about .el > or .emacs file, and where it belongs. IM not sure where xp xemacs puts its init.el file either. Look under the Xemacs Options menu for an item that says "save init file" or "save settings" or something like that and see where it writes the "init.el" file. That is the file that you need to edit. Once know where that file is add this to it: (require 'slime) (slime-setup) (load "C:/utah/opt/cm/etc/xemacs/cm.el") (setq cm-program "C:/utah/opt/cm/bin/cm.bat") (enable-cm-commands) then save the file and restart your emacs. at that point 'M-x cm' should start up cm using your bat file. > > I'm using: Win XP, w/command-prompt > > lisp is clisp in > lispbox-0.7 > which includes > emacs-21.3 > slime-2005-12-27 > Clisp-2.37 > > Have > CM 2.9.1 and working cm.bat in CM > > run Lispbox.bat in command-prompt which starts emacs: > > CLIPS Port:1288 Pid: 3822 > ; SLIME 2005-12-27 > CL-USER> > > But when i type M-x cm, i get no value. > > > directories under Lispbox-0.7: > Clisp-2.37 > emacs-21.3 > portableaserve-20051204.214932 > practical-1.0.3 > slime-20060110 > > I have tried placing init.el, and/or naming it init.emacs, and > placing it in emacs-21.3 subdirectories including bin, etc, lisp, > site-lisp > > -------------------------------- > (defvar cm-directory "C:/utah/opt/cm") > > (defvar cm-startfile "cm.bat") > > (let* ((els (concat cm-directory "C:/utah/opt/cm/xemacs")) > (bin (concat cm-directory "C:/utah/opt/cm/bin/" > cm-startfile)) > (load-path (cons els load-path))) > (load "listener") > (load "cm") > (setq inferior-lisp-program bin)) > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Fri Sep 22 04:44:23 2006 From: taube at uiuc.edu (Rick Taube) Date: Fri, 22 Sep 2006 06:44:23 -0500 Subject: [CM] stuck on cm in emacs, w/ xp In-Reply-To: References: Message-ID: The save options menu item is what you want to use. That command will write a file called "custom.el" in some directory, that is the directory where you should put the init.el file. On Sep 22, 2006, at 1:27 AM, James Hearon wrote: > Hi, > Thanks. The lispbox package emacs 21.3 doesn't have anything like > that. Only a Save Options Customize Emacs which brings up pages of > boxed widgets to punch info into exisiting packages. No init.el > file. I guess I'm back to trying to find the right lisp/slime/ > emacs combo on XP. > From renueden at earthlink.net Wed Sep 27 08:10:20 2006 From: renueden at earthlink.net (Ken) Date: Wed, 27 Sep 2006 08:10:20 -0700 Subject: [CM] CM and Csound API Message-ID: <451A945C.6030203@earthlink.net> I am thinking of doing some work on the FFI interface to Csound so cm and csound can play together, through the Csound API. I am primarily interested in realtime ouptut, meaning, realtime algorithmic generation, realtime midi recording and manipulation of live midi streams, and playback etc. Are their any pointers anyone can provide towards these goals? Also, what is your opinion Rick, on python vs lisp as far as development. It seems alot of people have moved towards python, but I see great potential in Common Music, Csound especially with a GUI, I'm thinking of Juce from recent discussions. Thanks for any help, Ken From renueden at earthlink.net Wed Sep 27 09:48:13 2006 From: renueden at earthlink.net (Ken) Date: Wed, 27 Sep 2006 09:48:13 -0700 Subject: [CM] CM and Csound API In-Reply-To: References: <451A945C.6030203@earthlink.net> Message-ID: <451AAB4D.4080507@earthlink.net> I am interested in helping in any way I can. My skills are fairly limited, but my motivation is high. I have played extensively with all manner of commercial software in windows, and for me it is inevitable that I create something a bit more personal for my own use, taking the best ideas that I have seen. You seem to be moving towards what I'm thinking, so perhaps I should wait for you to put your code in cvs, (you mean Csound5 cvs, yes?). Meanwhile, I'll dig in and get myself setup. I have no knowledge of the SndObj lib, does it obliterate the need for Csound? I really like Reaktor, how one can create synths and fx processors with presets and call them up. I am/was hoping to create some kind of interface for Csound that can do that, thus my interest in Juce. Same goes for CM. I really feel the need for a gui of some kind. Are there other gui toolkits that would be better? I know Rick did some work with GTK2. Keep me in the loop, Ken todd ingalls wrote: > ken, > Victor Lazzarini and I have just been talking about this and trying to > fix up the CFFI interface so it is workable. What is in csound5 now is > just generated from verazzano but I think swig would do a better job > and also it is clearer to me how this should work. > > i would also like to point out that i have made cffi wrapper for > Lazzarini SndObj library and I hope to add this to the cvs for that > soon. I also have some additional code that uses portaudio and a few > extra classes to define realtime "synths" in lisp and schedule them > under rts. I hope to soon add this to cvs so people can start playing > with it, but i keep finding extra functionality i want to add as i use > it in my own work - i need to stop that and just put the code up > somehwere. > > as far as Juce goes, i have SWIG code that generates a C wrapper and > CFFI bindings for juce. The main issue is that many of the UI classes > rely on subclassing a "model" class and a "listener" class and > overloading viurtual methods for them to work properly. this is fine > but the only way i have been able to determine to make these useable > from lisp is to make subclasses of these that have constructors that > accept function pointers that are called by the overloaded methods. on > top of this my C++ skills are not very good so it is taking soemtime. > > if anyone is interested in any of the above please contact me off list > and maybe we can set up a group to speed up development. > > From testcase at asu.edu Wed Sep 27 09:12:02 2006 From: testcase at asu.edu (todd ingalls) Date: Wed, 27 Sep 2006 09:12:02 -0700 Subject: [CM] CM and Csound API In-Reply-To: <451A945C.6030203@earthlink.net> References: <451A945C.6030203@earthlink.net> Message-ID: ken, Victor Lazzarini and I have just been talking about this and trying to fix up the CFFI interface so it is workable. What is in csound5 now is just generated from verazzano but I think swig would do a better job and also it is clearer to me how this should work. i would also like to point out that i have made cffi wrapper for Lazzarini SndObj library and I hope to add this to the cvs for that soon. I also have some additional code that uses portaudio and a few extra classes to define realtime "synths" in lisp and schedule them under rts. I hope to soon add this to cvs so people can start playing with it, but i keep finding extra functionality i want to add as i use it in my own work - i need to stop that and just put the code up somehwere. as far as Juce goes, i have SWIG code that generates a C wrapper and CFFI bindings for juce. The main issue is that many of the UI classes rely on subclassing a "model" class and a "listener" class and overloading viurtual methods for them to work properly. this is fine but the only way i have been able to determine to make these useable from lisp is to make subclasses of these that have constructors that accept function pointers that are called by the overloaded methods. on top of this my C++ skills are not very good so it is taking soemtime. if anyone is interested in any of the above please contact me off list and maybe we can set up a group to speed up development. On Sep 27, 2006, at 8:10 AM, Ken wrote: > I am thinking of doing some work on the FFI interface to Csound so > cm and csound can play together, through the Csound API. I am > primarily interested in realtime ouptut, meaning, realtime > algorithmic generation, realtime midi recording and manipulation of > live midi streams, and playback etc. Are their any pointers anyone > can provide towards these goals? > > Also, what is your opinion Rick, on python vs lisp as far as > development. It seems alot of people have moved towards python, > but I see great potential in Common Music, Csound especially with a > GUI, I'm thinking of Juce from recent discussions. > > > Thanks for any help, > Ken > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Sep 27 11:30:40 2006 From: taube at uiuc.edu (Rick Taube) Date: Wed, 27 Sep 2006 13:30:40 -0500 Subject: [CM] CM and Csound API In-Reply-To: <451A945C.6030203@earthlink.net> References: <451A945C.6030203@earthlink.net> Message-ID: <12B462BD-6CC3-419F-895B-80C6887A57D4@uiuc.edu> On Sep 27, 2006, at 10:10 AM, Ken wrote: > I am thinking of doing some work on the FFI interface to Csound so > cm and csound can play together, through the Csound API. I am > primarily interested in realtime ouptut, meaning, realtime > algorithmic generation, realtime midi recording and manipulation of > live midi streams, and playback etc. Are their any pointers anyone > can provide towards these goals? depending on what os/lisp you want to use the basic support for realtime algorithmic synth with csound is already there. that is, on OSX the rts scheduler works well and can handle scheduling for sort of alorithm in real time. realtime MIDI input should also be working too for portmidi and for midishare. these should work on linux too, but i dont know if anyone is using either rts or cm with portmidi there. the main bad news is that if you want to run on windows i think rts is hopeless unless some sort of pthread library is available. From jamesravan at comcast.net Wed Sep 27 19:16:17 2006 From: jamesravan at comcast.net (James Ravan) Date: Wed, 27 Sep 2006 22:16:17 -0400 Subject: [CM] CM and Csound API Message-ID: <451B3071.50601@comcast.net> > Rick Taube wrote: > thanks for the url. for what its worth, the api > that rts uses looks like it is supported; someone > with a c compiler and enough interest might be able > to get it running in clisp or sbcl. > >On Sep 27, 2006, at 5:32 PM, James Ravan wrote: > >> Rick Taube wrote: >>> i think rts is hopeless unless some sort of >>> pthread library is available. >> >> http://sourceware.org/pthreads-win32/ From dgeers at gmail.com Wed Sep 27 19:20:05 2006 From: dgeers at gmail.com (Doug Geers) Date: Wed, 27 Sep 2006 21:20:05 -0500 Subject: [CM] Spark deadline extended Message-ID: <838326d50609271920v27ab2bd2q66a64b3ca04409c5@mail.gmail.com> [Apologies for cross postings] Dear friends, The deadline for submissions to the 2007 Spark Festival of Electronic Music and Art has been extended to Monday, October 10, 2006. The Spark festival welcomes submissions of all creative works that feature that feature new media elements: electroacoustic music and electronica, video art, electrified and interactive installations, dance works, theater, performance art, artbots, and other works that defy categorization. For more information, please see http://spark.cla.umn.edu/submissions.html . Best wishes, Doug (Please forward to your friends and listservs!) Douglas Geers Assistant Professor, Music Composition Director, Electronic Music Studios University of Minnesota, Twin Cities, USA www.dgeers.com From bil at ccrma.Stanford.EDU Thu Sep 28 11:15:13 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 28 Sep 2006 11:15:13 -0700 Subject: [CM] Faculty Position Opening at CCRMA In-Reply-To: <1159466418.22126.22.camel@cmn36.stanford.edu> References: <1159466418.22126.22.camel@cmn36.stanford.edu> Message-ID: <20060928181457.M32195@ccrma.Stanford.EDU> ---------- Forwarded Message ----------- From: Tricia Schroeter To: listings at arts-electric.org, cal at emf.org, ccm-info at mills.edu, music at ucsd.edu, muse at newmusicbayarea.org, "ardour-users at lists.ardour.org" , SuperCollider users mailing list , users at ccrma.Stanford.EDU, announce at lists.agnula.org, inux-audio-dev at music.columbia.edu, linux-audio-user at music.columbia.edu, linux-audio-announce at music.columbia.edu, planetccrma at ccrma.Stanford.EDU Sent: Thu, 28 Sep 2006 11:00:18 -0700 Subject: Faculty Position Opening at CCRMA Dear friends. Please note the following search announcement for a junior faculty position at CCRMA: The Center for Computer Research in Music and Acoustics (CCRMA) at Stanford University hopes to fill a junior faculty (tenure-track) position in computer music*. The field of specialization is open, and might be, for example, in psychoacoustics, composition, engineering, new areas of performance, or a combination of interests. Teaching responsibilities at the undergraduate and graduate levels will include courses in the candidate's areas of expertise. Stanford University is an affirmative-action employer. The appointment can begin in the fall quarter of either 2007 or 2008. Candidates should send a letter of interest containing a brief description of relevant experience, a current curriculum vitae, and names and addresses (physical, e-mail, and FAX, if possible) of three referees to: CCRMA Search Committee Attn: Debbie Barney Department of Music 541 Lasuen Mall Stanford University Stanford, CA 94305-3076 The preferred date for receipt of the above materials is on or before December 1, 2006. Please do not send any supplementary materials at this time. __________________ * Computer music is a multidisciplinary field drawing on more traditional fields such as music composition and theory, engineering, psychology, computer science, physics, and applied mathematics. Qualified candidates may have doctoral degrees in any of these or related areas. An overview of CCRMA research and teaching programs is available at http://ccrma.stanford.edu/ ------- End of Forwarded Message ------- -------------- next part -------------- A non-text attachment was scrubbed... Name: CCRMASearch_1.pdf Type: application/pdf Size: 39982 bytes Desc: not available URL: From k.s.matheussen at notam02.no Thu Sep 28 15:16:32 2006 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 29 Sep 2006 00:16:32 +0200 (CEST) Subject: [CM] Re: [ANN] SND-ls V0.9.7.0 In-Reply-To: <20060927153908.D75E2327D2EF@music.columbia.edu> References: <20060927153908.D75E2327D2EF@music.columbia.edu> Message-ID: Dragan Noveski > hi, > i tried to compile snd-ls, which was successful, now program starts, but > when i try to load any .wav i get following message: > > can't start file alteration monitor: 0 > > > and than nothing happens. > i have already snd running on my machine, but it does not looks so nice > like the snd-ls. > anybody has any idea what is wrong here? > That error is ultra-weird. Which distribution are you running? Have you experienced this error before? Are any of your disks full? Do you have something called "FAM" in your run-level? Can you turn it off? PS. Please use "Reply All" when replying to messages on mailing lists. I almost overlooked this one, and its also more relevant to the cmdist mailing list than linux-audio-user. From perodog at gmx.net Thu Sep 28 16:35:00 2006 From: perodog at gmx.net (Dragan Noveski) Date: Fri, 29 Sep 2006 01:35:00 +0200 Subject: [CM] Re: [ANN] SND-ls V0.9.7.0 In-Reply-To: References: <20060927153908.D75E2327D2EF@music.columbia.edu> Message-ID: <451C5C24.8020905@gmx.net> Kjetil S. Matheussen wrote: > > Dragan Noveski >> hi, >> i tried to compile snd-ls, which was successful, now program starts, but >> when i try to load any .wav i get following message: >> >> can't start file alteration monitor: 0 >> >> >> and than nothing happens. >> i have already snd running on my machine, but it does not looks so nice >> like the snd-ls. >> anybody has any idea what is wrong here? >> > > That error is ultra-weird. > Which distribution are you running? Have you experienced this error > before? Are any of your disks full? Do you have something called "FAM" > in your run-level? Can you turn it off? look, i am running on debian etch/demudi testing and SND works pretty properly and i can load /play files. i never have seen this error, a new window appears with the message described above. now i have had a look at SND again, and there i have this error-window too, but i am pretty sure that this is new(?). however, i am able to load and play wav`s with SND. with snd-ls i am able to hear the sound clicking an a "play selected sound" in a "open"dialog, but the file will not open. dont know what is "FAM" and how i could find out if it is "in my run-level", but typing ps ax i dont find nothing called FAM running, actually it is the first time i hear about fam. here is: nowhiskey at murija2:~$ snd-ls --help Snd is a sound editor; see http://ccrma.stanford.edu/software/snd/. Das ist Snd-Version 8.4 of 12-Sep-06: Guile: 1.6.8, Xen: 2.4 jack Sndlib 20.0 (28-Mar-06, float samples) CLM 3.26 (31-Aug-06) GSL 1.8 fftw-3.1.1-sse2 Gtk+ 2.8.18, Glib 2.10.3, Pango 1.12.3, Cairo 1.0.4 LADSPA 1.1, Jack: 0.102.11 with fam mit Large-File-Unterst?tzung mit Gettext: de_DE at euro Compiled Sep 27 2006 15:46:19 C: 4.0.4 20060507 (prerelease) (Debian 4.0.3-3) Libc: 2.3.6.stable host: i686-pc-linux-gnu ------ so, ok now i got it there is a fam listed. it is all running on a 2.6.13-1 kernel in the moment, but the 2.6.16-rt13 the issue is the same. any idea? what else i could post here about my configuration which would help to debugg? perhaps that: nowhiskey at murija2:~$ snd --help Snd is a sound editor; see http://ccrma.stanford.edu/software/snd/. Das ist Snd-Version 8.2 of 23-Jun-06: Guile: 1.6.8, Xen: 2.3 ALSA 1.0.11 Sndlib 20.0 (28-Mar-06, float samples) CLM 3.22 (8-May-06) GSL 1.8 fftw-3.1.1-sse2 Gtk+ 2.8.18, Glib 2.10.2, Pango 1.12.3, Cairo 1.0.4 (with x11) LADSPA 1.1, Jack: 0.102.11 with fam mit Large-File-Unterst?tzung mit Gettext: de_DE at euro Compiled Jul 19 2006 17:27:36 C: 4.0.4 20060507 (prerelease) (Debian 4.0.3-3) Libc: 2.3.6.stable host: i686-pc-linux-gnu configured via: ./configure --with-gtk --with-alsa --with-jack --with-ladspa --with-midi --with-guile --with-esd=no --with-x11 --with-x --with-static-xm --w ith-builtin-gtkrc nowhiskey at murija2:~$ cheers, doc > > > PS. Please use "Reply All" when replying to messages on mailing lists. > I almost overlooked this one, and its also more relevant to the cmdist > mailing list than linux-audio-user. > > all right From bil at ccrma.Stanford.EDU Thu Sep 28 16:53:30 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 28 Sep 2006 16:53:30 -0700 Subject: [CM] Re: [ANN] SND-ls V0.9.7.0 In-Reply-To: <451C5C24.8020905@gmx.net> References: <20060927153908.D75E2327D2EF@music.columbia.edu> <451C5C24.8020905@gmx.net> Message-ID: <20060928234722.M43136@ccrma.Stanford.EDU> You can build Snd without fam (use the --without-fam configure argument). The warning you are getting should not cause any subsequent trouble -- it's just reporting that the file monitor apparently isn't happy. "fam" refers to either libfam (old SGI-style), or libgamin (its replacement) -- it's a way to get an event if a file or a directory changes (rather than polling). From perodog at gmx.net Thu Sep 28 17:17:17 2006 From: perodog at gmx.net (Dragan Noveski) Date: Fri, 29 Sep 2006 02:17:17 +0200 Subject: [CM] Re: [ANN] SND-ls V0.9.7.0 In-Reply-To: <20060928234722.M43136@ccrma.Stanford.EDU> References: <20060927153908.D75E2327D2EF@music.columbia.edu> <451C5C24.8020905@gmx.net> <20060928234722.M43136@ccrma.Stanford.EDU> Message-ID: <451C660D.8010903@gmx.net> Bill Schottstaedt wrote: > You can build Snd without fam (use the --without-fam configure argument). > The warning you are getting should not cause any subsequent trouble -- it's > just reporting that the file monitor apparently isn't happy. "fam" refers to > either libfam (old SGI-style), or libgamin (its replacement) -- it's a way > to get an event if a file or a directory changes (rather than polling). > > > ok, that works, but the real issue was on kjetils snd-ls package, which is already very nice configured. perhaps i ll find the way how to add all that extensions? cheers, doc From perodog at gmx.net Thu Sep 28 17:33:42 2006 From: perodog at gmx.net (Dragan Noveski) Date: Fri, 29 Sep 2006 02:33:42 +0200 Subject: [CM] Re: [ANN] SND-ls V0.9.7.0 In-Reply-To: <20060928234722.M43136@ccrma.Stanford.EDU> References: <20060927153908.D75E2327D2EF@music.columbia.edu> <451C5C24.8020905@gmx.net> <20060928234722.M43136@ccrma.Stanford.EDU> Message-ID: <451C69E6.9000901@gmx.net> Bill Schottstaedt wrote: > You can build Snd without fam (use the --without-fam configure argument). > The warning you are getting should not cause any subsequent trouble -- it's > just reporting that the file monitor apparently isn't happy. "fam" refers to > either libfam (old SGI-style), or libgamin (its replacement) -- it's a way > to get an event if a file or a directory changes (rather than polling). > > > but what is that meaning (from README.snd): Here at CCRMA, we use this configure invocation: ./configure --with-alsa --with-temp-dir=/zap --with-static-xm --with-gl i dont understand the -temp-dir argument, i am running debian, you probably fc, so i dont have the /zap file, so "." will be used. should i live with this? another thing is that the record function does not works (and it never did on my machine). when i open record-dialog, the hole program segfaults, or even worse the hole machine freezes, only reset and a new boot helps. can i send you any more information that can help you to debugg? very much thanks for the help and cheers, doc From bil at ccrma.Stanford.EDU Thu Sep 28 18:01:25 2006 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 28 Sep 2006 18:01:25 -0700 Subject: [CM] Re: [ANN] SND-ls V0.9.7.0 In-Reply-To: <451C69E6.9000901@gmx.net> References: <20060927153908.D75E2327D2EF@music.columbia.edu> <451C5C24.8020905@gmx.net> <20060928234722.M43136@ccrma.Stanford.EDU> <451C69E6.9000901@gmx.net> Message-ID: <20060929010020.M8240@ccrma.Stanford.EDU> > i dont understand the -temp-dir argument, i am running debian, you > probably fc, so i dont have the /zap file, so "." will be used. > should i live with this? The "temp-dir" variable is where temporary files are written. These are normally cleaned up by Snd before it exits, but here at ccrma the abnormal can happen. So, the "-temp-dir" argument makes sysadmins happy (or less unhappy?) -- orphaned temp files can be deleted ("zapped") upon logout, and precious disk space conserved. In your case, "." is fine, I think -- if Snd crashes with edits in progress, you may notice a .snd file left behind. > another thing is that the record function does not works (and it never > did on my machine). > when i open record-dialog, the hole program segfaults, or even worse the > hole machine freezes, only reset and a new boot helps. > can i send you any more information that can help you to debugg? Yes, please send me whatever (mus-audio-describe) prints out; also if possible, run Snd under gdb, hit the segfault, and get a stack trace -- that will tell me where to look first. Thanks! (If you're using jack, this is a known bug that is on my to-do list). From k.s.matheussen at notam02.no Fri Sep 29 03:23:33 2006 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 29 Sep 2006 12:23:33 +0200 (CEST) Subject: [CM] Re: [ANN] SND-ls V0.9.7.0 In-Reply-To: <451C660D.8010903@gmx.net> References: <20060927153908.D75E2327D2EF@music.columbia.edu> <451C5C24.8020905@gmx.net> <20060928234722.M43136@ccrma.Stanford.EDU> <451C660D.8010903@gmx.net> Message-ID: On Fri, 29 Sep 2006, Dragan Noveski wrote: > Bill Schottstaedt wrote: >> You can build Snd without fam (use the --without-fam configure argument). >> The warning you are getting should not cause any subsequent trouble -- >> it's >> just reporting that the file monitor apparently isn't happy. "fam" refers >> to >> either libfam (old SGI-style), or libgamin (its replacement) -- it's a way >> to get an event if a file or a directory changes (rather than polling). >> >> >> > ok, that works, but the real issue was on kjetils snd-ls package, which is > already very nice configured. > perhaps i ll find the way how to add all that extensions? > Adding --without-fam directly to makefile.scm should work fine: sed -ie s/--with-jack/"--with-jack --without-fam"/ makefile.scm