From hagaibarmatz at yahoo.com Wed Jun 3 09:14:06 2009 From: hagaibarmatz at yahoo.com (hagai barmatz) Date: Wed, 3 Jun 2009 09:14:06 -0700 (PDT) Subject: [CM] Tuning Systems in cm3 Message-ID: <236768.34282.qm@web38502.mail.mud.yahoo.com> Hi everyone I'm using Taube's Book Notes from the Metalevel, and translate the code there to SAL in cm3. My question is whether there is something in cm3 that corresponds to?the?tuning and mode classes in cm2. And if not, what are the possibilities to define alternate tunings and modes in cm3? Thanks in Advance, Hagai -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Jun 3 10:03:10 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 3 Jun 2009 12:03:10 -0500 Subject: [CM] Tuning Systems in cm3 In-Reply-To: <236768.34282.qm@web38502.mail.mud.yahoo.com> References: <236768.34282.qm@web38502.mail.mud.yahoo.com> Message-ID: <90B86E50-5AA3-4D75-AB88-F3DA29F0BB2D@uiuc.edu> the (scale ....) function will define either 'modes' or 'tunings' (which, in cm3, are just lists of floating-point key numbers.) here are a few examples. ; three octaves (22 steps) of d dorian scale (define d-dorian (scale 22 62 2 1 2 2 2 1 2)) ;; three octaves (15 steps) of a 5-tone equal tempered scale (define 5-tone-equal (scale 15 60 2.4)) ;; three octave of a justly-tuned major scale (define just-major-scale (scale 22 60 (ratio->steps '(9/8 10/9 16/15 9/8 10/9 9/8 16/15)))) for more information see: http://commonmusic.sourceforge.net/cm/res/doc/cm.html#scale http://commonmusic.sourceforge.net/cm/res/doc/cm.html#ratio-_steps On Jun 3, 2009, at 11:14 AM, hagai barmatz wrote: > Hi everyone > I'm using Taube's Book Notes from the Metalevel, and translate the > code there to SAL in cm3. > My question is whether there is something in cm3 that corresponds to > the tuning and mode classes in cm2. And if not, what are the > possibilities to define alternate tunings and modes in cm3? > Thanks in Advance, > Hagai > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From josepadovani at yahoo.com.br Sun Jun 14 07:29:32 2009 From: josepadovani at yahoo.com.br (padovani) Date: Sun, 14 Jun 2009 11:29:32 -0300 Subject: [CM] snd as pd external (OSX 10.5.6).... problems with "size of off_t" In-Reply-To: <20090528105612.M98778@ccrma.Stanford.EDU> References: <20090528105612.M98778@ccrma.Stanford.EDU> Message-ID: <4A35094C.5050000@yahoo.com.br> Hello, I'm trying to compile (actually configure to compile) SND "--with-snd-as-pd-external" and I am getting an issue related with the size of off_t ... ... checking for pid_t... yes checking whether byte ordering is bigendian... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for off_t... yes checking for nl_langinfo and DECIMAL_POINT... no checking for nl_langinfo and RADIXCHAR... yes checking size of off_t... configure: error: in `/Users/ze/Desktop/snd10/snd-10': configure: error: cannot compute sizeof (off_t) See `config.log' for more details. Tried: ./configure --with-guile --with-snd-as-pd-external and ./configure --with-snd-as-pd-external Maybe am I ignoring some flags? thanks. -- http://www.padovani.googlepages.com From bil at ccrma.Stanford.EDU Sun Jun 14 10:55:47 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 14 Jun 2009 10:55:47 -0700 Subject: [CM] snd as pd external (OSX 10.5.6).... problems with "size of off_t" In-Reply-To: <4A35094C.5050000@yahoo.com.br> References: <20090528105612.M98778@ccrma.Stanford.EDU> <4A35094C.5050000@yahoo.com.br> Message-ID: <20090614175216.M80427@ccrma.Stanford.EDU> Thanks for the bug report! It looks like the -bundle addition to CFLAGS needs to happen at the very end of the configure script so that it doesn't confuse earlier compilations. I think the changes are: configure.ac line 216 case "$host" in *-apple-*) # CFLAGS="$CFLAGS -DPD -I. -bundle -undefined suppress -flat_namespace" CFLAGS="$CFLAGS -DPD -I. -undefined suppress -flat_namespace" and add at line 2408 if test "$with_snd_as_pd_external" = yes ; then CFLAGS="$CFLAGS -bundle" fi (then run autoconf, and try configure again -- I'll make these changes in the ccrma versions). I don't have PD, so I didn't test that this change actually does the right thing... From k.s.matheussen at notam02.no Sun Jun 14 11:19:35 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Sun, 14 Jun 2009 20:19:35 +0200 (CEST) Subject: [CM] snd as pd external (OSX 10.5.6).... problems with "size of off_t" In-Reply-To: <20090614175216.M80427@ccrma.Stanford.EDU> References: <20090528105612.M98778@ccrma.Stanford.EDU> <4A35094C.5050000@yahoo.com.br> <20090614175216.M80427@ccrma.Stanford.EDU> Message-ID: On Sun, 14 Jun 2009, Bill Schottstaedt wrote: > Thanks for the bug report! It looks like the -bundle addition to > CFLAGS needs to happen at the very end of the configure script > so that it doesn't confuse earlier compilations. I think the > changes are: > > configure.ac line 216 > > case "$host" in > *-apple-*) > # CFLAGS="$CFLAGS -DPD -I. -bundle -undefined suppress -flat_namespace" > CFLAGS="$CFLAGS -DPD -I. -undefined suppress -flat_namespace" > > > and add at line 2408 > > if test "$with_snd_as_pd_external" = yes ; then > CFLAGS="$CFLAGS -bundle" > fi > > (then run autoconf, and try configure again -- I'll make these changes in the > ccrma versions). I don't have PD, so I didn't test that this change actually > does the right thing... > Another problem is that snd-as-pd-external requires snd-rt. I don't know if anyone has run snd-rt on mac... But I would guess some adjustments here and there would be required. From hagaibarmatz at yahoo.com Sun Jun 14 15:19:17 2009 From: hagaibarmatz at yahoo.com (hagai barmatz) Date: Sun, 14 Jun 2009 15:19:17 -0700 (PDT) Subject: [CM] Drunk Message-ID: <690927.1662.qm@web38506.mail.mud.yahoo.com> Hi Rick Is there?a way to implement the drunk function?in cm3? ? The drunk function from cm2 produces random walks from brown noise: http://commonmusic.sourceforge.net/cm2/doc/dict/index.html ? Thanks Hagai -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Jun 14 15:25:22 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 14 Jun 2009 17:25:22 -0500 Subject: [CM] Drunk In-Reply-To: <690927.1662.qm@web38506.mail.mud.yahoo.com> References: <690927.1662.qm@web38506.mail.mud.yahoo.com> Message-ID: <48A3794F-C674-4C24-9D0F-94F7AF15C44F@uiuc.edu> yes I can add this in, no problem. meanwhile you can use (ranbrown) to generate 'brown noise' On Jun 14, 2009, at 5:19 PM, hagai barmatz wrote: > Hi Rick > Is there a way to implement the drunk function in cm3? > > The drunk function from cm2 produces random walks from brown noise: > http://commonmusic.sourceforge.net/cm2/doc/dict/index.html > > Thanks > Hagai > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From josepadovani at yahoo.com.br Sun Jun 14 18:18:22 2009 From: josepadovani at yahoo.com.br (padovani) Date: Sun, 14 Jun 2009 22:18:22 -0300 Subject: [CM] snd as pd external (OSX 10.5.6).... problems with "size of off_t" In-Reply-To: References: <20090528105612.M98778@ccrma.Stanford.EDU> <4A35094C.5050000@yahoo.com.br> <20090614175216.M80427@ccrma.Stanford.EDU> Message-ID: <4A35A15E.4070305@yahoo.com.br> Hi again, thank you very much for the tips... everything is going well with autoconf and ./configure --with-guile --with-snd-as-pd-external. Now I get an error when compiling... ... gcc -c -DLOCALE_DIR=\"/usr/local/share/locale\" -DSCRIPTS_DIR=\"/usr/local/share/snd\" -DHAVE_CONFIG_H -O2 -I. -g -O2 -DSND_PD_PATH=\"/Users/ze/Desktop/snd10/snd-10\" -DPD -I. -undefined suppress -flat_namespace -bundle -I/opt/local/include -I/opt/local/include -D_THREAD_SAFE -I/opt/local/include snd_pd_external.c snd_pd_external.c:92: error: syntax error before ?DSP_VERSION? make: *** [snd_pd_external.o] Error 1 Could it be related with snd-rt? thanks again, jos? -- http://www.padovani.googlepages.com From lievenmoors at hotmail.com Tue Jun 16 06:31:15 2009 From: lievenmoors at hotmail.com (Lieven Moors) Date: Tue, 16 Jun 2009 15:31:15 +0200 Subject: [CM] cm svn build fails on fomus headers Message-ID: Tried to build cm today from svn, and it fails, apparently missing some header files. This is the error output: ==== Building cm ==== CmSupport.cpp In file included from src/CmSupport.cpp:16: src/Fomus.h:13:28: warning: fomus/fomusapi.h: No such file or directory In file included from src/CmSupport.cpp:16: src/Fomus.h:22: error: ?FOMUS? does not name a type src/Fomus.h:38: error: ?FOMUS? does not name a type ... ... ... make[1]: *** [obj/cm/Release/CmSupport.o] Error 1 make: *** [cm] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From josepadovani at yahoo.com.br Tue Jun 16 06:50:10 2009 From: josepadovani at yahoo.com.br (padovani) Date: Tue, 16 Jun 2009 10:50:10 -0300 Subject: [CM] snd as pd external (OSX 10.5.6).... problems with "size of off_t" In-Reply-To: References: <20090528105612.M98778@ccrma.Stanford.EDU> <4A35094C.5050000@yahoo.com.br> <20090614175216.M80427@ccrma.Stanford.EDU> <4A35A15E.4070305@yahoo.com.br> <20090615110054.M52405@ccrma.Stanford.EDU> Message-ID: <4A37A312.9070309@yahoo.com.br> Bill Schottstaedt escreveu: >> snd_pd_external.c:92: error: syntax error before >> [WINDOWS-1252?]?DSP_VERSION? > > perhaps that should be SND_VERSION? > > > I have changed the line 92 of snd_pd_external.c from "DSP_VERSION" to "SND_VERSION"... now I've found a new problem, related to some "undefined symbols"... any idea? thanks for the help... jos? ... gcc -shared -o snd.pd_linux headers.o audio.o io.o sound.o clm.o xen.o vct.o sndlib2xen.o clm2xen.o snd-io.o snd-utils.o snd-listener.o snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o snd-region.o snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o snd-print.o snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o snd-ladspa.o snd-kbd.o snd-sig.o snd-draw.o run.o rt-various.o snd-nogui.o /opt/local/lib/libguile.a -L/opt/local/lib -lgmp -lm -lltdl -framework CoreAudio -framework CoreFoundation -framework CoreMIDI -L/opt/local/lib -lgsl -lgslcblas -lm -lc -lm -lm snd_pd_external.o Undefined symbols: "_libintl_bindtextdomain", referenced from: _scm_bindtextdomain in libguile.a(libguile_la-i18n.o) "_class_new", referenced from: _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o "_libintl_ngettext", referenced from: _scm_ngettext in libguile.a(libguile_la-i18n.o) "_outlet_symbol", referenced from: _pd0_outlet_symbol in snd_pd_external.o "_pd_symbol", referenced from: _pd0_send_symbol in snd_pd_external.o "_s_list", referenced from: _s_list$non_lazy_ptr in snd_pd_external.o "_atom_getfloat", referenced from: _snd0_anything_do in snd_pd_external.o "_outlet_bang", referenced from: _pd0_outlet_bang in snd_pd_external.o "_main", referenced from: start in crt1.10.5.o "_libintl_dngettext", referenced from: _scm_ngettext in libguile.a(libguile_la-i18n.o) "_outlet_free", referenced from: _pd0_free in snd_pd_external.o "_post", referenced from: _snd0_gensym in snd_pd_external.o _snd0_send_message in snd_pd_external.o _snd0_send_message in snd_pd_external.o _pd0_send_message in snd_pd_external.o _pd0_send_message in snd_pd_external.o _pd0_send_message in snd_pd_external.o _snd0_anything_do in snd_pd_external.o _pd0_anything_do in snd_pd_external.o _pd0_anything in snd_pd_external.o _pd0_anything_first in snd_pd_external.o _snd0_bind in snd_pd_external.o _snd0_unbind in snd_pd_external.o _snd0_send_number in snd_pd_external.o _snd0_make_list in snd_pd_external.o _snd0_outlet_list in snd_pd_external.o _snd0_send_list in snd_pd_external.o _snd0_send_list in snd_pd_external.o _snd0_send_symbol in snd_pd_external.o _snd0_send_string in snd_pd_external.o _snd0_send_bang in snd_pd_external.o _snd0_init_in_guile in snd_pd_external.o _snd0_load in snd_pd_external.o _snd0_load in snd_pd_external.o _snd0_load in snd_pd_external.o _pd0_new in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o "_clock_getlogicaltime", referenced from: _snd_pd_perform in snd_pd_external.o _snd_pd_perform in snd_pd_external.o "_outlet_list", referenced from: _pd0_outlet_list in snd_pd_external.o "_libintl_dcgettext", referenced from: _scm_gettext in libguile.a(libguile_la-i18n.o) "_s_float", referenced from: _s_float$non_lazy_ptr in snd_pd_external.o "_libintl_gettext", referenced from: _scm_gettext in libguile.a(libguile_la-i18n.o) "_atom_getfloatarg", referenced from: _pd0_new in snd_pd_external.o _pd0_new in snd_pd_external.o "_libintl_dgettext", referenced from: _scm_gettext in libguile.a(libguile_la-i18n.o) "_libintl_bind_textdomain_codeset", referenced from: _scm_bind_textdomain_codeset in libguile.a(libguile_la-i18n.o) "_atom_getsymbol", referenced from: _snd0_anything_do in snd_pd_external.o _snd0_anything_do in snd_pd_external.o "_jack_ringbuffer_create", referenced from: _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o "_sys_unlock", referenced from: _snd0_gensym in snd_pd_external.o "_jack_ringbuffer_write", referenced from: _snd0_send_message in snd_pd_external.o _read_eval_print_loop in snd_pd_external.o _pd0_send_message in snd_pd_external.o _pd0_anything_do in snd_pd_external.o _pd0_anything_do in snd_pd_external.o _pd0_anything_do in snd_pd_external.o "_clock_delay", referenced from: _pd0_das_dispatcher in snd_pd_external.o _snd_setup in snd_pd_external.o "_s_signal", referenced from: _s_signal$non_lazy_ptr in snd_pd_external.o "_jack_ringbuffer_read_space", referenced from: _pd0_das_dispatcher in snd_pd_external.o _snd0_init_in_guile in snd_pd_external.o _snd0_init_in_guile in snd_pd_external.o "_libintl_dcngettext", referenced from: _scm_ngettext in libguile.a(libguile_la-i18n.o) "_pd_float", referenced from: _pd0_send_number in snd_pd_external.o "_jack_ringbuffer_write_space", referenced from: _snd0_send_message in snd_pd_external.o _snd0_send_message in snd_pd_external.o _read_eval_print_loop in snd_pd_external.o _pd0_send_message in snd_pd_external.o _pd0_anything_do in snd_pd_external.o "_inlet_free", referenced from: _pd0_free in snd_pd_external.o "_pd_bang", referenced from: _pd0_send_bang in snd_pd_external.o "_pd_bind", referenced from: _pd0_bind in snd_pd_external.o "_clock_new", referenced from: _snd_setup in snd_pd_external.o "_outlet_float", referenced from: _pd0_outlet_number in snd_pd_external.o "_gensym", referenced from: _snd0_gensym in snd_pd_external.o _pd0_new in snd_pd_external.o _pd0_new in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o "_pd_free", referenced from: _pd0_unbind in snd_pd_external.o _pd0_free in snd_pd_external.o "_pd_new", referenced from: _pd0_bind in snd_pd_external.o _pd0_new in snd_pd_external.o _pd0_new in snd_pd_external.o "_pd_list", referenced from: _pd0_send_list in snd_pd_external.o "_sched_setscheduler", referenced from: _snd0_gensym in snd_pd_external.o _snd0_gensym in snd_pd_external.o "_libintl_textdomain", referenced from: _scm_textdomain in libguile.a(libguile_la-i18n.o) "_outlet_new", referenced from: _pd0_new in snd_pd_external.o _pd0_new in snd_pd_external.o "_jack_ringbuffer_read", referenced from: _pd0_das_dispatcher in snd_pd_external.o _snd0_anything_do in snd_pd_external.o _snd0_anything_do in snd_pd_external.o _snd0_anything_do in snd_pd_external.o _snd0_init_in_guile in snd_pd_external.o _snd0_init_in_guile in snd_pd_external.o "_class_sethelpsymbol", referenced from: _snd_setup in snd_pd_external.o "_sys_lock", referenced from: _snd0_gensym in snd_pd_external.o "_atom_getsymbolarg", referenced from: _pd0_new in snd_pd_external.o "_class_addmethod", referenced from: _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o "_inlet_new", referenced from: _pd0_new in snd_pd_external.o _pd0_new in snd_pd_external.o "_dsp_addv", referenced from: _snd_pd_dsp in snd_pd_external.o "_class_addanything", referenced from: _snd_setup in snd_pd_external.o _snd_setup in snd_pd_external.o "_pd_unbind", referenced from: _pd0_unbind in snd_pd_external.o "_s_symbol", referenced from: _s_symbol$non_lazy_ptr in snd_pd_external.o "_nullfn", referenced from: _nullfn$non_lazy_ptr in snd_pd_external.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [external] Error 1 -- http://www.padovani.googlepages.com From taube at uiuc.edu Tue Jun 16 07:34:36 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 16 Jun 2009 09:34:36 -0500 Subject: [CM] cm svn build fails on fomus headers In-Reply-To: References: Message-ID: sorry Ill fix this today! On Jun 16, 2009, at 8:31 AM, Lieven Moors wrote: > Tried to build cm today from svn, and it fails, apparently missing > some > header files. This is the error output: > > > ==== Building cm ==== > CmSupport.cpp > In file included from src/CmSupport.cpp:16: > src/Fomus.h:13:28: warning: fomus/fomusapi.h: No such file or > directory > In file included from src/CmSupport.cpp:16: > src/Fomus.h:22: error: ?FOMUS? does not name a type > src/Fomus.h:38: error: ?FOMUS? does not name a type > ... > ... > ... > make[1]: *** [obj/cm/Release/CmSupport.o] Error 1 > make: *** [cm] Error 2 > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sat Jun 20 05:32:30 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 20 Jun 2009 07:32:30 -0500 Subject: [CM] new plotting utility Message-ID: <2975BCF2-1FE6-48C0-81A8-6695820EE316@uiuc.edu> svn trunk has a new plotting facility that includes a scheme api similar to the (gnuplot ...) function in CM2. the new plotter window is much improved and simplified (it now looks bascially like the x- windows gui i had in cm2...) main points: Plot windows can display/edit multiple layers of points, each with their own color and style. Points can have more than 2 fields of data (ie arities greater than 2 ) Plots can be saved to disk. Plot files store contents in XML data so you can edit these too. WIndow: Control-click adds points, Delete key delete points, Click- Drag on axis to zoom Scheme: The (plot ...) function opens a new window with data you pass to it The (plot-data ...) function returns data from an open plot window back to scheme Documentation is in: cm/res/doc/cm.html#plotting Example Lisp: (plot :title "Hi Ho!" '(0 0 .25 1 .75 1 1 0) '(0 0 1 1)) XML: 0.00 0.000.25 1.000.75 1.001.00 0.00 0.00 0.001.00 1.00 the easiest way to see how it works is to try out the new examples in the Help menu: Help>Examples>Plotting todo next weeks: sonification of point sets, axis and layer customization dialogs I plan on making a major binary release of CM3 in about two weeks including support for the new C version of Fomus that David Psenicka has been working on the past year. From taube at uiuc.edu Sat Jun 20 05:33:21 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 20 Jun 2009 07:33:21 -0500 Subject: [CM] cm svn build fails on fomus headers In-Reply-To: References: Message-ID: <3A2DAA46-68D4-4D82-A33D-DFCD13B24334@uiuc.edu> I have fixed this bug in svn truck, thanks for reporting it. On Jun 16, 2009, at 8:31 AM, Lieven Moors wrote: > Tried to build cm today from svn, and it fails, apparently missing > some > header files. This is the error output: > > > ==== Building cm ==== > CmSupport.cpp > In file included from src/CmSupport.cpp:16: > src/Fomus.h:13:28: warning: fomus/fomusapi.h: No such file or > directory > In file included from src/CmSupport.cpp:16: > src/Fomus.h:22: error: ?FOMUS? does not name a type > src/Fomus.h:38: error: ?FOMUS? does not name a type > ... > ... > ... > make[1]: *** [obj/cm/Release/CmSupport.o] Error 1 > make: *** [cm] Error 2 > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From viresh64 at gmail.com Sat Jun 20 13:11:20 2009 From: viresh64 at gmail.com (Tom Jordan) Date: Sat, 20 Jun 2009 16:11:20 -0400 Subject: [CM] Evolving Csound Instruments using Lisp and Genetic Programming Message-ID: <8a7017aa0906201311u736d51a6r255f0c0981a1fb8b@mail.gmail.com> Evolving Csound Instruments using Lisp and Genetic Programming Hi, Is there a way to define Csound instruments directly in Lisp/CM so that they may be evolved using a Genetic Programming technique as developed by John Koza? I've browsed through search results including older posts from this list which seem to indicate that a Csound API for Common Lisp is available or being developed, but I have no idea of the current state of this... Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sat Jun 20 15:29:28 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 20 Jun 2009 17:29:28 -0500 Subject: [CM] Evolving Csound Instruments using Lisp and Genetic Programming In-Reply-To: <8a7017aa0906201311u736d51a6r255f0c0981a1fb8b@mail.gmail.com> References: <8a7017aa0906201311u736d51a6r255f0c0981a1fb8b@mail.gmail.com> Message-ID: <4CF2BD28-E48D-4F62-A027-C67B74290213@uiuc.edu> im not sure what would be involved with this. i do have a realtime connection to libcsound but its not activated now, the code is still there but i deactivated it since nobody was using it. right now you can generate .sco files and call csound with the results, just like in cm2 On Jun 20, 2009, at 3:11 PM, Tom Jordan wrote: > Evolving Csound Instruments using Lisp and Genetic Programming > > Hi, > > Is there a way to define Csound instruments directly in Lisp/CM so > that they may be evolved using a Genetic Programming technique as > developed by John Koza? > I've browsed through search results including older posts from > this list which seem to indicate that a Csound API for Common Lisp > is available or being developed, but I have no idea of the current > state of this... > > Thanks, > > Tom > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From hagaibarmatz at yahoo.com Sat Jun 20 20:51:08 2009 From: hagaibarmatz at yahoo.com (hagai barmatz) Date: Sat, 20 Jun 2009 20:51:08 -0700 (PDT) Subject: [CM] build cm3 Message-ID: <519951.11755.qm@web38504.mail.mud.yahoo.com> Hi can someone please give me instuctions for building cm3 from the svn trunk? I'm working on windows and have limited knowledge in these matters... I've been working with the built version for windows as downloaded from sourceforge, but several functions do not work as all, especially the ones regarding midi messages. I was hoping that perhaps in the svn versions these problems might have been taken care of. ? I have another question, regarding cm3 patterns. Is there a function that reads the current pattern value, like the next(pat) function that reads the next value from the pattern, so that you can return to the same value several times before moving on to the next value. ? Thanks Hagai -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Jun 21 10:52:19 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 21 Jun 2009 12:52:19 -0500 Subject: [CM] build cm3 In-Reply-To: <519951.11755.qm@web38504.mail.mud.yahoo.com> References: <519951.11755.qm@web38504.mail.mud.yahoo.com> Message-ID: <8C156322-84E6-4FA4-8C82-8DEAE0E3A3C3@uiuc.edu> > can someone please give me instuctions for building cm3 from the svn > trunk? > I'm working on windows and have limited knowledge in these matters... BUILDING SNDLIB AND CM FROM SOURCES ON WINDOWS These instructions assume you already have Microsoft Visual Studio Express C++ 2005 installed on your computer. Its easiest if you create a common folder to hold the source trees for CM and SndLib. I created a C:\Software directory to hold both systems on my machine: C:\Software\sndlib C:\Software\cm BUILDING SNDLIB ON WINDOWS 1. Download and install the latest version of SndLib: ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz 2. Double-click 'sndlib.vcproj' to open the project in Visual Studio. In the configuration pulldown menu select 'Release' (it defaults to 'Debug' I think) and then choose 'Build Solution' from the Build menu (or press F7). This should compile the release version of the sndlib library. BUILDING CM ON WINDOW 1. Download and install Premake 3.7, make sure that the executable is on your PATH variable: http://downloads.sourceforge.net/premake/premake-win32-3.7.zip 2. Open a CMD shell (terminal): Select Run... from the Start menu and click OK. 3. In the terminal window, change directories to your CM directory and use premake to create the Visual Studio project files: cd \Software\cm premake --target vs2005 --sndlib ../sndlib 4. Double click the file 'cm.sln' , select the Release configuration in the pulldown menu and press F7. From taube at uiuc.edu Sun Jun 21 14:22:32 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 21 Jun 2009 16:22:32 -0500 Subject: [CM] cm3 Visual Studio 2008 In-Reply-To: <8C156322-84E6-4FA4-8C82-8DEAE0E3A3C3@uiuc.edu> References: <519951.11755.qm@web38504.mail.mud.yahoo.com> <8C156322-84E6-4FA4-8C82-8DEAE0E3A3C3@uiuc.edu> Message-ID: <549B9365-E216-4486-8BFE-81A789143B6B@uiuc.edu> I downloaded VS2008 Express and was able to buid SndLib and CM in it. i checked in one trivial change to get this working. >> can someone please give me instuctions for building cm3 from the svn >> trunk? >> I'm working on windows and have limited knowledge in these matters... > > > BUILDING SNDLIB AND CM FROM SOURCES ON WINDOWS > > These instructions assume you already have Microsoft Visual Studio > Express C++ 2005 installed on your computer. Its easiest if you create > a common folder to hold the source trees for CM and SndLib. I created > a C:\Software directory to hold both systems on my machine: > > C:\Software\sndlib > C:\Software\cm > > BUILDING SNDLIB ON WINDOWS > > 1. Download and install the latest version of SndLib: > > ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz > > 2. Double-click 'sndlib.vcproj' to open the project in Visual > Studio. In the configuration pulldown menu select 'Release' (it > defaults to 'Debug' I think) and then choose 'Build Solution' from the > Build menu (or press F7). This should compile the release version of > the sndlib library. > > BUILDING CM ON WINDOW > > 1. Download and install Premake 3.7, make sure that the executable is > on your PATH variable: > > http://downloads.sourceforge.net/premake/premake-win32-3.7.zip > > 2. Open a CMD shell (terminal): Select Run... from the Start menu and > click OK. > > 3. In the terminal window, change directories to your CM directory and > use premake to create the Visual Studio project files: > > cd \Software\cm > premake --target vs2005 --sndlib ../sndlib > > 4. Double click the file 'cm.sln' , select the Release configuration > in the pulldown menu and press F7. > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From sandysj at juno.com Mon Jun 22 13:33:46 2009 From: sandysj at juno.com (Jeff Sandys) Date: Mon, 22 Jun 2009 13:33:46 -0700 (PDT) Subject: [CM] Evolving Csound Instruments using Lisp and Genetic Programming In-Reply-To: <8a7017aa0906201311u736d51a6r255f0c0981a1fb8b@mail.gmail.com> References: <8a7017aa0906201311u736d51a6r255f0c0981a1fb8b@mail.gmail.com> Message-ID: <24154902.post@talk.nabble.com> Tom Jordan-3 wrote: > > Evolving Csound Instruments using Lisp and Genetic Programming > > Hi, > Is there a way to define Csound instruments directly in Lisp/CM so that > they may be evolved using a Genetic Programming technique as developed by > John Koza? > I've browsed through search results including older posts from this > list > which seem to indicate that a Csound API for Common Lisp is available or > being developed, but I have no idea of the current state of this... > > Thanks, > > Tom > ... > Tom, this isn't exactly what you are looking for but you might be able to glean some ideas from it. Dave Griffiths' Fastbreader does use Genetic Programming (written in Python) to create a lisp like expression for sound generation, the user selects the best of four sounds as a fitness function. http://www.pawfal.org/Software/fastbreeder/ -- Jeff Sandys -- View this message in context: http://www.nabble.com/Evolving-Csound-Instruments-using-Lisp-and-Genetic-Programming-tp24128862p24154902.html Sent from the CCRMA - CMdist mailing list archive at Nabble.com. From viresh64 at gmail.com Tue Jun 23 15:55:07 2009 From: viresh64 at gmail.com (Tom Jordan) Date: Tue, 23 Jun 2009 18:55:07 -0400 Subject: [CM] Evolving Csound Instruments using Lisp and Genetic Programming Message-ID: <8a7017aa0906231555g16616928kc81a5a3f63e2da8e@mail.gmail.com> Thanks for the responses Rick and Jeff... It seems that using Genetic Programming to evolve tree structures as S-expressions in Lisp could evolve sound / synthesis structures directly in CM without the use of Csound, something I didn't realize at first... I am not too familiar with CM yet, so I guess that's the place to start! I have the book "Notes from the Metalevel" and years of experience using Lisp. Thanks for the help ! Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnhenrydale at gmail.com Thu Jun 25 00:20:26 2009 From: johnhenrydale at gmail.com (john henry dale) Date: Thu, 25 Jun 2009 00:20:26 -0700 Subject: [CM] Installing CLM 3.2.4 on OSX 10.5.7 - how to ? Message-ID: It's been a few years now, can anyone point me to an easy online step-by step guide to the above topic ? John-Henry Dale Digital / Analog Multimedia Producer www.johnhenrydale.com myspace.com/johnhenrydale Aubergine 3 / Convincing Woodgrain Records (Portland, US) 240-217-0582 - US cell Skype: Demdranger http://www.linkedin.com/in/johnhenrydale -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Thu Jun 25 04:19:11 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 25 Jun 2009 04:19:11 -0700 Subject: [CM] Installing CLM 3.2.4 on OSX 10.5.7 - how to ? In-Reply-To: References: Message-ID: <20090625111814.M24962@ccrma.Stanford.EDU> Do you mean CM 3.2.4? CLM is in version 4 now, and has never used that style of numbering. From taube at uiuc.edu Thu Jun 25 06:49:22 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 25 Jun 2009 08:49:22 -0500 Subject: [CM] Installing CLM 3.2.4 on OSX 10.5.7 - how to ? In-Reply-To: <20090625111814.M24962@ccrma.Stanford.EDU> References: <20090625111814.M24962@ccrma.Stanford.EDU> Message-ID: ok now ive posted directions on how to do this for all systems in the past two weeks. from now on im going to point to the june '09 archive of cmdist! --rick BUILDING SNDLIB AND CM FROM SOURCES ON OSX AND LINUX These instructions assume you already have all c++ developer tools, libraries and headers installed on your machine. Its easiest if you create a common folder to hold the source trees for CM and SndLib. I created a ~/Software directory to hold both systems on my machine: ~/Software/sndlib ~/Software/cm BUILDING SNDLIB ON OSX/LINUX 1. Download, install and make the latest version of SndLib: $ cd ~/Software $ wget ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz $ tar -zxf sndlib.tar.gz $ cd sndlib $ ./configure CC=g++ $ make BUILDING CM ON OS X/LINUX 1. Download and install Premake 3.7, make sure that the executable is on your PATH variable: os x: http://downloads.sourceforge.net/premake/premake-macosx-3.7.tar.gz linux: http://downloads.sourceforge.net/premake/premake-linux-3.7.tar.gz 2. Download and build the latest CM3 sources from Sourceforge. $ cd ~/Software $ svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/trunk cm $ cd cm $ premake --target gnu --sndlib ../sndlib $ make The applications will be saved in the bin/ subdirectory. Documentation and examples are in cm/res/doc. See cm/readme.text for more information. From bil at ccrma.Stanford.EDU Thu Jun 25 09:58:15 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 25 Jun 2009 09:58:15 -0700 Subject: [CM] Installing CLM 3.2.4 on OSX 10.5.7 - how to ? In-Reply-To: References: <20090625111814.M24962@ccrma.Stanford.EDU> Message-ID: <20090625165729.M46642@ccrma.Stanford.EDU> > from now on im going to point to the june '09 archive > of cmdist! They're also in README.sndlib. From johnhenrydale at gmail.com Thu Jun 25 10:33:24 2009 From: johnhenrydale at gmail.com (john henry dale) Date: Thu, 25 Jun 2009 10:33:24 -0700 Subject: [CM] Installing CLM 3.2.4 on OSX 10.5.7 - how to ? In-Reply-To: <20090625165729.M46642@ccrma.Stanford.EDU> References: <20090625111814.M24962@ccrma.Stanford.EDU> <20090625165729.M46642@ccrma.Stanford.EDU> Message-ID: Sorry, Yes, I meant CLM 4: as found here: http://ccrma.stanford.edu/software/clm/ I've installed latest Xcode, but frankly most of the instructions in Henirich's last thread here assume a familiarity with all the jargon that I don't have. Let's assume I'm a total beginner (which I'm not, but humor me). What do I need to do - in layman's terms ? Thanks, JHD -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Thu Jun 25 10:47:57 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 25 Jun 2009 10:47:57 -0700 Subject: [CM] Installing CLM 3.2.4 on OSX 10.5.7 - how to ? In-Reply-To: References: <20090625111814.M24962@ccrma.Stanford.EDU> <20090625165729.M46642@ccrma.Stanford.EDU> Message-ID: <20090625174549.M42505@ccrma.Stanford.EDU> > What do I need to do Get a lisp, say sbcl or clisp, and all of the XCode stuff, then untar clm in some directory, go to that directory, sbcl (load "all.lisp") From lievenmoors at hotmail.com Mon Jun 29 04:53:54 2009 From: lievenmoors at hotmail.com (Lieven Moors) Date: Mon, 29 Jun 2009 13:53:54 +0200 Subject: [CM] website common music unreachable Message-ID: The website of Common Music seems to be unreachable (I noticed this since yesterday). I get this error in firefox: Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. * Please contact the website owners to inform them of this problem. Just in case you didn't know.... Greets, lieven -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahcnz at ihug.co.nz Mon Jun 29 05:36:35 2009 From: ahcnz at ihug.co.nz (Adam) Date: Tue, 30 Jun 2009 00:36:35 +1200 Subject: [CM] website common music unreachable In-Reply-To: References: Message-ID: <200906300036.38043.ahcnz@ihug.co.nz> Seems fine. Just tried it using Konqueror and using Firefox. Is this where you're looking? http://commonmusic.sourceforge.net/ On Monday 29 June 2009 11:53 pm, Lieven Moors wrote: > The website of Common Music seems to be unreachable (I noticed this > since yesterday). > I get this error in firefox: > > Content Encoding Error > The page you are trying to view cannot be shown because it uses an > invalid or unsupported form of compression. > * Please contact the website owners to inform them of this problem. > > Just in case you didn't know.... > > Greets, > > lieven From lievenmoors at hotmail.com Mon Jun 29 08:41:39 2009 From: lievenmoors at hotmail.com (Lieven Moors) Date: Mon, 29 Jun 2009 17:41:39 +0200 Subject: [CM] website common music unreachable Message-ID: James Baker wrote: > which website do you mean? > > http://commonmusic.sourceforge.net/ > http://ccrma.stanford.edu/software/clm/ > > both the common music + ccrma clm page work fine here > > James > > On Mon, Jun 29, 2009 at 9:53 PM, Lieven Moors wrote: > >> The website of Common Music seems to be unreachable (I noticed this >> since yesterday). >> I get this error in firefox: >> >> Content Encoding Error >> The page you are trying to view cannot be shown because it uses an >> invalid or unsupported form of compression. >> * Please contact the website owners to inform them of this problem. >> >> Just in case you didn't know.... >> >> Greets, >> >> lieven >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> >> > > > Sorry, seems to be a bug in firefox. Clearing the browser cache solves the problem. -------------- next part -------------- An HTML attachment was scrubbed... URL: