From taube at uiuc.edu Thu Jan 1 04:07:27 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 1 Jan 2009 06:07:27 -0600 Subject: [CM] cm with chicken In-Reply-To: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> Message-ID: <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> i just added the premake support last night for building on windows (mingw), it'll be in svn in a few hours, i just have to make sure that things still work on mac and test menu items for loading that i added as well note that im still using chicken 3.0.0. ive been terrified to upgrade to a later chicken since its works so well with 3.0.0 and the later releases dont add much useful stuff (in my opinion) On Jan 1, 2009, at 12:56 AM, Carlos Pita wrote: > Hi all, > > I'm trying to build cm-3.2.3 with chicken-3.4.0 and juce-1.46. Both > juce and chicken built without any problem. Then I did the following > in order to build cm: > > premake --target gnu --chicken ~/src/chicken-3.4.0 --juce ~/src/juce > make > > There were some problems when linking against libchicken that I > trivially fixed adding -lchicken to the cm.make and grace.make > makefiles. After that both executables were created. > > But when I run any of them, I'm getting: > > [carlos at carlos cm]$ bin/cm > JUCE v1.46 (c) 2009 Julian Storer > Error: unbound variable: hash-table-set! > > Can you help me? > > Thank you in advance > Regards > -Carlos > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Thu Jan 1 05:26:35 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 1 Jan 2009 05:26:35 -0800 Subject: [CM] sndlib on mingw? In-Reply-To: <20081231190315.BMU98524@expms6.cites.uiuc.edu> References: <20081231190315.BMU98524@expms6.cites.uiuc.edu> Message-ID: <20090101132403.M17637@ccrma.Stanford.EDU> > say in mingw sndlib gets all the way to linking, is there any hope here? Is this related to the "__declspec(dllexport)" persiflage I see in some headers? We could add a macro for it in all the sndlib headers. From taube at uiuc.edu Thu Jan 1 05:37:03 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 1 Jan 2009 07:37:03 -0600 Subject: [CM] sndlib on mingw? In-Reply-To: <20090101132403.M17637@ccrma.Stanford.EDU> References: <20081231190315.BMU98524@expms6.cites.uiuc.edu> <20090101132403.M17637@ccrma.Stanford.EDU> Message-ID: im not sure i need to reboot in my windows partition. i can can send my unresolved list to you. but it does seems like its pretty close...would be really terrific to finally after 20 years get everything running the same on all three oses!!! On Jan 1, 2009, at 7:26 AM, Bill Schottstaedt wrote: >> say in mingw sndlib gets all the way to linking, is there any hope >> here? > > Is this related to the "__declspec(dllexport)" persiflage I see in > some headers? > We could add a macro for it in all the sndlib headers. > > > From carlosjosepita at gmail.com Thu Jan 1 07:05:33 2009 From: carlosjosepita at gmail.com (Carlos Pita) Date: Thu, 1 Jan 2009 13:05:33 -0200 Subject: [CM] cm with chicken In-Reply-To: <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> Message-ID: <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> Thanks Heinrich, using chicken 3.0.0 fixes the issue, but as I'm currently working with 3.4.0 I prefer to keep that version as my system default. Anyway, I managed to get it working just regenerating the bridge: $ cd scm $ csc -c++ -embedded -t ChickenBridge.scm $ mv ChickenBridge.cpp ../src Remember that libchicken is not being linked by default, some final makefile tweaking is needed. Wouldn't it be better if you could pass the include/lib directories for the installed dependencies (juce, chicken, sndlib) instead of the src for the uninstalled ones? For example, I'm writing an archlinux package for cm and it's very difficult to specify package dependencies the way cm expects them now. One more question, is juce really needed if I only want to build cm (not grace)? Best regards -Carlos On Thu, Jan 1, 2009 at 10:07 AM, Heinrich Taube wrote: > i just added the premake support last night for building on windows (mingw), > it'll be in svn in a few hours, i just have to make sure that things still > work on mac and test menu items for loading that i added as well > > note that im still using chicken 3.0.0. ive been terrified to upgrade to a > later chicken since its works so well with 3.0.0 and the later releases dont > add much useful stuff (in my opinion) > > > > On Jan 1, 2009, at 12:56 AM, Carlos Pita wrote: > >> Hi all, >> >> I'm trying to build cm-3.2.3 with chicken-3.4.0 and juce-1.46. Both >> juce and chicken built without any problem. Then I did the following >> in order to build cm: >> >> premake --target gnu --chicken ~/src/chicken-3.4.0 --juce ~/src/juce >> make >> >> There were some problems when linking against libchicken that I >> trivially fixed adding -lchicken to the cm.make and grace.make >> makefiles. After that both executables were created. >> >> But when I run any of them, I'm getting: >> >> [carlos at carlos cm]$ bin/cm >> JUCE v1.46 (c) 2009 Julian Storer >> Error: unbound variable: hash-table-set! >> >> Can you help me? >> >> Thank you in advance >> Regards >> -Carlos >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From taube at uiuc.edu Thu Jan 1 07:30:10 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 1 Jan 2009 09:30:10 -0600 Subject: [CM] cm with chicken In-Reply-To: <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> Message-ID: <806947D9-CF6C-4CB9-B2AB-3B72833ADC37@uiuc.edu> > > using chicken 3.0.0 fixes the issue, but as I'm currently working with > 3.4.0 I prefer to keep that version as my system default. Anyway, I > managed to get it working just regenerating the bridge: well thats great to hear ! but i woudnt declare victory till you've actually eval'ed a few realtime algorithms to see if it all runs. > Remember that libchicken is not being linked by default, some final > makefile tweaking is needed. with the premake i made last night it links with chicken no problems. ill post it to svn in an hour or so. > Wouldn't it be better if you could pass > the include/lib directories for the installed dependencies (juce, > chicken, sndlib) instead of the src for the uninstalled ones? it depends, the problem is you cant make a static link that way, at least I couldnt get it to do that, it would always take the shared lib. shared libs are nice if you are building from scratch but not for delivering drag and drop apps. im sure i could add some premake -- option for linking to /usr/local/include and /usr/local/lib [maybe the option could be --installed-chicken ??] > One more question, is juce really needed if I only want to build cm > (not grace)? yes but use bin/cm instead of Grace -- bin/cm has no gui components , its a console app that will work in Emacs or whatever. > > > Best regards > -Carlos > From taube at uiuc.edu Thu Jan 1 07:33:53 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 1 Jan 2009 09:33:53 -0600 Subject: [CM] cm with chicken In-Reply-To: <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> Message-ID: ok once i check in the new premake.lua please hack it to do what you want and then send it back to me, im happy to include the mods if they dont break the other build options (there arent that many of them) On Jan 1, 2009, at 9:05 AM, Carlos Pita wrote: > , I'm writing an archlinux package for cm and it's very > difficult to specify package dependencies the way cm expects them now. From taube at uiuc.edu Thu Jan 1 08:02:02 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 1 Jan 2009 10:02:02 -0600 Subject: [CM] cm with chicken In-Reply-To: References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> Message-ID: <1741E27F-E773-4C16-9835-FBC7E2CDF168@uiuc.edu> svn trunk has premake.lua that works on window/chicken: svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ trunk cm audio player now has realtime waveform view during playback. added menu support for loading files to Console and Editor windows: ("Load File...", "Load Recent", "Set Init File", "Clear Init File") , added res/doc/changelog.html' i wont make any new binaries for a few more days ... building from source really isnt that hard... From carlosjosepita at gmail.com Thu Jan 1 09:24:28 2009 From: carlosjosepita at gmail.com (Carlos Pita) Date: Thu, 1 Jan 2009 15:24:28 -0200 Subject: [CM] cm with chicken In-Reply-To: References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> Message-ID: <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> Hi Heinrich, I'm writing a number of changes to premake.lua, it's almost done but I want you to clarify me a point before sending the modified version: Why aren't you listing the needed libraries as different elements of the links table instead of concatenating them in a long string with the platform specific -l / -framework flags? For example: why " -l pthread -l rt" instead of { "pthread", "rt" } Regards -Carlos On Thu, Jan 1, 2009 at 1:33 PM, Heinrich Taube wrote: > ok once i check in the new premake.lua please hack it to do what you want > and then send it back to me, im happy to include the mods if they dont break > the other build options (there arent that many of them) > > > On Jan 1, 2009, at 9:05 AM, Carlos Pita wrote: > >> , I'm writing an archlinux package for cm and it's very >> difficult to specify package dependencies the way cm expects them now. > > From taube at illinois.edu Thu Jan 1 09:33:07 2009 From: taube at illinois.edu (taube at illinois.edu) Date: Thu, 1 Jan 2009 11:33:07 -0600 (CST) Subject: [CM] cm with chicken In-Reply-To: <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> Message-ID: <20090101113307.BMV27789@expms6.cites.uiuc.edu> i believe it started because on mac had to add extries that expanded to "-framework xxx -framework yyy ... " which the linking table didnt support so I had to resort to strings. then i used that code as i ported. actually lua tables seemed pretty crappy to me at the time, i coudlnt even see how to append two tables togehter without writing a loop so using a string was easier an actually worked. but im certainly no lua expert ---- Original message ---- >Date: Thu, 1 Jan 2009 15:24:28 -0200 >From: "Carlos Pita" >Subject: Re: [CM] cm with chicken >To: "Heinrich Taube" >Cc: cm list > >Hi Heinrich, > >I'm writing a number of changes to premake.lua, it's almost done but I >want you to clarify me a point before sending the modified version: > >Why aren't you listing the needed libraries as different elements of >the links table instead of concatenating them in a long string with >the platform specific -l / -framework flags? > >For example: why " -l pthread -l rt" instead of { "pthread", "rt" } > >Regards >-Carlos > >On Thu, Jan 1, 2009 at 1:33 PM, Heinrich Taube wrote: >> ok once i check in the new premake.lua please hack it to do what you want >> and then send it back to me, im happy to include the mods if they dont break >> the other build options (there arent that many of them) >> >> >> On Jan 1, 2009, at 9:05 AM, Carlos Pita wrote: >> >>> , I'm writing an archlinux package for cm and it's very >>> difficult to specify package dependencies the way cm expects them now. >> >> > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From carlosjosepita at gmail.com Thu Jan 1 11:22:28 2009 From: carlosjosepita at gmail.com (Carlos Pita) Date: Thu, 1 Jan 2009 17:22:28 -0200 Subject: [CM] cm with chicken In-Reply-To: <20090101113307.BMV27789@expms6.cites.uiuc.edu> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> <20090101113307.BMV27789@expms6.cites.uiuc.edu> Message-ID: <7798eaa0901011122j66d1a892wbd7da31fbb8e14d6@mail.gmail.com> Attached is a modified version of premake.lua. Highlights are: 1) --juce --chicken --sndlib take either a source directory or an installation prefix (eg /usr or /usr/src). They do some simple checks to autodetect which is the case. 2) In case that a dependency's source directory is given, the library used is the static one (here I avoided the one-string-including-all-libs approach in favour of another that takes advantage of the linkoptions property described at http://premake.sourceforge.net/configuration). 3) a number of refactorings that hopefully had simplified the script. One caveat: I'm not sure but as I've reverted to package.links to specify needed libraries, the macos makefiles could have been broken (the -framework stuff) . I've no way to test that at home. Anyway, if we have an issue here, I think using linkoptions as a workaround is more flexible and less hackish than the one-string trick. Hope it helps. No hesitate to ask if you have any doubt or need some help with this. Regards -Carlos On Thu, Jan 1, 2009 at 3:33 PM, wrote: > i believe it started because on mac had to add extries that expanded to "-framework xxx -framework yyy ... " which the linking table didnt support so I had to resort to strings. then i used that code as i ported. actually lua tables seemed pretty crappy to me at the time, i coudlnt even see how to append two tables togehter without writing a loop so using a string was easier an actually worked. but im certainly no lua expert > > ---- Original message ---- >>Date: Thu, 1 Jan 2009 15:24:28 -0200 >>From: "Carlos Pita" >>Subject: Re: [CM] cm with chicken >>To: "Heinrich Taube" >>Cc: cm list >> >>Hi Heinrich, >> >>I'm writing a number of changes to premake.lua, it's almost done but I >>want you to clarify me a point before sending the modified version: >> >>Why aren't you listing the needed libraries as different elements of >>the links table instead of concatenating them in a long string with >>the platform specific -l / -framework flags? >> >>For example: why " -l pthread -l rt" instead of { "pthread", "rt" } >> >>Regards >>-Carlos >> >>On Thu, Jan 1, 2009 at 1:33 PM, Heinrich Taube wrote: >>> ok once i check in the new premake.lua please hack it to do what you want >>> and then send it back to me, im happy to include the mods if they dont break >>> the other build options (there arent that many of them) >>> >>> >>> On Jan 1, 2009, at 9:05 AM, Carlos Pita wrote: >>> >>>> , I'm writing an archlinux package for cm and it's very >>>> difficult to specify package dependencies the way cm expects them now. >>> >>> >> >>_______________________________________________ >>Cmdist mailing list >>Cmdist at ccrma.stanford.edu >>http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -------------- next part -------------- A non-text attachment was scrubbed... Name: premake.lua Type: application/octet-stream Size: 7048 bytes Desc: not available URL: From taube at uiuc.edu Thu Jan 1 12:07:16 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 1 Jan 2009 14:07:16 -0600 Subject: [CM] cm with chicken In-Reply-To: <7798eaa0901011122j66d1a892wbd7da31fbb8e14d6@mail.gmail.com> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> <20090101113307.BMV27789@expms6.cites.uiuc.edu> <7798eaa0901011122j66d1a892wbd7da31fbb8e14d6@mail.gmail.com> Message-ID: <569E3923-E72C-4007-AAC6-0CE3BC2CF4F3@uiuc.edu> carlos its very clean but it doesn't work on osx for the reason i mentioned in my previous post. take a look at what ihappens for FRAMEWORK linking , this has to be done via -framework NOT -l . as far as i can tell you can't add frameworks as table elements to the linkset because then it thinks these are libs not frameworks as you can see below (-lQuicktime etct) hence my strings.... [...] 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/Main.o obj/cm/Release/SndLib.o obj/cm/ Release/SndLibBridge.o obj/cm/Release/Instruments.o -Lbin -L. -Wl,- x ../sndlib/sndlib.a -L"../juce-1.46/bin" -lCarbon -lCocoa - lCoreServices -lCoreAudio -lCoreMidi -lApplicationServices -lOpenGL - lAGL -lQuickTime -lIOKIT -ljuce ld: library not found for -lCarbon also what happened to the linking set for for windows? From carlosjosepita at gmail.com Thu Jan 1 12:47:09 2009 From: carlosjosepita at gmail.com (Carlos Pita) Date: Thu, 1 Jan 2009 18:47:09 -0200 Subject: [CM] cm with chicken In-Reply-To: <569E3923-E72C-4007-AAC6-0CE3BC2CF4F3@uiuc.edu> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> <20090101113307.BMV27789@expms6.cites.uiuc.edu> <7798eaa0901011122j66d1a892wbd7da31fbb8e14d6@mail.gmail.com> <569E3923-E72C-4007-AAC6-0CE3BC2CF4F3@uiuc.edu> Message-ID: <7798eaa0901011247q1c50678dx2dbc0aa8ea8f997f@mail.gmail.com> Hi Heinrich, maybe a global libflag variable can be set to "-l" or "-framework" and all add(mypackage.links, somelib) be replaced by add(mypackage.linkoptions, libflag .. somelib) AFAIK linkoptions is the way to pass arbitrary stuff to the linker. Or maybe a method addlib(lib) { if it's linux add(pkg.links, lib), if it's not add(pkg.linkoptions, "-framework " .. lib) } then replace all add(pkg.links, simelib) by addlib(somelib) What do you think? Regards -Carlos PS: - is the csound port described at http://commonmusic.sourceforge.net/cm/res/doc/cm.html implemented? - if it's how can I enable support for it? what about On Thu, Jan 1, 2009 at 6:07 PM, Heinrich Taube wrote: > carlos its very clean but it doesn't work on osx for the reason i mentioned > in my previous post. take a look at what ihappens for FRAMEWORK linking , > this has to be done via -framework NOT -l . as far as i can tell you can't > add frameworks as table elements to the linkset because then it thinks these > are libs not frameworks as you can see below (-lQuicktime etct) > > hence my strings.... > > [...] > 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/Main.o obj/cm/Release/SndLib.o > obj/cm/Release/SndLibBridge.o obj/cm/Release/Instruments.o -Lbin -L. -Wl,-x > ../sndlib/sndlib.a -L"../juce-1.46/bin" -lCarbon -lCocoa -lCoreServices > -lCoreAudio -lCoreMidi -lApplicationServices -lOpenGL -lAGL -lQuickTime > -lIOKIT -ljuce > ld: library not found for -lCarbon > > > also what happened to the linking set for for windows? > > From taube at illinois.edu Thu Jan 1 17:32:44 2009 From: taube at illinois.edu (taube at illinois.edu) Date: Thu, 1 Jan 2009 19:32:44 -0600 (CST) Subject: [CM] premake.lua In-Reply-To: <7798eaa0901011511r5632024ex1c54275e7fbec26f@mail.gmail.com> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> <20090101113307.BMV27789@expms6.cites.uiuc.edu> <7798eaa0901011122j66d1a892wbd7da31fbb8e14d6@mail.gmail.com> <569E3923-E72C-4007-AAC6-0CE3BC2CF4F3@uiuc.edu> <7798eaa0901011247q1c50678dx2dbc0aa8ea8f997f@mail.gmail.com> <7798eaa0901011315x786e1858q8e8e74b7d8976248@mail.gmail.com> <20090101164005.BMV35286@expms6.cites.uiuc.edu> <7798eaa0901011511r5632024ex1c54275e7fbec26f@mail.gmail.com> Message-ID: <20090101193244.BMV38529@expms6.cites.uiuc.edu> ok i got it working on mac and windows an without adding any hacks. your premake.lua is checked into svn now. thanks for the cleanup, its a lot nicer and more flexible now! (to fix the windows linking order problem i just use a loop and added the libs to the configs rather than the package): for c in {"Release", "Debug"} do add(mypackage.config[c].links, "gdi32") add(mypackage.config[c].links, "comdlg32") add(mypackage.config[c].links, "shell32") add(mypackage.config[c].links, "ole32") ... end From taube at uiuc.edu Fri Jan 2 05:58:02 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 2 Jan 2009 07:58:02 -0600 Subject: [CM] cm with chicken In-Reply-To: <7798eaa0901011247q1c50678dx2dbc0aa8ea8f997f@mail.gmail.com> References: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> <98B59075-029E-4F0D-8050-93BB86FDD48D@uiuc.edu> <7798eaa0901010705i40f2a6f6ndd6d231978a5393b@mail.gmail.com> <7798eaa0901010924h2f8071cfo5ce6826721abc174@mail.gmail.com> <20090101113307.BMV27789@expms6.cites.uiuc.edu> <7798eaa0901011122j66d1a892wbd7da31fbb8e14d6@mail.gmail.com> <569E3923-E72C-4007-AAC6-0CE3BC2CF4F3@uiuc.edu> <7798eaa0901011247q1c50678dx2dbc0aa8ea8f997f@mail.gmail.com> Message-ID: <97469B7B-A9D7-403E-8A1A-80799ED4824C@uiuc.edu> > PS: > > - is the csound port described at > http://commonmusic.sourceforge.net/cm/res/doc/cm.html implemented? > - if it's how can I enable support for it? > the csound port exists in svn and works. but its still under branches/ grace1/ becuase im not sure its worth the effort to move it back into the new Grace. its realtime audio didnt work well except for smallish quanties of data. one of my students wrote a nice multichannel piece with it but he bascially just computed the .sco files and then used a gui csound app to render it. so lately ive been feeling that its probably enough to simply provide the abilty to write .sco files, like in cm2, eg (define (simpsco ) (process repeat 100 do (cs:i 1 (elapsed #t) 1 (between 220 440)))) (sprout (simpsco) "test.sco") and thats it. adding only .sco is not much work. From taube at uiuc.edu Sun Jan 4 09:04:19 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 4 Jan 2009 11:04:19 -0600 Subject: [CM] Windows version In-Reply-To: References: Message-ID: yes, but i need to test some (unannounced) developments there first before I save a binary of it, i hope to have something by the end of this week. note that cm 3.2.3 DOES run on windows right now if you build the app yourself, this requires juce , chicken 3.0.0 and msys/ cygwin . see the readme.text for more info. On Jan 4, 2009, at 9:39 AM, Caec?s wrote: > Hi, > > Is there gonna be a Windows version of CM 3.2.3? > > Kindest regards, > > Marc From taube at uiuc.edu Sun Jan 4 09:53:00 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 4 Jan 2009 11:53:00 -0600 Subject: [CM] csound support in cm3 Message-ID: Ive added Csound scorefile support to svn trunk. it doesnt require libcsound and should work everywhere. Audio menu now has a Csound> menu, use Audio>Csound>Settings... to configure your Csound environment the way you want it. Settings are saved in your preferences and can also be specified directly to sprout like cm2 eg: (sprout (foo) "test.sco" :play #t :orchestra "~/foo.orc") the Csound menu also has a "Write Scorefiles" preference that is normally turned on. If you turn it off then the interal score buffer is not flushed to disk; this lets you build a score incrementally over consecutive sprouts or use the "Export Score" to export internal data to an editor window, the clipboard or a file. the Examples menu has an example of generating Csound output. cm.html has been updated to document the recent changes: new SndLib section csound section rewritten sprout discussion updated for file-based io. From taube at uiuc.edu Wed Jan 7 04:43:22 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 7 Jan 2009 06:43:22 -0600 Subject: [CM] midi in port Message-ID: <6D19704F-39EA-4DF5-A54B-BD1468553217@uiuc.edu> svn trunk has midi input port working in sndlib and chicken, use the Audio>Midi In> menu to open input devices, set filters on channels and opcodes, and trace incoming messages. menu settings are saved in your preferences. ive also made input hooks easier to work with, rather than receiving C++ pointers they are simply passed 4 ints: (op chan data1 data2) see cm.html for updated info about midi in and hook setting. im going to take a day or so to try to get sndlib on windows, ill build binaries this weekend. here is an example of input hook tested in sndlib and chicken ;; plays an fm generated chord centered around the key you play. ;; the harder you play the denser the chord (define (fm-hook op ch kn vel) (if (and (= op mm:on) (> vel 0)) (let* ((ind (rescale vel 60 120 2 4)) (spec (fm-spectrum (hz kn) (between 1.0 pi) ind))) (loop for k in (spectrum-keys spec #:min (- kn 18) #:max (+ kn 18)) do (send "mp:midi" 0 .5 k vel))))) ;; use quarter-tone tuning (send "mp:tuning" 2) ;; set the hook (send "mp:inhook" fm-hook) ;; now play your keyboard ... ;; clear the hook when you are done (send "mp:inhook" #f) From taube at uiuc.edu Thu Jan 8 08:03:47 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 8 Jan 2009 10:03:47 -0600 Subject: [CM] clm on windows! (cm 3.2.4) Message-ID: sndlib/cm3 is running on windows! binaries of cm 3.2.4 for mac, win and linux are now at sourceforge. links to downloads and changelog are on the homepage (you may have to reload the page in your browser to get the updated html) http://commonmusic.sourceforge.net/ For a really fun demo use Bill's birdsongs and watch 'em sing! it takes about 10 seconds. Do this: 0. Start grace 1. Select Audio>SndLib>Instruments... 2. Double-click on the 'bird' instrument row, that'll load the instruments and open the example 3. Put your cursor just after (make-birds) in the birds.clm window and hit Command-Return 4. wait 2 seconds for the file to compute, the player will pop up and start playing, watch each bird squack as it plays! (well, the audio waveform is not drawing on windows for some reason but it sure is pretty on the mac....) special thansk to michael gogins, who wrote the scons script that compiles sndlib on windows, and carlos pita, for cleaning up the premake.lua script and adding builds against installed libs From k.s.matheussen at notam02.no Thu Jan 8 08:13:31 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 8 Jan 2009 17:13:31 +0100 (CET) Subject: [CM] clm on windows! (cm 3.2.4) In-Reply-To: References: Message-ID: On Thu, 8 Jan 2009, Heinrich Taube wrote: > sndlib/cm3 is running on windows! binaries of cm 3.2.4 for mac, win > and linux are now at sourceforge. links to downloads and changelog are > on the homepage (you may have to reload the page in your browser to > get the updated html) > > http://commonmusic.sourceforge.net/ > > For a really fun demo use Bill's birdsongs and watch 'em sing! it > takes about 10 seconds. Do this: > > 0. Start grace > 1. Select Audio>SndLib>Instruments... > 2. Double-click on the 'bird' instrument row, that'll load the > instruments and open the example > 3. Put your cursor just after (make-birds) in the birds.clm window and > hit Command-Return > 4. wait 2 seconds for the file to compute, the player will pop up and > start playing, watch each bird squack as it plays! (well, the audio > waveform is not drawing on windows for some reason but it sure is > pretty on the mac....) > > special thansk to michael gogins, who wrote the scons script that > compiles sndlib on windows, and carlos pita, for cleaning up the > premake.lua script and adding builds against installed libs > Great work. But you can play Bill's birdsongss in windows using snd-rt too: http://archive.notam02.no/arkiv/windows/snd-rt/ Even in realtime without having to wait 10 seconds. There's no grace support though. (hint hint :-) ) From zepadovani at gmail.com Thu Jan 8 15:45:51 2009 From: zepadovani at gmail.com (padovani) Date: Thu, 08 Jan 2009 21:45:51 -0200 Subject: [CM] snd on OSX? Message-ID: <4966902F.8040502@gmail.com> Is it possible to run snd on OSX (Leopard)? Any tips to do that? thanks, z? -- http://www.padovani.googlepages.com From bil at ccrma.Stanford.EDU Fri Jan 9 07:17:10 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 9 Jan 2009 07:17:10 -0800 Subject: [CM] snd on OSX? In-Reply-To: <4966902F.8040502@gmail.com> References: <4966902F.8040502@gmail.com> Message-ID: <20090109151625.M58304@ccrma.Stanford.EDU> > Is it possible to run snd on OSX (Leopard)? yes. > Any tips to do that? see README.Snd -- you'll need X11 and either Gtk or Motif. From bil at ccrma.Stanford.EDU Fri Jan 9 09:58:47 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 9 Jan 2009 09:58:47 -0800 Subject: [CM] mp numbers in s7 Message-ID: <20090109175211.M75895@ccrma.Stanford.EDU> I've added support in s7 for multiprecision integer, ratio, real, and complex numbers, including all the numeric functions. Use the configure flag --with-gmp. It uses the gmp, mpfr, and mpc libraries. Default float precision is 128 bits, but can be set higher via bignum-precision. Still a week or so of testing to do, but it currently passes the tests in s7test.scm. If this works out as I hope, I'll extend the mp arithmetic to clm and snd. From josepadovani at yahoo.com.br Fri Jan 9 17:40:19 2009 From: josepadovani at yahoo.com.br (padovani) Date: Fri, 09 Jan 2009 23:40:19 -0200 Subject: [CM] CM Sourceforge updated In-Reply-To: References: Message-ID: <4967FC83.5090709@yahoo.com.br> Hi, I have not been able to find GraceCL there anymore... am I doing something wrong or it is not in the site anymore... (the cm-osx-leopard package has only Grace, but not GraceCL). thanks z? Heinrich Taube escreveu: > I totally overhauled the CM project at SourceForge and updated all the > content. The CM3 branch is now trunk. For svn access to sources do: > > svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ > trunk cm > > The project's "File Release" page now contains the latest release > (3.2.3) and Ive hidden all the ancient stale packages (they are still > there...) > > The Common Music homepage has been rewritten to reflect the true > state of the project: > > http://commonmusic.sf.net/ > > > fyi: the cm2 line is still available under the branches/ directory, eg > to get cm2 you do > > svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/branches/cm2 > cm2 > > > --rick > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -- http://www.padovani.googlepages.com From taube at uiuc.edu Sat Jan 10 03:46:39 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 10 Jan 2009 05:46:39 -0600 Subject: [CM] CM Sourceforge updated In-Reply-To: <4967FC83.5090709@yahoo.com.br> References: <4967FC83.5090709@yahoo.com.br> Message-ID: <323FEF6C-825C-4D47-AE0F-01748179E8D9@uiuc.edu> Its still there but i thought i since its functionally redundant i would hide it. can reactiave it and put a message saying that its been superseded or i can send it to you tell me your machine . On Jan 9, 2009, at 7:40 PM, padovani wrote: > Hi, > I have not been able to find GraceCL there anymore... am I doing > something wrong or it is not in the site anymore... (the cm-osx- > leopard > package has only Grace, but not GraceCL). > thanks > z? > > Heinrich Taube escreveu: >> I totally overhauled the CM project at SourceForge and updated all >> the >> content. The CM3 branch is now trunk. For svn access to sources do: >> >> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ >> trunk cm >> >> The project's "File Release" page now contains the latest release >> (3.2.3) and Ive hidden all the ancient stale packages (they are still >> there...) >> >> The Common Music homepage has been rewritten to reflect the true >> state of the project: >> >> http://commonmusic.sf.net/ >> >> >> fyi: the cm2 line is still available under the branches/ directory, >> eg >> to get cm2 you do >> >> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/branches/cm2 >> cm2 >> >> >> --rick >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > > -- > http://www.padovani.googlepages.com > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From zepadovani at gmail.com Sat Jan 10 04:59:47 2009 From: zepadovani at gmail.com (padovani) Date: Sat, 10 Jan 2009 10:59:47 -0200 Subject: [CM] CM Sourceforge updated In-Reply-To: <323FEF6C-825C-4D47-AE0F-01748179E8D9@uiuc.edu> References: <4967FC83.5090709@yahoo.com.br> <323FEF6C-825C-4D47-AE0F-01748179E8D9@uiuc.edu> Message-ID: <49689BC3.9030503@gmail.com> It would be nice to have that in the sourceforge page, I think... The fact is that I have many lines of code that are already written in Common Lisp (SBCL)/CM/CLM and I could not translate everything to Scheme right now... (I intend to do this in the future). (Or do you mean that Grace is supporting Common Lisp too now? ) Thanks again. PS: Is there some kind of translator of Common Lisp functions and macros to Scheme? Like a egg that understands things like "defun"... ? Heinrich Taube escreveu: > Its still there but i thought i since its functionally redundant i > would hide it. can reactiave it and put a message saying that its > been superseded or i can send it to you tell me your machine . > > On Jan 9, 2009, at 7:40 PM, padovani wrote: > > >> Hi, >> I have not been able to find GraceCL there anymore... am I doing >> something wrong or it is not in the site anymore... (the cm-osx- >> leopard >> package has only Grace, but not GraceCL). >> thanks >> z? >> >> Heinrich Taube escreveu: >> >>> I totally overhauled the CM project at SourceForge and updated all >>> the >>> content. The CM3 branch is now trunk. For svn access to sources do: >>> >>> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ >>> trunk cm >>> >>> The project's "File Release" page now contains the latest release >>> (3.2.3) and Ive hidden all the ancient stale packages (they are still >>> there...) >>> >>> The Common Music homepage has been rewritten to reflect the true >>> state of the project: >>> >>> http://commonmusic.sf.net/ >>> >>> >>> fyi: the cm2 line is still available under the branches/ directory, >>> eg >>> to get cm2 you do >>> >>> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/branches/cm2 >>> cm2 >>> >>> >>> --rick >>> >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>> >>> >>> >> -- >> http://www.padovani.googlepages.com >> >> _______________________________________________ >> 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 > > -- http://www.padovani.googlepages.com From taube at uiuc.edu Sat Jan 10 11:39:21 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 10 Jan 2009 13:39:21 -0600 Subject: [CM] common music question... In-Reply-To: <000401c9734c$a00d6170$6401a8c0@INSP9400> References: <000c01c96b94$79444960$6401a8c0@INSP9400> <000401c9734c$a00d6170$6401a8c0@INSP9400> Message-ID: <1EB2B089-5293-4867-8D72-AC0EEE9079F8@uiuc.edu> > Hello Heinrich, thanks for posting the windows version of CM. > I downloaded it and it seems to work fine. > You mentioned that this version does not support audio output. > Do you have an idea as to when you will be able to add this > support to the windows version. it DOES support audio, did you take release 3.2.4? this is what i posted 3 days ago, directions show how to generate audio. --- sndlib/cm3 is running on windows! binaries of cm 3.2.4 for mac, win and linux are now at sourceforge. links to downloads and changelog are on the homepage (you may have to reload the page in your browser to get the updated html) http://commonmusic.sourceforge.net/ For a really fun demo use Bill's birdsongs and watch 'em sing! it takes about 10 seconds. Do this: 0. Start grace 1. Select Audio>SndLib>Instruments... 2. Double-click on the 'bird' instrument row, that'll load the instruments and open the example 3. Put your cursor just after (make-birds) in the birds.clm window and hit Command-Return 4. wait 2 seconds for the file to compute, the player will pop up and start playing, watch each bird squack as it plays! (well, the audio waveform is not drawing on windows for some reason but it sure is pretty on the mac....) special thansk to michael gogins, who wrote the scons script that compiles sndlib on windows, and carlos pita, for cleaning up the premake.lua script and adding builds against installed libs From johannes.quint at web.de Sun Jan 11 06:24:13 2009 From: johannes.quint at web.de (Johannes Quint) Date: Sun, 11 Jan 2009 15:24:13 +0100 Subject: [CM] send in grace Message-ID: <033B498B-99A7-445D-853E-54C56560AFBF@web.de> rick, when i try to hear a clm-instrument in sal via send, nothing happens. i.e. send "wave", 0,1,440,0.1 inside of a process, everything works fine. thanks for an answer, 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 Jan 11 06:45:49 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 11 Jan 2009 08:45:49 -0600 Subject: [CM] send in grace In-Reply-To: <033B498B-99A7-445D-853E-54C56560AFBF@web.de> References: <033B498B-99A7-445D-853E-54C56560AFBF@web.de> Message-ID: <83E9DBE7-1F62-4606-83DD-74B202BAC658@uiuc.edu> yes, its not a bug. sndlib isnt realtime (at least not yet...) so you need a 'with-sound' context in order to generate sound. so simply evaling an instrument expression (in scheme or sal) wont do anything because no audio file is open for the instrument to write to, ie (wave 0 1 440 .1) or send "wave", 0, 1 440 .1 wont work. For non-process audio in scheme you do (with-sound () (wave 0 1 440 .1)) right now I dont have a 'with-sound' equivalent in SAL. I havent added it yet beause i dont know what it should look like. I looked at the ruby and forth equivalents in Snd docs and they dont look very nice to me. (with-sound is a really lispy notion....) One idea i had was simply to have an "Audio Buffer" option in the editor that implemented an implicit with-sound for each eval you do. So If you turned on "Audio Buffer" for a given buffer then any expression you evaled would be evaluated in the context of a with- sound that used your preferences settings for controlling the options. But It could get fancier if it could also use comments in the buffer that let you specify this into ;;-*- output: sec1.wav; srate:22050 *-* send "wave", 0, 1, 440 .1 ;-*- output: sec2.wav; channels :22050 *-* send "wave", 0, 1, 440 .1 send "wave", 0, 1, 440 .1 send "wave", 0, 1, 440 .1 send "wave", 0, 1, 440 .1 any ideas or comments about this welcome! On Jan 11, 2009, at 8:24 AM, Johannes Quint wrote: > rick, > when i try to hear a clm-instrument in sal via send, nothing happens. > > i.e. > send "wave", 0,1,440,0.1 > > inside of a process, everything works fine. > > thanks for an answer, johannes > > _______________________________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.de > http://www.johannes-quint.de > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sun Jan 11 07:02:52 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 11 Jan 2009 09:02:52 -0600 Subject: [CM] send in grace In-Reply-To: <83E9DBE7-1F62-4606-83DD-74B202BAC658@uiuc.edu> References: <033B498B-99A7-445D-853E-54C56560AFBF@web.de> <83E9DBE7-1F62-4606-83DD-74B202BAC658@uiuc.edu> Message-ID: btw if i dont do audio buffers (which would work for scheme or sal) my explicit with-sound for sal was going to look something like: soundfile "test.wav" (channels: 2, srate: 44100) loop for time to 10 send "wave", time, 1, between(220, 440) end From taube at illinois.edu Sun Jan 11 09:29:07 2009 From: taube at illinois.edu (taube at illinois.edu) Date: Sun, 11 Jan 2009 11:29:07 -0600 (CST) Subject: [CM] CM Sourceforge updated In-Reply-To: References: Message-ID: <20090111112907.BND18609@expms6.cites.uiuc.edu> so i take it you are using the console version (bin/cm) ?? the midifile freeze sounds like a bug. however i notice weird things running under emacs, when cm hits an error sometimes a segfault happens rather than a scheme error. >writing. (Is there any possibility to write a midifile and hear it >directly at the same time, as it was in cm2 ?) probably only by calling an external player, like in cm2. i can probably add this. but it might be easier to just compile cm on leopard! see if you can build sndlib, if you an then it should be possible to get it all running on leopard. to see if you can build sndlib do tar -zxf sndlib.tar.gz cd sndlib ./configure CC=g++ make if you get a sndlib.a then it should be possible to build grace. >The same with clm: The soundfile is written, but you can hear it only >when opened in an editor. (In former clm versions there was the :play >keyword in with-sound ...) :play will work if you have *clm-player* set to a shell command string to call to play your file. i think the variable is *clm-player* >Many thanks for help. > >Achim > >Am 30.12.2008 um 19:46 schrieb Heinrich Taube: > >> I totally overhauled the CM project at SourceForge and updated all the >> content. The CM3 branch is now trunk. For svn access to sources do: >> >> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ >> trunk cm >> >> The project's "File Release" page now contains the latest release >> (3.2.3) and Ive hidden all the ancient stale packages (they are still >> there...) >> >> The Common Music homepage has been rewritten to reflect the true >> state of the project: >> >> http://commonmusic.sf.net/ >> >> >> fyi: the cm2 line is still available under the branches/ directory, eg >> to get cm2 you do >> >> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/branches/cm2 >> cm2 >> >> >> --rick >> >> _______________________________________________ >> 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 taube at uiuc.edu Sun Jan 11 09:56:55 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 11 Jan 2009 11:56:55 -0600 Subject: [CM] CM Sourceforge updated In-Reply-To: References: Message-ID: <9D29B110-99BD-4C55-A1AC-D676C868EA88@uiuc.edu> > Hi,when working with cm 3.2.4 in Aquamacs/Leopard I wasn't able to > get SimpleSynth to play the midi output directly (no error though). this works for me. do this: 1. use (ports ) to see what ports you have available: cm> (ports) cm> (("midi.port" (0 -> "IAC Driver Bus 1" #f) (1 -> "MK-249C USB MIDI keyboard" #f) (0 <- "IAC Driver Bus 1" #f) (1 <- "MK-249C USB MIDI keyboard" #f))) 2. THen open the port you want (the -> means its an output port) so to open output port 0 do (mp:open 0) 3. then send data to it, if SumpleSYnth is listening to the same port you should hear it. (send "mp:midi" 0 .5 (between 60 90) .5) > Hi, > when working with cm 3.2.4 in Aquamacs/Leopard I wasn't able to get > SimpleSynth to play the midi output directly (no error though). > Writing a midifile worked but the listener freezed somehow after > writing. (Is there any possibility to write a midifile and hear it > directly at the same time, as it was in cm2 ?) > The same with clm: The soundfile is written, but you can hear it > only when opened in an editor. (In former clm versions there was > the :play keyword in with-sound ...) > Many thanks for help. > > Achim > > Am 30.12.2008 um 19:46 schrieb Heinrich Taube: > >> I totally overhauled the CM project at SourceForge and updated all >> the >> content. The CM3 branch is now trunk. For svn access to sources do: >> >> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ >> trunk cm >> >> The project's "File Release" page now contains the latest release >> (3.2.3) and Ive hidden all the ancient stale packages (they are still >> there...) >> >> The Common Music homepage has been rewritten to reflect the true >> state of the project: >> >> http://commonmusic.sf.net/ >> >> >> fyi: the cm2 line is still available under the branches/ directory, >> eg >> to get cm2 you do >> >> svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/branches/cm2 >> cm2 >> >> >> --rick >> >> _______________________________________________ >> 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 taube at uiuc.edu Sun Jan 11 10:03:52 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 11 Jan 2009 12:03:52 -0600 Subject: [CM] midifile In-Reply-To: References: Message-ID: odd the midifile issues doest crash for me either: I boot aquamacs (leopard/intel), do M-x: cm and then eval this from the buffer (define (testy n lb ub) (process repeat n do (send "mp:midi" (elapsed #t) .5 (between 50 90)) (wait .2))) (sprout (testy 1000 60 90) "~/test.mid") ive tried 10000 notes several times too, it works but takes about 2 seconds. From taube at uiuc.edu Sun Jan 11 10:33:56 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 11 Jan 2009 12:33:56 -0600 Subject: [CM] midifile In-Reply-To: <56DC1BE6-F4DC-452A-86E6-835EE3FC5764@googlemail.com> References: <56DC1BE6-F4DC-452A-86E6-835EE3FC5764@googlemail.com> Message-ID: yes, the "repl" really sucks! (i hate repls, they are nasty brutish things) scheme is running in its own thread, main() is just gobbling strings to eval and instering them in schemes scheduler. im not even sure how a prompt gets printed anymore, but obviosuly its not optimal! On Jan 11, 2009, at 12:21 PM, Achim Bornhoeft wrote: > I tried your example as well: It seems that it's just the prompt > that does not appear again when creating the Midifile. When pasting > any other code in the listener buffer and hit enter, the prompt > reappears. > > Achim > > Am 11.01.2009 um 19:03 schrieb Heinrich Taube: > >> odd the midifile issues doest crash for me either: I boot aquamacs >> (leopard/intel), do M-x: cm and then eval this from the buffer >> >> (define (testy n lb ub) >> (process repeat n >> do (send "mp:midi" (elapsed #t) .5 >> (between 50 90)) >> (wait .2))) >> >> (sprout (testy 1000 60 90) "~/test.mid") >> >> >> ive tried 10000 notes several times too, it works but takes about 2 >> seconds. >> >> >> > > Achim Bornhoeft > Neckarhalde 38, D-72070 Tuebingen > tel/fax +49 (0)7071 942745 > mobil +49 (0)179 6936930 > skype:achim.bornhoeft?call > From taube at uiuc.edu Sun Jan 11 11:32:52 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 11 Jan 2009 13:32:52 -0600 Subject: [CM] CM Sourceforge updated In-Reply-To: References: <9D29B110-99BD-4C55-A1AC-D676C868EA88@uiuc.edu> <4CAFA06C-5356-4E3D-A9FE-DA249DD580C3@uiuc.edu> Message-ID: > It's just that I couldn't find this open command in the cm3 > documentation. oops, sorry! please send me anythig else you notice. i notice i didnt document (ports) either. actually maybe that name should change to (audio) or something. ill also add a little appednix that talks about using cm in emacs. i looked at the code it seems it should also be possible to get audio and midi playing in console cm without any external app. it wont be there for a while though. From achim.bornhoeft at googlemail.com Sun Jan 11 09:06:29 2009 From: achim.bornhoeft at googlemail.com (Achim Bornhoeft) Date: Sun, 11 Jan 2009 18:06:29 +0100 Subject: [CM] CM Sourceforge updated In-Reply-To: References: Message-ID: Hi, when working with cm 3.2.4 in Aquamacs/Leopard I wasn't able to get SimpleSynth to play the midi output directly (no error though). Writing a midifile worked but the listener freezed somehow after writing. (Is there any possibility to write a midifile and hear it directly at the same time, as it was in cm2 ?) The same with clm: The soundfile is written, but you can hear it only when opened in an editor. (In former clm versions there was the :play keyword in with-sound ...) Many thanks for help. Achim Am 30.12.2008 um 19:46 schrieb Heinrich Taube: > I totally overhauled the CM project at SourceForge and updated all the > content. The CM3 branch is now trunk. For svn access to sources do: > > svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ > trunk cm > > The project's "File Release" page now contains the latest release > (3.2.3) and Ive hidden all the ancient stale packages (they are still > there...) > > The Common Music homepage has been rewritten to reflect the true > state of the project: > > http://commonmusic.sf.net/ > > > fyi: the cm2 line is still available under the branches/ directory, eg > to get cm2 you do > > svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/branches/cm2 > cm2 > > > --rick > > _______________________________________________ > 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 achim.bornhoeft at googlemail.com Sun Jan 11 10:21:23 2009 From: achim.bornhoeft at googlemail.com (Achim Bornhoeft) Date: Sun, 11 Jan 2009 19:21:23 +0100 Subject: [CM] midifile In-Reply-To: References: Message-ID: <56DC1BE6-F4DC-452A-86E6-835EE3FC5764@googlemail.com> I tried your example as well: It seems that it's just the prompt that does not appear again when creating the Midifile. When pasting any other code in the listener buffer and hit enter, the prompt reappears. Achim Am 11.01.2009 um 19:03 schrieb Heinrich Taube: > odd the midifile issues doest crash for me either: I boot aquamacs > (leopard/intel), do M-x: cm and then eval this from the buffer > > (define (testy n lb ub) > (process repeat n > do (send "mp:midi" (elapsed #t) .5 > (between 50 90)) > (wait .2))) > > (sprout (testy 1000 60 90) "~/test.mid") > > > ive tried 10000 notes several times too, it works but takes about 2 > seconds. > > > 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 Thu Jan 15 15:31:06 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 15 Jan 2009 15:31:06 -0800 Subject: [CM] Snd 10.3 Message-ID: <20090115232931.M92332@ccrma.Stanford.EDU> Snd 10.3 Kjetil made improvements to the rt stuff. Michael Gogins, William Andrew Burnson, and Rick figured out how to build sndlib in windows -- I hope I correctly incorporated their changes in the configure script and various sources. added multiprecision math support for all scheme (s7) numeric types and functions via gmp, mpfr, and mpc. In configure, use the --with-gmp switch. bignum-precision can set the float precision (default is 128 bits). If this all works out, I'll add this support to clm as well. You'll need mpc 0.5.2 (the latest version). sox header support. jcvoi.scm (translated from jcvoi.ins) for the immortal Old Macdonald. the sine-summation, sum-of-cosines, and sum-of-sines generators are deprecated. Their replacements are nrxysin (or nrsin), ncos, and nsin. snd10.scm has backwards-compatible definitions of these generators. removed event.scm and all the xm.c stuff that was deprecated in 2002. sin-m*pi/n and show-digits-of-pi-starting-from functions in numerics.scm rpmbuild changed since I last used it, so it's not impossible the rpm files are confused. Does anyone use the rpm files that I build? checked: Gamin 0.1.10, sbcl 1.0.23|24, Guile 1.8.6, gtk 2.14.6|2.15.0 Thanks!: Rick, Fernando, Esben Stien, Kjetil, Carlos Pita, Stanko Juzbasic, Oded Ben-Tal, Michael Gogins, William Andrew Burnson From bil at ccrma.Stanford.EDU Fri Jan 16 07:35:46 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 16 Jan 2009 07:35:46 -0800 Subject: [CM] Snd and mp arithmetic Message-ID: <20090116152919.M88924@ccrma.Stanford.EDU> heh heh -- I can't resist reporting to cmdisters far and wide that this mp stuff has already panned out -- in the nsin generator if you run it with 10^33 sines you get the peak amp as (/ (* 8 n (expt (sin (* pi 3/8)) 2)) (* 3 pi)) to about 50 decimal places. I'm all smiles. From edeleflie at gmail.com Thu Jan 22 04:06:48 2009 From: edeleflie at gmail.com (e deleflie) Date: Thu, 22 Jan 2009 23:06:48 +1100 Subject: [CM] Snd and mp arithmetic In-Reply-To: <20090116152919.M88924@ccrma.Stanford.EDU> References: <20090116152919.M88924@ccrma.Stanford.EDU> Message-ID: <9a471d320901220406m7a4427cev91454450de7372fa@mail.gmail.com> All, I've got an SND script that does sample rate conversion (usually from 44100 to 48000) on multichannel files. Code looks something like this: (src-sound (/ (srate insound) 48000) 1.0 insound 0) (src-sound (/ (srate insound) 48000) 1.0 insound 1) (src-sound (/ (srate insound) 48000) 1.0 insound 2) I'm running this script on Amazons' EC2 (cloud computing instance)..... and it barfs .... took me a while to work out that SND is filling up the /tmp/ directory with enough files that it the computer has no more room to breath. .... looks like this: -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:22 snd_2166_0.snd -rw-r--r-- 1 amber amber 22974464 2009-01-21 18:23 snd_2166_10.snd -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:22 snd_2166_1.snd -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_2.snd -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_3.snd -rw-r--r-- 1 amber amber 192129992 2009-01-21 18:23 snd_2166_4.snd -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_5.snd -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_6.snd -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_7.snd -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_8.snd -rw-r--r-- 1 amber amber 23068712 2009-01-21 18:23 snd_2166_9.snd I'm wondering if this is because of the re-sampling? Is there anything I can do about it? ... what is it doing ... is it swap files or something? Should the files get deleted (if the process was successful?) Etienne From edeleflie at gmail.com Thu Jan 22 04:07:33 2009 From: edeleflie at gmail.com (e deleflie) Date: Thu, 22 Jan 2009 23:07:33 +1100 Subject: [CM] /tmp full with SND files. Message-ID: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> woops ... hit send and didn't change the topic.... here it is in the correct topic. On Thu, Jan 22, 2009 at 11:06 PM, e deleflie wrote: > All, > > I've got an SND script that does sample rate conversion (usually from > 44100 to 48000) on multichannel files. Code looks something like this: > > (src-sound (/ (srate insound) 48000) 1.0 insound 0) > (src-sound (/ (srate insound) 48000) 1.0 insound 1) > (src-sound (/ (srate insound) 48000) 1.0 insound 2) > > I'm running this script on Amazons' EC2 (cloud computing > instance)..... and it barfs .... took me a while to work out that SND > is filling up the /tmp/ directory with enough files that it the > computer has no more room to breath. .... looks like this: > > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:22 snd_2166_0.snd > -rw-r--r-- 1 amber amber 22974464 2009-01-21 18:23 snd_2166_10.snd > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:22 snd_2166_1.snd > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_2.snd > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_3.snd > -rw-r--r-- 1 amber amber 192129992 2009-01-21 18:23 snd_2166_4.snd > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_5.snd > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_6.snd > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_7.snd > -rw-r--r-- 1 amber amber 48032520 2009-01-21 18:23 snd_2166_8.snd > -rw-r--r-- 1 amber amber 23068712 2009-01-21 18:23 snd_2166_9.snd > > I'm wondering if this is because of the re-sampling? Is there anything > I can do about it? ... what is it doing ... is it swap files or > something? Should the files get deleted (if the process was > successful?) > > Etienne > From bil at ccrma.Stanford.EDU Thu Jan 22 06:10:48 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 22 Jan 2009 06:10:48 -0800 Subject: [CM] /tmp full with SND files. In-Reply-To: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> References: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> Message-ID: <20090122140718.M34845@ccrma.Stanford.EDU> > (src-sound (/ (srate insound) 48000) 1.0 insound 0) each of these src-sound calls edits the original, and saves the new version in a temporary file (if it's large, which in this case I think it is). If you just keep calling src-sound, it just keeps saving things because at any time you might want to refer back to an earlier version. I can' tell for sure from the code fragment you sent, but it would probably fix the problem to put revert-sound after each src-sound -- this tells Snd that it need not save any edits related to that sound. You can also set the place Snd writes those files via temp-dir. From edeleflie at gmail.com Thu Jan 22 16:31:47 2009 From: edeleflie at gmail.com (e deleflie) Date: Fri, 23 Jan 2009 11:31:47 +1100 Subject: [CM] /tmp full with SND files. In-Reply-To: <20090122140718.M34845@ccrma.Stanford.EDU> References: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> <20090122140718.M34845@ccrma.Stanford.EDU> Message-ID: <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> thanks Bill, I've tried putting in a revert-sound after each re-sample ... but all the temp files dont seem to be clearing themselves out any faster (still fills up my hard drive). I'm resampling a 4 channel file from 44100 to 48000 .... here's my code .... maybe there's something wrong.... I dont remember what I was thinking when I wrote it, but I seem to be re-sampling each channel (of a 4 channel) independently ... could this be why I'm getting so many tmp files? ; resample (display (format #f "Resampling from ~D to 48000 \n" (srate insound))) (src-sound (/ (srate insound) 48000) 1.0 insound 0) (revert-sound insound) (src-sound (/ (srate insound) 48000) 1.0 insound 1) (revert-sound insound) (src-sound (/ (srate insound) 48000) 1.0 insound 2) (revert-sound insound) (if (= (channels insound) 4) (src-sound (/ (srate insound) 48000) 1.0 insound 3) (revert-sound insound) ) an 88MB 4 channel file writes these tmp files ... (which fill up my harddrive). -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:22 snd_1246_0.snd -rw-r--r-- 1 amber amber 31084544 2009-01-22 16:24 snd_1246_10.snd -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:22 snd_1246_1.snd -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:23 snd_1246_2.snd -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:23 snd_1246_3.snd -rw-r--r-- 1 amber amber 192129992 2009-01-22 16:23 snd_1246_4.snd -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:23 snd_1246_5.snd -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:23 snd_1246_6.snd -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:24 snd_1246_7.snd -rw-r--r-- 1 amber amber 48032520 2009-01-22 16:24 snd_1246_8.snd -rw-r--r-- 1 amber amber 31195176 2009-01-22 16:24 snd_1246_9.snd Etienne On Fri, Jan 23, 2009 at 1:10 AM, Bill Schottstaedt wrote: >> (src-sound (/ (srate insound) 48000) 1.0 insound 0) > > each of these src-sound calls edits the original, and saves the > new version in a temporary file (if it's large, which in this case > I think it is). If you just keep calling src-sound, it just keeps > saving things because at any time you might want to refer back > to an earlier version. I can' tell for sure from the code fragment > you sent, but it would probably fix the problem to put revert-sound > after each src-sound -- this tells Snd that it need not save > any edits related to that sound. You can also set the place > Snd writes those files via temp-dir. > > > From bil at ccrma.Stanford.EDU Fri Jan 23 02:45:31 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 23 Jan 2009 02:45:31 -0800 Subject: [CM] /tmp full with SND files. In-Reply-To: <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> References: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> <20090122140718.M34845@ccrma.Stanford.EDU> <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> Message-ID: <20090123104256.M15354@ccrma.Stanford.EDU> Is it possible you have the 'sync' button set (or the corresponding variable)? src-sound follows it (meaning all channels in a sound are converted if it is on) whereas src-channel does not. If src-channel doesn't help, send me more context. From edeleflie at gmail.com Fri Jan 23 04:02:13 2009 From: edeleflie at gmail.com (e deleflie) Date: Fri, 23 Jan 2009 23:02:13 +1100 Subject: [CM] /tmp full with SND files. In-Reply-To: <20090123104256.M15354@ccrma.Stanford.EDU> References: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> <20090122140718.M34845@ccrma.Stanford.EDU> <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> <20090123104256.M15354@ccrma.Stanford.EDU> Message-ID: <9a471d320901230402p6901b62la2cdde27c716736c@mail.gmail.com> On Fri, Jan 23, 2009 at 9:45 PM, Bill Schottstaedt wrote: > Is it possible you have the 'sync' button set (or the corresponding variable)? yes ... well ... do you mean this line? (set! (sinc-width) 100); I set the sync width to very high to get the smaple rate conversion as high quality as possible > src-sound follows it (meaning all channels in a sound are converted if it > is on) whereas src-channel does not. I dont understand, do you mean that I only need to do one conversion (instead of ding it 4 times?) if src-channel doesn't follow the sinc-width then does that mean its a lower quality conversion? (or does it not make that much difference anyway). Etienne From contact at sciss.de Mon Jan 26 02:28:50 2009 From: contact at sciss.de (Sciss) Date: Mon, 26 Jan 2009 11:28:50 +0100 Subject: [CM] CM 3.2.4 on OS X Tiger Message-ID: <12DDC59C-BEFB-40D7-ACD0-0EFAEBB6474E@sciss.de> hello, where can i find a binary of CM 3.2.4 that runs on OS X 10.4 (Intel)? sourceforge only has a leopard build... thanks, -sciss- From taube at uiuc.edu Mon Jan 26 04:10:27 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 26 Jan 2009 06:10:27 -0600 Subject: [CM] CM 3.2.4 on OS X Tiger In-Reply-To: <12DDC59C-BEFB-40D7-ACD0-0EFAEBB6474E@sciss.de> References: <12DDC59C-BEFB-40D7-ACD0-0EFAEBB6474E@sciss.de> Message-ID: <43B59B30-79B4-40C8-BD51-C810CF80D0C0@uiuc.edu> i will have to find a 10.4 intel machine to do this. at some point id like to save universals but havent figured out how to compile sndlib in xcode. On Jan 26, 2009, at 4:28 AM, Sciss wrote: > hello, > > where can i find a binary of CM 3.2.4 that runs on OS X 10.4 (Intel)? > sourceforge only has a leopard build... > > thanks, -sciss- > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From edeleflie at gmail.com Tue Jan 27 20:57:52 2009 From: edeleflie at gmail.com (e deleflie) Date: Wed, 28 Jan 2009 15:57:52 +1100 Subject: [CM] /tmp full with SND files. In-Reply-To: <20090123104256.M15354@ccrma.Stanford.EDU> References: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> <20090122140718.M34845@ccrma.Stanford.EDU> <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> <20090123104256.M15354@ccrma.Stanford.EDU> Message-ID: <9a471d320901272057v141f2c5aob026a702261c0d90@mail.gmail.com> Hi Bill, I've attached my full script. I found that using revert-sound actually 'reverts' the re-sampling to 44100 ... I guess you were suggesting to move the resampled sound to some new file ... and then revert the original. Is there not a way to 'clear' past edits, without un-doing them? Etienne On Fri, Jan 23, 2009 at 9:45 PM, Bill Schottstaedt wrote: > Is it possible you have the 'sync' button set (or the corresponding variable)? > src-sound follows it (meaning all channels in a sound are converted if it > is on) whereas src-channel does not. If src-channel doesn't help, send > me more context. > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: transcode_to_square_48_out_5.1.sh Type: application/x-sh Size: 6017 bytes Desc: not available URL: From bsack23 at gmail.com Wed Jan 28 05:42:04 2009 From: bsack23 at gmail.com (Bill Sack) Date: Wed, 28 Jan 2009 08:42:04 -0500 Subject: [CM] building cm3/Grace on linux Message-ID: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> i am trying, with the current tarballs of cm and sndlib, to make cm3 and Grace on linux. i noticed one unexpected issue: the cm build process looks for a file called 'sndlib.a' - but building sndlib only creates 'libsndlib.a' - i renamed the file, and the cm build continued and finally built executables. neither Grace nor cm can find midi ports, but i guess that's a known issue. sometime back in november, i used a cm3/s7 version that could see and talk to midi ports - what's changed since then? also, the audio player in Grace can't find any audio ports ... is there something that needs to be done in building juce in order to make this little app work? don't want to sound impatient, but it'd be really great to get Grace going on linux. thanks! b -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed Jan 28 06:28:28 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 28 Jan 2009 06:28:28 -0800 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> Message-ID: <20090128142752.M48712@ccrma.Stanford.EDU> > but building sndlib only creates 'libsndlib.a' this problem was my fault -- the name should have been libsndlib.a all along. From bil at ccrma.Stanford.EDU Wed Jan 28 12:43:44 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 28 Jan 2009 12:43:44 -0800 Subject: [CM] /tmp full with SND files. In-Reply-To: <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> References: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> <20090122140718.M34845@ccrma.Stanford.EDU> <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> Message-ID: <20090128203056.M42830@ccrma.Stanford.EDU> I ran your script using the ambisonices ladpsa plugin on a pretty big file (50 MBytes like yours, I think). You have 3 or 4 temp files for the src conversion, 4 or so for the ambisonics output, then 6 for the channel swapping while writing a 6 channel file at the end -- 10 or more files, one about 200 MBytes. So I think the directory listing you sent is what I'd expect -- you need about .5 GByte of free disk space to do this edit. It seems to me that you could save all but 4 of those temp files if your ladspa plugin could write directly to the 6-channel output, rather than having to go first to a 4-channel temp file. Ideally, it would accept a function as a reader, and a function as a writer, and then the edit could be done straight through with no temp files at all. Even better, rewrite the plugin in scheme! From edeleflie at gmail.com Wed Jan 28 19:06:56 2009 From: edeleflie at gmail.com (e deleflie) Date: Thu, 29 Jan 2009 14:06:56 +1100 Subject: [CM] /tmp full with SND files. In-Reply-To: <20090128203056.M42830@ccrma.Stanford.EDU> References: <9a471d320901220407i1cffb79bhfb71622e6e8ac36d@mail.gmail.com> <20090122140718.M34845@ccrma.Stanford.EDU> <9a471d320901221631s2f75ce19oa4e21d398472087c@mail.gmail.com> <20090128203056.M42830@ccrma.Stanford.EDU> Message-ID: <9a471d320901281906y4f5af6adgd27a4288b01a6d08@mail.gmail.com> Hi Bill, thanks for taking the time to test the script ... > Ideally, it would accept a function as a reader, > and a function as a writer, and then the edit could be done > straight through with no temp files at all. alas, my skills at writing code usually induce random infinite loops >Even better, > rewrite the plugin in scheme! argh! that would induce hernias as well as the infinite loops! thanks anyway ... I've managed to increase the available tmp space so the script is working, but I will be converting some files that are hundreds of MB in size. I was thinking of doing the re-sampling using perhaps an other software package .... then pumping the result through the scheme script. That would at least save 4 tmp files (or maybe not ... depending on the software I use, I guess). Etienne From taube at uiuc.edu Thu Jan 29 05:10:29 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 29 Jan 2009 07:10:29 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> Message-ID: <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> > i am trying, with the current tarballs of cm and sndlib, to make cm3 > and Grace on linux. i noticed one unexpected issue: the cm build > process looks for a file called 'sndlib.a' - but building sndlib > only creates 'libsndlib.a' - i renamed the file, and the cm build > continued and finally built executables. > > neither Grace nor cm can find midi ports, but i guess that's a known > issue. sometime back in november, i used a cm3/s7 version that could > see and talk to midi ports - what's changed since then? i spent yesterday trying to figure out whats going wrong, including an upgrade to the latest ubuntustudio to make sure my basic tools are working. in the new ubuntustudio environment am able to get midi port connections in grace but i still dont see any audio ports. i cant get audio ports in the juce demo either, so ill have to post something on the juce site i guess. i think there is also a thread issue on linux, i see a "wait cursor" fairly regularity once i send midi messages. the sndlib instruments are working and its is possible to write .wav files but not play them back in the playback window. i can play the audio files fine using an external app though. on the plus side ive got s7/sndlib working in windows pretty well now using the native ms compier, and the audio playback window is now displaying the waveform now. > > > also, the audio player in Grace can't find any audio ports ... is > there something that needs to be done in building juce in order to > make this little app work? > > don't want to sound impatient, but it'd be really great to get Grace > going on linux. > > thanks! > b > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bsack23 at gmail.com Thu Jan 29 10:59:28 2009 From: bsack23 at gmail.com (Bill Sack) Date: Thu, 29 Jan 2009 13:59:28 -0500 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> Message-ID: <2eb2318a0901291059ude44a24wd33cc9659d77aea3@mail.gmail.com> On Thu, Jan 29, 2009 at 8:10 AM, Heinrich Taube wrote: > > i think there is also a thread issue on linux, i see a "wait cursor" fairly regularity once i send midi messages. yeah, i see that too. > on the plus side ive got s7/sndlib working in windows pretty well now using the native ms compier, and the audio playback window is now displaying the waveform now. > it's ironic ... my move to linux was triggered by a summer at ccrma in '97 learning cm and clm/snd on the linux workstations ... though pedagogically, if i were to consider pitching a class at a local uni or college now i'd be more concerned with having an app that the sysadmin there could install without too much hassle ... on mac or possibly windows. thanks for looking into this, though. b From taube at uiuc.edu Thu Jan 29 11:31:59 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 29 Jan 2009 13:31:59 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> Message-ID: > pedagogically, if i were to consider pitching a class at a local uni > or college now i'd be more concerned with having an app that the > sysadmin there could install without too much hassle ... on mac or > possibly windows. no need for a sysadmin or installing -- my students just unpack the app on their desktop and double-click it to start working; clm and the instrument distro are built into the exe. things seem to be running well on windows and mac , ill keep working on the linux audio problem, it must be possible get at the audio devices somehow! From bsack23 at gmail.com Thu Jan 29 13:04:21 2009 From: bsack23 at gmail.com (Bill Sack) Date: Thu, 29 Jan 2009 16:04:21 -0500 Subject: [CM] building cm3/Grace on linux In-Reply-To: References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> Message-ID: <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> ok, so i looked a little closer at juce_Config.h and noticed the JUCE_ALSA macro was commented out, hmm. i enabled it, re-ran the premake, rebuilt juce, rebuild cm and now i have midi in and out in grace! all right! i usually use jack and qjackctl to make it a liitle easier to see what ports are available. i can then hook the output up to a softsynth, the input to my cruddy little m-audio control and fun ensues. hope that helps someone out. and that's very exciting news about the portability of the application ... guess i need to go pitch that class now. b On Thu, Jan 29, 2009 at 2:31 PM, Heinrich Taube wrote: >> pedagogically, if i were to consider pitching a class at a local uni >> or college now i'd be more concerned with having an app that the >> sysadmin there could install without too much hassle ... on mac or >> possibly windows. > > no need for a sysadmin or installing -- my students just unpack the app on > their desktop and double-click it to start working; clm and the instrument > distro are built into the exe. things seem to be running well on windows and > mac , ill keep working on the linux audio problem, it must be possible get > at the audio devices somehow! > > > From taube at uiuc.edu Thu Jan 29 13:12:33 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 29 Jan 2009 15:12:33 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> Message-ID: <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> yes, you need alsa configure. but that wont solve the audio devices issue, at least on my machine. it would be great if you can please test audios too: 1. build the "Juce Demo" app in juce/extras/Juce\ Demo/build/linux 2. start the demo app, select the Audio demo from the Demo menu 3. Try to play a wav file using the file player in the audio demo pane. if you can do that then i should be able to figure out why its not working in grace or why it doesnt work on my linux box. if the demo doesnt work then its a general juce problem that i can ask about in the juce forum. please build the juce deom On Jan 29, 2009, at 3:04 PM, Bill Sack wrote: > ok, so i looked a little closer at juce_Config.h and noticed the > JUCE_ALSA macro was commented out, hmm. i enabled it, re-ran the > premake, rebuilt juce, rebuild cm and now i have midi in and out in > grace! all right! > > i usually use jack and qjackctl to make it a liitle easier to see what > ports are available. i can then hook the output up to a softsynth, the > input to my cruddy little m-audio control and fun ensues. > > hope that helps someone out. > > and that's very exciting news about the portability of the application > ... guess i need to go pitch that class now. > > b > > > On Thu, Jan 29, 2009 at 2:31 PM, Heinrich Taube > wrote: >>> pedagogically, if i were to consider pitching a class at a local uni >>> or college now i'd be more concerned with having an app that the >>> sysadmin there could install without too much hassle ... on mac or >>> possibly windows. >> >> no need for a sysadmin or installing -- my students just unpack the >> app on >> their desktop and double-click it to start working; clm and the >> instrument >> distro are built into the exe. things seem to be running well on >> windows and >> mac , ill keep working on the linux audio problem, it must be >> possible get >> at the audio devices somehow! >> >> >> From bsack23 at gmail.com Thu Jan 29 13:27:15 2009 From: bsack23 at gmail.com (Bill Sack) Date: Thu, 29 Jan 2009 16:27:15 -0500 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> Message-ID: <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> i haven't had much success in the past building the juce demo because it seems to rely on a bunch of other libraries and things i don't have on my poor old notebook, e.g.: OpenGLDemo.cpp ../../src/demos/OpenGLDemo.cpp:48:22: warning: GL/glut.h: No such file or directory but i'll try it again tonight and let you all know what happens. On Thu, Jan 29, 2009 at 4:12 PM, Heinrich Taube wrote: > yes, you need alsa configure. but that wont solve the audio devices issue, > at least on my machine. > it would be great if you can please test audios too: > > 1. build the "Juce Demo" app in juce/extras/Juce\ Demo/build/linux > 2. start the demo app, select the Audio demo from the Demo menu > 3. Try to play a wav file using the file player in the audio demo pane. > if you can do that then i should be able to figure out why its not working > in grace or why it doesnt work on my linux box. if the demo doesnt work then > its a general juce problem that i can ask about in the juce forum. > > > > please build the juce deom > On Jan 29, 2009, at 3:04 PM, Bill Sack wrote: > >> ok, so i looked a little closer at juce_Config.h and noticed the >> JUCE_ALSA macro was commented out, hmm. i enabled it, re-ran the >> premake, rebuilt juce, rebuild cm and now i have midi in and out in >> grace! all right! >> >> i usually use jack and qjackctl to make it a liitle easier to see what >> ports are available. i can then hook the output up to a softsynth, the >> input to my cruddy little m-audio control and fun ensues. >> >> hope that helps someone out. >> >> and that's very exciting news about the portability of the application >> ... guess i need to go pitch that class now. >> >> b >> >> >> On Thu, Jan 29, 2009 at 2:31 PM, Heinrich Taube wrote: >>>> >>>> pedagogically, if i were to consider pitching a class at a local uni >>>> or college now i'd be more concerned with having an app that the >>>> sysadmin there could install without too much hassle ... on mac or >>>> possibly windows. >>> >>> no need for a sysadmin or installing -- my students just unpack the app >>> on >>> their desktop and double-click it to start working; clm and the >>> instrument >>> distro are built into the exe. things seem to be running well on windows >>> and >>> mac , ill keep working on the linux audio problem, it must be possible >>> get >>> at the audio devices somehow! >>> >>> >>> > > From k.s.matheussen at notam02.no Thu Jan 29 13:53:48 2009 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 29 Jan 2009 22:53:48 +0100 (CET) Subject: [CM] building cm3/Grace on linux In-Reply-To: <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> Message-ID: If you want jack-support for a juce program, you can copy code from Mammut. http://archive.notam02.no/arkiv/doc/mammut/ In the src directory in mammut there is a file called jackplay.c, which provides a function called init_jack. init_jack takes a function with similar API to juce's "audioDeviceIOCallback" method. This should make it quite easy to dispatch during init whether you want to play using juce or jack. On Thu, 29 Jan 2009, Heinrich Taube wrote: > yes, you need alsa configure. but that wont solve the audio devices > issue, at least on my machine. > it would be great if you can please test audios too: > > 1. build the "Juce Demo" app in juce/extras/Juce\ Demo/build/linux > 2. start the demo app, select the Audio demo from the Demo menu > 3. Try to play a wav file using the file player in the audio demo pane. > if you can do that then i should be able to figure out why its not > working in grace or why it doesnt work on my linux box. if the demo > doesnt work then its a general juce problem that i can ask about in > the juce forum. > > > > please build the juce deom > On Jan 29, 2009, at 3:04 PM, Bill Sack wrote: > >> ok, so i looked a little closer at juce_Config.h and noticed the >> JUCE_ALSA macro was commented out, hmm. i enabled it, re-ran the >> premake, rebuilt juce, rebuild cm and now i have midi in and out in >> grace! all right! >> >> i usually use jack and qjackctl to make it a liitle easier to see what >> ports are available. i can then hook the output up to a softsynth, the >> input to my cruddy little m-audio control and fun ensues. >> >> hope that helps someone out. >> >> and that's very exciting news about the portability of the application >> ... guess i need to go pitch that class now. >> >> b >> >> >> On Thu, Jan 29, 2009 at 2:31 PM, Heinrich Taube >> wrote: >>>> pedagogically, if i were to consider pitching a class at a local uni >>>> or college now i'd be more concerned with having an app that the >>>> sysadmin there could install without too much hassle ... on mac or >>>> possibly windows. >>> >>> no need for a sysadmin or installing -- my students just unpack the >>> app on >>> their desktop and double-click it to start working; clm and the >>> instrument >>> distro are built into the exe. things seem to be running well on >>> windows and >>> mac , ill keep working on the linux audio problem, it must be >>> possible get >>> at the audio devices somehow! >>> >>> >>> > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bil at ccrma.Stanford.EDU Thu Jan 29 14:48:21 2009 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 29 Jan 2009 14:48:21 -0800 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> Message-ID: <20090129224614.M40152@ccrma.Stanford.EDU> > ../../src/demos/OpenGLDemo.cpp:48:22: warning: GL/glut.h: No such file > or directory I get this also -- I rebuilt freeglut from the sources (you have to remove -Werror in src/Makefile), and built jucedemo, and I get: ALSA device: hw:M66,0 outs=10-10 ins=12-12 rates=6 ALSA error: Invalid argument I tried uncommenting the JUCE_ALSA macro, rebuilt everything and still got that error. From taube at uiuc.edu Thu Jan 29 16:34:04 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 29 Jan 2009 18:34:04 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <20090129224614.M40152@ccrma.Stanford.EDU> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> <20090129224614.M40152@ccrma.Stanford.EDU> Message-ID: just install the Open GL dev headers and it should compiles. at least on my linux. i cant remember what the package was called, i did a search for gl in the package manager. On Jan 29, 2009, at 4:48 PM, Bill Schottstaedt wrote: >> ../../src/demos/OpenGLDemo.cpp:48:22: warning: GL/glut.h: No such >> file >> or directory > > I get this also -- I rebuilt freeglut from the sources (you have to > remove -Werror in src/Makefile), and built jucedemo, and > I get: > > ALSA device: hw:M66,0 outs=10-10 ins=12-12 rates=6 > ALSA error: Invalid argument > > I tried uncommenting the JUCE_ALSA macro, rebuilt everything > and still got that error. > > From taube at uiuc.edu Thu Jan 29 16:57:59 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 29 Jan 2009 18:57:59 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <20090129224614.M40152@ccrma.Stanford.EDU> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> <20090129224614.M40152@ccrma.Stanford.EDU> Message-ID: ok i installed freeglut3-dev: sudo apt-get install freeglut3-dev then the jucedemo should compile From taube at uiuc.edu Thu Jan 29 17:05:42 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 29 Jan 2009 19:05:42 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <20090129224614.M40152@ccrma.Stanford.EDU> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> <20090129224614.M40152@ccrma.Stanford.EDU> Message-ID: <88CB61E8-FDB2-4C3E-B173-593B6E371F62@uiuc.edu> > ALSA device: hw:M66,0 outs=10-10 ins=12-12 rates=6 > ALSA error: Invalid argument yes i also get devices listed when i start grace or demo_app ALSA device: hw:I82801AAICH,0 outs=2-2 ins=2-2 rates=4 ALSA device: hw:I82801AAICH,1 outs=0-0 ins=2-2 rates=4 but in the juce_demo when it tries connect to the audio device it always says Audio Demo couldn't open output device no such file or directory the device list actually shows an entry Intel 82801AA-ICH (2) but selecting it triggers the "no such file or directory" From bsack23 at gmail.com Thu Jan 29 17:34:56 2009 From: bsack23 at gmail.com (Bill Sack) Date: Thu, 29 Jan 2009 20:34:56 -0500 Subject: [CM] building cm3/Grace on linux In-Reply-To: <20090129224614.M40152@ccrma.Stanford.EDU> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> <20090129224614.M40152@ccrma.Stanford.EDU> Message-ID: <2eb2318a0901291734g417aa3d7o2bd7551aec6876f@mail.gmail.com> ok, so after i quit griping and installed the freeglut-devel package i was able to build jucedemo and lo and behold the audio demo worked. the 'show audio settings ..' widget finds my soundcard and the little soundplayer can load and play a soundfile. the synth works too. but i still get the little whirling 'waiting' cursor ... this is with fc8 b On Thu, Jan 29, 2009 at 5:48 PM, Bill Schottstaedt wrote: >> ../../src/demos/OpenGLDemo.cpp:48:22: warning: GL/glut.h: No such file >> or directory > > I get this also -- I rebuilt freeglut from the sources (you have to > remove -Werror in src/Makefile), and built jucedemo, and > I get: > > ALSA device: hw:M66,0 outs=10-10 ins=12-12 rates=6 > ALSA error: Invalid argument > > I tried uncommenting the JUCE_ALSA macro, rebuilt everything > and still got that error. > > > From taube at uiuc.edu Thu Jan 29 17:48:59 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 29 Jan 2009 19:48:59 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901291734g417aa3d7o2bd7551aec6876f@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> <20090129224614.M40152@ccrma.Stanford.EDU> <2eb2318a0901291734g417aa3d7o2bd7551aec6876f@mail.gmail.com> Message-ID: so does this mean you can select the audio device in Grace too? look in the Audio menu for the Audio Settings... dialog and use Play Audio File... to see if you can play a .wav file. On Jan 29, 2009, at 7:34 PM, Bill Sack wrote: > ok, so after i quit griping and installed the freeglut-devel package i > was able to build jucedemo and lo and behold the audio demo worked. > the 'show audio settings ..' widget finds my soundcard and the little > soundplayer can load and play a soundfile. the synth works too. but i > still get the little whirling 'waiting' cursor ... > > this is with fc8 > > b > > On Thu, Jan 29, 2009 at 5:48 PM, Bill Schottstaedt > wrote: >>> ../../src/demos/OpenGLDemo.cpp:48:22: warning: GL/glut.h: No such >>> file >>> or directory >> >> I get this also -- I rebuilt freeglut from the sources (you have to >> remove -Werror in src/Makefile), and built jucedemo, and >> I get: >> >> ALSA device: hw:M66,0 outs=10-10 ins=12-12 rates=6 >> ALSA error: Invalid argument >> >> I tried uncommenting the JUCE_ALSA macro, rebuilt everything >> and still got that error. >> >> >> > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bsack23 at gmail.com Thu Jan 29 18:47:08 2009 From: bsack23 at gmail.com (Bill Sack) Date: Thu, 29 Jan 2009 21:47:08 -0500 Subject: [CM] building cm3/Grace on linux In-Reply-To: References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> <20090129224614.M40152@ccrma.Stanford.EDU> <2eb2318a0901291734g417aa3d7o2bd7551aec6876f@mail.gmail.com> Message-ID: <2eb2318a0901291847l5345054ek82b382b9b88d20f5@mail.gmail.com> On Thu, Jan 29, 2009 at 8:48 PM, Heinrich Taube wrote: > so does this mean you can select the audio device in Grace too? look in the > Audio menu for the Audio Settings... dialog and use Play Audio File... to > see if you can play a .wav file. > yes, i'm sorry, i didn't even think to try that, but it does work now. i can play a file and i can load and and play one of the sndlib examples. the audio settings dialog shows my soundcard too. pretty great! i'm not sure what the waveform display should be doing, though. both in jucedemo and grace it scrolls random-looking squarewavish bursts regardless of what is (or isn't) playing through the player. my notebook is especially weak on graphics power, though, and anything that redraws a lot really bogs it down. i'll try the whole process on another faster linux machine in the house tomorrow. > On Jan 29, 2009, at 7:34 PM, Bill Sack wrote: > >> ok, so after i quit griping and installed the freeglut-devel package i >> was able to build jucedemo and lo and behold the audio demo worked. >> the 'show audio settings ..' widget finds my soundcard and the little >> soundplayer can load and play a soundfile. the synth works too. but i >> still get the little whirling 'waiting' cursor ... >> >> this is with fc8 >> >> b >> >> On Thu, Jan 29, 2009 at 5:48 PM, Bill Schottstaedt >> wrote: >>>> >>>> ../../src/demos/OpenGLDemo.cpp:48:22: warning: GL/glut.h: No such file >>>> or directory >>> >>> I get this also -- I rebuilt freeglut from the sources (you have to >>> remove -Werror in src/Makefile), and built jucedemo, and >>> I get: >>> >>> ALSA device: hw:M66,0 outs=10-10 ins=12-12 rates=6 >>> ALSA error: Invalid argument >>> >>> I tried uncommenting the JUCE_ALSA macro, rebuilt everything >>> and still got that error. >>> >>> >>> >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From bsack23 at gmail.com Fri Jan 30 05:31:47 2009 From: bsack23 at gmail.com (Bill Sack) Date: Fri, 30 Jan 2009 08:31:47 -0500 Subject: [CM] Grace audio & midi on linux Message-ID: <2eb2318a0901300531j8b649d4ud4a43083b25d37a6@mail.gmail.com> just to be clear: the reason i couldn't get audio from Grace at first (after rebuilding with alsa-enabled juce) was that i'd started it with jack running. with no jack, grace finds my soundcard and my external midi device. all works as expected (tho with spinning cursor after a minute or so). and to reiterate: this is on fc8 - i will try to build this weekend on another machine with fc9. it'd be great to get jack audio going with grace so it could be used with other apps like pd and ardour - i will look at the mammut code that Kjetil suggested at some point. oh, i also noticed that the fm-insect example code has an extra parenthesis at the end .... From taube at uiuc.edu Fri Jan 30 06:57:43 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 30 Jan 2009 08:57:43 -0600 Subject: [CM] Grace audio & midi on linux In-Reply-To: <2eb2318a0901300531j8b649d4ud4a43083b25d37a6@mail.gmail.com> References: <2eb2318a0901300531j8b649d4ud4a43083b25d37a6@mail.gmail.com> Message-ID: <832B6D1D-7960-47D9-B55C-FEAF86828F1E@uiuc.edu> thank you for your help and thanks Kjetil for posting your code! i will try to track down the spinning cusor problem on linux tho i have no idea how to start debugging -- im not sure what / who/why that cursor is chaning. does it start spinning even if you dont make sound or midi output? ie what happens if yuou simple eval stuff in the editor without making any sound at all? On Jan 30, 2009, at 7:31 AM, Bill Sack wrote: > just to be clear: the reason i couldn't get audio from Grace at first > (after rebuilding with alsa-enabled juce) was that i'd started it with > jack running. > > with no jack, grace finds my soundcard and my external midi device. > all works as expected (tho with spinning cursor after a minute or so). > and to reiterate: this is on fc8 - i will try to build this weekend on > another machine with fc9. > > it'd be great to get jack audio going with grace so it could be used > with other apps like pd and ardour - i will look at the mammut code > that Kjetil suggested at some point. > > oh, i also noticed that the fm-insect example code has an extra > parenthesis at the end .... > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Fri Jan 30 08:21:23 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 30 Jan 2009 10:21:23 -0600 Subject: [CM] building cm3/Grace on linux In-Reply-To: <2eb2318a0901291847l5345054ek82b382b9b88d20f5@mail.gmail.com> References: <2eb2318a0901280542r27e9a230s89d91fe49c09a311@mail.gmail.com> <8FD50134-17B9-476C-9EE1-96FD72DE091B@uiuc.edu> <2eb2318a0901291058x21312147n9cc1b3d7fae0918d@mail.gmail.com> <2eb2318a0901291304s1a714ff2ldec807cb3fb617c8@mail.gmail.com> <2DAEC269-22F0-48AF-A63E-1B91C8EF3595@uiuc.edu> <2eb2318a0901291327l3e12b097xf6d02e47be57a976@mail.gmail.com> <20090129224614.M40152@ccrma.Stanford.EDU> <2eb2318a0901291734g417aa3d7o2bd7551aec6876f@mail.gmail.com> <2eb2318a0901291847l5345054ek82b382b9b88d20f5@mail.gmail.com> Message-ID: <90EB0FA9-C5B1-4958-B8C1-E54C216E8941@uiuc.edu> > i'm not sure what the waveform display should be doing, though. both > in jucedemo and grace it scrolls random-looking squarewavish bursts > regardless of what is (or isn't) playing through the player. the waveform display is sampling the driver, and these values seems to be highly variable. you might be able to get it to display a waveform by twidding the amplitude scaling factor in Audio.h and testing with a very loud sound until you can see the waveform being drawn. the Cantor example in the insrument window is a very loud bagpipe (also needs nrev) for example. edit line 78 in Audio.h and try other values for scaling the 'level' variable (eg 32.0 or 64.0 etc) to see if you can get a waveform to appears. #ifndef JUCE_MAC level *= 16.0f; #endif i guess ill have to figure out if its possible to auto scale automatically for devices, if not i can provide a little slider that would let you adjust it per device... > my > notebook is especially weak on graphics power, though, and anything > that redraws a lot really bogs it down. i'll try the whole process on > another faster linux machine in the house tomorrow. > > >> On Jan 29, 2009, at 7:34 PM, Bill Sack wrote: >> >>> ok, so after i quit griping and installed the freeglut-devel >>> package i >>> was able to build jucedemo and lo and behold the audio demo worked. >>> the 'show audio settings ..' widget finds my soundcard and the >>> little >>> soundplayer can load and play a soundfile. the synth works too. >>> but i >>> still get the little whirling 'waiting' cursor ... >>> >>> this is with fc8 >>> >>> b >>> >>> On Thu, Jan 29, 2009 at 5:48 PM, Bill Schottstaedt >>> wrote: >>>>> >>>>> ../../src/demos/OpenGLDemo.cpp:48:22: warning: GL/glut.h: No >>>>> such file >>>>> or directory >>>> >>>> I get this also -- I rebuilt freeglut from the sources (you have to >>>> remove -Werror in src/Makefile), and built jucedemo, and >>>> I get: >>>> >>>> ALSA device: hw:M66,0 outs=10-10 ins=12-12 rates=6 >>>> ALSA error: Invalid argument >>>> >>>> I tried uncommenting the JUCE_ALSA macro, rebuilt everything >>>> and still got that error. >>>> >>>> >>>> >>> >>> _______________________________________________ >>> 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 m.vanloon at home.nl Sat Jan 31 02:28:18 2009 From: m.vanloon at home.nl (Maurice van Loon) Date: Sat, 31 Jan 2009 11:28:18 +0100 Subject: [CM] Midi file format Message-ID: <002401c9838e$a28acd50$0302a8c0@maurice> Maybe this question has been answered but I could not find the answer: If I write a midi-file with the sprout command in CM 3.2.4, the file can be listened to with QuickTime, but when I try to open it in an other program like Finale or Logic and even Ableton Live I get an error due to the format of the file. I used some standard examples in Grace to try it but it seems that the midi format cannot be read in several programs. Does have anyone the same experience? Kind regards, Maurice -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sat Jan 31 05:50:40 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 31 Jan 2009 07:50:40 -0600 Subject: [CM] Midi file format In-Reply-To: References: <002401c9838e$a28acd50$0302a8c0@maurice> Message-ID: <4B27D8A2-E0AF-416E-9185-A9D60563BC4F@uiuc.edu> yes, its set to milliseconds and I forgot to include the little gui component that lets you customize it in the new version of grace. sorry! i was hoping to not make a binary release until the linux audio issues are resolved but if you really need it let me know. (it'll be in svn today if you can build from sources) On Jan 31, 2009, at 7:20 AM, Heinrich Taube wrote: > let me check, i think its a vaild file but maybe its writing > milliseconds not beats and some apps cant handle that > On Jan 31, 2009, at 4:28 AM, Maurice van Loon wrote: > >> >> Maybe this question has been answered but I could not find the >> answer: If I write a midi-file with the sprout command in CM 3.2.4, >> the file can be listened to with QuickTime, but when I try to open >> it in an other program like Finale or Logic and even Ableton Live I >> get an error due to the format of the file. >> >> I used some standard examples in Grace to try it but it seems that >> the midi format cannot be read in several programs. Does have >> anyone the same experience? >> >> Kind regards, >> >> Maurice >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From drkrause at mindspring.com Sat Jan 31 06:38:52 2009 From: drkrause at mindspring.com (Drew Krause) Date: Sat, 31 Jan 2009 09:38:52 -0500 Subject: [CM] updated CM functions Message-ID: <4984627C.4030903@mindspring.com> I've made some changes to the CM code available at http://www.wordecho.org/code/cmcode/cmusic.html These updates include interfaces to the constraint solvers Minion and Concorde in "nudruz.lisp". Minion and Concorde executables should be in your path for these to work, along with my perl scripts "concorde.pl" and "bestmatch.pl". Best, Drew Krause From dlphilp at woh.rr.com Sat Jan 31 05:07:08 2009 From: dlphilp at woh.rr.com (Dave Phillips) Date: Sat, 31 Jan 2009 08:07:08 -0500 Subject: [CM] Midi file format In-Reply-To: <002401c9838e$a28acd50$0302a8c0@maurice> References: <002401c9838e$a28acd50$0302a8c0@maurice> Message-ID: <49844CFC.4080701@woh.rr.com> Maurice van Loon wrote: > > Maybe this question has been answered but I could not find the > answer: If I write a midi-file with the sprout command in CM 3.2.4, > the file can be listened to with QuickTime, but when I try to open it > in an other program like Finale or Logic and even Ableton Live I get > an error due to the format of the file. > > I used some standard examples in Grace to try it but it seems that the > midi format cannot be read in several programs. Does have anyone the > same experience? What MIDI file format is Grace using ? Almost every major sequencer uses Type 0 and/or Type 1 files, and almost none utilize Type 2. A shame, it's a neat format, but it caught on about as well as release-velocity on keyboards. :( Please post the error messages you receive from the host apps. Best, dp From taube at uiuc.edu Sat Jan 31 09:34:21 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 31 Jan 2009 11:34:21 -0600 Subject: [CM] Midi file format In-Reply-To: <49844CFC.4080701@woh.rr.com> References: <002401c9838e$a28acd50$0302a8c0@maurice> <49844CFC.4080701@woh.rr.com> Message-ID: hi dave im writing a type 1 file with two tracks, track 0 holds stuff like tempo, keysig, optional channel tuning data from the microtuning menu, optional program changes from the Instruments.... settings. track 1 holds user's event data. i think the issue is that Im writing a (legal) midi file using the (legal) millisecond format, eg: midifile->setSmpteTimeFormat(25, 40); // set to 1 msec resolution and i guess most apps wont handle this. so i think ill change the default format back to beats like it was in cm2: e.g. divisions-per-quarter (480) instead of smpte time and a file tempo of 60bpm. regardless ive just added a new dialog that lets you twiddle all this in Audio->MidiOut>Midifile Settings... From taube at uiuc.edu Sat Jan 31 09:42:38 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 31 Jan 2009 11:42:38 -0600 Subject: [CM] juce, linux and alsa Message-ID: it seems like one of the juce wizards has written a class for connecting to jack rather than alsa. its on page two of this (long) discussion about audio problems on linux, which actually seem quite centered on problems with alsa! http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338 i dont really know what the right solution is to get the audio problems sorted out on linux. From taube at uiuc.edu Sat Jan 31 09:52:31 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 31 Jan 2009 11:52:31 -0600 Subject: [CM] updated CM functions In-Reply-To: <4984627C.4030903@mindspring.com> References: <4984627C.4030903@mindspring.com> Message-ID: drew this stuff is really very cool, thanks!! On Jan 31, 2009, at 8:38 AM, Drew Krause wrote: > I've made some changes to the CM code available at > > http://www.wordecho.org/code/cmcode/cmusic.html > > These updates include interfaces to the constraint solvers Minion and > Concorde in "nudruz.lisp". Minion and Concorde executables should be > in > your path for these to work, along with my perl scripts "concorde.pl" > and "bestmatch.pl". > > Best, > Drew Krause > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From dlphillips at woh.rr.com Sat Jan 31 10:14:58 2009 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sat, 31 Jan 2009 13:14:58 -0500 Subject: [CM] juce, linux and alsa In-Reply-To: References: Message-ID: <49849522.3020207@woh.rr.com> Heinrich Taube wrote: > it seems like one of the juce wizards has written a class for > connecting to jack rather than alsa. its on page two of this (long) > discussion about audio problems on linux, which actually seem quite > centered on problems with alsa! > > http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338 > > i dont really know what the right solution is to get the audio > problems sorted out on linux. > Interesting discussion. The players include the developer of the excellent JOST plugin host (kraken, aka Lucio Asnaghi), the developer of Snd-ls and a JUCE-ified Mammut (kjetil, aka Kjetil Matheussen), and of course the lead JUCE dev (jules). Yes, the real focus of their lament is ALSA. Frankly, I agree with Kjetil: Use JACK for serious audio, use OSS (or ALSA's OSS emulation) for everything else. The number of audio "solutions" for Linux has become a problem itself, and application developers might be best advised to simply support OSS and JACK. IMO, you could skip OSS entirely too, but that's a little more radical. However, choosing JACK also gives you access to JackMIDI (better timing than the ALSA sequencer) and jackdmp (multiprocessor JACK daemon, aka JACK2). For my purposes there's little or no need for OSS support. I suggest going with JACK all the way. It's the best high-performance audio server available for Linux (and now OSX and reportedly Windows), it includes integral MIDI support, and its continued development is pretty likely. Now if only the JavaSound devs were listening ... Best, dp From taube at uiuc.edu Sat Jan 31 10:43:33 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 31 Jan 2009 12:43:33 -0600 Subject: [CM] Midi file format In-Reply-To: References: <002401c9838e$a28acd50$0302a8c0@maurice> <49844CFC.4080701@woh.rr.com> Message-ID: ok svn trunk now has a new Audio>MidiOut>Midifile Settings... dialog and the midifile defaults are now just like cm2 (beats not milliseconds with tickperquarter=480, tempo=60) with that in place the following writes a file that displays a c- major scale s s s s q e e q in sibelius define process test() run for k in key({c4 d e f g a b c5}) for r in {.25 .25 .25 .25 1 .5 .5 1} send "mp:midi", 0, r, k wait r end sprout test(), "~/test.mid" From taube at uiuc.edu Sat Jan 31 10:50:49 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 31 Jan 2009 12:50:49 -0600 Subject: [CM] juce, linux and alsa In-Reply-To: <49849522.3020207@woh.rr.com> References: <49849522.3020207@woh.rr.com> Message-ID: dave thanks very much for your input. ill look and see what implications switching has for the juce midi devices, which i think are alsa. if i swtich to jack audio then id like to just drop alsa completely if thats possible. On Jan 31, 2009, at 12:14 PM, Dave Phillips wrote: > Heinrich Taube wrote: >> it seems like one of the juce wizards has written a class for >> connecting to jack rather than alsa. its on page two of this >> (long) discussion about audio problems on linux, which actually >> seem quite centered on problems with alsa! >> >> http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338 >> >> i dont really know what the right solution is to get the audio >> problems sorted out on linux. >> > > Interesting discussion. The players include the developer of the > excellent JOST plugin host (kraken, aka Lucio Asnaghi), the > developer of Snd-ls and a JUCE-ified Mammut (kjetil, aka Kjetil > Matheussen), and of course the lead JUCE dev (jules). > > Yes, the real focus of their lament is ALSA. Frankly, I agree with > Kjetil: Use JACK for serious audio, use OSS (or ALSA's OSS > emulation) for everything else. The number of audio "solutions" for > Linux has become a problem itself, and application developers might > be best advised to simply support OSS and JACK. IMO, you could skip > OSS entirely too, but that's a little more radical. However, > choosing JACK also gives you access to JackMIDI (better timing than > the ALSA sequencer) and jackdmp (multiprocessor JACK daemon, aka > JACK2). For my purposes there's little or no need for OSS support. > > I suggest going with JACK all the way. It's the best high- > performance audio server available for Linux (and now OSX and > reportedly Windows), it includes integral MIDI support, and its > continued development is pretty likely. > > Now if only the JavaSound devs were listening ... > > Best, > > dp > From dlphillips at woh.rr.com Sat Jan 31 11:03:46 2009 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sat, 31 Jan 2009 14:03:46 -0500 Subject: [CM] juce, linux and alsa In-Reply-To: References: <49849522.3020207@woh.rr.com> Message-ID: <4984A092.6010007@woh.rr.com> Heinrich Taube wrote: > dave thanks very much for your input. ill look and see what > implications switching has for the juce midi devices, which i think > are alsa. if i swtich to jack audio then id like to just drop alsa > completely if thats possible. > If JUCE supports JackMIDI then you can abandon ALSA entirely in favor of JACK. I've cc'd this reply to Lucio, he knows more about what's required for a solution. And if someone needs it, bridge software is available than can connect the ALSA sequencer ports to JackMIDI ports. Best, dp > > On Jan 31, 2009, at 12:14 PM, Dave Phillips wrote: > > >> Heinrich Taube wrote: >> >>> it seems like one of the juce wizards has written a class for >>> connecting to jack rather than alsa. its on page two of this >>> (long) discussion about audio problems on linux, which actually >>> seem quite centered on problems with alsa! >>> >>> http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338 >>> >>> i dont really know what the right solution is to get the audio >>> problems sorted out on linux. >>> >>> >> Interesting discussion. The players include the developer of the >> excellent JOST plugin host (kraken, aka Lucio Asnaghi), the >> developer of Snd-ls and a JUCE-ified Mammut (kjetil, aka Kjetil >> Matheussen), and of course the lead JUCE dev (jules). >> >> Yes, the real focus of their lament is ALSA. Frankly, I agree with >> Kjetil: Use JACK for serious audio, use OSS (or ALSA's OSS >> emulation) for everything else. The number of audio "solutions" for >> Linux has become a problem itself, and application developers might >> be best advised to simply support OSS and JACK. IMO, you could skip >> OSS entirely too, but that's a little more radical. However, >> choosing JACK also gives you access to JackMIDI (better timing than >> the ALSA sequencer) and jackdmp (multiprocessor JACK daemon, aka >> JACK2). For my purposes there's little or no need for OSS support. >> >> I suggest going with JACK all the way. It's the best high- >> performance audio server available for Linux (and now OSX and >> reportedly Windows), it includes integral MIDI support, and its >> continued development is pretty likely. >> >> Now if only the JavaSound devs were listening ... >> >> Best, >> >> dp >> >> > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From oded at ccrma.Stanford.EDU Sat Jan 31 11:09:36 2009 From: oded at ccrma.Stanford.EDU (Oded Ben-Tal) Date: Sat, 31 Jan 2009 11:09:36 -0800 (PST) Subject: [CM] cm, jack & alsa In-Reply-To: References: Message-ID: Could I urge you to consider carefully before you switch cm completely to jack and no alsa at all? I found jack to be extremely problematic at least on my system, while using alsa works fine. For example, I can get cm/clm to play 4-channel files fine while getting jack to work with 4-channels is erratic (I could get it working, but not perfectly, on fc8. On FC10 it isn't working at all). That and similar problems mean that I try to stay away from jack. Perhaps it's just my soundcard (or me) but I would hope to be able to keep on using cm withouth jack. thanks Oded ___________________________________________________ Oded Ben-Tal http://ccrma.stanford.edu/~oded oded at ccrma.stanford.edu From taube at uiuc.edu Sat Jan 31 11:34:29 2009 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 31 Jan 2009 13:34:29 -0600 Subject: [CM] cm, jack & alsa In-Reply-To: References: Message-ID: <9A251BBD-F8FA-4F62-AB3F-EED447C69BDF@uiuc.edu> hi at any rate no code in cm cares about alsa or jack, im just makeing vanillia juce calls. i think the alsa/jack descision would just be a compile time switch for juce (WITH_ALSA or WITH_JACK) so either would be possible. ive posted something to the juce/linux group to find out what's up. On Jan 31, 2009, at 1:09 PM, Oded Ben-Tal wrote: > Could I urge you to consider carefully before you switch cm > completely to > jack and no alsa at all? I found jack to be extremely problematic at > least > on my system, while using alsa works fine. For example, I can get cm/ > clm > to play 4-channel files fine while getting jack to work with 4- > channels is > erratic (I could get it working, but not perfectly, on fc8. On FC10 it > isn't working at all). That and similar problems mean that I try to > stay > away from jack. Perhaps it's just my soundcard (or me) but I would > hope to > be able to keep on using cm withouth jack. > > thanks > Oded > > ___________________________________________________ > Oded Ben-Tal > http://ccrma.stanford.edu/~oded > oded at ccrma.stanford.edu > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From m.vanloon at home.nl Sat Jan 31 13:57:39 2009 From: m.vanloon at home.nl (m.vanloon at home.nl) Date: Sat, 31 Jan 2009 22:57:39 +0100 Subject: [CM] Midi file format Message-ID: <29926059.1233439059402.JavaMail.root@webmail1.tilbu1> Hi all, thanks for the changes that will be made! The host applications reply with an SMPTE-error message. Exactly what Mr. Taube will change. A work-around is to open it in Quicktime and export it in Midi-format again. Thanks, Maurice