From vincent.akkermans at gmail.com Sun Sep 2 05:43:20 2007 From: vincent.akkermans at gmail.com (Vincent Akkermans) Date: Sun, 2 Sep 2007 14:43:20 +0200 Subject: [CM] Building Grace on OSX Message-ID: Hi all, I just got back from this year's ICMC where I saw Rick's demo of Grace and SAL. I checked out the source this morning and tried to build Grace but I ran into a couple of problems. *** In Buffer.h and Buffer.cpp (TextBuffer class) the keyPressed method had the wrong return type. Apparently there were some changes made in the latest release of the Juce library. The quoted text is from the juce 1.44 changelist. "- change to the keyPressed() and keyStateChanged() callbacks in Component and KeyListener. These used to be void, but they now return a bool to indicate whether the key event was needed or not. Any existing code you've got will break in the compiler, so just change it to return true if the key was used, or false to allow the event to be passed up to the next component in the chain. (This change is a better architecture than before, and was also needed so that plugins can allow unused key events to be passed on to the host application)" I changed the return types to bool to match those from the Juce library. *** In Grace.h (GraceApp class) ShinyLookAndFeel is of an unknown type. "- swapped the look and feel classes around, so that the basic LookAndFeel class is now what used to be the "shiny" one. The ShinyLookAndFeel class has been removed, and for that old fashioned look, I've added an OldSchoolLookAndFeel that you can use if you need the original L+F. This means that any custom looks that you were using may need to change their base class." I just changed ShinyLookAndFeel to LookAndFeel. :) *** In Editor.cpp the function areAnyErrors() was unknown (line 130) I Couldn't find a reference to this function anywhere so I changed this to: if (!out) instead of if (out->areAnyErrors()) This is probably not a nice solution but after these changed scons was able to build grace. *** Starting lisp >>> System file grace.asd cannot be found under the Lisp systems directory /Users/Vincent/Desktop/grace/build/Grace.app/Contents/ Resources/grace/grace.asd. Use Console>Lisp>Configure Lisp... to configure the Lisp session. So I told grace to look for the file here: /Users/Vincent/Desktop/grace/src But then it looks for grace.asd here: /Users/Vincent/Desktop/grace/src/grace/grace.asd So I made a directory called grace with grace.asd in it but pointing to only the grace.asd wasn't enough off course. It took me some time to figure out all the lisp files had to be in the same directory. *** Help file >>> Help file /Users/Vincent/Desktop/grace/build/Grace.app/Contents/ Resources/doc/sal/tutorials/hello.sal does not exist. Copying the doc directory to Grace.app fixed this. Grace is up and running! Maybe this is of use to someone. Regards, Vincent Akkermans P.S. Rick, thanks again for taking some time last week. :) From taube at uiuc.edu Sun Sep 2 11:37:18 2007 From: taube at uiuc.edu (Rick Taube) Date: Sun, 2 Sep 2007 13:37:18 -0500 Subject: [CM] Building Grace on OSX In-Reply-To: References: Message-ID: Hi Vincent, you need to build against JUCE 1.43, moving to 1.44 is on our todo list but we didnt have time before icmc to get to it. From josepadovani at yahoo.com.br Sun Sep 2 18:11:03 2007 From: josepadovani at yahoo.com.br (padovani) Date: Sun, 2 Sep 2007 22:11:03 -0300 Subject: [CM] trying to compile grace Message-ID: hi, I'm getting this error while trying to compile grace... Any Idea? Z? root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/ scons: Reading SConscript files ... Checking for C library freetype... yes Checking for C library GLU... yes Checking for C library GL... yes Checking for C library asound... yes Checking for C++ header file juce.h... yes Checking for C library juce... yes scons: done reading SConscript files. scons: Building targets ... g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type scons: *** [build/Audio.o] Error 1 scons: building terminated because of errors. -------------- next part -------------- An HTML attachment was scrubbed... URL: From testcase at asu.edu Sun Sep 2 18:23:27 2007 From: testcase at asu.edu (todd ingalls) Date: Sun, 2 Sep 2007 18:23:27 -0700 Subject: [CM] trying to compile grace In-Reply-To: References: Message-ID: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> i believe you might be trying to build against juce 1.44 . we still need to move to that version - could you try building against juce 1.43? we hope to have this updated soon! todd On Sep 2, 2007, at 6:11 PM, padovani wrote: > hi, I'm getting this error while trying to compile grace... Any Idea? > Z? > > root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/ > scons: Reading SConscript files ... > Checking for C library freetype... yes > Checking for C library GLU... yes > Checking for C library GL... yes > Checking for C library asound... yes > Checking for C++ header file juce.h... yes > Checking for C library juce... yes > scons: done reading SConscript files. > scons: Building targets ... > g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/ > X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp > src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type > scons: *** [build/Audio.o] Error 1 > scons: building terminated because of errors. > From josepadovani at yahoo.com.br Mon Sep 3 04:56:03 2007 From: josepadovani at yahoo.com.br (padovani) Date: Mon, 03 Sep 2007 08:56:03 -0300 Subject: [CM] trying to compile grace In-Reply-To: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> Message-ID: <46DBF653.4020304@yahoo.com.br> Oh... ok. I will try with the 1.43 version... thanks! todd ingalls escreveu: > i believe you might be trying to build against juce 1.44 . we still > need to move to that version - could you try building against juce > 1.43? we hope to have this updated soon! > > todd > > > On Sep 2, 2007, at 6:11 PM, padovani wrote: > >> hi, I'm getting this error while trying to compile grace... Any Idea? >> Z? >> >> root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/ >> scons: Reading SConscript files ... >> Checking for C library freetype... yes >> Checking for C library GLU... yes >> Checking for C library GL... yes >> Checking for C library asound... yes >> Checking for C++ header file juce.h... yes >> Checking for C library juce... yes >> scons: done reading SConscript files. >> scons: Building targets ... >> g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG >> -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp >> src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type >> scons: *** [build/Audio.o] Error 1 >> scons: building terminated because of errors. >> > > From josepadovani at yahoo.com.br Mon Sep 3 05:44:05 2007 From: josepadovani at yahoo.com.br (padovani) Date: Mon, 3 Sep 2007 09:44:05 -0300 Subject: [CM] trying to compile grace In-Reply-To: <46DBF653.4020304@yahoo.com.br> References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> <46DBF653.4020304@yahoo.com.br> Message-ID: So... When I compile Juce 1.43 (/juce/build/linux/ ... then "./runpremake" and "make"), I get a "/juce/bin/" structure that doesn't have a libjuce.afile.. All I get is a "libjuce_debug.a". So I tried to compile it renaming libjuce_debug.a to libjuce.a and that is what I get... Probably I'm doing something stupid, but I can't see what is it... :P Z? root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce-1.43/ scons: Reading SConscript files ... Checking for C library freetype... (cached) yes Checking for C library GLU... (cached) yes Checking for C library GL... (cached) yes Checking for C library asound... (cached) yes Checking for C++ header file juce.h... yes Checking for C library juce... yes scons: done reading SConscript files. scons: Building targets ... g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Audio.cpp g++ -o build/Buffer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Buffer.cpp g++ -o build/Console.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Console.cpp g++ -o build/Editor.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Editor.cpp src/Editor.cpp:207: warning: non-local variable ' syntaxFileTypes [32]' uses anonymous type g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontList.cpp g++ -o build/Grace.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Grace.cpp g++ -o build/Layer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Layer.cpp g++ -o build/Lisp.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Lisp.cpp g++ -o build/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Plotter.cpp g++ -o build/Resources.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Resources.cpp g++ -o build/Syntab.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntab.cpp g++ -o build/Syntax.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntax.cpp src/Syntax.cpp:12:15: warning: extra tokens at end of #include directive g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o -L/usr/X11R6/lib -L/usr/local/juce/juce-1.43/bin -lfreetype -lGLU -lGL -lasound -ljuce /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o): In function `juce::juce_updateMultiMonitorInfo(juce::Array&, bool)': /usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2444: undefined reference to `XineramaIsActive' /usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2448: undefined reference to `XineramaQueryScreens' collect2: ld returned 1 exit status scons: *** [build/grace] Error 1 scons: building terminated because of errors. 2007/9/3, padovani : > > Oh... ok. I will try with the 1.43 version... > thanks! > > todd ingalls escreveu: > > i believe you might be trying to build against juce 1.44 . we still > > need to move to that version - could you try building against juce > > 1.43? we hope to have this updated soon! > > > > todd > > > > > > On Sep 2, 2007, at 6:11 PM, padovani wrote: > > > >> hi, I'm getting this error while trying to compile grace... Any Idea? > >> Z? > >> > >> root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/ > >> scons: Reading SConscript files ... > >> Checking for C library freetype... yes > >> Checking for C library GLU... yes > >> Checking for C library GL... yes > >> Checking for C library asound... yes > >> Checking for C++ header file juce.h... yes > >> Checking for C library juce... yes > >> scons: done reading SConscript files. > >> scons: Building targets ... > >> g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > >> -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp > >> src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type > >> scons: *** [build/Audio.o] Error 1 > >> scons: building terminated because of errors. > >> > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Mon Sep 3 06:26:49 2007 From: taube at uiuc.edu (Rick Taube) Date: Mon, 3 Sep 2007 08:26:49 -0500 Subject: [CM] trying to compile grace In-Reply-To: References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> <46DBF653.4020304@yahoo.com.br> Message-ID: <6F7027B2-49B4-4339-AFE1-C7AD3780ED2D@uiuc.edu> you need to make the RELEASE version of the juce lib. please look at grace/doc/install.html, section "Building JUCE on Linux", where point 3 says: > 3. Make the Release version of libjuce.a: > > $ cd juce/build/linux > $ make CONFIG=Release > > If you are successful the JUCE library will be saved in juce/bin/ > libjuce.a. From cycle.code.media at gmail.com Mon Sep 3 06:29:33 2007 From: cycle.code.media at gmail.com (James Baker) Date: Mon, 3 Sep 2007 23:29:33 +1000 Subject: [CM] trying to compile grace In-Reply-To: References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> <46DBF653.4020304@yahoo.com.br> Message-ID: <428d2dc0709030629q10e867d4la83d198a2153dde1@mail.gmail.com> you need to build juce with the command -> make CONFIG=Release otherwise you get the debug version James On 9/3/07, padovani wrote: > So... > When I compile Juce 1.43 (/juce/build/linux/ ... then "./runpremake" and > "make"), I get a "/juce/bin/" structure that doesn't have a libjuce.a file.. > All I get is a "libjuce_debug.a". > So I tried to compile it renaming libjuce_debug.a to libjuce.a and that is > what I get... > Probably I'm doing something stupid, but I can't see what is it... :P > > Z? > > root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce- 1.43/ > scons: Reading SConscript files ... > Checking for C library freetype... (cached) yes > Checking for C library GLU... (cached) yes > Checking for C library GL... (cached) yes > Checking for C library asound... (cached) yes > Checking for C++ header file juce.h... yes > Checking for C library juce... yes > scons: done reading SConscript files. > scons: Building targets ... > g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Audio.cpp > g++ -o build/Buffer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Buffer.cpp > g++ -o build/Console.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Console.cpp > g++ -o build/Editor.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Editor.cpp > src/Editor.cpp:207: warning: non-local variable ' > syntaxFileTypes [32]' uses anonymous type > g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontList.cpp > g++ -o build/Grace.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Grace.cpp > g++ -o build/Layer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Layer.cpp > g++ -o build/Lisp.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/include > -Isrc -I/usr/local/juce/juce- 1.43 src/Lisp.cpp > g++ -o build/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Plotter.cpp > g++ -o build/Resources.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Resources.cpp > g++ -o build/Syntab.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntab.cpp > g++ -o build/Syntax.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Syntax.cpp > src/Syntax.cpp:12:15: warning: extra tokens at end of #include directive > g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o > build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o > build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o > -L/usr/X11R6/lib -L/usr/local/juce/juce- 1.43/bin -lfreetype -lGLU -lGL > -lasound -ljuce > /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o): > In function > `juce::juce_updateMultiMonitorInfo(juce::Array juce::DummyCriticalSection>&, bool)': > /usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2444: > undefined reference to `XineramaIsActive' > /usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2448: > undefined reference to `XineramaQueryScreens' > collect2: ld returned 1 exit status > scons: *** [build/grace] Error 1 > scons: building terminated because of errors. > > > > > 2007/9/3, padovani < josepadovani at yahoo.com.br>: > > Oh... ok. I will try with the 1.43 version... > > thanks! > > > > todd ingalls escreveu: > > > i believe you might be trying to build against juce 1.44 . we still > > > need to move to that version - could you try building against juce > > > 1.43? we hope to have this updated soon! > > > > > > todd > > > > > > > > > On Sep 2, 2007, at 6:11 PM, padovani wrote: > > > > > >> hi, I'm getting this error while trying to compile grace... Any Idea? > > >> Z? > > >> > > >> root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/ > > >> scons: Reading SConscript files ... > > >> Checking for C library freetype... yes > > >> Checking for C library GLU... yes > > >> Checking for C library GL... yes > > >> Checking for C library asound... yes > > >> Checking for C++ header file juce.h... yes > > >> Checking for C library juce... yes > > >> scons: done reading SConscript files. > > >> scons: Building targets ... > > >> g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > >> -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp > > >> src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type > > >> scons: *** [build/Audio.o] Error 1 > > >> scons: building terminated because of errors. > > >> > > > > > > > > > > > > From josepadovani at yahoo.com.br Mon Sep 3 07:02:01 2007 From: josepadovani at yahoo.com.br (padovani) Date: Mon, 3 Sep 2007 11:02:01 -0300 Subject: [CM] trying to compile grace In-Reply-To: <428d2dc0709030629q10e867d4la83d198a2153dde1@mail.gmail.com> References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> <46DBF653.4020304@yahoo.com.br> <428d2dc0709030629q10e867d4la83d198a2153dde1@mail.gmail.com> Message-ID: So, I think I'm closer now... but, when trying to compile grace there is a Xinerama issue that I don't understand... Thanks again. root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce-1.43/ scons: Reading SConscript files ... Checking for C library freetype... (cached) yes Checking for C library GLU... (cached) yes Checking for C library GL... (cached) yes Checking for C library asound... (cached) yes Checking for C++ header file juce.h... (cached) yes Checking for C library juce... (cached) yes scons: done reading SConscript files. scons: Building targets ... g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o -L/usr/X11R6/lib -L/usr/local/juce/juce-1.43/bin -lfreetype -lGLU -lGL -lasound -ljuce /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o): In function `juce::juce_updateMultiMonitorInfo(juce::Array&, bool)': juce_linux_Windowing.cpp:(.text+0x1d39): undefined reference to `XineramaIsActive' juce_linux_Windowing.cpp:(.text+0x1d5c): undefined reference to `XineramaQueryScreens' collect2: ld returned 1 exit status scons: *** [build/grace] Error 1 scons: building terminated because of errors. 2007/9/3, James Baker : > > you need to build juce with the command -> > > make CONFIG=Release > > otherwise you get the debug version > > James > > On 9/3/07, padovani wrote: > > So... > > When I compile Juce 1.43 (/juce/build/linux/ ... then "./runpremake" and > > "make"), I get a "/juce/bin/" structure that doesn't have a libjuce.afile.. > > All I get is a "libjuce_debug.a". > > So I tried to compile it renaming libjuce_debug.a to libjuce.a and that > is > > what I get... > > Probably I'm doing something stupid, but I can't see what is it... :P > > > > Z? > > > > root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce- > 1.43/ > > scons: Reading SConscript files ... > > Checking for C library freetype... (cached) yes > > Checking for C library GLU... (cached) yes > > Checking for C library GL... (cached) yes > > Checking for C library asound... (cached) yes > > Checking for C++ header file juce.h... yes > > Checking for C library juce... yes > > scons: done reading SConscript files. > > scons: Building targets ... > > g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Audio.cpp > > g++ -o build/Buffer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Buffer.cpp > > g++ -o build/Console.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Console.cpp > > g++ -o build/Editor.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Editor.cpp > > src/Editor.cpp:207: warning: non-local variable ' > > syntaxFileTypes [32]' uses anonymous type > > g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontList.cpp > > g++ -o build/Grace.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Grace.cpp > > g++ -o build/Layer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Layer.cpp > > g++ -o build/Lisp.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include > > -Isrc -I/usr/local/juce/juce- 1.43 src/Lisp.cpp > > g++ -o build/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Plotter.cpp > > g++ -o build/Resources.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43src/Resources.cpp > > g++ -o build/Syntab.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntab.cpp > > g++ -o build/Syntax.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Syntax.cpp > > src/Syntax.cpp:12:15: warning: extra tokens at end of #include directive > > g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o > > build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o > > build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o > > -L/usr/X11R6/lib -L/usr/local/juce/juce- 1.43/bin -lfreetype -lGLU -lGL > > -lasound -ljuce > > /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o): > > In function > > `juce::juce_updateMultiMonitorInfo(juce::Array > juce::DummyCriticalSection>&, bool)': > > /usr/local/juce/juce-1.43 > /build/linux/platform_specific_code/juce_linux_Windowing.cpp:2444: > > undefined reference to `XineramaIsActive' > > /usr/local/juce/juce-1.43 > /build/linux/platform_specific_code/juce_linux_Windowing.cpp:2448: > > undefined reference to `XineramaQueryScreens' > > collect2: ld returned 1 exit status > > scons: *** [build/grace] Error 1 > > scons: building terminated because of errors. > > > > > > > > > > 2007/9/3, padovani < josepadovani at yahoo.com.br>: > > > Oh... ok. I will try with the 1.43 version... > > > thanks! > > > > > > todd ingalls escreveu: > > > > i believe you might be trying to build against juce 1.44 . we still > > > > need to move to that version - could you try building against juce > > > > 1.43? we hope to have this updated soon! > > > > > > > > todd > > > > > > > > > > > > On Sep 2, 2007, at 6:11 PM, padovani wrote: > > > > > > > >> hi, I'm getting this error while trying to compile grace... Any > Idea? > > > >> Z? > > > >> > > > >> root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/ > > > >> scons: Reading SConscript files ... > > > >> Checking for C library freetype... yes > > > >> Checking for C library GLU... yes > > > >> Checking for C library GL... yes > > > >> Checking for C library asound... yes > > > >> Checking for C++ header file juce.h... yes > > > >> Checking for C library juce... yes > > > >> scons: done reading SConscript files. > > > >> scons: Building targets ... > > > >> g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > >> -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp > > > >> src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type > > > >> scons: *** [build/Audio.o] Error 1 > > > >> scons: building terminated because of errors. > > > >> > > > > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cycle.code.media at gmail.com Mon Sep 3 07:07:07 2007 From: cycle.code.media at gmail.com (James Baker) Date: Tue, 4 Sep 2007 00:07:07 +1000 Subject: [CM] trying to compile grace In-Reply-To: References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> <46DBF653.4020304@yahoo.com.br> <428d2dc0709030629q10e867d4la83d198a2153dde1@mail.gmail.com> Message-ID: <428d2dc0709030707h46bc684flf15b2b93ed728704@mail.gmail.com> ahh theres a config flag in one of the juce header files..juce_Config.h i think. Set it to zero to disable it and build juce again James On 9/4/07, padovani wrote: > So, I think I'm closer now... but, when trying to compile grace there is a > Xinerama issue that I don't understand... > Thanks again. > > root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce-1.43 / > scons: Reading SConscript files ... > Checking for C library freetype... (cached) yes > Checking for C library GLU... (cached) yes > Checking for C library GL... (cached) yes > Checking for C library asound... (cached) yes > Checking for C++ header file juce.h... (cached) yes > Checking for C library juce... (cached) yes > scons: done reading SConscript files. > scons: Building targets ... > g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o > build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o > build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o > -L/usr/X11R6/lib -L/usr/local/juce/juce- 1.43/bin -lfreetype -lGLU -lGL > -lasound -ljuce > /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o): > In function > `juce::juce_updateMultiMonitorInfo(juce::Array juce::DummyCriticalSection>&, bool)': > juce_linux_Windowing.cpp:(.text+0x1d39): undefined > reference to `XineramaIsActive' > juce_linux_Windowing.cpp:(.text+0x1d5c): undefined > reference to `XineramaQueryScreens' > collect2: ld returned 1 exit status > scons: *** [build/grace] Error 1 > scons: building terminated because of errors. > > > 2007/9/3, James Baker : > > you need to build juce with the command -> > > > > make CONFIG=Release > > > > otherwise you get the debug version > > > > James > > > > On 9/3/07, padovani wrote: > > > So... > > > When I compile Juce 1.43 (/juce/build/linux/ ... then "./runpremake" and > > > "make"), I get a "/juce/bin/" structure that doesn't have a libjuce.a > file.. > > > All I get is a "libjuce_debug.a". > > > So I tried to compile it renaming libjuce_debug.a to libjuce.a and that > is > > > what I get... > > > Probably I'm doing something stupid, but I can't see what is it... :P > > > > > > Z? > > > > > > root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce- > 1.43/ > > > scons: Reading SConscript files ... > > > Checking for C library freetype... (cached) yes > > > Checking for C library GLU... (cached) yes > > > Checking for C library GL... (cached) yes > > > Checking for C library asound... (cached) yes > > > Checking for C++ header file juce.h... yes > > > Checking for C library juce... yes > > > scons: done reading SConscript files. > > > scons: Building targets ... > > > g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Audio.cpp > > > g++ -o build/Buffer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Buffer.cpp > > > g++ -o build/Console.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Console.cpp > > > g++ -o build/Editor.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Editor.cpp > > > src/Editor.cpp:207: warning: non-local variable ' > > > syntaxFileTypes [32]' uses anonymous type > > > g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontList.cpp > > > g++ -o build/Grace.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Grace.cpp > > > g++ -o build/Layer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Layer.cpp > > > g++ -o build/Lisp.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > -I/usr/X11R6/include > > > -Isrc -I/usr/local/juce/juce- 1.43 src/Lisp.cpp > > > g++ -o build/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Plotter.cpp > > > g++ -o build/Resources.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 > src/Resources.cpp > > > g++ -o build/Syntab.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntab.cpp > > > g++ -o build/Syntax.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Syntax.cpp > > > src/Syntax.cpp:12:15: warning: extra tokens at end of #include directive > > > g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o > > > build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o > > > build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o > > > -L/usr/X11R6/lib -L/usr/local/juce/juce- 1.43/bin -lfreetype -lGLU -lGL > > > -lasound -ljuce > > > > /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o): > > > In function > > > > `juce::juce_updateMultiMonitorInfo(juce::Array > > juce::DummyCriticalSection>&, bool)': > > > > /usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2444: > > > undefined reference to `XineramaIsActive' > > > /usr/local/juce/juce- > 1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2448: > > > undefined reference to `XineramaQueryScreens' > > > collect2: ld returned 1 exit status > > > scons: *** [build/grace] Error 1 > > > scons: building terminated because of errors. > > > > > > > > > > > > > > > 2007/9/3, padovani < josepadovani at yahoo.com.br>: > > > > Oh... ok. I will try with the 1.43 version... > > > > thanks! > > > > > > > > todd ingalls escreveu: > > > > > i believe you might be trying to build against juce 1.44 . we still > > > > > need to move to that version - could you try building against juce > > > > > 1.43? we hope to have this updated soon! > > > > > > > > > > todd > > > > > > > > > > > > > > > On Sep 2, 2007, at 6:11 PM, padovani wrote: > > > > > > > > > >> hi, I'm getting this error while trying to compile grace... Any > Idea? > > > > >> Z? > > > > >> > > > > >> root at ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/ > > > > >> scons: Reading SConscript files ... > > > > >> Checking for C library freetype... yes > > > > >> Checking for C library GLU... yes > > > > >> Checking for C library GL... yes > > > > >> Checking for C library asound... yes > > > > >> Checking for C++ header file juce.h... yes > > > > >> Checking for C library juce... yes > > > > >> scons: done reading SConscript files. > > > > >> scons: Building targets ... > > > > >> g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG > > > > >> -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp > > > > >> src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type > > > > >> scons: *** [build/Audio.o] Error 1 > > > > >> scons: building terminated because of errors. > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > From taube at uiuc.edu Mon Sep 3 08:11:20 2007 From: taube at uiuc.edu (Rick Taube) Date: Mon, 3 Sep 2007 10:11:20 -0500 Subject: [CM] trying to compile grace In-Reply-To: References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> <46DBF653.4020304@yahoo.com.br> <428d2dc0709030629q10e867d4la83d198a2153dde1@mail.gmail.com> Message-ID: > On Sep 3, 2007, at 9:02 AM, padovani wrote: > So, I think I'm closer now... but, when trying to compile grace > there is a Xinerama issue that I don't understand... > Thanks again. > ok, let me try shouting it: *** please look at grace/doc/install.html, section "Building JUCE on Linux", *** point 2 says: 2. Turn OFF linking to the Xinerama multi-monitor lib unless you are using it. If so you will have to add it to the linking set. #ifndef JUCE_USE_XINERAMA #define JUCE_USE_XINERAMA 0 #endif > >> please look at grace/doc/install.html, section "Building JUCE on >> Linux", where point 3 says: >> >> >> 3. Make the Release version of libjuce.a: >> >> $ cd juce/build/linux >> $ make CONFIG=Release >> >> If you are successful the JUCE library will be saved in juce/bin/ >> libjuce.a. >> >> >> > > > From josepadovani at yahoo.com.br Mon Sep 3 10:44:53 2007 From: josepadovani at yahoo.com.br (padovani) Date: Mon, 3 Sep 2007 14:44:53 -0300 Subject: [CM] trying to compile grace In-Reply-To: References: <94545CCF-6561-468E-AE7A-A08B9C6302BC@asu.edu> <46DBF653.4020304@yahoo.com.br> <428d2dc0709030629q10e867d4la83d198a2153dde1@mail.gmail.com> Message-ID: So Gentlemans, everything is working now. tx again. 2007/9/3, Rick Taube : > > > On Sep 3, 2007, at 9:02 AM, padovani wrote: > > So, I think I'm closer now... but, when trying to compile grace > > there is a Xinerama issue that I don't understand... > > Thanks again. > > > > ok, let me try shouting it: > > *** please look at grace/doc/install.html, section "Building JUCE on > Linux", *** > > point 2 says: > > 2. Turn OFF linking to the Xinerama multi-monitor lib unless you > are using it. If > so you will have to add it to the linking set. > > #ifndef JUCE_USE_XINERAMA > #define JUCE_USE_XINERAMA 0 > #endif > > > > > >> please look at grace/doc/install.html, section "Building JUCE on > >> Linux", where point 3 says: > >> > >> > >> 3. Make the Release version of libjuce.a: > >> > >> $ cd juce/build/linux > >> $ make CONFIG=Release > >> > >> If you are successful the JUCE library will be saved in juce/bin/ > >> libjuce.a. > >> > >> > >> > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From josepadovani at yahoo.com.br Wed Sep 5 13:18:37 2007 From: josepadovani at yahoo.com.br (padovani) Date: Wed, 5 Sep 2007 17:18:37 -0300 Subject: [CM] grace on ubuntu - no midi sounds Message-ID: Hi again, so.. I have successfully installed grace on ubuntu studio.. Now I would like to get some sound from cm when evaluating "(events.. )" statements... While using xemacs I get the midi-sounds, but with grace I can't... Another thing that is happening while I run grace is that all other programs can't access the sound device. Is there a file to edit to configure these things? thanks in advice, z? -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Thu Sep 6 04:51:14 2007 From: taube at uiuc.edu (Rick Taube) Date: Thu, 6 Sep 2007 06:51:14 -0500 Subject: [CM] grace on ubuntu - no midi sounds In-Reply-To: References: Message-ID: <0BE13617-10A0-458F-A889-442D2FF64F28@uiuc.edu> hi you should have sound when you call (events), what is the value of *midi-player* in your environment? the current version of grace is not accessing sound or midi drivers so it should not affect the ability of other programs to do the same. so Im not sure what could be going wrong there... --rick On Sep 5, 2007, at 3:18 PM, padovani wrote: > Hi again, > so.. I have successfully installed grace on ubuntu studio.. > Now I would like to get some sound from cm when evaluating > "(events.. )" statements... While using xemacs I get the midi- > sounds, but with grace I can't... > Another thing that is happening while I run grace is that all other > programs can't access the sound device. Is there a file to edit to > configure these things? > thanks in advice, > z? From josepadovani at yahoo.com.br Thu Sep 6 07:15:40 2007 From: josepadovani at yahoo.com.br (padovani) Date: Thu, 6 Sep 2007 11:15:40 -0300 Subject: [CM] Re: grace on ubuntu - no midi sounds In-Reply-To: References: Message-ID: So, I'm trying to compare the differences between my cm/shell init-log and my cm/grace init-log... On the first there are no io.fasl and rt.fasl warnings and the system doesn't mutes.. On grace, there are io.fasl and rt.fasl warnings... and no sounds of any apps. Probably it is related with my problem... ?? shell log: $ ./cm.sh ; in: LAMBDA NIL ; (USE-SYSTEM S :VERBOSE NIL) ; ; caught STYLE-WARNING: ; undefined function: USE-SYSTEM ; ; caught STYLE-WARNING: ; This function is undefined: ; USE-SYSTEM ; ; compilation unit finished ; caught 2 STYLE-WARNING conditions ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/sb-bsd-sockets.asd" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/defpackage.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/split.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/constants.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/sockets.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/sockopt.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/inet.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/local.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/name-service.fasl" ;; loading #P"/usr/lib/sbcl/sb-bsd-sockets/misc.fasl" ; CM install directory: "/usr/local/lisp/cm/" ; Loading "bin/sbcl_1.0_linux-i686/pkg.fasl" ; Loading "bin/sbcl_1.0_linux-i686/sbcl.fasl" ; Loading "bin/sbcl_1.0_linux-i686/iter.fasl" ; Loading "bin/sbcl_1.0_linux-i686/level1.fasl" ; Loading "bin/sbcl_1.0_linux-i686/clos.fasl" ; Loading "bin/sbcl_1.0_linux-i686/scheme.fasl" ; Loading "bin/sbcl_1.0_linux-i686/utils.fasl" ; Loading "bin/sbcl_1.0_linux-i686/mop.fasl" ; Loading "bin/sbcl_1.0_linux-i686/objects.fasl" ; Loading "bin/sbcl_1.0_linux-i686/data.fasl" ; Loading "bin/sbcl_1.0_linux-i686/scales.fasl" ; Loading "bin/sbcl_1.0_linux-i686/spectral.fasl" ; Loading "bin/sbcl_1.0_linux-i686/patterns.fasl" ; Loading "bin/sbcl_1.0_linux-i686/io.fasl" ; Loading "bin/sbcl_1.0_linux-i686/scheduler.fasl" ; Loading "bin/sbcl_1.0_linux-i686/gnuplot.fasl" ; Loading "bin/sbcl_1.0_linux-i686/plt.fasl" ; Loading "bin/sbcl_1.0_linux-i686/sco.fasl" ; Loading "bin/sbcl_1.0_linux-i686/clm.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midi1.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midi2.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midi3.fasl" ; Loading "bin/sbcl_1.0_linux-i686/cmn.fasl" ; Loading "bin/sbcl_1.0_linux-i686/fomus.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midishare.fasl" ; Loading "bin/sbcl_1.0_linux-i686/player.fasl" ; Loading "bin/sbcl_1.0_linux-i686/sc.fasl" ; Loading "bin/sbcl_1.0_linux-i686/pm.fasl" ; Loading "bin/sbcl_1.0_linux-i686/rt.fasl" /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 2.11.0 ---/--\\\------ --/----\\\----- / \\\/ grace log: Grace 0.0.1 (c) 2007 Todd Ingalls, Rick Taube Launching /usr/bin/sbcl --eval '(load "/usr/local/lib/grace/grace/grace.asd")' --eval '(asdf:oos (quote asdf:load-op) "grace")' --eval '(grace:start-server 8000 "/var/tmp/temp0grace")' Polling socket server =:) Connected to SBCL on port 8000 ; in: LAMBDA NIL ; (USE-SYSTEM S :VERBOSE NIL) ; ; caught STYLE-WARNING: ; undefined function: USE-SYSTEM ; ; caught STYLE-WARNING: ; This function is undefined: ; USE-SYSTEM ; ; compilation unit finished ; caught 2 STYLE-WARNING conditions ; CM install directory: "/usr/local/lisp/cm/" ; Loading "bin/sbcl_1.0_linux-i686/pkg.fasl" ; Loading "bin/sbcl_1.0_linux-i686/sbcl.fasl" ; Loading "bin/sbcl_1.0_linux-i686/iter.fasl" ; Loading "bin/sbcl_1.0_linux-i686/level1.fasl" ; Loading "bin/sbcl_1.0_linux-i686/clos.fasl" ; Loading "bin/sbcl_1.0_linux-i686/scheme.fasl" ; Loading "bin/sbcl_1.0_linux-i686/utils.fasl" ; Loading "bin/sbcl_1.0_linux-i686/mop.fasl" ; Loading "bin/sbcl_1.0_linux-i686/objects.fasl" ; Loading "bin/sbcl_1.0_linux-i686/data.fasl" ; Loading "bin/sbcl_1.0_linux-i686/scales.fasl" ; Loading "bin/sbcl_1.0_linux-i686/spectral.fasl" ; Loading "bin/sbcl_1.0_linux-i686/patterns.fasl" ; Loading "bin/sbcl_1.0_linux-i686/io.fasl" STYLE-WARNING: implicitly creating new generic function STREAM-RECEIVE-INIT STYLE-WARNING: implicitly creating new generic function STREAM-RECEIVE-START STYLE-WARNING: implicitly creating new generic function STREAM-RECEIVE-STOP STYLE-WARNING: implicitly creating new generic function STREAM-RECEIVE-DEINIT STYLE-WARNING: implicitly creating new generic function STREAM-RECEIVE? ; Loading "bin/sbcl_1.0_linux-i686/scheduler.fasl" ; Loading "bin/sbcl_1.0_linux-i686/gnuplot.fasl" ; Loading "bin/sbcl_1.0_linux-i686/plt.fasl" ; Loading "bin/sbcl_1.0_linux-i686/sco.fasl" ; Loading "bin/sbcl_1.0_linux-i686/clm.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midi1.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midi2.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midi3.fasl" ; Loading "bin/sbcl_1.0_linux-i686/cmn.fasl" ; Loading "bin/sbcl_1.0_linux-i686/fomus.fasl" ; Loading "bin/sbcl_1.0_linux-i686/midishare.fasl" ; Loading "bin/sbcl_1.0_linux-i686/player.fasl" ; Loading "bin/sbcl_1.0_linux-i686/sc.fasl" ; Loading "bin/sbcl_1.0_linux-i686/pm.fasl" ; Loading "bin/sbcl_1.0_linux-i686/rt.fasl" STYLE-WARNING: implicitly creating new generic function RECV STYLE-WARNING: implicitly creating new generic function RECV-STOP STYLE-WARNING: implicitly creating new generic function RECV-SET! STYLE-WARNING: implicitly creating new generic function RECV? /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 2.11.0 ---/--\\\------ --/----\\\----- / \\\/ 2007/9/6, padovani : > > So... > in both editors (xemacs and grace) the value of *midi-player* is > "timidity -quiet=2" ... > I think that cm is actually playing the events that I evaluate from > grace editor, but, as the system is "muted" when I run it, I can't > hear anything... > I will consider moving to Fedora. Does it has a lowlatency kernel as > default? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zpadovani at yahoo.com.br Thu Sep 6 06:40:37 2007 From: zpadovani at yahoo.com.br (padovani) Date: Thu, 6 Sep 2007 10:40:37 -0300 Subject: [CM] grace on ubuntu - no midi sounds Message-ID: So... in both editors (xemacs and grace) the value of *midi-player* is "timidity -quiet=2" ... I think that cm is actually playing the events that I evaluate from grace editor, but, as the system is "muted" when I run it, I can't hear anything... I will consider moving to Fedora. Does it has a lowlatency kernel as default? From Hannes.Rieser at gmx.net Mon Sep 10 10:28:06 2007 From: Hannes.Rieser at gmx.net (Hannes Rieser) Date: Mon, 10 Sep 2007 19:28:06 +0200 Subject: [CM] GRACE on WinXP - supported features? Message-ID: <20070910172806.233650@gmx.net> hello, i installed the binary distribution of grace on my xp machine. i would like to do some realtime stuff with cm (controlling external synths and/or other software). is this possible with grace on WinXP? to be more specific: can i use PORTMIDI? can i use RTS? can i use OSC? if yes - how? is it enough to put the packages from the sourceforge page (sources and asdf files) each in a separate directory under the Grace\Resources directory (or the directory i point to in the LISP->Configure Lisp->Lisp Systems Directory)? if not - when? thanks Hannes -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail From taube at uiuc.edu Mon Sep 10 11:05:23 2007 From: taube at uiuc.edu (Rick Taube) Date: Mon, 10 Sep 2007 13:05:23 -0500 Subject: [CM] GRACE on WinXP - supported features? In-Reply-To: <20070910172806.233650@gmx.net> References: <20070910172806.233650@gmx.net> Message-ID: <8BB1BE2C-24EB-4ED4-ADB9-0245FED707AD@uiuc.edu> > hello, > i installed the binary distribution of grace on my xp machine. > i would like to do some realtime stuff with cm (controlling > external synths and/or other software). > is this possible with grace on WinXP? > Hi, The idea is to implement RTS functionality inside Grace itself, ie use callbacks from JUCE threads into lisp, rather than from an (external) lib like librts. Ditto MIDI and OSC: these could be supported in a cross platform way by Grace (JUCE really) instead of by separate libs that may or may not work on random platforms. But Grace is still just a baby and work is slow due to the start of semester and complicated by Lisp (as usual). > to be more specific: > > can i use PORTMIDI? > can i use RTS? > can i use OSC? > > if yes - how? the short answer is no, not now with the existing software: currently only clisp works on windows, it might be possible to load portmidi and/or osc but it would probably require some windows porting. rts will never work on windows. really the only hope for a cross-platform solution is to have Grace do all the IO/scheduling and lisp simply transfer algorithmic data to-from Grace From johannes.quint at web.de Sun Sep 16 02:13:56 2007 From: johannes.quint at web.de (Johannes Quint) Date: Sun, 16 Sep 2007 11:13:56 +0200 Subject: [CM] system osc Message-ID: <2B8185E2-C232-4DBD-981D-809E40326D30@web.de> rick, after updating cm, i can't no more load system osc: in sal: system "osc" => ; /Applications/CM.app/Contents/Resources/osc/sockets.fasl written ; compilation finished in 0:00:00 ; loading #P"/Applications/CM.app/Contents/Resources/osc/sockets.fasl" ; ; compilation unit aborted ; caught 1 fatal ERROR condition >>> Lisp runtime error: Error type: SYMBOL-PACKAGE-LOCKED-ERROR Error message: Lock on package SB-ALIEN violated when defining SB-ALIEN::UDP-SOCKET as a class. any help? johannes _________________________ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://www.johannes-quint.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Sep 16 07:26:25 2007 From: taube at uiuc.edu (Rick Taube) Date: Sun, 16 Sep 2007 09:26:25 -0500 Subject: [CM] system osc In-Reply-To: <2B8185E2-C232-4DBD-981D-809E40326D30@web.de> References: <2B8185E2-C232-4DBD-981D-809E40326D30@web.de> Message-ID: for now the easiest thing is to hack around it by adding this to osc/ osc.asd : #+sbcl (sb-ext:unlock-package (find-package ':sb-alien)) at some point ill take a closer look and see what is going wrong but Im reluctant to do any more work on the rts/osc modules if Grace can take over providing the osc and rts services. we are looking at grace/ rts/lisp right now. On Sep 16, 2007, at 4:13 AM, Johannes Quint wrote: > rick, > after updating cm, i can't no more load system osc: > > in sal: > > system "osc" > > => > > ; /Applications/CM.app/Contents/Resources/osc/sockets.fasl written > ; compilation finished in 0:00:00 > ; loading #P"/Applications/CM.app/Contents/Resources/osc/sockets.fasl" > ; > ; compilation unit aborted > ; caught 1 fatal ERROR condition > >>> Lisp runtime error: > Error type: SYMBOL-PACKAGE-LOCKED-ERROR > Error message: Lock on package SB-ALIEN violated when defining > SB-ALIEN::UDP-SOCKET as a class. > > any help? > > johannes > > _________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.de > http://www.johannes-quint.de > From plewto at gmail.com Wed Sep 19 12:35:31 2007 From: plewto at gmail.com (Steven Jones) Date: Wed, 19 Sep 2007 14:35:31 -0500 Subject: [CM] Question about guile modules with snd. Message-ID: <58a9955a0709191235o21448eefld74b5ca57cf01cc1@mail.gmail.com> I'm attempting to create clm modules for snd. When I use define-module previous definitions appear to not be visible to the new module. The following three lines illustrate the problem. (format #t "pre define-module ~S~%" (listener-prompt)) (define-module (drsmile baz)) (format #t "post define-module ~S~%" (listener-prompt)) Searching the guile manual has not proved helpful, any suggestions? Thanks Steven Jones From bil at ccrma.Stanford.EDU Thu Sep 20 04:36:38 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 20 Sep 2007 04:36:38 -0700 Subject: [CM] Question about guile modules with snd. In-Reply-To: <58a9955a0709191235o21448eefld74b5ca57cf01cc1@mail.gmail.com> References: <58a9955a0709191235o21448eefld74b5ca57cf01cc1@mail.gmail.com> Message-ID: <20070920112823.M42350@ccrma.Stanford.EDU> > I'm attempting to create clm modules for snd. When I use define-module > previous definitions appear to not be visible to the new module. This part of Guile was in flux for a long time, then settled into something incompatible with Gauche (I think all Schemes do it differently, and only Jaffer's provide/require mechanism has any hope of being portable). R6RS probably came up with yet another way. So, currently every Snd identifier is just placed in the guile-user module, and not explicitly exported. I could export all the names automatically (but in the xg module I bet there are around 5000 names), or perhaps it would work to export them from some Scheme file -- I don't know if there are restrictions on when you can declare something public, or how you export a name at the Scheme level (in C in Guile, it's scm_c_export -- I could add this, but then I have to remember to keep the list up-to-date somehow). As you can see, I've tried to ignore modules... From bil at ccrma.Stanford.EDU Thu Sep 20 06:20:39 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 20 Sep 2007 06:20:39 -0700 Subject: [CM] Question about guile modules with snd. In-Reply-To: <58a9955a0709191235o21448eefld74b5ca57cf01cc1@mail.gmail.com> References: <58a9955a0709191235o21448eefld74b5ca57cf01cc1@mail.gmail.com> Message-ID: <20070920131939.M46887@ccrma.Stanford.EDU> I've added the file export-all.scm to the Snd tarball and CVS site. I think if you load it before defining the new module, all Snd/Sndlib/CLM names will get exported to your new module. From bil at ccrma.Stanford.EDU Thu Sep 20 06:23:54 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 20 Sep 2007 06:23:54 -0700 Subject: [CM] Question about guile modules with snd. In-Reply-To: <58a9955a0709191235o21448eefld74b5ca57cf01cc1@mail.gmail.com> References: <58a9955a0709191235o21448eefld74b5ca57cf01cc1@mail.gmail.com> Message-ID: <20070920132300.M48094@ccrma.Stanford.EDU> rats, I forgot to say that you need :use-module. Here's the sequence I used: (load "/home/bil/cl/export-all.scm") (define-module (drsmile baz) :use-module (guile-user)) (format #t "post define-module ~S~%" (listener-prompt)) From kjetil.matheussen at notam02.no Fri Sep 21 08:56:59 2007 From: kjetil.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 21 Sep 2007 17:56:59 +0200 (CEST) Subject: [CM] [ANN] Snd-ls V0.9.8.2 Message-ID: Snd-ls v0.9.8.2 =============== Snd-ls is a distribution of Bill Schottstaedt's sound editor SND. Its target is people that don't know scheme very well, and don't want to spend too much time configuring Snd. It can also serve as a quick introduction to Snd and how it can be set up. Snd-ls also serves as base code for the San-Dysth softsynth (http://www.notam02.no/~kjetism/sandysth/) and the Snd-rt music programming language (http://www.notam02.no/arkiv/doc/snd-rt) Changes 0.9.7.12 -> 0.9.8.2 --------------------------- -The rt_readin_tag startup bug is finally fixed. Thanks to Josh Lawrence, Luke Hammon, Martin Rumori and Renick Bell for helping me finding it. -Improved the build system a bit. -Guile >=1.8.0 is now required to build and run Snd-ls. -Fixed bug that caused snd to fail starting if no previously used soundfile was opened during startup. -Updated Snd from 8.4/12.9.2006 to 9.3/30.7.2007. Many important fixes. Download from http://www.notam02.no/arkiv/src/snd/ From kjetil.matheussen at notam02.no Sat Sep 22 04:39:02 2007 From: kjetil.matheussen at notam02.no (Kjetil S. Matheussen) Date: Sat, 22 Sep 2007 13:39:02 +0200 (CEST) Subject: [CM] [ANN] Snd-ls V0.9.8.3 In-Reply-To: References: Message-ID: On Sat, 22 Sep 2007, Kjetil S. Matheussen wrote: > > > Snd-ls v0.9.8.2 Changes 0.9.8.2 -> 0.9.8.3 --------------------------- -Screwed up the rt_readin_tag fix by adding the wrong file. Big thanks to "edu" for reporting the problem so quickly. http://www.notam02.no/arkiv/src/snd/snd-ls-0.9.8.3.tar.gz From plewto at gmail.com Sat Sep 22 23:55:16 2007 From: plewto at gmail.com (Steven Jones) Date: Sun, 23 Sep 2007 01:55:16 -0500 Subject: Fwd [CM] Question about guile modules with snd. Message-ID: <58a9955a0709222355m561de349p33605fbb541bac96@mail.gmail.com> Sorry I meant to respond to the list. ---------- Forwarded message ---------- Date: Sep 23, 2007 1:48 AM Subject: Re: [CM] Question about guile modules with snd. To: Bill Schottstaedt Thanks Bill for your quick response, I figured it was something as you described. I have found (more like stumbled upon) a few words not defined in export-all.scm. Specifically: pi vct? make-vct and run-internal. I see now it could be quite burdensome to maintain export-all up to date. If this is the case I could resort to the tactic of simply prepending definitions with a pseudo module name. I.E instead of naming a procedure "foo" it would be "module-foo". Steven Jones. From bil at ccrma.Stanford.EDU Sun Sep 23 04:11:08 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 23 Sep 2007 04:11:08 -0700 Subject: [CM] Question about guile modules with snd. In-Reply-To: <58a9955a0709222355m561de349p33605fbb541bac96@mail.gmail.com> References: <58a9955a0709222355m561de349p33605fbb541bac96@mail.gmail.com> Message-ID: <20070923110614.M66813@ccrma.Stanford.EDU> I'll add the vct names, and search around for stuff like pi -- thanks for pointing them out. I don't know what the "right thing" is in general. From bil at ccrma.Stanford.EDU Mon Sep 24 13:04:40 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 Sep 2007 13:04:40 -0700 Subject: [CM] r6rs article Message-ID: <20070924195120.M44541@ccrma.Stanford.EDU> For those who followed the recent Scheme self-mutilation, there's a nice summary in http://bit-player.org/2007/lambda-the-ultimate-mashup. I think r6rs will have little impact on Snd, partly because no one intends to implement it. From achim.bornhoeft at web.de Mon Sep 24 15:35:58 2007 From: achim.bornhoeft at web.de (Achim Bornhoeft) Date: Tue, 25 Sep 2007 00:35:58 +0200 Subject: [CM] Access SND from CLM Message-ID: <46F83BCE.1050402@web.de> I have the following SND on my Powerbook. ------------------------- Snd version .......... : 9.3 CFLAGS ............... : -O2 -I. -g -O2 LDFLAGS .............. : prefix.................: /usr/local extension language.....: Guile audio system...........: MacOSX graphics toolkit.......: Gtk optional libraries.....: gsl gettext random features........: environs...............: powerpc-apple-darwin8.8.0 gcc The command "snd" in a Terminal executes "open-x11 /usr/local/bin/snd". My CLM comes with Common Music 2.10.0 in Aquamacs (SLIME). Now I tried to call start-snd, to-snd and other from within CLM but nothing happened. Can anybody tell me how to start SND from CLM and use these macros? Many thanks for help, Achim -- Achim Bornhoeft .- Neckarhalde 38, D-72070 Tuebingen -.-. tel/fax +49 (0)7071 942745 -... mobil +49 (0)179 6936930 skype:achim.bornhoeft?call -- From bil at ccrma.Stanford.EDU Mon Sep 24 16:08:38 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 Sep 2007 16:08:38 -0700 Subject: [CM] Access SND from CLM In-Reply-To: <46F83BCE.1050402@web.de> References: <46F83BCE.1050402@web.de> Message-ID: <20070924230450.M21686@ccrma.Stanford.EDU> The send-snd and to-snd functions work for me in MacOSX and sbcl with Gtk and Motif Snd's, but not if I start in a non-X11 terminal -- my first guess is that clm needs the X11 support to talk to snd, so it too needs to be started in an X11 environment, but I'm just guessing. I'll look at it more carefully tomorrow. The actual code is in sc.c. From achim.bornhoeft at web.de Mon Sep 24 23:58:24 2007 From: achim.bornhoeft at web.de (Achim Bornhoeft) Date: Tue, 25 Sep 2007 08:58:24 +0200 Subject: [CM] CM with GTK Message-ID: <46F8B190.7050003@web.de> I tried to run CM 2.10.0 with the gtk system on my Powerbook G4 running 10.4.8. With the cm-gtk Folder placed in the Resources Folder inside the CM.app Aquamacs (SLIME) comes up with the following error: ------------ ; loading system definition from /Applications/CM.app/Contents/Resources/cm-gtk/cm-gtk.asd into # ;Loading #P"/Applications/CM.app/Contents/Resources/cm-gtk/cm-gtk.asd"... ; registering # as CM-GTK ; CM install directory: "/Applications/CM.app/Contents/Resources/cm/" (... many lines erased here ...) ; CM install directory: "/Applications/CM.app/Contents/Resources/cm/" ; CM install directory: "/Applications/CM.app/Contents/Resources/cm/" > Error in process listener(1): Too many open files : 64 > While executing: "Unknown" > Type :GO to continue, :POP to abort. > If continued: Skip evaluation of (progn (load "/Applications/CM.app/Contents/Resources/cm/src/cm.lisp" :verbose nil) (use-system :sal) (cm)) Type :? for other options. 1 > --------------- I would be very thankful for any help with this, Achim -- Achim Bornhoeft .- Neckarhalde 38, D-72070 Tuebingen -.-. tel/fax +49 (0)7071 942745 -... mobil +49 (0)179 6936930 skype:achim.bornhoeft?call -- From bil at ccrma.Stanford.EDU Tue Sep 25 06:48:17 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 25 Sep 2007 06:48:17 -0700 Subject: [CM] Access SND from CLM In-Reply-To: <46F83BCE.1050402@web.de> References: <46F83BCE.1050402@web.de> Message-ID: <20070925134236.M15797@ccrma.Stanford.EDU> I checked the clm/snd business, and think I guessed right for once -- I added a warning, so that you'll get some indication when the connection fails. The communication between snd and clm is handled by X window properties (earlier attempts to use pipes and temporary files were a disaster), so both clm and snd have to be able to open an X11 display. There must be a way to do the same thing in Apple's OS, but I don't know what it is. By the way, thanks for the tip about open-x11 -- I'll add that to the snd documentation. From errordeveloper at gmail.com Wed Sep 26 02:20:00 2007 From: errordeveloper at gmail.com (errordeveloper at gmail.com) Date: Wed, 26 Sep 2007 09:20:00 +0000 Subject: [CM] OggPCM Message-ID: <20070926091959.GE31309@00110101.errordevlopment.org.uk> i have just discovered this on the web: http://wiki.xiph.org/OggPCM could be nice if libsnd had support for this, as it seems to be the only opensource kind of PCM format so far.. From bil at ccrma.Stanford.EDU Wed Sep 26 04:51:26 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 26 Sep 2007 04:51:26 -0700 Subject: [CM] OggPCM In-Reply-To: <20070926091959.GE31309@00110101.errordevlopment.org.uk> References: <20070926091959.GE31309@00110101.errordevlopment.org.uk> Message-ID: <20070926114015.M79521@ccrma.Stanford.EDU> > could be nice if libsnd had support for this, Isn't this part of the OGG library, so oggenc and oggdec can handle it? From achim.bornhoeft at web.de Fri Sep 28 15:23:58 2007 From: achim.bornhoeft at web.de (Achim Bornhoeft) Date: Sat, 29 Sep 2007 00:23:58 +0200 Subject: [CM] *clm-search-list* and relaitve pathnames Message-ID: <46FD7EFE.2030208@web.de> I am running CLM in CM 2.10.0 Powerbook G4, OS 10.4.8. My *clm-search-list* returns: ("" "/Users/born/clm/snd/1-4.wav" "/Users/born/clm/ins/samples.ins") But when I try to call a soundfile without the whole path like "1-4.wav" (for instance in a with-sound call) the listener hangs without an error message and can't be interrupted. Is this feature working only in combination with open-input* ? If yes, is there any chance to make it work with pathname strings as well? And another question: Is there any possibility to use relative pathnames in CLM (OpenMCL) ? Many thanks for your help, Achim -- Achim Bornhoeft .- Neckarhalde 38, D-72070 Tuebingen -.-. tel/fax +49 (0)7071 942745 -... mobil +49 (0)179 6936930 skype:achim.bornhoeft?call -- From bil at ccrma.Stanford.EDU Sat Sep 29 08:17:45 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 29 Sep 2007 08:17:45 -0700 Subject: [CM] Snd 9.4 Message-ID: <20070929151648.M1827@ccrma.Stanford.EDU> Snd 9.4: added export-all.scm. the run macro can now find define* args (from within the define*) def-clm-struct uses def-optkey-fun for its make func, and takes an optional :make-wrapper function to specialize the make function. Also run is better at handling lists and def-clm-struct. def-clm-struct can include a list of lists of (name func) pairs to implement generic funcs. added generators.scm with 42 new generators (and a couple instruments under construction) several of these generators used to be in dsp.scm (under slightly different names) -- the old forms are in snd9.scm. clm: changed asymmetric-fm to use cos(sin) and added amplitude normalization. make-dpss-window and make-papoulis-window in dsp.scm gsl-eigenvectors added make-mixer! and make-frame! to bypass the size checks (for matrices and vectors) checked: sbcl 1.0.9|10, pango 1.18.1, gtk 2.12.0 Thanks!: Steven Jones, Todd Ingalls, Achim Bornhoeft From bil at ccrma.Stanford.EDU Sat Sep 29 11:01:18 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 29 Sep 2007 11:01:18 -0700 Subject: [CM] *clm-search-list* Message-ID: <20070929175934.M95132@ccrma.Stanford.EDU> I managed to lose your message, but I think the problem was that if you specify just a directory (not a full path), you need to include the trailing "/": (setf *clm-search-list* (list "/home/bil/cl/")) From achim.bornhoeft at web.de Sat Sep 29 11:56:04 2007 From: achim.bornhoeft at web.de (Achim Bornhoeft) Date: Sat, 29 Sep 2007 20:56:04 +0200 Subject: [CM] *clm-search-list* and relaitve pathnames In-Reply-To: <46FD7EFE.2030208@web.de> References: <46FD7EFE.2030208@web.de> Message-ID: <46FE9FC4.4060008@web.de> Hi Bill, here is my mail again. Achim Achim Bornhoeft schrieb: > I am running CLM in CM 2.10.0 Powerbook G4, OS 10.4.8. > > My *clm-search-list* returns: > ("" "/Users/born/clm/snd/1-4.wav" "/Users/born/clm/ins/samples.ins") > > But when I try to call a soundfile without the whole path like "1-4.wav" > (for instance in a with-sound call) the listener hangs without an error > message and can't be interrupted. Is this feature working only in > combination with open-input* ? If yes, is there any chance to make it > work with pathname strings as well? > > And another question: > Is there any possibility to use relative pathnames in CLM (OpenMCL) ? > > Many thanks for your help, > Achim > -- Achim Bornhoeft .- Neckarhalde 38, D-72070 Tuebingen -.-. tel/fax +49 (0)7071 942745 -... mobil +49 (0)179 6936930 skype:achim.bornhoeft?call -- From bil at ccrma.Stanford.EDU Sun Sep 30 07:37:18 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 30 Sep 2007 07:37:18 -0700 Subject: [CM] *clm-search-list* and relaitve pathnames In-Reply-To: <46FE9FC4.4060008@web.de> References: <46FD7EFE.2030208@web.de> <46FE9FC4.4060008@web.de> Message-ID: <20070930143423.M28874@ccrma.Stanford.EDU> The *clm-search-list* business works on a Mac (and Linux) in sbcl; I can't test openmcl, and can't see why it would hang even if merge-pathnames was unhappy. From achim.bornhoeft at web.de Sun Sep 30 10:45:21 2007 From: achim.bornhoeft at web.de (Achim Bornhoeft) Date: Sun, 30 Sep 2007 19:45:21 +0200 Subject: [CM] *clm-search-list* and relative pathnames In-Reply-To: <20070930143423.M28874@ccrma.Stanford.EDU> References: <46FD7EFE.2030208@web.de> <46FE9FC4.4060008@web.de> <20070930143423.M28874@ccrma.Stanford.EDU> Message-ID: <46FFE0B1.3030202@web.de> With *clm-search-list* this is working: (with-sound (:srate 44100 :statistics t) (soundfile 0 4 (open-input* "1-4.wav") '(0 0 0.1 1 0.9 1 1 0) .7)) but with this the listener hangs: (with-sound (:srate 44100 :statistics t) (soundfile 0 4 "1-4.wav" '(0 0 0.1 1 0.9 1 1 0) .7)) Is there any possibility to use relative pathnames in CLM (OpenMCL)? Bill Schottstaedt schrieb: > The *clm-search-list* business works on a Mac (and Linux) in sbcl; I can't test > openmcl, and can't see why it would hang even if merge-pathnames > was unhappy. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -- Achim Bornhoeft .- Neckarhalde 38, D-72070 Tuebingen -.-. tel/fax +49 (0)7071 942745 -... mobil +49 (0)179 6936930 skype:achim.bornhoeft?call -- From bil at ccrma.Stanford.EDU Sun Sep 30 12:01:24 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 30 Sep 2007 12:01:24 -0700 Subject: [CM] *clm-search-list* and relative pathnames In-Reply-To: <46FFE0B1.3030202@web.de> References: <46FD7EFE.2030208@web.de> <46FE9FC4.4060008@web.de> <20070930143423.M28874@ccrma.Stanford.EDU> <46FFE0B1.3030202@web.de> Message-ID: <20070930190029.M34263@ccrma.Stanford.EDU> "soundfile" must be your function -- make it do whatever you want! From michael at klingbeil.com Sun Sep 30 12:16:36 2007 From: michael at klingbeil.com (Michael Klingbeil) Date: Sun, 30 Sep 2007 15:16:36 -0400 Subject: [CM] *clm-search-list* and relative pathnames In-Reply-To: <46FFE0B1.3030202@web.de> References: <46FD7EFE.2030208@web.de> <46FE9FC4.4060008@web.de> <20070930143423.M28874@ccrma.Stanford.EDU> <46FFE0B1.3030202@web.de> Message-ID: <46FFF614.5080305@klingbeil.com> It's a bit hard to diagnose without looking at your "soundfile" instrument. Post the source and perhaps then we can figure it out. Achim Bornhoeft wrote: > With *clm-search-list* this is working: > > (with-sound (:srate 44100 :statistics t) > (soundfile 0 4 (open-input* "1-4.wav") '(0 0 0.1 1 0.9 1 1 0) .7)) > > but with this the listener hangs: > > (with-sound (:srate 44100 :statistics t) > (soundfile 0 4 "1-4.wav" '(0 0 0.1 1 0.9 1 1 0) .7)) > > Is there any possibility to use relative pathnames in CLM (OpenMCL)? > > > Bill Schottstaedt schrieb: >> The *clm-search-list* business works on a Mac (and Linux) in sbcl; I >> can't test >> openmcl, and can't see why it would hang even if merge-pathnames >> was unhappy. >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >