From bil at ccrma.Stanford.EDU Mon Jul 6 03:55:53 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 6 Jul 2009 03:55:53 -0700 Subject: [CM] Snd 10.7 Message-ID: <20090706105439.M7917@ccrma.Stanford.EDU> Snd 10.7 Mike made many improvements throughout Snd. generators.scm: moving-fft, moving-scentroid, moving-autocorrelation, moving-pitch. dlocsig.scm works now in s7, but not guile 1.9.0. clm: added rectangular->magnitudes (ignores phases) ALSA is now the default audio choice in Linux (this affects CLM/Sndlib also). This is a slight problem in Clisp because there's no way to tell that we're in Linux, so in that case, push :alsa on *features* before loading all.lisp. I've noticed playback can hang or simply fail if the pulseaudio server is running. Linux audio is a never-ending pain. New configure switch --with-oss. Checked: gtk 2.17.1|2, sbcl 1.0.29, Fedora Core 11, guile 1.9.0 in the new guile, %delay and %filter are not defined, and there are many changes due to the guile compiler, so debug.scm has been removed, as well as the with-sound debugging stuff (ws.scm) that depended on it. 1.9.0 doesn't handle off_t cleanly, so you'll actually need 1.9.1. Due to new restrictions in the syntax it accepts, this version of guile also can't handle generators.scm. And run doesn't work. Thanks!: Mike Scholz, Jose Padovani, Kjetil Matheussen, Rick Taube. From b0ef at esben-stien.name Wed Jul 8 11:02:55 2009 From: b0ef at esben-stien.name (Esben Stien) Date: Wed, 08 Jul 2009 20:02:55 +0200 Subject: [CM] Snd 10.7 In-Reply-To: <20090706105439.M7917@ccrma.Stanford.EDU> (Bill Schottstaedt's message of "Mon\, 6 Jul 2009 03\:55\:53 -0700") References: <20090706105439.M7917@ccrma.Stanford.EDU> Message-ID: <87ab3f59yo.fsf@quasar.esben-stien.name> "Bill Schottstaedt" writes: > Linux audio is a never-ending pain. Not if you just trash ALSA/OSS and default to JACK. -- Esben Stien is b0ef at e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n From taube at uiuc.edu Sun Jul 12 09:33:08 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 12 Jul 2009 11:33:08 -0500 Subject: [CM] audio plots Message-ID: <96B9B66A-1CE9-47AA-BC2E-AA60B6B10585@uiuc.edu> svn trunk now has some big improvements to plotting: you can now generate audio from ANY plot. just add points, open a midi out port, then choose Audio>Play Plot... from the plot window's audio menu. You can control how various point values are mapped to sound using the Play Plot dialog. support for piano roll plotting ( :style :hbox) has now been improved the implementation of layers has been generalized, it will be possible soon to 'pivot' layers to show any pair of fields in mutidimensional points . the Help>Examples>Plotting example file now includes michael klingbeil's old arpa harmonics example working. the XML representation for plots had changed a bit -- if you need to load an older .xlm file ill tell you what to do to get it to load (its easy to fix) From dsteven at rider.edu Sun Jul 12 08:04:46 2009 From: dsteven at rider.edu (Donald Steven) Date: Sun, 12 Jul 2009 11:04:46 -0400 Subject: [CM] Grace, Linux & Sound Message-ID: <4A59FB8E.7080502@rider.edu> Hi all, Has anyone managed to get sound working from Grace on Linux? I'm using 3.2.3 and have tried a number of distros (Fedora 10, Ubuntu 9.04, SUSE 11.1, Centros 5.3, and Debian Lenny) and combinations of ALSA and jack things, but it can't find the audio. All other apps work fine. Thanks for any help you can provide. Don From taube at uiuc.edu Mon Jul 13 06:38:31 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 13 Jul 2009 08:38:31 -0500 Subject: [CM] Grace, Linux & Sound In-Reply-To: <4A59FB8E.7080502@rider.edu> References: <4A59FB8E.7080502@rider.edu> Message-ID: you can write realtime midi data , but you have to use 'qjackctl' or whatever to configure ports first. you can write audio files using sndlib and clm instruments you cannot play audio files except by some external app. This actually has nothing to do with Grace, which is making the the exact same calls on Linux as it is on OS X and windows, where things work. from my perspective it seems like linux audio is overly complex and juce linux (alsa) audio support has serious problems. On Jul 12, 2009, at 10:04 AM, Donald Steven wrote: > Hi all, > > Has anyone managed to get sound working from Grace on Linux? I'm > using > 3.2.3 and have tried a number of distros (Fedora 10, Ubuntu 9.04, SUSE > 11.1, Centros 5.3, and Debian Lenny) and combinations of ALSA and jack > things, but it can't find the audio. All other apps work fine. > Thanks > for any help you can provide. > > Don > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Mon Jul 13 07:01:44 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 13 Jul 2009 09:01:44 -0500 Subject: [CM] Grace, Linux & Sound In-Reply-To: <4A59FB8E.7080502@rider.edu> References: <4A59FB8E.7080502@rider.edu> Message-ID: <610EDAC2-5902-4291-929E-E8E850D2A3B2@uiuc.edu> it seems that in the past months juce users that develop audio have been developing a "jack port", which i think would be better than using alsa, as is currently the case in juce. i dont have the time or energy for this but if you have the ability and interest you could see if you get a jack port working relibly. if you could i would use it, the link is here, see page three and four: http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338&postdays=0&postorder=asc&start=45 From dsteven at rider.edu Mon Jul 13 07:24:16 2009 From: dsteven at rider.edu (Donald Steven) Date: Mon, 13 Jul 2009 10:24:16 -0400 Subject: [CM] Grace, Linux & Sound In-Reply-To: <610EDAC2-5902-4291-929E-E8E850D2A3B2@uiuc.edu> References: <4A59FB8E.7080502@rider.edu> <610EDAC2-5902-4291-929E-E8E850D2A3B2@uiuc.edu> Message-ID: <4A5B4390.8080206@rider.edu> Thanks, I'll look into this. Heinrich Taube wrote: > it seems that in the past months juce users that develop audio have > been developing a "jack port", which i think would be better than > using alsa, as is currently the case in juce. i dont have the time or > energy for this but if you have the ability and interest you could see > if you get a jack port working relibly. if you could i would use it, > the link is here, see page three and four: > > > http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338&postdays=0&postorder=asc&start=45 > > > > From eichhoff at statistik.tu-dortmund.de Tue Jul 14 03:09:10 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Tue, 14 Jul 2009 12:09:10 +0200 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB Message-ID: <4A5C5946.3050200@statistik.tu-dortmund.de> Hello, many many questions arrived when I wanted to install CL with CLM-4 and Lisp (I took SBCL) and use windows. You might say: "WINDOWS? Oh oh oh, I don't know whether SBCL runs with Windows". But this is not most important now. Questions: 1. How can I install CM on Windows computer. I like to use clm-4, because there a piano model is implemented. I installed SBCL, inside its directory I untared the cm directory and clm-4. I have Visual Studio 2008 installed. Do I need sndlib instead of the clm-4 folder? 2. I installed the sndlib folder into the sbcl folder next to the cm folder, went in, opened the vc++ project file and started it. The following errors occured (ok, it's somewhere in German, but you will understand the main things I hope): 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: Release Win32 ------ 1>Kompilieren... 1>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in einer der n?chsten Versionen entfernt. 1>audio.c 1>.\audio.c(63) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>xen.c 1>.\xen.c(10) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "stdint.h": No such file or directory 1>vct.c 1>.\vct.c(51) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>sound.c 1>.\sound.c(4) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>sndlib2xen.c 1>.\sndlib2xen.c(6) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>s7.c 1>.\s7.c(258) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "complex.h": No such file or directory 1>run.c 1>.\run.c(144) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>midi.c 1>c:\programme\steel bank common lisp\1.0.29\sndlib\_sndlib.h(19) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "stdbool.h": No such file or directory 1>io.c 1>.\io.c(4) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>headers.c 1>.\headers.c(43) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>clm2xen.c 1>.\clm2xen.c(11) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>clm.c 1>.\clm.c(6) : fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "snd.h": No such file or directory 1>Code wird generiert... 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. 1>sndlib - 12 Fehler, 1 Warnung(en) ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 ?bersprungen What can I do to successfully compile it? Best regards and thank you very much Markus From taube at uiuc.edu Tue Jul 14 04:32:08 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 06:32:08 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <4A5C5946.3050200@statistik.tu-dortmund.de> References: <4A5C5946.3050200@statistik.tu-dortmund.de> Message-ID: <918F5DDF-1CC7-43D3-909B-A22C7415F03A@uiuc.edu> > I installed SBCL, inside its directory I untared the cm directory > and clm-4. > I have Visual Studio 2008 installed. Do I need sndlib instead of the > clm-4 folder? If you want to use SBCL and CLM-4 (Common LIsp) on Windows, then you dont need sndlib. But I dont know if CLM-4 will compile instruments on Windows, you better check that first. To use CM with SBCL on windows, use the GraceCL application. in this case you dont need sndlib either. > 2. I installed the sndlib folder into the sbcl folder next to the cm > folder, went > in, opened the vc++ project file and started it. The following > errors occured (ok, If you want to use sndlib (sndlib has piano.ins working too i think) then you DONT need CLM-4 or SBCL. But you will have to compile it from its sources until I can make a binary release, I cant tell offhand what the problem you are having is due to. Im sorry this is so confusing, i realized that there are lots of choices and compiling is not a trivial process (I did post directions on how to compile it to the cmdist list last month.) I will make a binary release as soon as the new C++ based Fomus is working reliably in Grace, hopefull this happens within two weeks. From taube at uiuc.edu Tue Jul 14 04:47:46 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 06:47:46 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <4A5C5946.3050200@statistik.tu-dortmund.de> References: <4A5C5946.3050200@statistik.tu-dortmund.de> Message-ID: <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> Ok I guess sndlib's code base or filenames have changed since I last built sndlib on windows so the vcproject i made doesnt work any more. > > > 2. I installed the sndlib folder into the sbcl folder next to the cm > folder, went > in, opened the vc++ project file and started it. The following > errors occured (ok, > it's somewhere in German, but you will understand the main things I > hope): > > > 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: > Release Win32 ------ > 1>Kompilieren... > 1>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet > und wird in > einer der n?chsten Versionen entfernt. > 1>audio.c > 1>.\audio.c(63) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "snd.h": No such file or directory > 1>xen.c > 1>.\xen.c(10) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "stdint.h": No such file or directory > 1>vct.c > 1>.\vct.c(51) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "snd.h": No such file or directory > 1>sound.c > 1>.\sound.c(4) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "snd.h": No such file or directory > 1>sndlib2xen.c > 1>.\sndlib2xen.c(6) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet > werden: "snd.h": No such file or directory > 1>s7.c > 1>.\s7.c(258) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "complex.h": No such file or directory > 1>run.c > 1>.\run.c(144) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "snd.h": No such file or directory > 1>midi.c > 1>c:\programme\steel bank common lisp\1.0.29\sndlib\_sndlib.h(19) : > fatal error > C1083: Datei (Include) kann nicht ge?ffnet werden: "stdbool.h": No > such file or > directory > 1>io.c > 1>.\io.c(4) : fatal error C1083: Datei (Include) kann nicht ge?ffnet > werden: > "snd.h": No such file or directory > 1>headers.c > 1>.\headers.c(43) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "snd.h": No such file or directory > 1>clm2xen.c > 1>.\clm2xen.c(11) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "snd.h": No such file or directory > 1>clm.c > 1>.\clm.c(6) : fatal error C1083: Datei (Include) kann nicht > ge?ffnet werden: > "snd.h": No such file or directory > 1>Code wird generiert... > 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank > Common > Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. > 1>sndlib - 12 Fehler, 1 Warnung(en) > ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 > ?bersprungen > > What can I do to successfully compile it? > > Best regards and thank you very much > > Markus > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Tue Jul 14 04:49:10 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 14 Jul 2009 04:49:10 -0700 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <4A5C5946.3050200@statistik.tu-dortmund.de> References: <4A5C5946.3050200@statistik.tu-dortmund.de> Message-ID: <20090714114353.M75977@ccrma.Stanford.EDU> > I like to use clm-4, because there a piano model is implemented. It's also in the Scheme (and Ruby) versions: piano.scm for example, so you could use CM + sndlib. (Be sure to turn on optimization -- perhaps I should change that default). Rick's instructions for sndlib + windows are in README.sndlib. I have never used Windows (my sisters suspect that I don't actually know anything about computers), so I can't help much there. From bil at ccrma.Stanford.EDU Tue Jul 14 04:52:51 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 14 Jul 2009 04:52:51 -0700 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> Message-ID: <20090714115202.M45665@ccrma.Stanford.EDU> > I guess sndlib's code base or filenames have changed no, nothing has changed. It appears to be looking for stuff like .\vct.c -- does that mean vct.c in the current directory? From bil at ccrma.Stanford.EDU Tue Jul 14 04:54:11 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 14 Jul 2009 04:54:11 -0700 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <20090714115202.M45665@ccrma.Stanford.EDU> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> Message-ID: <20090714115343.M88369@ccrma.Stanford.EDU> or rather "RootNamespace" is "sndlib" so it's looking in the snflib directory? From taube at uiuc.edu Tue Jul 14 04:59:35 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 06:59:35 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <20090714115343.M88369@ccrma.Stanford.EDU> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> Message-ID: <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> i dont know, maybe compile switches changed in mus-config.h so things are now set up for linix and snd by default? On Jul 14, 2009, at 6:54 AM, Bill Schottstaedt wrote: > or rather "RootNamespace" is "sndlib" so it's looking in the > snflib directory? > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From eichhoff at statistik.tu-dortmund.de Tue Jul 14 05:04:20 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Tue, 14 Jul 2009 14:04:20 +0200 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB Message-ID: <4A5C7444.80601@statistik.tu-dortmund.de> Hello Mr. Schottstaedt, you know, windows is not a problem. I have ubuntu here and windows. So I could also install it in linux. But I don't know how... :-) I am not lazy to read the information in the lists and internet sites. I see sndlib, scheme, lisp, cm, clm-4, etc.... so many words, but nowhere is written how they are connected and what is really necessary to install it (what? cm, lisp, sndlib, scheme?) on windows, on linux, on os x. There was a piano model from Mr. Scott van Duyne's, "piano.ins" is the instrument file. I like to use this, because many physical parameters go in. Best regards Markus Bill Schottstaedt schrieb: >> I like to use clm-4, because there a piano model is implemented. > > It's also in the Scheme (and Ruby) versions: piano.scm for example, > so you could use CM + sndlib. (Be sure to turn on optimization -- > perhaps I should change that default). Rick's instructions for > sndlib + windows are in README.sndlib. I have never used Windows > (my sisters suspect that I don't actually know anything about computers), > so I can't help much there. > From taube at uiuc.edu Tue Jul 14 05:06:20 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 07:06:20 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> Message-ID: ok the last version i used had this in mus-config: #define USE_SND 0 #ifdef _MSC_VER typedef long off_t; #define ssize_t int #define snprintf _snprintf #define strtoll strtol #if _MSC_VER > 1200 #define _CRT_SECURE_NO_DEPRECATE 1 #define _CRT_NONSTDC_NO_DEPRECATE 1 #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 #endif #endif #endif the NEW version doesn have the MSC_VER suff and it ends with this: #ifndef USE_SND #define USE_SND 1 #endif #endif so i guess by default things are set up for linux unless you use ./ configure, but its not possible to use ./configure on windows. there is no reason that sndlib cant work on windows if things are configured for it. On Jul 14, 2009, at 6:59 AM, Heinrich Taube wrote: > i dont know, maybe compile switches changed in mus-config.h so things > are now set up for linix and snd by default? > > > On Jul 14, 2009, at 6:54 AM, Bill Schottstaedt wrote: > >> or rather "RootNamespace" is "sndlib" so it's looking in the >> snflib directory? >> >> >> _______________________________________________ >> 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 eichhoff at statistik.tu-dortmund.de Tue Jul 14 05:25:27 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Tue, 14 Jul 2009 14:25:27 +0200 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> Message-ID: <4A5C7937.6090201@statistik.tu-dortmund.de> So, what does it mean? The end is #ifndef USE_SND #define USE_SND 1 #endif #endif This is also my version where the errors appear. Shell I change only the end into: #define USE_SND 0 #ifdef _MSC_VER typedef long off_t; #define ssize_t int #define snprintf _snprintf #define strtoll strtol #if _MSC_VER > 1200 #define _CRT_SECURE_NO_DEPRECATE 1 #define _CRT_NONSTDC_NO_DEPRECATE 1 #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 #endif #endif #endif Or shell one add this code above the end-code? Heinrich Taube schrieb: > ok the last version i used had this in mus-config: > > #define USE_SND 0 > > #ifdef _MSC_VER > typedef long off_t; > #define ssize_t int > #define snprintf _snprintf > #define strtoll strtol > #if _MSC_VER > 1200 > #define _CRT_SECURE_NO_DEPRECATE 1 > #define _CRT_NONSTDC_NO_DEPRECATE 1 > #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 > #endif > #endif > > #endif > > > the NEW version doesn have the MSC_VER suff and it ends with this: > > > #ifndef USE_SND > #define USE_SND 1 > #endif > #endif > > > > so i guess by default things are set up for linux unless you use ./ > configure, but its not possible to use ./configure on windows. there > is no reason that sndlib cant work on windows if things are configured > for it. > > > > > > > On Jul 14, 2009, at 6:59 AM, Heinrich Taube wrote: > >> i dont know, maybe compile switches changed in mus-config.h so things >> are now set up for linix and snd by default? >> >> >> On Jul 14, 2009, at 6:54 AM, Bill Schottstaedt wrote: >> >>> or rather "RootNamespace" is "sndlib" so it's looking in the >>> snflib directory? >>> >>> >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Tue Jul 14 05:44:09 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 07:44:09 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <4A5C7937.6090201@statistik.tu-dortmund.de> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> <4A5C7937.6090201@statistik.tu-dortmund.de> Message-ID: <4446EEE6-4539-4617-80EB-0C1D24BDDD14@uiuc.edu> not sure, ill do a diff and see whats up. or i could post the slightly older version of sndlib that works so you can move on to the next issue! On Jul 14, 2009, at 7:25 AM, Markus Eichhoff wrote: > So, what does it mean? The end is > > #ifndef USE_SND > #define USE_SND 1 > #endif > #endif > > This is also my version where the errors appear. > Shell I change only the end into: > > #define USE_SND 0 > > #ifdef _MSC_VER > typedef long off_t; > #define ssize_t int > #define snprintf _snprintf > #define strtoll strtol > #if _MSC_VER > 1200 > #define _CRT_SECURE_NO_DEPRECATE 1 > #define _CRT_NONSTDC_NO_DEPRECATE 1 > #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 > #endif > #endif > > #endif > > Or shell one add this code above the end-code? > > > > Heinrich Taube schrieb: >> ok the last version i used had this in mus-config: >> >> #define USE_SND 0 >> >> #ifdef _MSC_VER >> typedef long off_t; >> #define ssize_t int >> #define snprintf _snprintf >> #define strtoll strtol >> #if _MSC_VER > 1200 >> #define _CRT_SECURE_NO_DEPRECATE 1 >> #define _CRT_NONSTDC_NO_DEPRECATE 1 >> #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 >> #endif >> #endif >> >> #endif >> >> >> the NEW version doesn have the MSC_VER suff and it ends with this: >> >> >> #ifndef USE_SND >> #define USE_SND 1 >> #endif >> #endif >> >> >> >> so i guess by default things are set up for linux unless you use ./ >> configure, but its not possible to use ./configure on windows. there >> is no reason that sndlib cant work on windows if things are >> configured >> for it. >> >> >> >> >> >> >> On Jul 14, 2009, at 6:59 AM, Heinrich Taube wrote: >> >>> i dont know, maybe compile switches changed in mus-config.h so >>> things >>> are now set up for linix and snd by default? >>> >>> >>> On Jul 14, 2009, at 6:54 AM, Bill Schottstaedt wrote: >>> >>>> or rather "RootNamespace" is "sndlib" so it's looking in the >>>> snflib directory? >>>> >>>> >>>> _______________________________________________ >>>> Cmdist mailing list >>>> Cmdist at ccrma.stanford.edu >>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Tue Jul 14 06:40:14 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 14 Jul 2009 06:40:14 -0700 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <4A5C7937.6090201@statistik.tu-dortmund.de> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> <4A5C7937.6090201@statistik.tu-dortmund.de> Message-ID: <20090714133333.M95740@ccrma.Stanford.EDU> Oh, I didn't notice it was looking for snd.h! > c:\software\sndlib\audio.c(63) : fatal error C1083: Cannot open include file: 'snd.h': No such file or directory I think this problem is that in linux and osx mus-config.h is created by the configure script, and I have an update script that checks *.h. It finds whatever mus-config.h I last created (while testing), and clobbers the windows version that we left there as a default for Visual C. I re-made the sndlib tarball at ccrma-ftp, and changed my script. Perhaps the Windows project can copy windows-mus-config.h to mus-config.h or something. In any case, the current version should get you past that error. On the other question, everything is in flux, as Rick said. If I were trying to build CM+sndlib on windows, I'd follow whatever Rick's instructions say (and not try sbcl or whatever). As far as I know, only the ACL version of clm-4 works in Windows, so you want to use Scheme. From eichhoff at statistik.tu-dortmund.de Tue Jul 14 06:52:39 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Tue, 14 Jul 2009 15:52:39 +0200 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <20090714133333.M95740@ccrma.Stanford.EDU> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> <4A5C7937.6090201@statistik.tu-dortmund.de> <20090714133333.M95740@ccrma.Stanford.EDU> Message-ID: <4A5C8DA7.1020002@statistik.tu-dortmund.de> Thank you very much for re-made the sndlib tarball! So, if I use windows you suggest CM+sndlib, but you are not sure because it could be possible that no Lisp version works with clm-4. O.k. Other possibility: Windows with Scheme + CM + soundlib? Is there any link where I could read how to install (and where to get) scheme with soundlib for window or linux? Bill Schottstaedt schrieb: > Oh, I didn't notice it was looking for snd.h! > >> c:\software\sndlib\audio.c(63) : fatal error C1083: Cannot open include file: 'snd.h': No such file or > directory > > I think this problem is that in linux and osx mus-config.h is created by the > configure script, and I have an update script that checks *.h. It finds > whatever mus-config.h I last created (while testing), and clobbers the windows > version that we left there as a default for Visual C. I re-made the > sndlib tarball at ccrma-ftp, and changed my script. Perhaps the > Windows project can copy windows-mus-config.h to mus-config.h > or something. In any case, the current version should get you past > that error. > > On the other question, everything is in flux, as Rick said. If I were > trying to build CM+sndlib on windows, I'd follow whatever Rick's > instructions say (and not try sbcl or whatever). As far as I know, > only the ACL version of clm-4 works in Windows, so you want to > use Scheme. > -- Dipl.-Math. Markus Eichhoff Chair of Computational Statistics Faculty of Statistics Technical University of Dortmund 44221 Dortmund Room 826 Phone: +49 (0)231 755 - 5903 Telefax: +49 (0)231 755 - 4387 E-mail: eichhoff at statistik.tu-dortmund.de Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From taube at uiuc.edu Tue Jul 14 07:05:17 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 09:05:17 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <4A5C8DA7.1020002@statistik.tu-dortmund.de> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> <4A5C7937.6090201@statistik.tu-dortmund.de> <20090714133333.M95740@ccrma.Stanford.EDU> <4A5C8DA7.1020002@statistik.tu-dortmund.de> Message-ID: On Jul 14, 2009, at 8:52 AM, Markus Eichhoff wrote: > Other possibility: Windows with Scheme + CM + soundlib? > Is there any link where I could read how to install (and where to > get) scheme with > soundlib for window or linux? i posted a description of how to do this last month on cmdist. its actually not hard if things work you need: visual studio 2008, premake 3.7, sndlib.tar.gz and the svn tip of cm i will see if its possible to get visual studio to copy sndlib's windows versioned files as part of its build process, othewise ill add this as a step to do 'by hand' to the windows instruction From taube at uiuc.edu Tue Jul 14 07:16:10 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 09:16:10 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <4A5C8DA7.1020002@statistik.tu-dortmund.de> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> <4A5C7937.6090201@statistik.tu-dortmund.de> <20090714133333.M95740@ccrma.Stanford.EDU> <4A5C8DA7.1020002@statistik.tu-dortmund.de> Message-ID: <6610ED7B-A70A-4995-8685-E8AF167136D4@uiuc.edu> > So, if I use windows you suggest CM+sndlib, but you are not sure > because it could > be possible that no Lisp version works with clm-4. O.k. EITHER: clm-4, sbcl, cm-2, graceCL/emacs OR: sndlib, cm that is, these are mutualy exclusive enviornments: sndlib is a Scheme/ C REPLACEMENT for clm-4, cm is a Scheme/C++ REPLACEMENT for cm2/emacs. ( avoid the term 'lisp' in this mailllst -- its too general a term and unhelpful in discission, indicate if you are interseted in either 'common lisp' or 'scheme' ) From taube at uiuc.edu Tue Jul 14 08:00:13 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 10:00:13 -0500 Subject: [CM] Problems with installing CM, CLM-4, LISP, SNDLIB In-Reply-To: <6610ED7B-A70A-4995-8685-E8AF167136D4@uiuc.edu> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> <4A5C7937.6090201@statistik.tu-dortmund.de> <20090714133333.M95740@ccrma.Stanford.EDU> <4A5C8DA7.1020002@statistik.tu-dortmund.de> <6610ED7B-A70A-4995-8685-E8AF167136D4@uiuc.edu> Message-ID: <72D069EC-2317-45FA-A2B1-0EA4C3EA9041@uiuc.edu> with the latest sndlib.tar.gz and cm svn tip i am able to build cm +sndlib, start Grace and open a plot. yea! From taube at uiuc.edu Tue Jul 14 08:17:20 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 14 Jul 2009 10:17:20 -0500 Subject: [CM] gnu tools for windows In-Reply-To: <6610ED7B-A70A-4995-8685-E8AF167136D4@uiuc.edu> References: <4A5C5946.3050200@statistik.tu-dortmund.de> <073BCCC3-6351-4346-84CD-FA53F9511AD0@uiuc.edu> <20090714115202.M45665@ccrma.Stanford.EDU> <20090714115343.M88369@ccrma.Stanford.EDU> <3B8CE74D-E599-4E4E-9D37-B05A8BB2D860@uiuc.edu> <4A5C7937.6090201@statistik.tu-dortmund.de> <20090714133333.M95740@ccrma.Stanford.EDU> <4A5C8DA7.1020002@statistik.tu-dortmund.de> <6610ED7B-A70A-4995-8685-E8AF167136D4@uiuc.edu> Message-ID: <5A47023D-A126-4FD4-ACD7-91FC3C1EF64B@uiuc.edu> btw i ran into a really nice site for gnu tools on windows today while trying to get diff working for sndlib headers: http://gnuwin32.sourceforge.net/packages.html its got lots of great stuff: bsdtar, coreutils, wget, fileutils, et. makes the piece-of-shit window's console useable. installs stuff in / program files/GnuWin32/bin just put that on your path and away you go From taube at uiuc.edu Wed Jul 15 05:10:45 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 15 Jul 2009 07:10:45 -0500 Subject: [CM] iconography Message-ID: <56EE2D66-6186-4525-8004-444D3F8F8983@uiuc.edu> Grace an GraceCL now have tobias kunze's pretty application icon (lambda on music staff) on MacOS and WIndows. Thanks to Andrew Burnsons for showing me how to do this! I can probably get an icon associated on linux too if someone can tell me the schell commands that would associate an icon with an executable. to get the icons you need to reissue premake and rebuild the app cd cm svn update premake --clean rm -r bin obj premake --verbose --target gnu --sndlib ../sndlib make (WIN: premake --target vs2008 --sndlib ../sndlib ) From eichhoff at statistik.tu-dortmund.de Wed Jul 15 08:18:16 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Wed, 15 Jul 2009 17:18:16 +0200 Subject: [CM] [Stk] STK INSTRUMENTS IN MACAW In-Reply-To: References: Message-ID: <4A5DF338.4000903@statistik.tu-dortmund.de> Hello, I downloaded the new version of stdlib, untared it in a folder and then opened visual c++. Now I didn't had the problem with snd.h as before (thank you very much for correcting it), but another error occured. This is my Build.Log.htm in German, but I translated it every time. Buildprotokoll (building journal): Erstellen wurde gestartet: Projekt: "sndlib", Konfiguration: "Release|Win32" (Building is startet: Project: "sndlib", configuration "Release|Win32") Befehlszeilen (command lines): Die tempor?re Datei "c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat" wird erstellt. Inhalt: [ @echo off copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows-mus-config.h c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\mus-config.h copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows-sndlib.h c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\sndlib.h if errorlevel 1 goto VCReportError goto VCEnd :VCReportError echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender Quelle zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." exit 1 :VCEnd ]Erstellen der Befehlszeile """c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat""" Ausgabefenster (display window): Pr?buildereignis wird ausgef?hrt... Das System kann die angegebene Datei nicht finden. Das System kann die angegebene Datei nicht finden. Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender Quelle zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." Ergebnisse (results): Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. sndlib - 1 Fehler, 0 Warnung(en) ------------------------------------------------------------------ And here is what Visual C++ gives out after pressing F7: 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: Release Win32 ------ 1>Pr?buildereignis wird ausgef?hrt... 1>Das System kann die angegebene Datei nicht finden. 1>Das System kann die angegebene Datei nicht finden. 1>Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender Quelle zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. 1>sndlib - 1 Fehler, 0 Warnung(en) ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 ?bersprungen ========== A tool has returned an error code from the following source: "Prebuilding is executed..." What does it mean? What did I do wrong? Thank you again! Robin Holmes schrieb: > A few of the STK Instruments have been used as the core generator for > some synths in the Macaw music program. > The Macaw program is free and uses the MIT license. > See this link for more details. http://code.google.com/p/macaw/ > The STK synths are in the experimental menu option that can be found by > right clicking the synth panel of the main Macaw program. > Robin. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Stk mailing list > Stk at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/stk -- Dipl.-Math. Markus Eichhoff Chair of Computational Statistics Faculty of Statistics Technical University of Dortmund 44221 Dortmund Room 826 Phone: +49 (0)231 755 - 5903 Telefax: +49 (0)231 755 - 4387 E-mail: eichhoff at statistik.tu-dortmund.de Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From taube at uiuc.edu Wed Jul 15 08:44:35 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 15 Jul 2009 10:44:35 -0500 Subject: [CM] [Stk] STK INSTRUMENTS IN MACAW In-Reply-To: <4A5DF338.4000903@statistik.tu-dortmund.de> References: <4A5DF338.4000903@statistik.tu-dortmund.de> Message-ID: i have no idea why you are working under a directory call "steel bank common lisp". sndlib has nothing to do with common lisp or sbcl. since windows uses its shell to copy the windows-sndlib.h files i think maybe the spaces in "steel bank common lisp" possible cause things to break please follow these directions in README.sndlib EXACTLY. if this doesnt work im sorry i cant help any more than this, you'll have to wait for a binary release in a week or two, BUILDING SNDLIB AND CM FROM SOURCES ON WINDOWS These instructions assume you already have Microsoft Visual Studio Express C++ 2008 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 and 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 vs2008 --sndlib ../sndlib 4. Double click the file 'cm.sln' , select the Release configuration in the pulldown menu and press F7. On Jul 15, 2009, at 10:18 AM, Markus Eichhoff wrote: > Hello, > > I downloaded the new version of stdlib, untared it in a folder and > then opened > visual c++. Now I didn't had the problem with snd.h as before (thank > you very much > for correcting it), but another error occured. This is my > Build.Log.htm in > German, but I translated it every time. > > Buildprotokoll (building journal): > > Erstellen wurde gestartet: Projekt: "sndlib", Konfiguration: > "Release|Win32" > (Building is startet: Project: "sndlib", configuration "Release| > Win32") > > Befehlszeilen (command lines): > > Die tempor?re Datei "c:\Programme\Steel Bank Common > Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat" wird > erstellt. Inhalt: > [ > @echo off > > copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows-mus- > config.h > c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\mus-config.h > > copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows- > sndlib.h > c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\sndlib.h > > > if errorlevel 1 goto VCReportError > > goto VCEnd > > :VCReportError > > echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus > folgender Quelle > zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." > > exit 1 > > :VCEnd > ]Erstellen der Befehlszeile """c:\Programme\Steel Bank Common > Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat""" > > Ausgabefenster (display window): > > Pr?buildereignis wird ausgef?hrt... > Das System kann die angegebene Datei nicht finden. > Das System kann die angegebene Datei nicht finden. > Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender > Quelle > zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." > > Ergebnisse (results): > > Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank Common > Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. > sndlib - 1 Fehler, 0 Warnung(en) > > ------------------------------------------------------------------ > > And here is what Visual C++ gives out after pressing F7: > > 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: > Release Win32 ------ > 1>Pr?buildereignis wird ausgef?hrt... > 1>Das System kann die angegebene Datei nicht finden. > 1>Das System kann die angegebene Datei nicht finden. > 1>Project : error PRJ0019: Ein Tool hat einen Fehlercode aus > folgender Quelle > zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." > 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank > Common > Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. > 1>sndlib - 1 Fehler, 0 Warnung(en) > ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 > ?bersprungen > ========== > > A tool has returned an error code from the following source: > "Prebuilding is > executed..." > > What does it mean? What did I do wrong? > > Thank you again! > > > > Robin Holmes schrieb: >> A few of the STK Instruments have been used as the core generator for >> some synths in the Macaw music program. >> The Macaw program is free and uses the MIT license. >> See this link for more details. http://code.google.com/p/macaw/ >> The STK synths are in the experimental menu option that can be >> found by >> right clicking the synth panel of the main Macaw program. >> Robin. >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Stk mailing list >> Stk at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/stk > > > -- > Dipl.-Math. Markus Eichhoff > > Chair of Computational Statistics > Faculty of Statistics > Technical University of Dortmund > 44221 Dortmund > Room 826 > > Phone: +49 (0)231 755 - 5903 > Telefax: +49 (0)231 755 - 4387 > E-mail: eichhoff at statistik.tu-dortmund.de > Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From eichhoff at statistik.uni-dortmund.de Wed Jul 15 11:30:42 2009 From: eichhoff at statistik.uni-dortmund.de (eichhoff at statistik.uni-dortmund.de) Date: Wed, 15 Jul 2009 20:30:42 +0200 (CEST) Subject: [CM] sndlib In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> Message-ID: <3f135fcd270ee2af91eba8a4713d298a.squirrel@www.statistik.tu-dortmund.de> yes maybe. I let it in the sbcl directory, just for testing. I mean it must only be in a directory, whether its name is "Software" or "Steel Bank Common Lisp" does not matter. The spaces may be difficult... ok I will copy it together with "cm" into another directory that is called "Software". If it doesn't work I will be patient and wait. :-) Thank you anyway for your kind help and for your patience! > i have no idea why you are working under a directory call "steel bank > common lisp". sndlib has nothing to do with common lisp or sbcl. since > windows uses its shell to copy the windows-sndlib.h files i think > maybe the spaces in "steel bank common lisp" possible cause things to > break please follow these directions in README.sndlib EXACTLY. if this > doesnt work im sorry i cant help any more than this, you'll have to > wait for a binary release in a week or two, > > BUILDING SNDLIB AND CM FROM SOURCES ON WINDOWS > > These instructions assume you already have Microsoft Visual Studio > Express C++ 2008 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 > and 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 vs2008 --sndlib ../sndlib > > 4. Double click the file 'cm.sln' , select the Release configuration > in the pulldown menu and press F7. > > > > On Jul 15, 2009, at 10:18 AM, Markus Eichhoff wrote: > >> Hello, >> >> I downloaded the new version of stdlib, untared it in a folder and >> then opened >> visual c++. Now I didn't had the problem with snd.h as before (thank >> you very much >> for correcting it), but another error occured. This is my >> Build.Log.htm in >> German, but I translated it every time. >> >> Buildprotokoll (building journal): >> >> Erstellen wurde gestartet: Projekt: "sndlib", Konfiguration: >> "Release|Win32" >> (Building is startet: Project: "sndlib", configuration "Release| >> Win32") >> >> Befehlszeilen (command lines): >> >> Die tempor?re Datei "c:\Programme\Steel Bank Common >> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat" wird >> erstellt. Inhalt: >> [ >> @echo off >> >> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows-mus- >> config.h >> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\mus-config.h >> >> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows- >> sndlib.h >> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\sndlib.h >> >> >> if errorlevel 1 goto VCReportError >> >> goto VCEnd >> >> :VCReportError >> >> echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >> folgender Quelle >> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >> >> exit 1 >> >> :VCEnd >> ]Erstellen der Befehlszeile """c:\Programme\Steel Bank Common >> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat""" >> >> Ausgabefenster (display window): >> >> Pr?buildereignis wird ausgef?hrt... >> Das System kann die angegebene Datei nicht finden. >> Das System kann die angegebene Datei nicht finden. >> Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender >> Quelle >> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >> >> Ergebnisse (results): >> >> Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank Common >> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >> sndlib - 1 Fehler, 0 Warnung(en) >> >> ------------------------------------------------------------------ >> >> And here is what Visual C++ gives out after pressing F7: >> >> 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: >> Release Win32 ------ >> 1>Pr?buildereignis wird ausgef?hrt... >> 1>Das System kann die angegebene Datei nicht finden. >> 1>Das System kann die angegebene Datei nicht finden. >> 1>Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >> folgender Quelle >> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >> 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank >> Common >> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >> 1>sndlib - 1 Fehler, 0 Warnung(en) >> ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 >> ?bersprungen >> ========== >> >> A tool has returned an error code from the following source: >> "Prebuilding is >> executed..." >> >> What does it mean? What did I do wrong? >> >> Thank you again! >> >> >> >> Robin Holmes schrieb: >>> A few of the STK Instruments have been used as the core generator for >>> some synths in the Macaw music program. >>> The Macaw program is free and uses the MIT license. >>> See this link for more details. http://code.google.com/p/macaw/ >>> The STK synths are in the experimental menu option that can be >>> found by >>> right clicking the synth panel of the main Macaw program. >>> Robin. >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Stk mailing list >>> Stk at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk >> >> >> -- >> Dipl.-Math. Markus Eichhoff >> >> Chair of Computational Statistics >> Faculty of Statistics >> Technical University of Dortmund >> 44221 Dortmund >> Room 826 >> >> Phone: +49 (0)231 755 - 5903 >> Telefax: +49 (0)231 755 - 4387 >> E-mail: eichhoff at statistik.tu-dortmund.de >> Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From eichhoff at statistik.tu-dortmund.de Thu Jul 16 00:55:13 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Thu, 16 Jul 2009 09:55:13 +0200 Subject: [CM] installing juce In-Reply-To: <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> Message-ID: <4A5EDCE1.9070503@statistik.tu-dortmund.de> Number 1. and 2. are o.k. now. Number 3. makes problems: I have put the directory "juce" into C:\Software, then I went to "build" inside of "juce" and compiled it with VC++. All without errors. Then I went to cmd and typed "premake --target vs2008 --sndlib ../sndlib", but an error occured: **premake.lua: premake.lua:112: CM requires juce, add --juce to your premake options **Script failed to run, ending. Then I typed: "premake --target vs2008 --sndlib ../sndlib --juce ../juce" and this error message appeared: WARNING: no juce debug lib found for CONFIG=Debug ** premake.lua: premake.lua:205: attempt to call a table value **Script failed to run, ending What do I have to change? I compiled Juce as "release" and as "debug", but... always the same error. Perhaps the command "premake.... " etc. is wrong in that way I have written it? 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 vs2008 --sndlib ../sndlib 4. Double click the file 'cm.sln' , select the Release configuration in the pulldown menu and press F7. Heinrich Taube schrieb: > ok great. if Grace doesnt have an icon showing you can do an snv update > and then follow what i sent this morning. > > On Jul 15, 2009, at 1:49 PM, eichhoff at statistik.uni-dortmund.de wrote: > >> Yessssss great, it worked! 0 errors, 474 warnings. Thank you! >> >> >>> i have no idea why you are working under a directory call "steel bank >>> common lisp". sndlib has nothing to do with common lisp or sbcl. since >>> windows uses its shell to copy the windows-sndlib.h files i think >>> maybe the spaces in "steel bank common lisp" possible cause things to >>> break please follow these directions in README.sndlib EXACTLY. if this >>> doesnt work im sorry i cant help any more than this, you'll have to >>> wait for a binary release in a week or two, >>> >>> BUILDING SNDLIB AND CM FROM SOURCES ON WINDOWS >>> >>> These instructions assume you already have Microsoft Visual Studio >>> Express C++ 2008 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 >>> and 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 vs2008 --sndlib ../sndlib >>> >>> 4. Double click the file 'cm.sln' , select the Release configuration >>> in the pulldown menu and press F7. >>> >>> >>> >>> On Jul 15, 2009, at 10:18 AM, Markus Eichhoff wrote: >>> >>>> Hello, >>>> >>>> I downloaded the new version of stdlib, untared it in a folder and >>>> then opened >>>> visual c++. Now I didn't had the problem with snd.h as before (thank >>>> you very much >>>> for correcting it), but another error occured. This is my >>>> Build.Log.htm in >>>> German, but I translated it every time. >>>> >>>> Buildprotokoll (building journal): >>>> >>>> Erstellen wurde gestartet: Projekt: "sndlib", Konfiguration: >>>> "Release|Win32" >>>> (Building is startet: Project: "sndlib", configuration "Release| >>>> Win32") >>>> >>>> Befehlszeilen (command lines): >>>> >>>> Die tempor?re Datei "c:\Programme\Steel Bank Common >>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat" wird >>>> erstellt. Inhalt: >>>> [ >>>> @echo off >>>> >>>> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows-mus- >>>> config.h >>>> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\mus-config.h >>>> >>>> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows- >>>> sndlib.h >>>> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\sndlib.h >>>> >>>> >>>> if errorlevel 1 goto VCReportError >>>> >>>> goto VCEnd >>>> >>>> :VCReportError >>>> >>>> echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >>>> folgender Quelle >>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>> >>>> exit 1 >>>> >>>> :VCEnd >>>> ]Erstellen der Befehlszeile """c:\Programme\Steel Bank Common >>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat""" >>>> >>>> Ausgabefenster (display window): >>>> >>>> Pr?buildereignis wird ausgef?hrt... >>>> Das System kann die angegebene Datei nicht finden. >>>> Das System kann die angegebene Datei nicht finden. >>>> Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender >>>> Quelle >>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>> >>>> Ergebnisse (results): >>>> >>>> Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank Common >>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >>>> sndlib - 1 Fehler, 0 Warnung(en) >>>> >>>> ------------------------------------------------------------------ >>>> >>>> And here is what Visual C++ gives out after pressing F7: >>>> >>>> 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: >>>> Release Win32 ------ >>>> 1>Pr?buildereignis wird ausgef?hrt... >>>> 1>Das System kann die angegebene Datei nicht finden. >>>> 1>Das System kann die angegebene Datei nicht finden. >>>> 1>Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >>>> folgender Quelle >>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>> 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank >>>> Common >>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >>>> 1>sndlib - 1 Fehler, 0 Warnung(en) >>>> ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 >>>> ?bersprungen >>>> ========== >>>> >>>> A tool has returned an error code from the following source: >>>> "Prebuilding is >>>> executed..." >>>> >>>> What does it mean? What did I do wrong? >>>> >>>> Thank you again! >>>> >>>> >>>> >>>> Robin Holmes schrieb: >>>>> A few of the STK Instruments have been used as the core generator for >>>>> some synths in the Macaw music program. >>>>> The Macaw program is free and uses the MIT license. >>>>> See this link for more details. http://code.google.com/p/macaw/ >>>>> The STK synths are in the experimental menu option that can be >>>>> found by >>>>> right clicking the synth panel of the main Macaw program. >>>>> Robin. >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> Stk mailing list >>>>> Stk at ccrma.stanford.edu >>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk >>>> >>>> >>>> -- >>>> Dipl.-Math. Markus Eichhoff >>>> >>>> Chair of Computational Statistics >>>> Faculty of Statistics >>>> Technical University of Dortmund >>>> 44221 Dortmund >>>> Room 826 >>>> >>>> Phone: +49 (0)231 755 - 5903 >>>> Telefax: +49 (0)231 755 - 4387 >>>> E-mail: eichhoff at statistik.tu-dortmund.de >>>> Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html >>>> >>>> _______________________________________________ >>>> Cmdist mailing list >>>> Cmdist at ccrma.stanford.edu >>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>> >>> >> >> > -- Dipl.-Math. Markus Eichhoff Chair of Computational Statistics Faculty of Statistics Technical University of Dortmund 44221 Dortmund Room 826 Phone: +49 (0)231 755 - 5903 Telefax: +49 (0)231 755 - 4387 E-mail: eichhoff at statistik.tu-dortmund.de Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From taube at uiuc.edu Thu Jul 16 03:35:51 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 16 Jul 2009 05:35:51 -0500 Subject: [CM] installing juce In-Reply-To: <4A5EDCE1.9070503@statistik.tu-dortmund.de> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> Message-ID: <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> based on the messages it would seem that you didnt install the lastest svn sources of common music. use tortoise svn to download the latest version of common music from http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/trunk then dont supply --juce and cm will use its own amalgamated juce sources: premake --verbose --target vs2008 --sndlib ../sndlib On Jul 16, 2009, at 2:55 AM, Markus Eichhoff wrote: > Number 1. and 2. are o.k. now. Number 3. makes problems: I have put > the directory "juce" into C:\Software, then I went to "build" inside > of "juce" and compiled it with VC++. All without errors. > Then I went to cmd and typed "premake --target vs2008 --sndlib ../ > sndlib", but an error occured: > > **premake.lua: premake.lua:112: CM requires juce, add --juce to your > premake options > **Script failed to run, ending. > > Then I typed: "premake --target vs2008 --sndlib ../sndlib --juce ../ > juce" > and this error message appeared: > > WARNING: no juce debug lib found for CONFIG=Debug > ** premake.lua: premake.lua:205: attempt to call a table value > **Script failed to run, ending > > What do I have to change? I compiled Juce as "release" and as > "debug", but... always the same error. Perhaps the command > "premake.... " etc. is wrong in that way I have written it? > > > > 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 vs2008 --sndlib ../sndlib > > 4. Double click the file 'cm.sln' , select the Release configuration > in the pulldown menu and press F7. > > > > Heinrich Taube schrieb: >> ok great. if Grace doesnt have an icon showing you can do an snv >> update and then follow what i sent this morning. >> On Jul 15, 2009, at 1:49 PM, eichhoff at statistik.uni-dortmund.de >> wrote: >>> Yessssss great, it worked! 0 errors, 474 warnings. Thank you! >>> >>> >>>> i have no idea why you are working under a directory call "steel >>>> bank >>>> common lisp". sndlib has nothing to do with common lisp or sbcl. >>>> since >>>> windows uses its shell to copy the windows-sndlib.h files i think >>>> maybe the spaces in "steel bank common lisp" possible cause >>>> things to >>>> break please follow these directions in README.sndlib EXACTLY. if >>>> this >>>> doesnt work im sorry i cant help any more than this, you'll have to >>>> wait for a binary release in a week or two, >>>> >>>> BUILDING SNDLIB AND CM FROM SOURCES ON WINDOWS >>>> >>>> These instructions assume you already have Microsoft Visual Studio >>>> Express C++ 2008 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 >>>> and 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 vs2008 --sndlib ../sndlib >>>> >>>> 4. Double click the file 'cm.sln' , select the Release >>>> configuration >>>> in the pulldown menu and press F7. >>>> >>>> >>>> >>>> On Jul 15, 2009, at 10:18 AM, Markus Eichhoff wrote: >>>> >>>>> Hello, >>>>> >>>>> I downloaded the new version of stdlib, untared it in a folder and >>>>> then opened >>>>> visual c++. Now I didn't had the problem with snd.h as before >>>>> (thank >>>>> you very much >>>>> for correcting it), but another error occured. This is my >>>>> Build.Log.htm in >>>>> German, but I translated it every time. >>>>> >>>>> Buildprotokoll (building journal): >>>>> >>>>> Erstellen wurde gestartet: Projekt: "sndlib", Konfiguration: >>>>> "Release|Win32" >>>>> (Building is startet: Project: "sndlib", configuration "Release| >>>>> Win32") >>>>> >>>>> Befehlszeilen (command lines): >>>>> >>>>> Die tempor?re Datei "c:\Programme\Steel Bank Common >>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat" wird >>>>> erstellt. Inhalt: >>>>> [ >>>>> @echo off >>>>> >>>>> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows- >>>>> mus- >>>>> config.h >>>>> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\mus-config.h >>>>> >>>>> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows- >>>>> sndlib.h >>>>> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\sndlib.h >>>>> >>>>> >>>>> if errorlevel 1 goto VCReportError >>>>> >>>>> goto VCEnd >>>>> >>>>> :VCReportError >>>>> >>>>> echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >>>>> folgender Quelle >>>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>>> >>>>> exit 1 >>>>> >>>>> :VCEnd >>>>> ]Erstellen der Befehlszeile """c:\Programme\Steel Bank Common >>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat""" >>>>> >>>>> Ausgabefenster (display window): >>>>> >>>>> Pr?buildereignis wird ausgef?hrt... >>>>> Das System kann die angegebene Datei nicht finden. >>>>> Das System kann die angegebene Datei nicht finden. >>>>> Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >>>>> folgender >>>>> Quelle >>>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>>> >>>>> Ergebnisse (results): >>>>> >>>>> Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank >>>>> Common >>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >>>>> sndlib - 1 Fehler, 0 Warnung(en) >>>>> >>>>> ------------------------------------------------------------------ >>>>> >>>>> And here is what Visual C++ gives out after pressing F7: >>>>> >>>>> 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: >>>>> Release Win32 ------ >>>>> 1>Pr?buildereignis wird ausgef?hrt... >>>>> 1>Das System kann die angegebene Datei nicht finden. >>>>> 1>Das System kann die angegebene Datei nicht finden. >>>>> 1>Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >>>>> folgender Quelle >>>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>>> 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank >>>>> Common >>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >>>>> 1>sndlib - 1 Fehler, 0 Warnung(en) >>>>> ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 >>>>> ?bersprungen >>>>> ========== >>>>> >>>>> A tool has returned an error code from the following source: >>>>> "Prebuilding is >>>>> executed..." >>>>> >>>>> What does it mean? What did I do wrong? >>>>> >>>>> Thank you again! >>>>> >>>>> >>>>> >>>>> Robin Holmes schrieb: >>>>>> A few of the STK Instruments have been used as the core >>>>>> generator for >>>>>> some synths in the Macaw music program. >>>>>> The Macaw program is free and uses the MIT license. >>>>>> See this link for more details. http://code.google.com/p/macaw/ >>>>>> The STK synths are in the experimental menu option that can be >>>>>> found by >>>>>> right clicking the synth panel of the main Macaw program. >>>>>> Robin. >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> Stk mailing list >>>>>> Stk at ccrma.stanford.edu >>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk >>>>> >>>>> >>>>> -- >>>>> Dipl.-Math. Markus Eichhoff >>>>> >>>>> Chair of Computational Statistics >>>>> Faculty of Statistics >>>>> Technical University of Dortmund >>>>> 44221 Dortmund >>>>> Room 826 >>>>> >>>>> Phone: +49 (0)231 755 - 5903 >>>>> Telefax: +49 (0)231 755 - 4387 >>>>> E-mail: eichhoff at statistik.tu-dortmund.de >>>>> Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html >>>>> >>>>> _______________________________________________ >>>>> Cmdist mailing list >>>>> Cmdist at ccrma.stanford.edu >>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>>> >>>> >>> >>> > > > -- > Dipl.-Math. Markus Eichhoff > > Chair of Computational Statistics > Faculty of Statistics > Technical University of Dortmund > 44221 Dortmund > Room 826 > > Phone: +49 (0)231 755 - 5903 > Telefax: +49 (0)231 755 - 4387 > E-mail: eichhoff at statistik.tu-dortmund.de > Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From eichhoff at statistik.tu-dortmund.de Thu Jul 16 05:43:45 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Thu, 16 Jul 2009 14:43:45 +0200 Subject: [CM] installing juce In-Reply-To: <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> Message-ID: <4A5F2081.4050300@statistik.tu-dortmund.de> I downloaded this cm-file: https://sourceforge.net/projects/commonmusic/files/ Version 3.2.4 Heinrich Taube schrieb: > based on the messages it would seem that you didnt install the lastest > svn sources of common music. use tortoise svn to download the latest > version of common music from > http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/trunk > > then dont supply --juce and cm will use its own amalgamated juce sources: > > premake --verbose --target vs2008 --sndlib ../sndlib > > > > On Jul 16, 2009, at 2:55 AM, Markus Eichhoff wrote: > >> Number 1. and 2. are o.k. now. Number 3. makes problems: I have put >> the directory "juce" into C:\Software, then I went to "build" inside >> of "juce" and compiled it with VC++. All without errors. >> Then I went to cmd and typed "premake --target vs2008 --sndlib >> ../sndlib", but an error occured: >> >> **premake.lua: premake.lua:112: CM requires juce, add --juce to your >> premake options >> **Script failed to run, ending. >> >> Then I typed: "premake --target vs2008 --sndlib ../sndlib --juce ../juce" >> and this error message appeared: >> >> WARNING: no juce debug lib found for CONFIG=Debug >> ** premake.lua: premake.lua:205: attempt to call a table value >> **Script failed to run, ending >> >> What do I have to change? I compiled Juce as "release" and as "debug", >> but... always the same error. Perhaps the command "premake.... " etc. >> is wrong in that way I have written it? >> >> >> >> 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 vs2008 --sndlib ../sndlib >> >> 4. Double click the file 'cm.sln' , select the Release configuration >> in the pulldown menu and press F7. >> >> >> >> Heinrich Taube schrieb: >>> ok great. if Grace doesnt have an icon showing you can do an snv >>> update and then follow what i sent this morning. >>> On Jul 15, 2009, at 1:49 PM, eichhoff at statistik.uni-dortmund.de wrote: >>>> Yessssss great, it worked! 0 errors, 474 warnings. Thank you! >>>> >>>> >>>>> i have no idea why you are working under a directory call "steel bank >>>>> common lisp". sndlib has nothing to do with common lisp or sbcl. since >>>>> windows uses its shell to copy the windows-sndlib.h files i think >>>>> maybe the spaces in "steel bank common lisp" possible cause things to >>>>> break please follow these directions in README.sndlib EXACTLY. if this >>>>> doesnt work im sorry i cant help any more than this, you'll have to >>>>> wait for a binary release in a week or two, >>>>> >>>>> BUILDING SNDLIB AND CM FROM SOURCES ON WINDOWS >>>>> >>>>> These instructions assume you already have Microsoft Visual Studio >>>>> Express C++ 2008 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 >>>>> and 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 vs2008 --sndlib ../sndlib >>>>> >>>>> 4. Double click the file 'cm.sln' , select the Release configuration >>>>> in the pulldown menu and press F7. >>>>> >>>>> >>>>> >>>>> On Jul 15, 2009, at 10:18 AM, Markus Eichhoff wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I downloaded the new version of stdlib, untared it in a folder and >>>>>> then opened >>>>>> visual c++. Now I didn't had the problem with snd.h as before (thank >>>>>> you very much >>>>>> for correcting it), but another error occured. This is my >>>>>> Build.Log.htm in >>>>>> German, but I translated it every time. >>>>>> >>>>>> Buildprotokoll (building journal): >>>>>> >>>>>> Erstellen wurde gestartet: Projekt: "sndlib", Konfiguration: >>>>>> "Release|Win32" >>>>>> (Building is startet: Project: "sndlib", configuration "Release| >>>>>> Win32") >>>>>> >>>>>> Befehlszeilen (command lines): >>>>>> >>>>>> Die tempor?re Datei "c:\Programme\Steel Bank Common >>>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat" wird >>>>>> erstellt. Inhalt: >>>>>> [ >>>>>> @echo off >>>>>> >>>>>> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows-mus- >>>>>> config.h >>>>>> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\mus-config.h >>>>>> >>>>>> copy c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\windows- >>>>>> sndlib.h >>>>>> c:\Programme\Steel Bank Common Lisp\1.0.29\sndlib\sndlib.h >>>>>> >>>>>> >>>>>> if errorlevel 1 goto VCReportError >>>>>> >>>>>> goto VCEnd >>>>>> >>>>>> :VCReportError >>>>>> >>>>>> echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >>>>>> folgender Quelle >>>>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>>>> >>>>>> exit 1 >>>>>> >>>>>> :VCEnd >>>>>> ]Erstellen der Befehlszeile """c:\Programme\Steel Bank Common >>>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BAT00000126363696.bat""" >>>>>> >>>>>> Ausgabefenster (display window): >>>>>> >>>>>> Pr?buildereignis wird ausgef?hrt... >>>>>> Das System kann die angegebene Datei nicht finden. >>>>>> Das System kann die angegebene Datei nicht finden. >>>>>> Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender >>>>>> Quelle >>>>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>>>> >>>>>> Ergebnisse (results): >>>>>> >>>>>> Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank Common >>>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >>>>>> sndlib - 1 Fehler, 0 Warnung(en) >>>>>> >>>>>> ------------------------------------------------------------------ >>>>>> >>>>>> And here is what Visual C++ gives out after pressing F7: >>>>>> >>>>>> 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: >>>>>> Release Win32 ------ >>>>>> 1>Pr?buildereignis wird ausgef?hrt... >>>>>> 1>Das System kann die angegebene Datei nicht finden. >>>>>> 1>Das System kann die angegebene Datei nicht finden. >>>>>> 1>Project : error PRJ0019: Ein Tool hat einen Fehlercode aus >>>>>> folgender Quelle >>>>>> zur?ckgegeben: "Pr?buildereignis wird ausgef?hrt..." >>>>>> 1>Das Buildprotokoll wurde unter "file://c:\Programme\Steel Bank >>>>>> Common >>>>>> Lisp\1.0.29\sndlib\obj\sndlib\Release\BuildLog.htm" gespeichert. >>>>>> 1>sndlib - 1 Fehler, 0 Warnung(en) >>>>>> ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 >>>>>> ?bersprungen >>>>>> ========== >>>>>> >>>>>> A tool has returned an error code from the following source: >>>>>> "Prebuilding is >>>>>> executed..." >>>>>> >>>>>> What does it mean? What did I do wrong? >>>>>> >>>>>> Thank you again! >>>>>> >>>>>> >>>>>> >>>>>> Robin Holmes schrieb: >>>>>>> A few of the STK Instruments have been used as the core generator >>>>>>> for >>>>>>> some synths in the Macaw music program. >>>>>>> The Macaw program is free and uses the MIT license. >>>>>>> See this link for more details. http://code.google.com/p/macaw/ >>>>>>> The STK synths are in the experimental menu option that can be >>>>>>> found by >>>>>>> right clicking the synth panel of the main Macaw program. >>>>>>> Robin. >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------ >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Stk mailing list >>>>>>> Stk at ccrma.stanford.edu >>>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk >>>>>> >>>>>> >>>>>> -- >>>>>> Dipl.-Math. Markus Eichhoff >>>>>> >>>>>> Chair of Computational Statistics >>>>>> Faculty of Statistics >>>>>> Technical University of Dortmund >>>>>> 44221 Dortmund >>>>>> Room 826 >>>>>> >>>>>> Phone: +49 (0)231 755 - 5903 >>>>>> Telefax: +49 (0)231 755 - 4387 >>>>>> E-mail: eichhoff at statistik.tu-dortmund.de >>>>>> Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html >>>>>> >>>>>> _______________________________________________ >>>>>> Cmdist mailing list >>>>>> Cmdist at ccrma.stanford.edu >>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>>>> >>>>> >>>> >>>> >> >> >> -- >> Dipl.-Math. Markus Eichhoff >> >> Chair of Computational Statistics >> Faculty of Statistics >> Technical University of Dortmund >> 44221 Dortmund >> Room 826 >> >> Phone: +49 (0)231 755 - 5903 >> Telefax: +49 (0)231 755 - 4387 >> E-mail: eichhoff at statistik.tu-dortmund.de >> Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html > -- Dipl.-Math. Markus Eichhoff Chair of Computational Statistics Faculty of Statistics Technical University of Dortmund 44221 Dortmund Room 826 Phone: +49 (0)231 755 - 5903 Telefax: +49 (0)231 755 - 4387 E-mail: eichhoff at statistik.tu-dortmund.de Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From taube at uiuc.edu Thu Jul 16 06:59:19 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 16 Jul 2009 08:59:19 -0500 Subject: [CM] installing juce In-Reply-To: <4A5F2081.4050300@statistik.tu-dortmund.de> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> Message-ID: <651CE15C-7F01-43B8-928D-74C902F729AC@uiuc.edu> install the lastest svn sources of common music. use tortoise svn to download the latest version of common music from http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/trunk then dont supply --juce and cm will use its own amalgamated juce sources: premake --verbose --target vs2008 --sndlib ../sndlib From taube at uiuc.edu Thu Jul 16 07:39:52 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 16 Jul 2009 09:39:52 -0500 Subject: [CM] installing juce In-Reply-To: <4A5F3234.2080301@statistik.tu-dortmund.de> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> Message-ID: cm/bin/Grace.exe this contains sndlib and cm3. double-click it. look in the Help>example menu for examples. if you dont want to learn scheme you can use sal, look in the tutorials. Snd is a differnet program, sorry i dont have the time to explain... On Jul 16, 2009, at 8:59 AM, Markus Eichhoff wrote: > Ok, I downloaded the trunk, now 1.-4. worked. But how can I start > grace or cm? I don't find the executables...?! How can I start > sndlib or cm and how can I > > Here http://ccrma.stanford.edu/software/snd/snd/sndclm.html it is > said that one has to start "Snd". But Snd I don't see in the whole > sndlib directory. But perhaps I have to look somewhere else? > > OR: > > sndlib, cm > > From bil at ccrma.Stanford.EDU Thu Jul 16 10:44:43 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 16 Jul 2009 10:44:43 -0700 Subject: [CM] installing juce In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> Message-ID: <20090716174039.M50468@ccrma.Stanford.EDU> > Here http://ccrma.stanford.edu/software/snd/snd/sndclm.html it is > said that one has to start "Snd". But Snd I don't see in the whole > sndlib directory oh come on... You're looking at the Snd documentation! What do you expect it to say? sndlib has a CLM implementation; it can be incorporated into other programs, like common music. If it is, then you can call it there in the same way you would in Snd. From eichhoff at statistik.uni-dortmund.de Thu Jul 16 11:26:42 2009 From: eichhoff at statistik.uni-dortmund.de (eichhoff at statistik.uni-dortmund.de) Date: Thu, 16 Jul 2009 20:26:42 +0200 (CEST) Subject: [CM] installing juce In-Reply-To: <20090716174039.M50468@ccrma.Stanford.EDU> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> Message-ID: <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> No that's ok. But I would add it as point 5. where to find the executables. Ok, for people who always work with these files it's clear that one find them in C:\Software\cm\bin, but if one is new to it, then it's not so clear. But anyway, the installation was a success. Thank you very much! >> Here http://ccrma.stanford.edu/software/snd/snd/sndclm.html it is >> said that one has to start "Snd". But Snd I don't see in the whole >> sndlib directory > > oh come on... You're looking at the Snd documentation! What do you expect > it to say? sndlib has a CLM implementation; it can be incorporated into > other programs, like common music. If it is, then you can call it there > in the same way you would in Snd. > > From taube at uiuc.edu Thu Jul 16 12:09:37 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 16 Jul 2009 14:09:37 -0500 Subject: [CM] installing juce In-Reply-To: <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> Message-ID: On Jul 16, 2009, at 1:26 PM, eichhoff at statistik.uni-dortmund.de wrote: > No that's ok. But I would add it as point 5. where to find the > executables. Ok, for people who always work with these files it's > clear > that one find them in C:\Software\cm\bin, but if one is new to it, > then > it's not so clear. everything -- including what apps are built, where they are found and how to build them -- is described in cm/readme.text ;) From taube at uiuc.edu Thu Jul 16 13:27:38 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 16 Jul 2009 15:27:38 -0500 Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> Message-ID: ;floor argument 93.649190420188-93.649190420188i is a complex, but should be a real, line 6 wrong-type-arg ok, this works on osx so maybe a number issue for windows. ill wait to see if bil has any ideas. btw there is an implementaton of loop which is much easier than do: (with-sound (:play #t) (loop for i from 0 to 7 do (p (* i .5) :duration .5 :keyNum (+ 24 (* 12 i)) :strike-velocity .5 :amp .4 :DryPedalResonanceFactor .25))) From eichhoff at statistik.tu-dortmund.de Fri Jul 17 02:47:26 2009 From: eichhoff at statistik.tu-dortmund.de (eichhoff) Date: Fri, 17 Jul 2009 11:47:26 +0200 Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> Message-ID: <4A6048AE.10606@statistik.tu-dortmund.de> So, something interesting to report: I installed cm, sndlib etc. on Linux (recent Ubuntu version) to test whether "my" piano.scm is working there and because the development for windows is slowing down (I have read the README.txt in sndlib, imagine that ;-)) This is not working: "paste" doesn't work in Grace. Copy works, but if I like to insert the text via Ctrl + v or "Edit -> paste" there happens nothing. Thank you very much! I am happy that the piano works now and that I can consider the parameters in detail. Heinrich Taube schrieb: > ;floor argument 93.649190420188-93.649190420188i is a complex, but > should > be a real, line 6 > wrong-type-arg > > ok, this works on osx so maybe a number issue for windows. ill wait > to see if bil has any ideas. > btw there is an implementaton of loop which is much easier than do: > > (with-sound (:play #t) > (loop for i from 0 to 7 > do (p (* i .5) :duration .5 > :keyNum (+ 24 (* 12 i)) > :strike-velocity .5 > :amp .4 > :DryPedalResonanceFactor .25))) > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From eichhoff at statistik.tu-dortmund.de Fri Jul 17 02:55:28 2009 From: eichhoff at statistik.tu-dortmund.de (eichhoff) Date: Fri, 17 Jul 2009 11:55:28 +0200 Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> Message-ID: <4A604A90.3010808@statistik.tu-dortmund.de> Ah, now it seems to working with "paste". Great... Heinrich Taube schrieb: > ;floor argument 93.649190420188-93.649190420188i is a complex, but > should > be a real, line 6 > wrong-type-arg > > ok, this works on osx so maybe a number issue for windows. ill wait > to see if bil has any ideas. > btw there is an implementaton of loop which is much easier than do: > > (with-sound (:play #t) > (loop for i from 0 to 7 > do (p (* i .5) :duration .5 > :keyNum (+ 24 (* 12 i)) > :strike-velocity .5 > :amp .4 > :DryPedalResonanceFactor .25))) > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From eichhoff at statistik.tu-dortmund.de Fri Jul 17 03:10:55 2009 From: eichhoff at statistik.tu-dortmund.de (eichhoff) Date: Fri, 17 Jul 2009 12:10:55 +0200 Subject: [CM] stereo-flute.clm In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> Message-ID: <4A604E2F.6030407@statistik.tu-dortmund.de> One remark: In the example of stereo-flute.clm one bracket ")" is missing at the end. From bil at ccrma.Stanford.EDU Sat Jul 18 07:14:39 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 18 Jul 2009 07:14:39 -0700 Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> Message-ID: <20090718140807.M21102@ccrma.Stanford.EDU> > floor argument 93.649190420188-93.649190420188i is a complex Thanks for the bug report! With Rick's help, I got the windows cm running in wine, and I think this bug is due to the lack of complex number support in s7 + Visual C++ (we might be able to get around that) coupled with a slightly lackidasical expt implementation (I assumed cpow was available). Anyway, I think this problem is fixed now, and that even in the no-complex-support case, anything in CLM should be ok (I checked all the other math ops). From eichhoff at statistik.uni-dortmund.de Sun Jul 19 03:20:19 2009 From: eichhoff at statistik.uni-dortmund.de (eichhoff at statistik.uni-dortmund.de) Date: Sun, 19 Jul 2009 12:20:19 +0200 (CEST) Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: <20090718140807.M21102@ccrma.Stanford.EDU> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> Message-ID: Yes, now the program works fine in windows without this floor argument error. Now I loaded piano.scm and then typed one example from this site: http://s260134055.onlinehome.us/modeling/ccrma.stanford.edu/CCRMA/Courses/220a:1998/Lectures/9/9.html This worked fine: (with-sound () (loop for i from 0 to 7 do (p (* i .5) :duration .5 :keyNum (+ 24 (* 12 i)) :strike-velocity .5 :amp .4 :DryPedalResonanceFactor .25))) But when I used some stiffness-factors or dampers then the program grace crashed. As attachment I sent you the error message windows saved in the documents/temp directory. Perhaps you understand why. Here is the program code that caused the error (also from the site mentioned above): (with-sound () (loop for i from 0 to 7 do (p (* i .5) :duration .5 :keyNum (+ 24 (* 12 i)) :strike-velocity .5 :amp .4 :DryPedalResonanceFactor .25 :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96 100 108 300) :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3 84 1.2 96 1.0 108 1.0)))) Best regards Markus > > floor argument 93.649190420188-93.649190420188i is a complex > > Thanks for the bug report! With Rick's help, I got the windows cm > running in wine, and I think this bug is due to the lack of complex > number support in s7 + Visual C++ (we might be able to get around > that) coupled with a slightly lackidasical expt implementation > (I assumed cpow was available). Anyway, I think this problem is > fixed now, and that even in the no-complex-support case, > anything in CLM should be ok (I checked all the other math ops). > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: error_message.txt URL: From eichhoff at statistik.uni-dortmund.de Sun Jul 19 03:25:48 2009 From: eichhoff at statistik.uni-dortmund.de (eichhoff at statistik.uni-dortmund.de) Date: Sun, 19 Jul 2009 12:25:48 +0200 (CEST) Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> Message-ID: I forgot to say: I used grace in windows XP environment (recent Service Pack etc., everything with newest versions). Might be possible that the error doesn't occur in Linux. > Yes, now the program works fine in windows without this floor argument > error. > > Now I loaded piano.scm and then typed one example from this site: > http://s260134055.onlinehome.us/modeling/ccrma.stanford.edu/CCRMA/Courses/220a:1998/Lectures/9/9.html > > This worked fine: > > (with-sound () > (loop for i from 0 to 7 do > (p > (* i .5) > :duration .5 > :keyNum (+ 24 (* 12 i)) > :strike-velocity .5 > :amp .4 > :DryPedalResonanceFactor .25))) > > But when I used some stiffness-factors or dampers then the program grace > crashed. As attachment I sent you the error message windows saved in the > documents/temp directory. Perhaps you understand why. > Here is the program code that caused the error (also from the site > mentioned above): > > (with-sound () > (loop for i from 0 to 7 do > (p > (* i .5) > :duration .5 > :keyNum (+ 24 (* 12 i)) > :strike-velocity .5 > :amp .4 > :DryPedalResonanceFactor .25 > :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96 > 100 108 300) > :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3 > 84 1.2 96 1.0 108 1.0)))) > > Best regards > Markus > >> >> floor argument 93.649190420188-93.649190420188i is a complex >> >> Thanks for the bug report! With Rick's help, I got the windows cm >> running in wine, and I think this bug is due to the lack of complex >> number support in s7 + Visual C++ (we might be able to get around >> that) coupled with a slightly lackidasical expt implementation >> (I assumed cpow was available). Anyway, I think this problem is >> fixed now, and that even in the no-complex-support case, >> anything in CLM should be ok (I checked all the other math ops). >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> > From bil at ccrma.Stanford.EDU Sun Jul 19 06:36:43 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 19 Jul 2009 06:36:43 -0700 Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> Message-ID: <20090719133430.M2886@ccrma.Stanford.EDU> That piano example seems to work both in linux and wine. Can you get a stack trace, or some idea of where it is when it crashes? From taube at uiuc.edu Sun Jul 19 06:41:19 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 19 Jul 2009 08:41:19 -0500 Subject: [CM] audio plots In-Reply-To: References: <96B9B66A-1CE9-47AA-BC2E-AA60B6B10585@uiuc.edu> <544B358E-B472-407A-916A-176D973E4351@web.de> <2F059C50-AE63-4DDD-963D-E0551DE9F63C@uiuc.edu> <2EEE1943-F59B-42ED-945C-DD761CB4C79E@web.de> <932FD0D6-A99B-46AC-A7D2-DC96AE1C5172@uiuc.edu> <7B807061-E21F-4A5D-BC51-4AFC2E7936DB@uiuc.edu> <066D84CB-E334-4B68-8099-4C8DE0691292@web.de> <237C6E63-3DF3-4128-9E23-6D17FF505257@uiuc.edu> <57CF92B5-D002-4018-AD8F-A1FEE87E4E16@web.de> Message-ID: svn additions: Console's File menu now has a few more plotting commands: "Open Midi Plot..." translates a midifile into a plot with each track as its own "point layer" in Piano roll point style. The Play Plot... dialog now has tools to let you write a midi file from any plot in addtion to playing it out the port. So you can load a midilfe, edit it graphically, and then export that data to lisp/xml or save it again, a poor man's sequencer! ive also bumped the cm version to 3.3.0 in anticipation of the upcoming release (hopefully by the end of the month at the latest) From taube at uiuc.edu Sun Jul 19 08:06:33 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 19 Jul 2009 10:06:33 -0500 Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: <20090719133430.M2886@ccrma.Stanford.EDU> References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> <20090719133430.M2886@ccrma.Stanford.EDU> Message-ID: <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> at least on OSX in that loop when the keyNum hits 108 then it never completes. pianos only have 88 keys so maybe this tickles some out of bound issue? even a single note with 108 never finishes and my disk starts racing: (with-sound () (p 0 :duration .5 :keyNum 108 :strike-velocity .5 :amp .4 :DryPedalResonanceFactor .25 :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96 100 108 300) :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3 84 1.2 96 1.0 108 1.0) )) On Jul 19, 2009, at 8:36 AM, Bill Schottstaedt wrote: > That piano example seems to work both in linux and wine. > Can you get a stack trace, or some idea of where it is when it > crashes? > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From eichhoff at statistik.uni-dortmund.de Sun Jul 19 08:53:21 2009 From: eichhoff at statistik.uni-dortmund.de (eichhoff at statistik.uni-dortmund.de) Date: Sun, 19 Jul 2009 17:53:21 +0200 (CEST) Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> References: <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> Message-ID: with :keyNum 80 I tested it, and it worked, but with :keyNum 108, it crashed, too: (with-sound () (p 0 :duration 2 :keyNum 80 :strike-velocity .5 :amp .4 :DryPedalResonanceFactor .25 :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96 100 108 300) :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3 84 1.2 96 1.0 108 1.0) )) But with "loop for i from 0 to 7 do (p (* i .5)" inside, it crashes. I don'T know how to trace it. Perhaps I have to compile the cm/grace/juce... in debug modus and have to set some other special options...? The overdamped example on the site http://s260134055.onlinehome.us/modeling/ccrma.stanford.edu/CCRMA/Courses/220a:1998/Lectures/9/9.html works again: (with-sound (:output "/zap/thdamped.snd") (loop for i from 0 to 7 do (p (* i .5) :duration .5 :keyNum (+ 24 (* 12 i)) :strike-velocity .5 ;0 to 1, 0 is softest played note, 1 is loud note :amp .4 ;overall volume level :DryPedalResonanceFactor .25 ;0 no open string resonance ;1.0 is about full resonance of dampers raised ;can be greater than 1.0 ;;modifications to do damped sounds :singleStringDecayRate-table '(21 -5 24.000 -5.000 36.000 -5.4 41.953 -5.867 48.173 -7.113 53.818 -8.016 59.693 -8.875 66.605 -9.434 73.056 -10.035 78.931 -10.293 84.000 -12.185) :singleStringPole-table '(21 .8 24 0.7 36.000 .6 48 .5 60 .3 84 .1 96 .03 108 .03) :stiffnessCoefficient-table '(21.000 -0.920 24.000 -0.900 36.000 -0.700 48.000 -0.250 60.000 -0.100 75.179 -0.040 82.986 -0.040 92.240 .3 96.000 .5 99.000 .7 108.000 .7) ;these are the actual allpass coefficients modified here ;to allow dampedness at hig freqs ))) > at least on OSX in that loop when the keyNum hits 108 then it never > completes. pianos only have 88 keys so maybe this tickles some out of > bound issue? > even a single note with 108 never finishes and my disk starts racing: > > (with-sound () > (p > 0 > :duration .5 > :keyNum 108 > :strike-velocity .5 > :amp .4 > :DryPedalResonanceFactor .25 > :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96 > 100 108 300) > :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3 > 84 1.2 96 1.0 108 1.0) > )) > > > > On Jul 19, 2009, at 8:36 AM, Bill Schottstaedt wrote: > >> That piano example seems to work both in linux and wine. >> Can you get a stack trace, or some idea of where it is when it >> crashes? >> >> _______________________________________________ >> 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 eichhoff at statistik.uni-dortmund.de Sun Jul 19 09:03:40 2009 From: eichhoff at statistik.uni-dortmund.de (eichhoff at statistik.uni-dortmund.de) Date: Sun, 19 Jul 2009 18:03:40 +0200 (CEST) Subject: [CM] piano.scm In-Reply-To: <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> References: <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> Message-ID: <9071d63ab0d9482e2181a6536173a301.squirrel@www.statistik.tu-dortmund.de> By the way, who has written the piano.scm file or piano.ins? "Scott Van Duyne" model is written there. He has written the program, too? I ask myself how to get to the "table" numbers and what each number means: :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96 100 108 300) :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3 84 1.2 96 1.0 108 1.0) Is it possible (as far as you know) to get such factors from real instruments or are they more artificial and a bit far away from "real physics"? I have a classical guitar model written in MATLAB where I put in the string length, density, Youngs Modulus etc. and the output is a tone in .wav. There I have a direct connection from physical changes (plucking place etc.) to physics. But if I look at the piano model I see such tables and factors... but the commuted piano model on which it is based is called a "physical model". When is a model called "physical"? If it's based on the wave equation somewhere? I like to create tones (guitar: plucked at random places (e.g. normal distributed), piano (vary some parameters) etc.) to get many tones with which I can do my classification and later to consider the instrument recognition from short pieces of music. That's why I am looking for physical models, because there are parameters that can be varied. There are good physical models (-> pianoteq), but the question is: how god has a model to be that it's good enough for classification later... Perhaps I will try it first with this model and if it's too bad for it, I have to go on searching... or to use pianoteq. Or do you know other piano-models (saxophone also sounds a bit strange in comparison to real saxophones)? From eichhoff at statistik.tu-dortmund.de Mon Jul 20 02:34:26 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Mon, 20 Jul 2009 11:34:26 +0200 Subject: [CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should In-Reply-To: References: <4A5DF338.4000903@statistik.tu-dortmund.de> <5bc19db096559be644114720a0bb5263.squirrel@www.statistik.tu-dortmund.de> <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> Message-ID: <4A643A22.8070805@statistik.tu-dortmund.de> An HTML attachment was scrubbed... URL: From eichhoff at statistik.tu-dortmund.de Mon Jul 20 03:16:15 2009 From: eichhoff at statistik.tu-dortmund.de (eichhoff) Date: Mon, 20 Jul 2009 12:16:15 +0200 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <20090719164433.M95627@ccrma.Stanford.EDU> References: <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> Message-ID: <4A6443EF.4090108@statistik.tu-dortmund.de> Strange, strange... where is the problem in piano.scm? I installed all packages (cm, sndlib, juce (recent trunk)) on linux again this morning. I started grace and the program crashed after I executed (the program completely disappeared from the Desktop, no error message). So that's not just a windows problem... Here is the crash-code again: (with-sound () (loop for i from 0 to 7 do (p (* i .5) :duration .5 :keyNum (+ 24 (* 12 i)) :strike-velocity .5 :amp .4 :DryPedalResonanceFactor .25 :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96 100 108 300) :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3 84 1.2 96 1.0 108 1.0)))) Bill Schottstaedt schrieb: >> at least on OSX in that loop when the keyNum hits 108 then it never >> completes. > > It does for me. I still don't see this problem. Maybe I have to be in > running in Grace? (I'm using Snd on OSX, cm on Linux and Wine). > > From taube at uiuc.edu Mon Jul 20 05:18:37 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 20 Jul 2009 07:18:37 -0500 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <4A6443EF.4090108@statistik.tu-dortmund.de> References: <933749A0-0773-4C5C-B3B8-90E4278EBD85@uiuc.edu> <4A5EDCE1.9070503@statistik.tu-dortmund.de> <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu-dortmund.de> Message-ID: <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> its impossible to resolve problems if you change environments. please do not use svn juce or an external lib, use the stable amalgamated juce sources i ship. cm/readme.text has exact instruction for how to build on linix and macos i will have more time tomorrow to look for conflicting symbols, and to make sure cm has the latest piano.scm On Jul 20, 2009, at 5:16 AM, eichhoff wrote: > Strange, strange... where is the problem in piano.scm? I installed all > packages (cm, sndlib, juce (recent trunk)) on linux again this > morning. > I started grace and the program crashed after I executed (the program > completely disappeared from the Desktop, no error message). So that's > not just a windows problem... Here is the crash-code again: > From bil at ccrma.Stanford.EDU Mon Jul 20 11:16:01 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 20 Jul 2009 11:16:01 -0700 Subject: [CM] funny scheme code Message-ID: <20090720181252.M92052@ccrma.Stanford.EDU> For some reason, this code strikes me as funny: (let ((j (lambda () 0)) (k 0)) (do ((i (j) (j)) (j (lambda () 1) (lambda () (+ i 1)))) ((= i 3) k) (set! k (+ k i)))) would you believe 6? Maybe I need a vacation. From k.s.matheussen at notam02.no Mon Jul 20 12:02:38 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Mon, 20 Jul 2009 21:02:38 +0200 (CEST) Subject: [CM] funny scheme code In-Reply-To: <20090720181252.M92052@ccrma.Stanford.EDU> References: <20090720181252.M92052@ccrma.Stanford.EDU> Message-ID: On Mon, 20 Jul 2009, Bill Schottstaedt wrote: > For some reason, this code strikes me as funny: > > (let ((j (lambda () 0)) > (k 0)) > (do ((i (j) (j)) > (j (lambda () 1) (lambda () (+ i 1)))) > ((= i 3) k) > (set! k (+ k i)))) > > would you believe 6? Maybe I need a vacation. > A slight modifications makes Guile (the one included with fedora 11) crash: [kjetil at ttleon bin]$ guile guile> (let ((j (lambda () 0)) ... (k 0)) ... (do ((i (j) ... (j)) ... (l (lambda () ... 1) ... (lambda () ... (+ i 1)))) ... ((= i 3) k) ... (set! k (+ k i)))) Segmentation fault [kjetil at ttleon bin]$ [kjetil at ttleon bin]$ [kjetil at ttleon bin]$ guile --version Guile 1.8.6 Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation Guile may be distributed under the terms of the GNU General Public Licence; certain other uses are permitted as well. For details, see the file `COPYING', which is included in the Guile distribution. There is no warranty, to the extent permitted by law. [kjetil at ttleon bin]$ From bil at ccrma.Stanford.EDU Mon Jul 20 12:25:52 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 20 Jul 2009 12:25:52 -0700 Subject: [CM] funny scheme code In-Reply-To: References: <20090720181252.M92052@ccrma.Stanford.EDU> Message-ID: <20090720192540.M81813@ccrma.Stanford.EDU> > Segmentation fault Is that how a program laughs? From eichhoff at statistik.tu-dortmund.de Tue Jul 21 02:16:03 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Tue, 21 Jul 2009 11:16:03 +0200 Subject: [CM] funny scheme code In-Reply-To: <20090720192540.M81813@ccrma.Stanford.EDU> References: <20090720181252.M92052@ccrma.Stanford.EDU> <20090720192540.M81813@ccrma.Stanford.EDU> Message-ID: <4A658753.8030704@statistik.tu-dortmund.de> Did you change something in cm? I can't compile it anymore with windows. sndlib-compilation was o.k. then I typed premake --target etc. etc., was also o.k. but when I opened cm.cls (I am not sure, but you know what I mean) then only juce could be compiled without errors. The building files were to long to paste them here. I will try it now to compile it with Linux. Bill Schottstaedt schrieb: >> Segmentation fault >> > > Is that how a program laughs? > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -- Dipl.-Math. Markus Eichhoff Chair of Computational Statistics Faculty of Statistics Technical University of Dortmund 44221 Dortmund Room 826 Phone: +49 (0)231 755 - 5903 Telefax: +49 (0)231 755 - 4387 E-mail: eichhoff at statistik.tu-dortmund.de Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From eichhoff at statistik.tu-dortmund.de Tue Jul 21 02:53:13 2009 From: eichhoff at statistik.tu-dortmund.de (eichhoff) Date: Tue, 21 Jul 2009 11:53:13 +0200 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> References: <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> Message-ID: <4A659009.5060005@statistik.tu-dortmund.de> In Windows AND in Linux it's now not possible to compile the programs. I downloaded now the trunk version of cm, the stable juce-zip-Version, sndlib from CCRMA and premake 3.7 and made everything regarding to the readme-file in /cm. In Linux the last "make" doesn't work (after premake), two misstakes are shown. As attachment I put the code that I received in linux. Perhaps you see where the problem is. Best regards Markus Heinrich Taube schrieb: > its impossible to resolve problems if you change environments. please do > not use svn juce or an external lib, use the stable amalgamated juce > sources i ship. cm/readme.text has exact instruction for how to build on > linix and macos > > i will have more time tomorrow to look for conflicting symbols, and to > make sure cm has the latest piano.scm > > On Jul 20, 2009, at 5:16 AM, eichhoff wrote: > >> Strange, strange... where is the problem in piano.scm? I installed all >> packages (cm, sndlib, juce (recent trunk)) on linux again this morning. >> I started grace and the program crashed after I executed (the program >> completely disappeared from the Desktop, no error message). So that's >> not just a windows problem... Here is the crash-code again: >> > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Output.txt URL: From taube at uiuc.edu Tue Jul 21 04:30:31 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 21 Jul 2009 06:30:31 -0500 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <4A659009.5060005@statistik.tu-dortmund.de> References: <4AF5AFE8-8CE6-40D8-BFB5-4EF70845AA87@uiuc.edu> <4A5F2081.4050300@statistik.tu-dortmund.de> <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu-dortmund.de> Message-ID: due to the (ongoing) Fomus work, svn tip may be a bit unstable over the next week while we attempt to finish and test if you do an 'svn update' (rev 1734) then everything should compile on windows. apologies! On Jul 21, 2009, at 4:53 AM, eichhoff wrote: > In Windows AND in Linux it's now not possible to compile the > programs. I downloaded now the trunk version of cm, the stable juce- > zip-Version, sndlib from CCRMA and premake 3.7 and made everything > regarding to the readme-file in /cm. > In Linux the last "make" doesn't work (after premake), two misstakes > are shown. As attachment I put the code that I received in linux. > Perhaps you see where the problem is. > > Best regards > Markus > > > Heinrich Taube schrieb: >> its impossible to resolve problems if you change environments. >> please do not use svn juce or an external lib, use the stable >> amalgamated juce sources i ship. cm/readme.text has exact >> instruction for how to build on linix and macos >> i will have more time tomorrow to look for conflicting symbols, and >> to make sure cm has the latest piano.scm >> On Jul 20, 2009, at 5:16 AM, eichhoff wrote: >>> Strange, strange... where is the problem in piano.scm? I installed >>> all >>> packages (cm, sndlib, juce (recent trunk)) on linux again this >>> morning. >>> I started grace and the program crashed after I executed (the >>> program >>> completely disappeared from the Desktop, no error message). So >>> that's >>> not just a windows problem... Here is the crash-code again: >>> > root at eichhoff-desktop:~/Software# cd cm > root at eichhoff-desktop:~/Software/cm# premake -verbose --target gnu -- > sndlib ../sndlib > Generating GNU makefiles: > ...juce > ...cm > ...grace > ...gracecl > root at eichhoff-desktop:~/Software/cm# premake --verbose --target gnu > --sndlib ../sndlib > Generating GNU makefiles: > ...juce > ...cm > ...grace > ...gracecl > root at eichhoff-desktop:~/Software/cm# make > ==== Building juce ==== > mkdir -p obj/juce/Release > g++ -MMD -D "LINUX" -I "src" -I "/usr/include/freetype2" -O2 -o > "obj/juce/Release/juce_amalgamated.o" -c "src/juce_amalgamated.cpp" > src/juce_amalgamated.cpp: In static member function ?static const > juce::File juce::File::getCurrentWorkingDirectory()?: > src/juce_amalgamated.cpp:243538: Warnung: Der R?ckgabewert von > ?char* getcwd(char*, size_t)?, der mit dem Attribut > warn_unused_result deklariert wurde, wird ignoriert > src/juce_amalgamated.cpp: In member function ?void > juce::NamedPipe::cancelPendingReads()?: > src/juce_amalgamated.cpp:243745: Warnung: Der R?ckgabewert von > ?ssize_t write(int, const void*, size_t)?, der mit dem Attribut > warn_unused_result deklariert wurde, wird ignoriert > src/juce_amalgamated.cpp: In static member function ?static void > juce::Logger::outputDebugString(const juce::String&)?: > src/juce_amalgamated.cpp:244380: Warnung: Format ist kein > Zeichenkettenliteral, und keine Formatargumente > mkdir -p bin > mkdir -p . > mkdir -p ./obj/juce > ar -rcs ./obj/juce/libjuce.a obj/juce/Release/juce_amalgamated.o > ==== Building cm ==== > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Scanner.o" -c "src/Scanner.cpp" > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Syntax.o" -c "src/Syntax.cpp" > src/Syntax.cpp: In member function ?virtual void > LispSyntax::eval(juce::String, bool, bool)?: > src/Syntax.cpp:327: Warnung: veraltete Konvertierung von > Zeichenkettenkonstante in ?char*? > src/Syntax.cpp:333: Warnung: veraltete Konvertierung von > Zeichenkettenkonstante in ?char*? > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/CmSupport.o" -c "src/CmSupport.cpp" > src/CmSupport.cpp: In function ?void cm_shell(char*)?: > src/CmSupport.cpp:69: Warnung: Der R?ckgabewert von ?int > system(const char*)?, der mit dem Attribut warn_unused_result > deklariert wurde, wird ignoriert > src/CmSupport.cpp: In function ?char* cm_pathname_directory(char*)?: > src/CmSupport.cpp:607: Warnung: veraltete Konvertierung von > Zeichenkettenkonstante in ?char*? > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Console.o" -c "src/Console.cpp" > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Scheme.o" -c "src/Scheme.cpp" > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Preferences.o" -c "src/Preferences.cpp" > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/SchemeSources.o" -c "src/SchemeSources.cpp" > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Midi.o" -c "src/Midi.cpp" > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Csound.o" -c "src/Csound.cpp" > src/Csound.cpp: In member function ?void Csound::runApplication()?: > src/Csound.cpp:130: Warnung: veraltete Konvertierung von > Zeichenkettenkonstante in ?char*? > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Main.o" -c "src/Main.cpp" > In file included from src/Main.cpp:16: > src/CommonLisp.h:37: Warnung: ?typedef? wurde in dieser Deklaration > ignoriert > src/Main.cpp: In function ?int main(int, const char**)?: > src/Main.cpp:265: Warnung: veraltete Konvertierung von > Zeichenkettenkonstante in ?char*? > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/SndLib.o" -c "src/SndLib.cpp" > src/SndLib.cpp: In member function ?void > SchemeNode::applyMidiInputHookNode()?: > src/SndLib.cpp:147: Warnung: veraltete Konvertierung von > Zeichenkettenkonstante in ?char*? > src/SndLib.cpp: In member function ?int SndLib::performCommand(int, > int, juce::String)?: > src/SndLib.cpp:193: Warnung: veraltete Konvertierung von > Zeichenkettenkonstante in ?char*? > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/SndLibBridge.o" -c "src/SndLibBridge.cpp" > mkdir -p obj/cm/Release > g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 - > o "obj/cm/Release/Instruments.o" -c "src/Instruments.cpp" > mkdir -p bin > mkdir -p . > mkdir -p bin > g++ -o bin/cm obj/cm/Release/Scanner.o obj/cm/Release/Syntax.o obj/ > cm/Release/CmSupport.o obj/cm/Release/Console.o obj/cm/Release/ > Scheme.o obj/cm/Release/Preferences.o obj/cm/Release/SchemeSources.o > obj/cm/Release/Midi.o obj/cm/Release/Csound.o obj/cm/Release/Main.o > obj/cm/Release/SndLib.o obj/cm/Release/SndLibBridge.o obj/cm/Release/ > Instruments.o -Lbin -L. -s -L/usr/lib -lm -L/usr/lib -lgsl - > lgslcblas -lm -lasound -lm -L"obj/juce" -L"../sndlib/" -L"/usr/X11R6/ > lib/" -L./obj/juce -ljuce -lsndlib -lpthread -lrt -lX11 -lGL -lGLU - > lXinerama -lasound -lfreetype > obj/cm/Release/SndLibBridge.o: In function > `ffi_fms_isfiletype(s7_scheme*, s7_cell*)': > SndLibBridge.cpp:(.text+0x7e37): undefined reference to > `fms_isfiletype(char const*)' > collect2: ld gab 1 als Ende-Status zur?ck > make[1]: *** [bin/cm] Fehler 1 > make: *** [cm] Fehler 2 > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From eichhoff at statistik.tu-dortmund.de Tue Jul 21 04:34:11 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Tue, 21 Jul 2009 13:34:11 +0200 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: References: <4A5F3234.2080301@statistik.tu-dortmund.de> <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu -dortmund.de> Message-ID: <4A65A7B3.7090509@statistik.tu-dortmund.de> No problem! :-) I am only happy if my computer is not crazy. So it's ok if you work there. But I even deleted the old cm folder and downloaded again via svn co ... but then compiling didn't work (in windows + linux). Ok, otherwise I will wait some time (one week or so). It's no problem. Heinrich Taube schrieb: > due to the (ongoing) Fomus work, svn tip may be a bit unstable over > the next week while we attempt to finish and test > if you do an 'svn update' (rev 1734) then everything should compile on > windows. > apologies! > > On Jul 21, 2009, at 4:53 AM, eichhoff wrote: > >> In Windows AND in Linux it's now not possible to compile the >> programs. I downloaded now the trunk version of cm, the stable >> juce-zip-Version, sndlib from CCRMA and premake 3.7 and made >> everything regarding to the readme-file in /cm. >> In Linux the last "make" doesn't work (after premake), two misstakes >> are shown. As attachment I put the code that I received in linux. >> Perhaps you see where the problem is. >> >> Best regards >> Markus >> >> >> Heinrich Taube schrieb: >>> its impossible to resolve problems if you change environments. >>> please do not use svn juce or an external lib, use the stable >>> amalgamated juce sources i ship. cm/readme.text has exact >>> instruction for how to build on linix and macos >>> i will have more time tomorrow to look for conflicting symbols, and >>> to make sure cm has the latest piano.scm >>> On Jul 20, 2009, at 5:16 AM, eichhoff wrote: >>>> Strange, strange... where is the problem in piano.scm? I installed all >>>> packages (cm, sndlib, juce (recent trunk)) on linux again this >>>> morning. >>>> I started grace and the program crashed after I executed (the program >>>> completely disappeared from the Desktop, no error message). So that's >>>> not just a windows problem... Here is the crash-code again: >>>> >> root at eichhoff-desktop:~/Software# cd cm >> root at eichhoff-desktop:~/Software/cm# premake -verbose --target gnu >> --sndlib ../sndlib >> Generating GNU makefiles: >> ...juce >> ...cm >> ...grace >> ...gracecl >> root at eichhoff-desktop:~/Software/cm# premake --verbose --target gnu >> --sndlib ../sndlib >> Generating GNU makefiles: >> ...juce >> ...cm >> ...grace >> ...gracecl >> root at eichhoff-desktop:~/Software/cm# make >> ==== Building juce ==== >> mkdir -p obj/juce/Release >> g++ -MMD -D "LINUX" -I "src" -I "/usr/include/freetype2" -O2 -o >> "obj/juce/Release/juce_amalgamated.o" -c "src/juce_amalgamated.cpp" >> src/juce_amalgamated.cpp: In static member function ?static const >> juce::File juce::File::getCurrentWorkingDirectory()?: >> src/juce_amalgamated.cpp:243538: Warnung: Der R?ckgabewert von ?char* >> getcwd(char*, size_t)?, der mit dem Attribut warn_unused_result >> deklariert wurde, wird ignoriert >> src/juce_amalgamated.cpp: In member function ?void >> juce::NamedPipe::cancelPendingReads()?: >> src/juce_amalgamated.cpp:243745: Warnung: Der R?ckgabewert von >> ?ssize_t write(int, const void*, size_t)?, der mit dem Attribut >> warn_unused_result deklariert wurde, wird ignoriert >> src/juce_amalgamated.cpp: In static member function ?static void >> juce::Logger::outputDebugString(const juce::String&)?: >> src/juce_amalgamated.cpp:244380: Warnung: Format ist kein >> Zeichenkettenliteral, und keine Formatargumente >> mkdir -p bin >> mkdir -p . >> mkdir -p ./obj/juce >> ar -rcs ./obj/juce/libjuce.a obj/juce/Release/juce_amalgamated.o >> ==== Building cm ==== >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Scanner.o" -c "src/Scanner.cpp" >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Syntax.o" -c "src/Syntax.cpp" >> src/Syntax.cpp: In member function ?virtual void >> LispSyntax::eval(juce::String, bool, bool)?: >> src/Syntax.cpp:327: Warnung: veraltete Konvertierung von >> Zeichenkettenkonstante in ?char*? >> src/Syntax.cpp:333: Warnung: veraltete Konvertierung von >> Zeichenkettenkonstante in ?char*? >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/CmSupport.o" -c "src/CmSupport.cpp" >> src/CmSupport.cpp: In function ?void cm_shell(char*)?: >> src/CmSupport.cpp:69: Warnung: Der R?ckgabewert von ?int system(const >> char*)?, der mit dem Attribut warn_unused_result deklariert wurde, >> wird ignoriert >> src/CmSupport.cpp: In function ?char* cm_pathname_directory(char*)?: >> src/CmSupport.cpp:607: Warnung: veraltete Konvertierung von >> Zeichenkettenkonstante in ?char*? >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Console.o" -c "src/Console.cpp" >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Scheme.o" -c "src/Scheme.cpp" >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Preferences.o" -c "src/Preferences.cpp" >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/SchemeSources.o" -c "src/SchemeSources.cpp" >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Midi.o" -c "src/Midi.cpp" >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Csound.o" -c "src/Csound.cpp" >> src/Csound.cpp: In member function ?void Csound::runApplication()?: >> src/Csound.cpp:130: Warnung: veraltete Konvertierung von >> Zeichenkettenkonstante in ?char*? >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Main.o" -c "src/Main.cpp" >> In file included from src/Main.cpp:16: >> src/CommonLisp.h:37: Warnung: ?typedef? wurde in dieser Deklaration >> ignoriert >> src/Main.cpp: In function ?int main(int, const char**)?: >> src/Main.cpp:265: Warnung: veraltete Konvertierung von >> Zeichenkettenkonstante in ?char*? >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/SndLib.o" -c "src/SndLib.cpp" >> src/SndLib.cpp: In member function ?void >> SchemeNode::applyMidiInputHookNode()?: >> src/SndLib.cpp:147: Warnung: veraltete Konvertierung von >> Zeichenkettenkonstante in ?char*? >> src/SndLib.cpp: In member function ?int SndLib::performCommand(int, >> int, juce::String)?: >> src/SndLib.cpp:193: Warnung: veraltete Konvertierung von >> Zeichenkettenkonstante in ?char*? >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/SndLibBridge.o" -c "src/SndLibBridge.cpp" >> mkdir -p obj/cm/Release >> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o >> "obj/cm/Release/Instruments.o" -c "src/Instruments.cpp" >> mkdir -p bin >> mkdir -p . >> mkdir -p bin >> g++ -o bin/cm obj/cm/Release/Scanner.o obj/cm/Release/Syntax.o >> obj/cm/Release/CmSupport.o obj/cm/Release/Console.o >> obj/cm/Release/Scheme.o obj/cm/Release/Preferences.o >> obj/cm/Release/SchemeSources.o obj/cm/Release/Midi.o >> obj/cm/Release/Csound.o obj/cm/Release/Main.o obj/cm/Release/SndLib.o >> obj/cm/Release/SndLibBridge.o obj/cm/Release/Instruments.o -Lbin -L. >> -s -L/usr/lib -lm -L/usr/lib -lgsl -lgslcblas -lm -lasound -lm >> -L"obj/juce" -L"../sndlib/" -L"/usr/X11R6/lib/" -L./obj/juce -ljuce >> -lsndlib -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound -lfreetype >> obj/cm/Release/SndLibBridge.o: In function >> `ffi_fms_isfiletype(s7_scheme*, s7_cell*)': >> SndLibBridge.cpp:(.text+0x7e37): undefined reference to >> `fms_isfiletype(char const*)' >> collect2: ld gab 1 als Ende-Status zur?ck >> make[1]: *** [bin/cm] Fehler 1 >> make: *** [cm] Fehler 2 >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -- Dipl.-Math. Markus Eichhoff Chair of Computational Statistics Faculty of Statistics Technical University of Dortmund 44221 Dortmund Room 826 Phone: +49 (0)231 755 - 5903 Telefax: +49 (0)231 755 - 4387 E-mail: eichhoff at statistik.tu-dortmund.de Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From taube at uiuc.edu Thu Jul 23 04:12:45 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 23 Jul 2009 06:12:45 -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: <5786D08B-EA63-42E4-BA34-32EDDCAF03B6@uiuc.edu> > 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 ive ported missing function 'drunk' and 'copier ' pattern to cm3 and updated documentation. note that the name 'copier' has been renamed 'repeater' to better reflect what the pattern does. use 'make- repeater' to create a repeater pattern. also fixed the documentation of rotation, which had incorrect ordering of rotation arguments. From bil at ccrma.Stanford.EDU Thu Jul 23 07:23:03 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 23 Jul 2009 07:23:03 -0700 Subject: [CM] __func__ in lisp? Message-ID: <20090723142021.M10546@ccrma.Stanford.EDU> I've googled around and looked through clTl2 but I can't find a way in Lisp (scheme) to get the current function name (from an embedded macro, for example). Is there some (non-)standard way to do this? From k.s.matheussen at notam02.no Thu Jul 23 07:49:36 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 23 Jul 2009 16:49:36 +0200 (CEST) Subject: [CM] __func__ in lisp? In-Reply-To: <20090723142021.M10546@ccrma.Stanford.EDU> References: <20090723142021.M10546@ccrma.Stanford.EDU> Message-ID: On Thu, 23 Jul 2009, Bill Schottstaedt wrote: > I've googled around and looked through clTl2 but I can't find a way > in Lisp (scheme) to get the current function name (from an embedded > macro, for example). Is there some (non-)standard way to do this? > At least in Guile, you can redefine 'define'. So using a global variable to store the last called function should work. Untested: (define last-called-function #f) (define old-define define) (define-macro (define def . code) (if (pair? def) (let ((name (car def))) (set! code `((lambda ,(cdr def) (set! last-called-function ',name) (let () , at code)))) (set! def name))) `(old-define ,def (let (); (set! last-called-function ',name) (let () , at code)))) From k.s.matheussen at notam02.no Thu Jul 23 08:40:41 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 23 Jul 2009 17:40:41 +0200 (CEST) Subject: [CM] __func__ in lisp? In-Reply-To: References: <20090723142021.M10546@ccrma.Stanford.EDU> Message-ID: On Thu, 23 Jul 2009, Kjetil S. Matheussen wrote: > > > On Thu, 23 Jul 2009, Bill Schottstaedt wrote: > >> I've googled around and looked through clTl2 but I can't find a way >> in Lisp (scheme) to get the current function name (from an embedded >> macro, for example). Is there some (non-)standard way to do this? >> > > At least in Guile, you can redefine 'define'. > So using a global variable to store the last called > function should work. Untested: > > (define last-called-function #f) > > (define old-define define) > > (define-macro (define def . code) > (if (pair? def) > (let ((name (car def))) > (set! code `((lambda ,(cdr def) > (set! last-called-function ',name) > (let () > , at code)))) > (set! def name))) > `(old-define ,def > (let (); > (set! last-called-function ',name) > (let () > , at code)))) > I'm not sure if I quite understood what you ment though, but here's a better version. (define-macro define (let ((old-define define)) (lambda (def . code) (if (pair? def) (let ((name (car def))) (set! code `((lambda ,(cdr def) , at code))) (set! def name))) `(,old-define ,def (let ((current-function-name ',def)) , at code))))) guile> (define (a) (display current-function-name)(newline)) guile> (a) a guile> From taube at uiuc.edu Thu Jul 23 08:52:37 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 23 Jul 2009 10:52:37 -0500 Subject: [CM] __func__ in lisp? In-Reply-To: <20090723142021.M10546@ccrma.Stanford.EDU> References: <20090723142021.M10546@ccrma.Stanford.EDU> Message-ID: <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> im not sure if this is what you are asking, but i think most cltl's provide a way of getting a function name from a function object (assuming there is one) for example in ccl its: Welcome to Clozure Common Lisp Version 1.1-r7885 (DarwinX8664)! ? (function-name #'*) * but im pretty sure this wont work for macros. From taube at uiuc.edu Thu Jul 23 09:15:38 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 23 Jul 2009 11:15:38 -0500 Subject: [CM] __func__ in lisp? In-Reply-To: <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> References: <20090723142021.M10546@ccrma.Stanford.EDU> <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> Message-ID: http://www.faqs.org/faqs/lisp-faq/part2/section-14.html gives a few old implementation details. the pure cltl method is really gross!: If a vendor-dependent function does not exist, the following (inefficient) code maps over all symbols looking for one whose function-cell matches the function object. (defun function-name (fobject) (do-all-symbols (fsymbol) (when (and (fboundp fsymbol) (eq (symbol-function fsymbol) fobject)) (return fsymbol)))) From bil at ccrma.Stanford.EDU Thu Jul 23 09:16:39 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 23 Jul 2009 09:16:39 -0700 Subject: [CM] __func__ in lisp? In-Reply-To: <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> References: <20090723142021.M10546@ccrma.Stanford.EDU> <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> Message-ID: <20090723160843.M25005@ccrma.Stanford.EDU> > (function-name #'*) but that assumes you have the function object -- Kjetil's code does what I want, but I was thinking "surely some lisp has this -- I'll use their name". (The context is a break macro for s7 which puts a continuation at the current spot, then jumps to the REPL with the current environment intact so you can look at function arguments and local variables, then call the continuation to continue from the break point; but it would be neat if that macro could announce what function it (the break) took place in. There's a brief example at the end of extensions.scm). From bil at ccrma.Stanford.EDU Thu Jul 23 09:19:23 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 23 Jul 2009 09:19:23 -0700 Subject: [CM] __func__ in lisp? In-Reply-To: References: <20090723142021.M10546@ccrma.Stanford.EDU> <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> Message-ID: <20090723161804.M15774@ccrma.Stanford.EDU> that reference takes me back a long ways! excl::arglist!! I'll have to look up function-lambda-expression -- there's always another corner of lisp that I've never heard of. From bil at ccrma.Stanford.EDU Thu Jul 23 11:22:20 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 23 Jul 2009 11:22:20 -0700 Subject: [CM] __func__ in lisp? In-Reply-To: <20090723161804.M15774@ccrma.Stanford.EDU> References: <20090723142021.M10546@ccrma.Stanford.EDU> <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> <20090723161804.M15774@ccrma.Stanford.EDU> Message-ID: <20090723181903.M63680@ccrma.Stanford.EDU> How's this strike you: #__func__, #__arglist__, #__file__, #__line__, all filled in at read time -- I think this thing almost has to be a reader macro to work right. From bil at ccrma.Stanford.EDU Thu Jul 23 12:34:16 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 23 Jul 2009 12:34:16 -0700 Subject: [CM] __func__ in lisp? In-Reply-To: <20090723181903.M63680@ccrma.Stanford.EDU> References: <20090723142021.M10546@ccrma.Stanford.EDU> <5BF57018-ED2A-4B70-AC44-7ED7CB72783D@uiuc.edu> <20090723161804.M15774@ccrma.Stanford.EDU> <20090723181903.M63680@ccrma.Stanford.EDU> Message-ID: <20090723192843.M5556@ccrma.Stanford.EDU> > I think this thing almost has to be a reader macro to work right. for file and line, perhaps, but, as an experiment, I've implemented it as __func__ (a variable, defined only within a named closure; its value is the symbol for the function being defined). (define (hiho arg) (list arg __func__)) (hiho 1) (1 hiho) hmmm, maybe it should be defined at top-level so you don't always have to check that, but it's value outside a named closure would be nil. From eichhoff at statistik.tu-dortmund.de Mon Jul 27 01:37:30 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Mon, 27 Jul 2009 10:37:30 +0200 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <4A65A7B3.7090509@statistik.tu-dortmund.de> References: <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu -dortmund.de> <4A65A7B3.7090509@statistik.tu-dortmund.de> Message-ID: <4A6D674A.6090703@statistik.tu-dortmund.de> An HTML attachment was scrubbed... URL: From eichhoff at statistik.tu-dortmund.de Mon Jul 27 01:43:41 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Mon, 27 Jul 2009 10:43:41 +0200 Subject: [CM] Drunk In-Reply-To: <5786D08B-EA63-42E4-BA34-32EDDCAF03B6@uiuc.edu> References: <690927.1662.qm@web38506.mail.mud.yahoo.com> <5786D08B-EA63-42E4-BA34-32EDDCAF03B6@uiuc.edu> Message-ID: <4A6D68BD.2060104@statistik.tu-dortmund.de> An HTML attachment was scrubbed... URL: From eichhoff at statistik.tu-dortmund.de Mon Jul 27 01:49:49 2009 From: eichhoff at statistik.tu-dortmund.de (Markus Eichhoff) Date: Mon, 27 Jul 2009 10:49:49 +0200 Subject: [CM] Problem with CM In-Reply-To: <5786D08B-EA63-42E4-BA34-32EDDCAF03B6@uiuc.edu> References: <690927.1662.qm@web38506.mail.mud.yahoo.com> <5786D08B-EA63-42E4-BA34-32EDDCAF03B6@uiuc.edu> Message-ID: <4A6D6A2D.3080001@statistik.tu-dortmund.de> An HTML attachment was scrubbed... URL: From taube at uiuc.edu Mon Jul 27 05:37:23 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 27 Jul 2009 07:37:23 -0500 Subject: [CM] cm question In-Reply-To: References: <156C989C-3993-4547-90DC-CC4C5FC9EB1F@gmail.com> <93D7EAFD-AE40-4D4C-9F5B-56324F546A34@uiuc.edu> Message-ID: <394070C6-D4BB-4DFB-A1F1-966D4206E4E9@uiuc.edu> You can use 'r' to mark rests: cm> (note 'r) "r" cm> (key 'r) -1 you can use negative values to mark rhythms: cm> (rhythm -1/4) -1.0 of course, you need to check for those values and not pass them on to you file or port! (define (foo n) (process with pat = (make-weighting '(c4 r d4 r e4 r f4)) repeat n for k = (key (next pat)) unless (eq? k -1) do (send "mp:midi" :key k) (wait .5))) > hi, > > this is another, possibly completely stupid, question, but I'm just > doing some simple > stuff with patterns, and wonder how you code for rests? I seem only > to be able to put > a note-name on a rhythmic value. can you help? > > many thanks, > peter nelson > From taube at uiuc.edu Mon Jul 27 05:41:04 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 27 Jul 2009 07:41:04 -0500 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <4A6D674A.6090703@statistik.tu-dortmund.de> References: <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu -dortmund.de> <4A65A7B3.7090509@statistik.tu-dortmund.de> <4A6D674A.6090703@statistik.tu-dortmund.de> Message-ID: <7FDF4409-E9C4-426C-B2DC-A05D86E2F8FE@uiuc.edu> I updated a few files for clm instruments, it looks like find-if is used in generators.scm, which piano loads. not sure where to get it, ill poke around On Jul 27, 2009, at 3:37 AM, Markus Eichhoff wrote: > Hello! > > This morning I updated cm and installed everything again. After I > opened grace.exe, these messages appeared between the showed lines > "Grace 3.3.0 (c) 2009 Todd Ingalls, Rick Taube" and "JUCE v1.46 (c) > 2009 Julian Storer": > > ;find-if: unbound variable, line 295 > ;find-if: unbound variable, line 11 > > > > > Markus Eichhoff schrieb: >> >> No problem! :-) I am only happy if my computer is not crazy. So >> it's ok >> if you work there. >> But I even deleted the old cm folder and downloaded again via svn >> co ... >> but then compiling didn't work (in windows + linux). >> Ok, otherwise I will wait some time (one week or so). It's no >> problem. >> >> >> Heinrich Taube schrieb: >> >>> due to the (ongoing) Fomus work, svn tip may be a bit unstable over >>> the next week while we attempt to finish and test >>> if you do an 'svn update' (rev 1734) then everything should >>> compile on >>> windows. >>> apologies! >>> >>> On Jul 21, 2009, at 4:53 AM, eichhoff wrote: >>> >>> >>>> In Windows AND in Linux it's now not possible to compile the >>>> programs. I downloaded now the trunk version of cm, the stable >>>> juce-zip-Version, sndlib from CCRMA and premake 3.7 and made >>>> everything regarding to the readme-file in /cm. >>>> In Linux the last "make" doesn't work (after premake), two >>>> misstakes >>>> are shown. As attachment I put the code that I received in linux. >>>> Perhaps you see where the problem is. >>>> >>>> Best regards >>>> Markus >>>> >>>> >>>> Heinrich Taube schrieb: >>>> >>>>> its impossible to resolve problems if you change environments. >>>>> please do not use svn juce or an external lib, use the stable >>>>> amalgamated juce sources i ship. cm/readme.text has exact >>>>> instruction for how to build on linix and macos >>>>> i will have more time tomorrow to look for conflicting symbols, >>>>> and >>>>> to make sure cm has the latest piano.scm >>>>> On Jul 20, 2009, at 5:16 AM, eichhoff wrote: >>>>> >>>>>> Strange, strange... where is the problem in piano.scm? I >>>>>> installed all >>>>>> packages (cm, sndlib, juce (recent trunk)) on linux again this >>>>>> morning. >>>>>> I started grace and the program crashed after I executed (the >>>>>> program >>>>>> completely disappeared from the Desktop, no error message). So >>>>>> that's >>>>>> not just a windows problem... Here is the crash-code again: >>>>>> >>>>>> >>>> root at eichhoff-desktop:~/Software# cd cm >>>> root at eichhoff-desktop:~/Software/cm# premake -verbose --target gnu >>>> --sndlib ../sndlib >>>> Generating GNU makefiles: >>>> ...juce >>>> ...cm >>>> ...grace >>>> ...gracecl >>>> root at eichhoff-desktop:~/Software/cm# premake --verbose --target gnu >>>> --sndlib ../sndlib >>>> Generating GNU makefiles: >>>> ...juce >>>> ...cm >>>> ...grace >>>> ...gracecl >>>> root at eichhoff-desktop:~/Software/cm# make >>>> ==== Building juce ==== >>>> mkdir -p obj/juce/Release >>>> g++ -MMD -D "LINUX" -I "src" -I "/usr/include/freetype2" -O2 -o >>>> "obj/juce/Release/juce_amalgamated.o" -c "src/juce_amalgamated.cpp" >>>> src/juce_amalgamated.cpp: In static member function ?static const >>>> juce::File juce::File::getCurrentWorkingDirectory()?: >>>> src/juce_amalgamated.cpp:243538: Warnung: Der R?ckgabewert von >>>> ?char* >>>> getcwd(char*, size_t)?, der mit dem Attribut warn_unused_result >>>> deklariert wurde, wird ignoriert >>>> src/juce_amalgamated.cpp: In member function ?void >>>> juce::NamedPipe::cancelPendingReads()?: >>>> src/juce_amalgamated.cpp:243745: Warnung: Der R?ckgabewert von >>>> ?ssize_t write(int, const void*, size_t)?, der mit dem Attribut >>>> warn_unused_result deklariert wurde, wird ignoriert >>>> src/juce_amalgamated.cpp: In static member function ?static void >>>> juce::Logger::outputDebugString(const juce::String&)?: >>>> src/juce_amalgamated.cpp:244380: Warnung: Format ist kein >>>> Zeichenkettenliteral, und keine Formatargumente >>>> mkdir -p bin >>>> mkdir -p . >>>> mkdir -p ./obj/juce >>>> ar -rcs ./obj/juce/libjuce.a obj/juce/Release/juce_amalgamated.o >>>> ==== Building cm ==== >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Scanner.o" -c "src/Scanner.cpp" >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Syntax.o" -c "src/Syntax.cpp" >>>> src/Syntax.cpp: In member function ?virtual void >>>> LispSyntax::eval(juce::String, bool, bool)?: >>>> src/Syntax.cpp:327: Warnung: veraltete Konvertierung von >>>> Zeichenkettenkonstante in ?char*? >>>> src/Syntax.cpp:333: Warnung: veraltete Konvertierung von >>>> Zeichenkettenkonstante in ?char*? >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/CmSupport.o" -c "src/CmSupport.cpp" >>>> src/CmSupport.cpp: In function ?void cm_shell(char*)?: >>>> src/CmSupport.cpp:69: Warnung: Der R?ckgabewert von ?int >>>> system(const >>>> char*)?, der mit dem Attribut warn_unused_result deklariert wurde, >>>> wird ignoriert >>>> src/CmSupport.cpp: In function ?char* >>>> cm_pathname_directory(char*)?: >>>> src/CmSupport.cpp:607: Warnung: veraltete Konvertierung von >>>> Zeichenkettenkonstante in ?char*? >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Console.o" -c "src/Console.cpp" >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Scheme.o" -c "src/Scheme.cpp" >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Preferences.o" -c "src/Preferences.cpp" >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/SchemeSources.o" -c "src/SchemeSources.cpp" >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Midi.o" -c "src/Midi.cpp" >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Csound.o" -c "src/Csound.cpp" >>>> src/Csound.cpp: In member function ?void Csound::runApplication()?: >>>> src/Csound.cpp:130: Warnung: veraltete Konvertierung von >>>> Zeichenkettenkonstante in ?char*? >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Main.o" -c "src/Main.cpp" >>>> In file included from src/Main.cpp:16: >>>> src/CommonLisp.h:37: Warnung: ?typedef? wurde in dieser Deklaration >>>> ignoriert >>>> src/Main.cpp: In function ?int main(int, const char**)?: >>>> src/Main.cpp:265: Warnung: veraltete Konvertierung von >>>> Zeichenkettenkonstante in ?char*? >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/SndLib.o" -c "src/SndLib.cpp" >>>> src/SndLib.cpp: In member function ?void >>>> SchemeNode::applyMidiInputHookNode()?: >>>> src/SndLib.cpp:147: Warnung: veraltete Konvertierung von >>>> Zeichenkettenkonstante in ?char*? >>>> src/SndLib.cpp: In member function ?int SndLib::performCommand(int, >>>> int, juce::String)?: >>>> src/SndLib.cpp:193: Warnung: veraltete Konvertierung von >>>> Zeichenkettenkonstante in ?char*? >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/SndLibBridge.o" -c "src/SndLibBridge.cpp" >>>> mkdir -p obj/cm/Release >>>> g++ -MMD -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" - >>>> O2 -o >>>> "obj/cm/Release/Instruments.o" -c "src/Instruments.cpp" >>>> mkdir -p bin >>>> mkdir -p . >>>> mkdir -p bin >>>> g++ -o bin/cm obj/cm/Release/Scanner.o obj/cm/Release/Syntax.o >>>> obj/cm/Release/CmSupport.o obj/cm/Release/Console.o >>>> obj/cm/Release/Scheme.o obj/cm/Release/Preferences.o >>>> obj/cm/Release/SchemeSources.o obj/cm/Release/Midi.o >>>> obj/cm/Release/Csound.o obj/cm/Release/Main.o obj/cm/Release/ >>>> SndLib.o >>>> obj/cm/Release/SndLibBridge.o obj/cm/Release/Instruments.o -Lbin >>>> -L. >>>> -s -L/usr/lib -lm -L/usr/lib -lgsl -lgslcblas -lm -lasound -lm >>>> -L"obj/juce" -L"../sndlib/" -L"/usr/X11R6/lib/" -L./obj/juce -ljuce >>>> -lsndlib -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound - >>>> lfreetype >>>> obj/cm/Release/SndLibBridge.o: In function >>>> `ffi_fms_isfiletype(s7_scheme*, s7_cell*)': >>>> SndLibBridge.cpp:(.text+0x7e37): undefined reference to >>>> `fms_isfiletype(char const*)' >>>> collect2: ld gab 1 als Ende-Status zur?ck >>>> make[1]: *** [bin/cm] Fehler 1 >>>> make: *** [cm] Fehler 2 >>>> >>>> _______________________________________________ >>>> Cmdist mailing list >>>> Cmdist at ccrma.stanford.edu >>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>>> >> >> > > -- > Dipl.-Math. Markus Eichhoff > > Chair of Computational Statistics > Faculty of Statistics > Technical University of Dortmund > 44221 Dortmund > Room 826 > > Phone: +49 (0)231 755 - 5903 > Telefax: +49 (0)231 755 - 4387 > E-mail: eichhoff at statistik.tu-dortmund.de > Web: http://www.statistik.tu-dortmund.de/eichhoff_eng.html From bil at ccrma.Stanford.EDU Mon Jul 27 06:52:30 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 27 Jul 2009 06:52:30 -0700 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <7FDF4409-E9C4-426C-B2DC-A05D86E2F8FE@uiuc.edu> References: <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu -dortmund.de> <4A65A7B3.7090509@statistik.tu-dortmund.de> <4A6D674A.6090703@statistik.tu-dortmund.de> <7FDF4409-E9C4-426C-B2DC-A05D86E2F8FE@uiuc.edu> Message-ID: <20090727135120.M9678@ccrma.Stanford.EDU> > it looks like find-if is used in generators.scm and it's defined there -- perhaps you have an old version of generators.scm? I'm thinking of predefining a bunch of these CL-isms -- it's a bother to have to worry about something as basic as find-if. From taube at uiuc.edu Mon Jul 27 07:11:08 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 27 Jul 2009 09:11:08 -0500 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <20090727135120.M9678@ccrma.Stanford.EDU> References: <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu -dortmund.de> <4A65A7B3.7090509@statistik.tu-dortmund.de> <4A6D674A.6090703@statistik.! tu-dortmund.de> <7FDF4409-E9C4-426C-B2DC-A05D86E2F8FE@uiuc.edu> <20090727135120.M9678@ccrma.Stanford.EDU> Message-ID: <2796380F-0A7E-4231-8495-1AD83D640C57@uiuc.edu> that must be what happend ill copy over the current generators.scm from snd-10 -- are there any other ins i should copy? On Jul 27, 2009, at 8:52 AM, Bill Schottstaedt wrote: >> it looks like find-if is used in generators.scm > > and it's defined there -- perhaps you have an old version of > generators.scm? > > I'm thinking of predefining a bunch of these CL-isms -- it's a bother > to have to worry about something as basic as find-if. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Mon Jul 27 07:17:33 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 27 Jul 2009 07:17:33 -0700 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <2796380F-0A7E-4231-8495-1AD83D640C57@uiuc.edu> References: <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu -dortmund.de> <4A65A7B3.7090509@statistik.tu-dortmund.de> <4A6D674A.6090703@statistik.! tu-dortmund.de> <7FDF4409-E9C4-426C-B2DC-A05D86E2F8FE@uiuc.edu> <20090727135120.M9678@ccrma.Stanford.EDU> <2796380F-0A7E-4231-8495-1AD83D640C57@uiuc.edu> Message-ID: <20090727141613.M65573@ccrma.Stanford.EDU> Should I include all the non-Snd-specific instrument files in the sndlib tarball? It seems unfortunate that you have to track two different packages. From taube at uiuc.edu Mon Jul 27 07:27:30 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 27 Jul 2009 09:27:30 -0500 Subject: [CM] ;piano.scm crashes in Linux, too In-Reply-To: <20090727141613.M65573@ccrma.Stanford.EDU> References: <20090716174039.M50468@ccrma.Stanford.EDU> <4476230c3cc30f4351d91591bd8a5242.squirrel@www.statistik.tu-dortmund.de> <20090718140807.M21102@ccrma.Stanford.EDU> ! <20090719133430.M2886@ccrma.Stanford.EDU> <85A63E8A-DEFE-4D09-8D39-7A163A205384@uiuc.edu> <20090719164433.M95627@ccrma.Stanford.EDU> <4A6443EF.4090108@statistik.tu- dortmund.de> <889048CE-FDCC-4119-A6E1-DE95662E3EB8@uiuc.edu> <4A659009.5060005@statistik.tu -dortmund.de> <4A65A7B3.7090509@statistik.tu-dortmund.de> <4A6D674A.6090703@statistik.! ! ! tu-dortmund.de> <7FDF4409-E9C4-426C-B2DC-A05D86E2F8FE@uiuc.edu> <20090727135120.M9678@ccrma.Stanford.EDU> <2796380F-0A7E-4231-8495-1AD83D640C57@uiuc.edu> <20090727141613.M65573@ccrma.Stanford.EDU> Message-ID: <5A3E6DE4-AEF2-4AB8-AA06-41CAAFBD9BEE@uiuc.edu> it would be great if there were an ins.tar.gz distro on ccrma-ftp with all the instruments for snd/sndlib! currently i cut them out of snd-10 files becauae for teaching its a lot easier if to have one- file per insrument except in the obvious collective cases like birds and animals. On Jul 27, 2009, at 9:17 AM, Bill Schottstaedt wrote: > Should I include all the non-Snd-specific instrument files in the > sndlib tarball? > It seems unfortunate that you have to track two different packages. > > From taube at uiuc.edu Mon Jul 27 19:18:02 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 27 Jul 2009 21:18:02 -0500 Subject: [CM] generators.scm Message-ID: <35B94923-B133-4A49-A5B9-3E5DDA742526@uiuc.edu> svn has the latest generators.scm from snd-10 so hopefully the piano will work again. new stuff: new plotter dialogs Edit Points, Shift Points and Rescale Points operate on the current point selection. edit points brings up a dialog where you can change the value of any field; shift and rescale dialogs operate on the field values displayed on the horizontal or vertical dimensions. the dialogs are minimalist - no buttons, just edit the fields and when you press Return in any field the dialog does its action. the rescale points dialog uses cm's rescale function, so you can even invert (by making the minimum greater than the maximum). From bil at ccrma.Stanford.EDU Tue Jul 28 03:44:48 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 28 Jul 2009 03:44:48 -0700 Subject: [CM] sndlib additions Message-ID: <20090728104206.M48721@ccrma.Stanford.EDU> I added all the non-Snd-specific instrument files to the sndlib tarball: analog-filter.scm|rb, animals.scm, bird.scm|rb|fsm, clm.fs, clm-ins.scm|rb|fs, dlocsig.scm|rb, fade.scm, freeverb.scm|rb, generators.scm, grani.scm, jcrev.scm, jcvoi.scm, maraca.scm|rb, maxf.scm|rb, moog.scm, noise.scm|rb, piano.scm|rb, prc95.scm|rb, pvoc.scm|rb, singer.scm|rb, sndwarp.scm, spectr.scm|rb|fs, stochastic.scm, strad.scm|rb, v.scm|rb. New files: expandn.scm, fullmix.scm, and nrev.scm from clm-ins.scm. From taube at uiuc.edu Fri Jul 31 08:04:21 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 31 Jul 2009 10:04:21 -0500 Subject: [CM] plot hooks Message-ID: <3D1139D4-4F42-40D2-BE92-2D0574802C8F@uiuc.edu> svn trunk now has support for 'plot hooks' -- scheme functions you associate with a plot window. if a hook is registered it is called when you do control-option-mouseclick in the window. it should return a list of point(s) to add to the plot given that mouse postion or () if nothing should be added. see the cool fm example in the Examples>Plotting file. documentation in res/doc/cm.html#plotting