From cazzaniga.sandro at gmail.com Thu Apr 1 13:07:25 2010 From: cazzaniga.sandro at gmail.com (Cazzaniga Sandro) Date: Thu, 01 Apr 2010 22:07:25 +0200 Subject: [CM] snd-11.4 Message-ID: <4BB4FCFD.7090406@gmail.com> Hello, that's (in attachment) a patch for fix string format in snd. thanks. -- Cazzaniga Sandro - Mandriva (kharec(at)mandriva.org) -------------- next part -------------- A non-text attachment was scrubbed... Name: snd-11.4-fix-str-fmt.patch Type: text/x-patch Size: 1221 bytes Desc: not available URL: From bil at ccrma.Stanford.EDU Thu Apr 1 13:36:40 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 1 Apr 2010 13:36:40 -0700 Subject: [CM] snd-11.4 In-Reply-To: <4BB4FCFD.7090406@gmail.com> References: <4BB4FCFD.7090406@gmail.com> Message-ID: <20100401203446.M87480@ccrma.Stanford.EDU> Thanks very much -- I thought I had found all those, but I was looking for stderr, I think. From taube at uiuc.edu Sat Apr 3 19:17:02 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 3 Apr 2010 21:17:02 -0500 Subject: [CM] code editor complete Message-ID: ive uploaded the second-to-last candidate for the new code editor and sal2. all functionality is now in place except loading sal files and the 'file' form in sal2 http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-alpha3-osx.zip http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-alpha3-win32.zip http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-alpha3-linux.zip new features: color themes work (juce bug curently stops cursor from changing color yet) switching syntax in buffer works customization comments work, comments can store buffer syntax, color theme, font-size, lines and columns use Options->write customize comment to add a comment to the buffer. all tutorials and examples have been checked, sal examples and tutorials now reflect sal2. to get a sal2 buffer you can open a file with a .sal2 extension or switch an existing buffer to Sal2 using the Options>Syntax> menu. From ahcnz at ihug.co.nz Sat Apr 3 22:59:31 2010 From: ahcnz at ihug.co.nz (Adam) Date: Sun, 4 Apr 2010 17:59:31 +1200 Subject: [CM] code editor complete In-Reply-To: References: Message-ID: <201004041759.32575.ahcnz@ihug.co.nz> I noticed on Grace 3.5 that Tutorials->Scheme->Fomus was empty. Is that there on 3.6 ? From taube at uiuc.edu Sun Apr 4 07:41:56 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 4 Apr 2010 09:41:56 -0500 Subject: [CM] code editor complete In-Reply-To: <201004041759.32575.ahcnz@ihug.co.nz> References: <201004041759.32575.ahcnz@ihug.co.nz> Message-ID: <79FA7462-FDE3-47FD-8F14-942DBED9A24E@uiuc.edu> you mean the buffer is empty when you load it? odd its working for me in 3.5.2. you can take the Grace im using for my class, its 3.5.2 and very stable, look in the "Class Downloads" section of http://camil.music.uiuc.edu/Classes/404A2/ or you can simply restore the file from svn, its fomustutorial.sal. > was empty. Is that there on 3.6 ? yes, but as i indicated in the message yesterday the replacement for 'fomusfile' isnt there yet so dont eval expressions starting with 'file' in the new examples. ill have everythig in 3.6.0 all wrapped up in a week or two, i just have the low level reorganization, loading and 'file' left to do. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sun Apr 4 10:10:18 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 4 Apr 2010 12:10:18 -0500 Subject: [CM] code editor complete In-Reply-To: <201004041759.32575.ahcnz@ihug.co.nz> References: <201004041759.32575.ahcnz@ihug.co.nz> Message-ID: <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> On Apr 4, 2010, at 12:59 AM, Adam wrote: > > I noticed on Grace 3.5 that Tutorials->Scheme->Fomus > was empty. Is that there on 3.6 ? > ahh sorry, i ddnt notice the ->Scheme-> submenu, we never did the scheme examples, but its no problem to add them. look on the Fomus website, they might actually be there. > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From ahcnz at ihug.co.nz Sun Apr 4 10:52:47 2010 From: ahcnz at ihug.co.nz (Adam) Date: Mon, 5 Apr 2010 05:52:47 +1200 Subject: [CM] code editor complete In-Reply-To: <79FA7462-FDE3-47FD-8F14-942DBED9A24E@uiuc.edu> References: <201004041759.32575.ahcnz@ihug.co.nz> <79FA7462-FDE3-47FD-8F14-942DBED9A24E@uiuc.edu> Message-ID: <201004050552.48345.ahcnz@ihug.co.nz> On Monday 05 April 2010 02:41 am, Heinrich Taube wrote: > you mean the buffer is empty when you load it? odd its working for me Yes. Blank when looked up under Help Tutorials Scheme Fomus. On recent Grace 3.5.1 svn: 1835. Export Tutorials, and Fomus.sm 0 kB all others > 0 kB. > in 3.5.2. you can take the Grace im using for my class, its 3.5.2 and > very stable, look in the "Class Downloads" section of > http://camil.music.uiuc.edu/Classes/404A2/ > > or you can simply restore the file from svn, its fomustutorial.sal. Again, this may be SAL and not Scheme. > > was empty. Is that there on 3.6 ? > > yes, but as i indicated in the message yesterday the replacement for > 'fomusfile' isnt there yet so dont eval expressions starting with > 'file' in the new examples. ill have everythig in 3.6.0 all wrapped > up in a week or two, i just have the low level reorganization, loading > and 'file' left to do. This is it. I got lost transcoding SAL examples to Scheme, fomusfile at the top of fomus.sal. Lisp examples in the Fomus documentation, all didn't seem to work. OK. Thanks. Will look out for Grace 3.6 and stay tuned. From juanig at ccrma.Stanford.EDU Mon Apr 5 09:22:20 2010 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Mon, 05 Apr 2010 12:22:20 -0400 Subject: [CM] grace runs as root user only In-Reply-To: <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> Message-ID: <1270484540.2183.42.camel@blueberry.maginvent.org> Hi Rick, I have been trying to run Grace as a normal user on 'Fedora-12' with no success. I changed permissions to allow for any user and also disable SELinux but still no luck. Grace-3.6.0 binary runs fine as a root user. Thanks, --* Juan From taube at uiuc.edu Mon Apr 5 10:18:18 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 5 Apr 2010 12:18:18 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270484540.2183.42.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> Message-ID: <4C951721-D720-4F66-9882-066004A1330B@uiuc.edu> hi juan Im not sure how i would go about debugging this, i wonder if its a preference file thing? do you have access to an ubuntu box you can try to see if it at least works there? ( it runs for me logged in as hkt on my Ubuntu partition.) On Apr 5, 2010, at 11:22 AM, Juan Reyes wrote: > > Hi Rick, > > I have been trying to run Grace as a normal user on 'Fedora-12' with > no > success. I changed permissions to allow for any user and also disable > SELinux but still no luck. Grace-3.6.0 binary runs fine as a root > user. > > > Thanks, > > --* Juan > From nando at ccrma.Stanford.EDU Mon Apr 5 10:23:10 2010 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Mon, 05 Apr 2010 10:23:10 -0700 Subject: [CM] grace runs as root user only In-Reply-To: <1270484540.2183.42.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> Message-ID: <1270488190.16355.37.camel@localhost.localdomain> On Mon, 2010-04-05 at 12:22 -0400, Juan Reyes wrote: > Hi Rick, > > I have been trying to run Grace as a normal user on 'Fedora-12' with no > success. I changed permissions to allow for any user and also disable > SELinux but still no luck. Grace-3.6.0 binary runs fine as a root user. And what error do you get? You could try running with strace (ie: "strace full_path_of_program &> logfile") and the looking at the log file created to see what file or files is it trying to access and can't. -- Fernando From taube at uiuc.edu Mon Apr 5 10:34:14 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 5 Apr 2010 12:34:14 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270484540.2183.42.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> Message-ID: <862C5E12-A236-42A5-9252-84897B58EE68@uiuc.edu> let me see if i can build an image on my ccrma account, you could test that to see if the problem is there or not. ill send you a personal note later when i get a chance to do this. On Apr 5, 2010, at 11:22 AM, Juan Reyes wrote: > > Hi Rick, > > I have been trying to run Grace as a normal user on 'Fedora-12' with > no > success. I changed permissions to allow for any user and also disable > SELinux but still no luck. Grace-3.6.0 binary runs fine as a root > user. > > > Thanks, > > --* Juan > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From juanig at ccrma.Stanford.EDU Mon Apr 5 17:39:28 2010 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Mon, 05 Apr 2010 20:39:28 -0400 Subject: [CM] grace runs as root user only In-Reply-To: <4C951721-D720-4F66-9882-066004A1330B@uiuc.edu> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <4C951721-D720-4F66-9882-066004A1330B@uiuc.edu> Message-ID: <1270514368.3183.54.camel@blueberry.maginvent.org> Hi Rick, Thanks for your response. I am sorry I don't have an Ubuntu machine on hand. Is there an example of a cm-init lisp file that I can test, just in case we are talking about preferences. --* Juan On Mon, 2010-04-05 at 12:18 -0500, Heinrich Taube wrote: > hi juan Im not sure how i would go about debugging this, i wonder if > its a preference file thing? > do you have access to an ubuntu box you can try to see if it at least > works there? ( it runs for me logged in as hkt on my Ubuntu partition.) > > > From juanig at ccrma.Stanford.EDU Mon Apr 5 17:47:55 2010 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Mon, 05 Apr 2010 20:47:55 -0400 Subject: [CM] grace runs as root user only In-Reply-To: <1270488190.16355.37.camel@localhost.localdomain> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> Message-ID: <1270514875.3183.63.camel@blueberry.maginvent.org> Hi Nando, > And what error do you get? As far as console errors I get nothing (which is weird). Thanks for the 'strace' tip. Apparently it goes through all the Xorg fonts stuff but it stops with the following: > poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) > writev(3, [{"\225\5\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4 > poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}]) > read(3, "\1,\23\0\2\0\0\0\1\0\0\0\270,\246\277\0\0\0\0\4\0\0\0008\365\20\n\0\0\0\0"..., 4096) = 40 > read(3, 0x88a63e8, 4096) = -1 EAGAIN (Resource temporarily unavailable) > stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 > access("/var/tmp/juceAppLock_Grace", F_OK) = 0 > open("/var/tmp/juceAppLock_Grace", O_RDWR) = -1 EACCES (Permission denied) > gettimeofday({1270514145, 655788}, NULL) = 0 > fcntl64(-1, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EBADF (Bad file descriptor) > close(-1) = -1 EBADF (Bad file descriptor) > getpid() = 3864 > exit_group(0) I'll email you the log file off the list. Thanks a lot! --* Juan From k.s.matheussen at notam02.no Tue Apr 6 01:00:49 2010 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Tue, 6 Apr 2010 10:00:49 +0200 (CEST) Subject: [CM] grace runs as root user only In-Reply-To: <1270514875.3183.63.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> Message-ID: On Mon, 5 Apr 2010, Juan Reyes wrote: > > Hi Nando, > > >> And what error do you get? > > As far as console errors I get nothing (which is weird). > > Thanks for the 'strace' tip. > Apparently it goes through all the Xorg fonts stuff but it stops with > the following: > > >> poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) >> writev(3, [{"\225\5\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4 >> poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}]) >> read(3, "\1,\23\0\2\0\0\0\1\0\0\0\270,\246\277\0\0\0\0\4\0\0\0008\365\20\n\0\0\0\0"..., 4096) = 40 >> read(3, 0x88a63e8, 4096) = -1 EAGAIN (Resource temporarily unavailable) >> stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 >> access("/var/tmp/juceAppLock_Grace", F_OK) = 0 >> open("/var/tmp/juceAppLock_Grace", O_RDWR) = -1 EACCES (Permission denied) >> gettimeofday({1270514145, 655788}, NULL) = 0 >> fcntl64(-1, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EBADF (Bad file descriptor) >> close(-1) = -1 EBADF (Bad file descriptor) >> getpid() = 3864 >> exit_group(0) > Could it be that the file /var/tmp/juceAppLock_Grace is left over from a previous session run by root? Did you try deleting that file before running Grace (as non-root)? From juanig at ccrma.Stanford.EDU Tue Apr 6 09:10:57 2010 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Tue, 06 Apr 2010 12:10:57 -0400 Subject: [CM] grace runs as root user only In-Reply-To: References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> Message-ID: <1270570257.6837.20.camel@blueberry.maginvent.org> Hi Kjetil, I hate to admit that something as trivial as removing '/var/tmp/juceAppLock_Grace' might be the cause for this issue. I removed the file, now I have permissions and Grace runs. I take it when I run a new instance of Grace a new file 'juceAppLock_Grace' is created. The problem might arise again when another user on the same machine wants to use Grace. Perhaps '/var/tmp/juceAppLock_Grace' should be removed when user quits Grace. I am not sure how often Fedora recycles '/var/tmp'. Thanks a lot Kjetil! --* Juan > > Could it be that the file /var/tmp/juceAppLock_Grace is left over > from a previous session run by root? > > Did you try deleting that file before running Grace (as non-root)? From taube at uiuc.edu Tue Apr 6 10:33:00 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 6 Apr 2010 12:33:00 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270570257.6837.20.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> Message-ID: <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> juan i think that log file check was happening because in Main.cpp i normally disable multiple versions running at the same time execpt on mac (to avoid a mac bug): bool Grace::moreThanOneInstanceAllowed(void) { return SysInfo::isMac(); } i think juce uses that lock file to implement this function, which presumably caused the permission problem. now that youve deleted that (stale?) lock file ive put the the original behavior back so you can try out the new app out to see if the locking problem comes back again. if it does then ill just always allow multiple instances everywhere. thank you for helping me with this! --rick On Apr 6, 2010, at 11:10 AM, Juan Reyes wrote: > Hi Kjetil, > > I hate to admit that something as trivial as removing > '/var/tmp/juceAppLock_Grace' might be the cause for this issue. > > I removed the file, now I have permissions and Grace runs. I take it > when I run a new instance of Grace a new file 'juceAppLock_Grace' is > created. The problem might arise again when another user on the same > machine wants to use Grace. Perhaps '/var/tmp/juceAppLock_Grace' > should > be removed when user quits Grace. I am not sure how often Fedora > recycles '/var/tmp'. > > Thanks a lot Kjetil! > > --* Juan > >> >> Could it be that the file /var/tmp/juceAppLock_Grace is left over >> from a previous session run by root? >> >> Did you try deleting that file before running Grace (as non-root)? > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From juanig at ccrma.Stanford.EDU Tue Apr 6 13:33:47 2010 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Tue, 06 Apr 2010 16:33:47 -0400 Subject: [CM] grace runs as root user only In-Reply-To: <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> Message-ID: <1270586027.6837.37.camel@blueberry.maginvent.org> Hi Rick, Just tried the new app you suggested and it's looking good so far. I even tried the older 3.5.1 and it is working :-) ---> Thanks for all your efforts!! --* Juan Thank you Nando and Kjetil for your avid eyes. > i think juce uses that lock file to implement this function, which > presumably caused the permission problem. now that youve deleted that > (stale?) lock file ive put the the original behavior back so you can > try out the new app out to see if the locking problem comes back > again. if it does then ill just always allow multiple instances > everywhere. > thank you for helping me with this! > --rick > From taube at uiuc.edu Tue Apr 6 14:45:23 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 6 Apr 2010 16:45:23 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270586027.6837.37.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> Message-ID: <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> juan thanks for testing, ill try to figure out the liblo linking problem there in the next day so i can add the osc port too. remember that this 3.6.0 app is definaty not stable! (ive built a stable 3.5.2 for you on ccrma ~hkt/Software/cm3.5.2) On Apr 6, 2010, at 3:33 PM, Juan Reyes wrote: > Hi Rick, > > Just tried the new app you suggested and it's looking good so far. I > even tried the older 3.5.1 and it is working :-) > > > ---> Thanks for all your efforts!! > > --* Juan > > Thank you Nando and Kjetil for your avid eyes. > >> i think juce uses that lock file to implement this function, which >> presumably caused the permission problem. now that youve deleted that >> (stale?) lock file ive put the the original behavior back so you can >> try out the new app out to see if the locking problem comes back >> again. if it does then ill just always allow multiple instances >> everywhere. >> thank you for helping me with this! >> --rick >> > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From juanig at ccrma.Stanford.EDU Wed Apr 7 11:56:06 2010 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Wed, 07 Apr 2010 14:56:06 -0400 Subject: [CM] grace runs as root user only In-Reply-To: <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> Message-ID: <1270666566.12926.4.camel@blueberry.maginvent.org> Thanks again Rick!, Got 3.5.2 running. A good thing about this build in contrast with the binary is that actually Jack works better. Grace?s linux binary complains about not being able to run or start the Jack server. --* Juan On Tue, 2010-04-06 at 16:45 -0500, Heinrich Taube wrote: > juan thanks for testing, ill try to figure out the liblo linking > problem there in the next day so i can add the osc port too. remember > that this 3.6.0 app is definaty not stable! (ive built a stable 3.5.2 > for you on ccrma ~hkt/Software/cm3.5.2) > From taube at uiuc.edu Wed Apr 7 12:01:24 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 7 Apr 2010 14:01:24 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270666566.12926.4.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> <1270666566.12926.4.camel@blueberry.maginvent.org> Message-ID: <44B1A213-3767-4E68-8840-0518BA5A78E1@uiuc.edu> yikes do you mean to say that jack is working in 3.5.2 but NOT in 3.6.0 ??? I dont know how that could happen -- they are using the identical juce_amalgmatated sources expect for some trivial mods i added in 3.6.0 for the new CodeEditor (which is not in 3.5.2). [ccrma-gate hkt] ~/Software> diff xcm/src/juce_amalgamated.cpp cm3.5.2/ src/juce_amalgamated.cpp 390c390 < // #define JUCE_CHECK_MEMORY_LEAKS 1 --- > #define JUCE_CHECK_MEMORY_LEAKS 1 45339,45371d45338 < const Font CodeEditorComponent::getFont() // HKT < { < return font; < } < < int CodeEditorComponent::getHighlightedRegionLength() // HKT < { < return jmax(0, selectionEnd.getPosition()- selectionStart.getPosition()); < } < < const CodeDocument::Position CodeEditorComponent::getHighlightedRegionStart() // HKT < { < return selectionStart; < } < < const CodeDocument::Position CodeEditorComponent::getHighlightedRegionEnd() // HKT < { < return selectionEnd; < } < < void CodeEditorComponent::setHighlightedRegion(const CodeDocument::Position pos, const int len) // HKT < { < moveCaretTo(pos, false); < moveCaretTo(pos.movedBy(len), true); < } < < const String CodeEditorComponent::getHighlightedText() // HKT < { < if (selectionEnd.getPosition()>selectionStart.getPosition()) < return getDocument().getTextBetween(selectionStart, selectionEnd); < else return String::empty; < } < [ccrma-gate hkt] ~/Software> From taube at uiuc.edu Wed Apr 7 12:04:47 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 7 Apr 2010 14:04:47 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270666566.12926.4.camel@blueberry.maginvent.org> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> <1270666566.12926.4.camel@blueberry.maginvent.org> Message-ID: ok maybe you are comparing the 3.5.2 with the 3.6.0 version i built in ubuntu? just use 3.6.0 at ccrma if that is working better. there should be no difference between jack working on the two apps on ccrma. if i could figure out why l cant link with liblo at ccrma (i can on my ubuntu...) then id be happy to do all my linux builds there On Apr 7, 2010, at 1:56 PM, Juan Reyes wrote: > > Thanks again Rick!, > > Got 3.5.2 running. A good thing about this build in contrast with the > binary is that actually Jack works better. Grace?s linux binary > complains about not being able to run or start the Jack server. > > --* Juan > > > On Tue, 2010-04-06 at 16:45 -0500, Heinrich Taube wrote: >> juan thanks for testing, ill try to figure out the liblo linking >> problem there in the next day so i can add the osc port too. remember >> that this 3.6.0 app is definaty not stable! (ive built a stable >> 3.5.2 >> for you on ccrma ~hkt/Software/cm3.5.2) >> > > From juanig at ccrma.Stanford.EDU Wed Apr 7 13:05:36 2010 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Wed, 07 Apr 2010 16:05:36 -0400 Subject: [CM] grace runs as root user only In-Reply-To: References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> <1270666566.12926.4.camel@blueberry.maginvent.org> Message-ID: <1270670736.13353.13.camel@blueberry.maginvent.org> Sorry Rick, I meant 3.6.0 Ubuntu against 3.5.2 ccrma. > ok maybe you are comparing the 3.5.2 with the 3.6.0 version i built in > ubuntu? > if i could figure out why l cant link with liblo at ccrma (i can on > my ubuntu...) then id be happy to do all my linux builds there From nando at ccrma.Stanford.EDU Wed Apr 7 17:14:02 2010 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Thu, 08 Apr 2010 00:14:02 +0000 Subject: [CM] grace runs as root user only In-Reply-To: References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> <1270666566.12926.4.camel@blueberry.maginvent.org> Message-ID: <1270685642.16251.75.camel@localhost.localdomain> On Wed, 2010-04-07 at 14:04 -0500, Heinrich Taube wrote: > if i could figure out why l cant link with liblo at ccrma (i can on > my ubuntu...) then id be happy to do all my linux builds there What error message are you getting? We do have liblo-devel 0.24 installed. -- Fernando From taube at uiuc.edu Wed Apr 7 17:41:19 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 7 Apr 2010 19:41:19 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270685642.16251.75.camel@localhost.localdomain> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> <1270666566.12926.4.camel@blueberry.maginvent.org> <1270685642.16251.75.camel@localhost.localdomain> Message-ID: i think i see whats going on. linking fails because im use a function (lo_bundle_free_messages) in liblo-2.6.0 that is not in your 2.4 lib. even though ive build my own static 2.6.0 liblo (~hkt/Software/ liblo-2.6.0/lib/liblo.a ) and have a -L ../liblo-2.6/0/lib in my linking command the linker itself chooses /usr/lib/liblo.so instread. if i remove -L/usr/lib from my linker command set by hand then I can build Grace statically linked to my 2.6.0 liblo. im not sure what the right to do this is. On Apr 7, 2010, at 7:14 PM, Fernando Lopez-Lezcano wrote: > On Wed, 2010-04-07 at 14:04 -0500, Heinrich Taube wrote: >> if i could figure out why l cant link with liblo at ccrma (i can on >> my ubuntu...) then id be happy to do all my linux builds there > > What error message are you getting? > We do have liblo-devel 0.24 installed. > > -- Fernando > > From nando at ccrma.Stanford.EDU Wed Apr 7 17:57:11 2010 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Wed, 07 Apr 2010 17:57:11 -0700 Subject: [CM] grace runs as root user only In-Reply-To: References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> <1270666566.12926.4.camel@blueberry.maginvent.org> <1270685642.16251.75.camel@localhost.localdomain> Message-ID: <1270688231.16251.82.camel@localhost.localdomain> On Wed, 2010-04-07 at 19:41 -0500, Heinrich Taube wrote: > i think i see whats going on. linking fails because im use a function > (lo_bundle_free_messages) in liblo-2.6.0 that is not in your 2.4 lib. > even though ive build my own static 2.6.0 liblo (~hkt/Software/ > liblo-2.6.0/lib/liblo.a ) There is no 2.6.0 version (or "so" name, or anything like that), you probably mean 0.26 (or 0.24). > and have a -L ../liblo-2.6/0/lib in my > linking command the linker itself chooses /usr/lib/liblo.so > instread. Well, if you want to link dynamically the linker does not have much of a choice. I imagine it can't use your own .so because everybody else would run the program and it would fail to link, right? You have to link statically (against your .a static version of the library), but then the program would be bigger. I don't quite remember how you do that, but try not putting a "-llo" statement in the linking phase and including your liblo.a explicitly in the list of things to link. -- Fernando > if i remove -L/usr/lib from my linker command set by hand then I > can build Grace statically linked to my 2.6.0 liblo. im not sure what > the right to do this is. > > > On Apr 7, 2010, at 7:14 PM, Fernando Lopez-Lezcano wrote: > > > On Wed, 2010-04-07 at 14:04 -0500, Heinrich Taube wrote: > >> if i could figure out why l cant link with liblo at ccrma (i can on > >> my ubuntu...) then id be happy to do all my linux builds there > > > > What error message are you getting? > > We do have liblo-devel 0.24 installed. > > > > -- Fernando > > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Apr 7 18:47:21 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 7 Apr 2010 20:47:21 -0500 Subject: [CM] grace runs as root user only In-Reply-To: <1270688231.16251.82.camel@localhost.localdomain> References: <201004041759.32575.ahcnz@ihug.co.nz> <1C992543-D0D9-4FBA-9F15-AD5FA9B97658@uiuc.edu> <1270484540.2183.42.camel@blueberry.maginvent.org> <1270488190.16355.37.camel@localhost.localdomain> <1270514875.3183.63.camel@blueberry.maginvent.org> <1270570257.6837.20.camel@blueberry.maginvent.org> <1E5A44D5-640F-49CF-9181-73447CCB7CC2@uiuc.edu> <1270586027.6837.37.camel@blueberry.maginvent.org> <0287121A-D713-4F0F-97CE-114CD3D0EB06@uiuc.edu> <1270666566.12926.4.camel@blueberry.maginvent.org> <1270685642.16251.75.camel@localhost.localdomain> <1270688231.16251.82.camel@localhost.localdomain> Message-ID: <2B459E52-FA0E-4DB5-87E1-6A33AEF6E03D@uiuc.edu> > There is no 2.6.0 version (or "so" name, or anything like that), you > probably mean 0.26 (or 0.24). yes i meant .26 and .24. i build against .26 and the one the linker finds on ccrma isnt the same [ccrma-gate hkt] ~/Software/xcm> ls /usr/lib/liblo.* /usr/lib/liblo.so@ /usr/lib/liblo.so.0@ /usr/lib/liblo.so.0.6.0* > Well, if you want to link dynamically the linker does not have much > of a > choice. I imagine it can't use your own .so because everybody else > would > run the program and it would fail to link, right? im not trying to link dynamically -- i try to avoid it. i dont mind the larger exe its a fair trade to get a drag-and-drop app. ( grace its not really that big anyway even though its got sndlib, all clm instruments, examples, tutorials and souces built in. ) > but try not putting a "-llo" statement in the linking > phase and including your liblo.a explicitly in the list of things to > link. adding the lib explicitly as you suggest worked, ill fix my premake to do that on linux, thanks! From mr.danielross at googlemail.com Thu Apr 8 17:17:04 2010 From: mr.danielross at googlemail.com (Daniel Ross) Date: Fri, 9 Apr 2010 01:17:04 +0100 Subject: [CM] dlocsig Message-ID: Dear Music Programmers, I'm finding it very difficult to bridge the gap between the theory of 3D specialisation in dlocsig and implementing it practically using any other instrument. As a fairly recent beginner to the world of programming and music technology, is there anyone out there in interet-land who could hep me understand exactly, and simply, how to take one of the standard (and, perhaps, more complicated) CLM-4 instruments and adapt it/them to use dlocsig - without just referring me to https://ccrma.stanford.edu/~nando/clm/dlocsig/#dlocsig-ug? Though full of information, it is rather difficult to fully comprehend as a beginner, and I'm sure the seasoned CLMer's amongst you can explain some of the finer points in (almost-)lay-man's-terms without my head exploding. Very best, Troubled in Edinburgh -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Fri Apr 9 12:01:00 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 9 Apr 2010 12:01:00 -0700 Subject: [CM] c?r? Message-ID: <20100409185909.M2736@ccrma.Stanford.EDU> I was grumbling to myself that no one should have to count cars and cdrs, then thought of this macro: (define-macro (c?r path) ;; here "path" is a list and "X" marks the spot in it that we are trying to access ;; (a (b ((c X)))) -- anything after the X is ignored, other symbols are just placeholders ;; c?r returns a function that gets X ;; (c?r (a b X)) -> caddr, ;; (c?r (a (b X))) -> cadadr ;; ((c?r (a a a X)) '(1 2 3 4 5 6)) -> 4 ;; ((c?r (a (b c X))) '(1 (2 3 4))) -> 4 ;; ((c?r (((((a (b (c (d (e X)))))))))) '(((((1 (2 (3 (4 (5 6)))))))))) -> 6 ;; ((c?r (((((a (b (c (X (e f)))))))))) '(((((1 (2 (3 (4 (5 6)))))))))) -> 4 ;; (procedure-source (c?r (((((a (b (c (X (e f))))))))))) -> (lambda (lst) (car (car (cdr (car (cdr (car (cdr (car (car (car (car lst)))))))))))) (define (X-marks-the-spot accessor tree) (if (pair? tree) (or (X-marks-the-spot (cons 'car accessor) (car tree)) (X-marks-the-spot (cons 'cdr accessor) (cdr tree))) (if (eq? tree 'X) accessor #f))) (let ((accessor (X-marks-the-spot '() path))) (if (not accessor) (error "can't find the spot! ~A" path) (let ((len (length accessor))) (if (< len 5) ; it's a built-in function (let ((name (make-string (+ len 2)))) (set! (name 0) #\c) (set! (name (+ len 1)) #\r) (do ((i 0 (+ i 1)) (a accessor (cdr a))) ((= i len)) (set! (name (+ i 1)) (if (eq? (car a) 'car) #\a #\d))) (string->symbol name)) (let ((body 'lst)) ; make a new function to find the spot (for-each (lambda (f) (set! body (list f body))) (reverse accessor)) `(lambda (lst) ,body))))))) From k.s.matheussen at notam02.no Fri Apr 9 14:44:10 2010 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 9 Apr 2010 23:44:10 +0200 (CEST) Subject: [CM] c?r? In-Reply-To: <20100409185909.M2736@ccrma.Stanford.EDU> References: <20100409185909.M2736@ccrma.Stanford.EDU> Message-ID: That's really beautiful. :-) On Fri, 9 Apr 2010, Bill Schottstaedt wrote: > I was grumbling to myself that no one should have to count > cars and cdrs, then thought of this macro: > > (define-macro (c?r path) > ;; here "path" is a list and "X" marks the spot in it that we are trying to access > ;; (a (b ((c X)))) -- anything after the X is ignored, other symbols are just placeholders > ;; c?r returns a function that gets X > > ;; (c?r (a b X)) -> caddr, > ;; (c?r (a (b X))) -> cadadr > ;; ((c?r (a a a X)) '(1 2 3 4 5 6)) -> 4 > ;; ((c?r (a (b c X))) '(1 (2 3 4))) -> 4 > ;; ((c?r (((((a (b (c (d (e X)))))))))) '(((((1 (2 (3 (4 (5 6)))))))))) -> 6 > ;; ((c?r (((((a (b (c (X (e f)))))))))) '(((((1 (2 (3 (4 (5 6)))))))))) -> 4 > ;; (procedure-source (c?r (((((a (b (c (X (e f))))))))))) -> (lambda (lst) (car (car (cdr (car (cdr (car (cdr > (car (car (car (car lst)))))))))))) > > (define (X-marks-the-spot accessor tree) > (if (pair? tree) > (or (X-marks-the-spot (cons 'car accessor) (car tree)) > (X-marks-the-spot (cons 'cdr accessor) (cdr tree))) > (if (eq? tree 'X) > accessor > #f))) > > (let ((accessor (X-marks-the-spot '() path))) > (if (not accessor) > (error "can't find the spot! ~A" path) > (let ((len (length accessor))) > (if (< len 5) ; it's a built-in function > (let ((name (make-string (+ len 2)))) > (set! (name 0) #\c) > (set! (name (+ len 1)) #\r) > (do ((i 0 (+ i 1)) > (a accessor (cdr a))) > ((= i len)) > (set! (name (+ i 1)) (if (eq? (car a) 'car) #\a #\d))) > (string->symbol name)) > (let ((body 'lst)) ; make a new function to find the spot > (for-each > (lambda (f) > (set! body (list f body))) > (reverse accessor)) > `(lambda (lst) ,body))))))) > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From nando at ccrma.Stanford.EDU Fri Apr 9 18:11:55 2010 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Fri, 09 Apr 2010 18:11:55 -0700 Subject: [CM] dlocsig In-Reply-To: References: Message-ID: <1270861915.12829.58.camel@localhost.localdomain> On Fri, 2010-04-09 at 01:17 +0100, Daniel Ross wrote: > Dear Music Programmers, > > > I'm finding it very difficult to bridge the gap between the theory of > 3D specialisation in dlocsig and implementing it practically using any > other instrument. > > > As a fairly recent beginner to the world of programming and music > technology, is there anyone out there in interet-land who could hep me > understand exactly, and simply, how to take one of the standard (and, > perhaps, more complicated) CLM-4 instruments and adapt it/them to use > dlocsig - without just referring me > to https://ccrma.stanford.edu/~nando/clm/dlocsig/#dlocsig-ug? > > > Though full of information, it is rather difficult to fully comprehend > as a beginner, and I'm sure the seasoned CLMer's amongst you can > explain some of the finer points in (almost-)lay-man's-terms without > my head exploding. Ah, yes, not that easy. I don't have the time right now for more details but I'm attaching to very old files that I used in a course I taught in 2006, one is the original (at that time) v.ins instrument, and the other is the same, but modified to use dlocsig (v.ins and vd.ins). It should be possible to port the changes to a newer version of v.ins - I'm sure it has changed in the meantime. -- Fernando PS: I think there are a few more examples here: https://ccrma.stanford.edu/courses/220b-winter-2006/topics/spatialization/ (all very old and obsolete, of course :-) -------------- next part -------------- A non-text attachment was scrubbed... Name: v.ins Type: text/x-tex Size: 6878 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vd.ins Type: text/x-tex Size: 6811 bytes Desc: not available URL: From aykut_caglayan at yahoo.com Sat Apr 10 18:22:40 2010 From: aykut_caglayan at yahoo.com (Aykut Caglayan) Date: Sat, 10 Apr 2010 18:22:40 -0700 (PDT) Subject: [CM] midi file writing Message-ID: <305525.12962.qm@web45712.mail.sp1.yahoo.com> what is the method of writing .mid files by using 'loop' rather than 'process' . ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Apr 11 07:58:18 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 11 Apr 2010 09:58:18 -0500 Subject: [CM] midi file writing In-Reply-To: <305525.12962.qm@web45712.mail.sp1.yahoo.com> References: <305525.12962.qm@web45712.mail.sp1.yahoo.com> Message-ID: <3E860A24-832D-43CC-831B-DD4BA8F4CE5D@uiuc.edu> thats what the new 'file' buisness is adding. im trying to finish this up today so i can release a cm 3.6.0 beta. so it will be scheme: (with-sound (&key ...) ...) (with-fomus(file &key ...) ...) (with-midi (file &key ...) ...) (with-csound (file &key ...) ...) sal2 : file "xxx.yyy" (&key ...) ... end where ".yyy" can be one of .mid .aiff .snd .wav .fms .ly .xml .sco On Apr 10, 2010, at 8:22 PM, Aykut Caglayan wrote: > what is the method of writing .mid files by using 'loop' rather than > 'process' . ? > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From k.s.matheussen at notam02.no Tue Apr 13 12:08:17 2010 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Tue, 13 Apr 2010 21:08:17 +0200 (CEST) Subject: [CM] LAC paper Message-ID: Hi, Here's a link to my paper for this year's Linux audio conference: http://www.notam02.no/~kjetism/sndrt_lac2010.pdf The paper describes various programming techniques supported by Snd-RT. This year's LAC also seems to contain a lot of really great stuff about music programming languages! http://lac.linuxaudio.org/2010/ Title: Implementing a Polyphonic MIDI Software Synthesizer using Coroutines, Realtime Garbage Collection, Closures, Auto-Allocated Variables, Dynamic Scoping, and Continuation Passing Style Programming Abstract: This paper demonstrates a few programming techniques for low-latency sample-by-sample audio programming. Some of them may not have been used for this purpose before. The demonstrated techniques are: Realtime memory allocation, realtime garbage collector, storing instrument data implicitly in closures, auto-allocated variables, handling signal buses using dynamic scoping, and continuation passing style programming. From taube at uiuc.edu Tue Apr 13 12:15:25 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 13 Apr 2010 14:15:25 -0500 Subject: [CM] cm 3.6.0 betas available Message-ID: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> I have fully functional 3.6.0 candidates now, links to binaries below. new in these final runtimes: (1) Fomus examples in Scheme (someone asked for this a week or two ago), (2) sal file loading reimplemented (3) file output for midi and csound in addition to clm and fomus (see the new "Files" tutorials in the Scheme and Sal tutorial submenus) OS X: http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta1-osx.zip Windows (no osc): http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta1-win32.zip Linux: http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta1- fedora.zip (built at ccrma) http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta1-ubuntu.zip From dlphillips at woh.rr.com Tue Apr 13 13:48:36 2010 From: dlphillips at woh.rr.com (Dave Phillips) Date: Tue, 13 Apr 2010 16:48:36 -0400 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> Message-ID: <4BC4D8A4.302@woh.rr.com> Hi Rick, Thanks for the new release, I'll check it out tonight. I've been working with 3.5.1, having a lot of fun, but I wondered about a couple of things. Despite my selection of MIDI In or Out ports GRACE is sending MIDI out only on what QJackCtl reports as the Juce Midi Output port. (There's also a Juce Midi Input port that I haven't tested yet). No copy & paste from X to Juce ?! Bummer. I hope that gets resolved eventually. Bad performance from JACK when set for low latency. Better with high buffer (period) value. I'm currently using 1024 with GRACE, 128 with everything else. The Plotter is too cool. :) This is on 32-bit Ubuntu 9.10. Best, dp From taube at uiuc.edu Tue Apr 13 14:58:20 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 13 Apr 2010 16:58:20 -0500 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <4BC4D8A4.302@woh.rr.com> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <4BC4D8A4.302@woh.rr.com> Message-ID: thanks for the report , juan related to me last week that jack works better with the ccrma build than the ubuntu build. im not sure why this would be. ill look at the midi stuff again, but i think juce might still be using alsa for midi... will look at the pastboard issue. On Apr 13, 2010, at 3:48 PM, Dave Phillips wrote: > Hi Rick, > > Thanks for the new release, I'll check it out tonight. > > I've been working with 3.5.1, having a lot of fun, but I wondered > about a couple of things. > > Despite my selection of MIDI In or Out ports GRACE is sending MIDI > out only on what QJackCtl reports as the Juce Midi Output port. > (There's also a Juce Midi Input port that I haven't tested yet). > > No copy & paste from X to Juce ?! Bummer. I hope that gets resolved > eventually. > > Bad performance from JACK when set for low latency. Better with high > buffer (period) value. I'm currently using 1024 with GRACE, 128 with > everything else. > > The Plotter is too cool. :) > > This is on 32-bit Ubuntu 9.10. > > Best, > > dp > From taube at uiuc.edu Wed Apr 14 10:21:10 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 14 Apr 2010 12:21:10 -0500 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <4BC4D8A4.302@woh.rr.com> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <4BC4D8A4.302@woh.rr.com> Message-ID: <094AD300-1D1D-456F-A61F-7B8303F0A7EA@uiuc.edu> > No copy & paste from X to Juce ?! Bummer. I hope that gets resolved > eventually. ok juce apparently has support for x selections in git tip, so ill try moving to the latest juce_amalgamated for grace 3.6.0. this may take a day or two... From johannes.quint at web.de Wed Apr 14 13:35:37 2010 From: johannes.quint at web.de (Johannes Quint) Date: Wed, 14 Apr 2010 22:35:37 +0200 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> Message-ID: rick, i've have some problems with the win-version: realtime-midi doesn't work, or better: i don't know how to handle the connection grace->'something like simplesynth' the other problem: sndlib works, but when playing the wav- files in graces own audio-player, i get crazy noises. played in an external player, everything is ok. [i've not yet tested fomus - next week...] j From rundall at illinois.edu Wed Apr 14 20:55:39 2010 From: rundall at illinois.edu (Jacob Rundall) Date: Wed, 14 Apr 2010 22:55:39 -0500 Subject: [CM] Snd/CLM question: :decay-time for with-sound Message-ID: <87C8EF23-04EB-413C-85B9-3357F681EFFC@illinois.edu> I was looking at what I think is the current documentation for with- sound (https://ccrma.stanford.edu/software/snd/snd/sndscm.html#wsdoc) and I see that there doesn't appear to be a decay-time parameter anymore. I want to make sure when using a reverb like nrev that with- sound can add some time at the end of the computed audio file so that the reverb can decay naturally. If I remember correctly, the decay- time parameter used to accomplish this. I can throw a silent instrument call in at the end of my computed file to accomplish this, but is there a more elegant way? Thanks, Jake Rundall From bil at ccrma.Stanford.EDU Thu Apr 15 03:47:26 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 15 Apr 2010 03:47:26 -0700 Subject: [CM] Snd/CLM question: :decay-time for with-sound In-Reply-To: <87C8EF23-04EB-413C-85B9-3357F681EFFC@illinois.edu> References: <87C8EF23-04EB-413C-85B9-3357F681EFFC@illinois.edu> Message-ID: <20100415104253.M99616@ccrma.Stanford.EDU> > there doesn't appear to be a decay-time parameter anymore. That decision can either be in the reverb-data arglist or in the reverb itself. In nrev's case, you'll see the line (len (+ (mus-srate) (frames *reverb*))) This is adding one second to the file length for the decay. You could make it a parameter instead, and pass it to with-sound: (with-sound (:reverb nrev :reverb-data '(:decay-time 10) ...) From taube at uiuc.edu Thu Apr 15 06:29:01 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 15 Apr 2010 08:29:01 -0500 Subject: [CM] cm 3.6.0 betas available In-Reply-To: References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> Message-ID: <766E7BFE-A88B-45CA-9B4E-462B3EB21CF4@uiuc.edu> just a heads up: im going to change Midi and OSC 'opcode receivers' (receivers you associate with spicific opcodes/paths) to act just like default receivers (if you aren't writing input receivers dont worry about it) they way i have it (different arg format) is just too confusing , with the new change the first arg will ALWAYS be the opcode or path. im sorry about this... From taube at uiuc.edu Fri Apr 16 11:14:30 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 16 Apr 2010 13:14:30 -0500 Subject: [CM] cm 3.6.0 Beta 2 Message-ID: <576A2597-42D8-4718-B624-5D9895BF0FA2@uiuc.edu> the second beta for 3.6.0 is available with the code base moved to the very latest JUCE (1.51.14) and SndLib (1.54). other changes: copy/ paste issue on linux resolved, on Mac I added keypress Command-left- arrow and Command-right-arrow for beginning-of-line and end-of-line, midi and osc opcode/path receivers now have same args as default receivers. OS X: http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta2-osx.zip Windows (no osc): http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta2-win32.zip Linux: http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta2- fedora.zip (built at ccrma) http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta2-ubuntu.zip From ahcnz at ihug.co.nz Mon Apr 19 12:48:57 2010 From: ahcnz at ihug.co.nz (Adam) Date: Tue, 20 Apr 2010 07:48:57 +1200 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <766E7BFE-A88B-45CA-9B4E-462B3EB21CF4@uiuc.edu> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <766E7BFE-A88B-45CA-9B4E-462B3EB21CF4@uiuc.edu> Message-ID: <201004200748.58500.ahcnz@ihug.co.nz> Grace 3.6.0 seems robust and good. Beaut. There are enough Scheme Tutorials and Examples to get started, although more would be helpful. However I find I'm having trouble constructing nested patterns in Grace Scheme. Could you give an example for me ? This seems not right; (define p5 (make-cycle ' (200 220 240 240))) (define p7 (make-cycle '(300 320 340 (next p5)))) and neither does, (define ( ... (process .... with p5 = (make-cycle ' (200 220 240 240))) [or] for p7 = (make-cycle '(300 320 340 (next p5)))) On Friday 16 April 2010 01:29 am, Heinrich Taube wrote: > just a heads up: im going to change Midi and OSC 'opcode > receivers' (receivers you associate with spicific opcodes/paths) to > act just like default receivers (if you aren't writing input receivers > dont worry about it) > they way i have it (different arg format) is just too confusing , with > the new change the first arg will ALWAYS be the opcode or path. im > sorry about this... > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From ahcnz at ihug.co.nz Mon Apr 19 14:21:27 2010 From: ahcnz at ihug.co.nz (Adam) Date: Tue, 20 Apr 2010 09:21:27 +1200 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <201004200748.58500.ahcnz@ihug.co.nz> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <766E7BFE-A88B-45CA-9B4E-462B3EB21CF4@uiuc.edu> <201004200748.58500.ahcnz@ihug.co.nz> Message-ID: <201004200921.27868.ahcnz@ihug.co.nz> Thanks Johannes. Yes that is a sub-list, but its the single next value from another pattern that I'm after, appearing in the second pattern. The SAL examples are in patterns2.sal towards the top. There, it uses the string $# as an "eval" type operator. Am not sure how this is done in Scheme. I've tried eval and promise. On Tuesday 20 April 2010 08:09 am, you wrote: > Am 19.04.2010 um 21:48 schrieb Adam: > > (define p5 (make-cycle ' (200 220 240 240))) > > (define p7 (make-cycle '(300 320 340 (next p5)))) > > try this: > > (define p5 (make-cycle ' (200 220 240 240))) > (define p7 (make-cycle (list 300 320 340 p5))) On Tuesday 20 April 2010 07:48 am, Adam wrote: > Grace 3.6.0 seems robust and good. Beaut. > > There are enough Scheme Tutorials and Examples to get started, > although more would be helpful. > > However I find I'm having trouble constructing nested patterns in > Grace Scheme. Could you give an example for me ? > > This seems not right; > (define p5 (make-cycle ' (200 220 240 240))) > (define p7 (make-cycle '(300 320 340 (next p5)))) > > and neither does, > (define ( ... > (process .... > with p5 = (make-cycle ' (200 220 240 240))) > [or] for p7 = (make-cycle '(300 320 340 (next p5)))) From taube at uiuc.edu Mon Apr 19 15:11:31 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 19 Apr 2010 17:11:31 -0500 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <201004200748.58500.ahcnz@ihug.co.nz> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <766E7BFE-A88B-45CA-9B4E-462B3EB21CF4@uiuc.edu> <201004200748.58500.ahcnz@ihug.co.nz> Message-ID: On Apr 19, 2010, at 2:48 PM, Adam wrote: > > Grace 3.6.0 seems robust and good. Beaut. > > There are enough Scheme Tutorials and Examples to get started, > although more would be helpful. yes, ill be adding scheme examples over the next few months. i did rewrite the scheme tutorials, they are now cleaner and more in line with the sal tutorials. > However I find I'm having trouble constructing nested patterns in > Grace Scheme. Could you give an example for me ? (define pat (make-cycle (list (make-heap '(a b c)) (make-heap '(d e f))))) => pat (next pat 50) => (b c a f e d b a c e f d b c a e d f b c a f e d a c b d f e a c b e d f a b c d f e b c a d f e b a) You are getting confused about creating patterns and reading patterns 1 first construct a pattern with the (make-XXX ...) function (where XXX is some pattern name) 2 once you have a pattern (that might contain other patterns) you read items from it using (next ...) From taube at uiuc.edu Mon Apr 19 15:20:04 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 19 Apr 2010 17:20:04 -0500 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <201004200921.27868.ahcnz@ihug.co.nz> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <766E7BFE-A88B-45CA-9B4E-462B3EB21CF4@uiuc.edu> <201004200748.58500.ahcnz@ihug.co.nz> <201004200921.27868.ahcnz@ihug.co.nz> Message-ID: On Apr 19, 2010, at 4:21 PM, Adam wrote: >>> (define p5 (make-cycle ' (200 220 240 240))) >>> (define p7 (make-cycle '(300 320 340 (next p5)))) ok, first here is what you perhaps want to do: (define p5 (make-cycle ' (200 220 240 240))) (define p7 (make-cycle (list 300 320 340 (next p5)))) (next p7 20) =>(300 320 340 200 300 320 340 200 300 320 340 200 300 320 340 200 300 320 340 200) the use of (list ..) can be rewritten using scheme's BACKQUOTE ` so this is the same thing: (define p5 (make-cycle ' (200 220 240 240))) (define p7 (make-cycle `(300 320 340 , (next p5)))) BUT i think you really want: (define p7 (make-cycle `(300 320 340 ,(make-cycle '(200 220 240 240) :for 1)))) => (300 320 340 200 300 320 340 220 300 320 340 240 300 320 340 240 300 320 340 200) notice that you get your single items from the inner pattern spread out over the outer pattern -- that is, the period length of the inner pattern is 1 so you only get its next element each time the outer pattern starts over From ahcnz at ihug.co.nz Mon Apr 19 20:44:32 2010 From: ahcnz at ihug.co.nz (Adam) Date: Tue, 20 Apr 2010 15:44:32 +1200 Subject: [CM] cm 3.6.0 betas available In-Reply-To: References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <201004200921.27868.ahcnz@ihug.co.nz> Message-ID: <201004201544.33933.ahcnz@ihug.co.nz> Thanks, Ric. > BUT i think you really want: > > (define p7 (make-cycle `(300 320 340 ,(make-cycle '(200 220 240 > 240) :for 1)))) > => (300 320 340 200 300 320 340 220 300 320 340 240 300 320 340 240 > 300 320 340 200) Yes - thats the one. Unfortunately that example doesn't work on my Grace 3.6.0 [svn 1875] S7 Scheme 1.51., on MS-Win. (define p5p (make-cycle '(120 130 140 150 ,(make-cycle '(1 2 3) :for 1)))) p5p (next p5p) => 120 130 150 170 (unquote (make-cycle (quote (1 2 3) :for 1)) 120 130 150 170 (unquote (make-cycle (quote (1 2 3) :for 1)) 120 130 etc . . From taube at uiuc.edu Tue Apr 20 04:22:48 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 20 Apr 2010 06:22:48 -0500 Subject: [CM] cm 3.6.0 betas available In-Reply-To: <201004201544.33933.ahcnz@ihug.co.nz> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <201004200921.27868.ahcnz@ihug.co.nz> <201004201544.33933.ahcnz@ihug.co.nz> Message-ID: <6D2F6A52-D408-4235-9DBC-AE5A70AF1F11@uiuc.edu> Your example does not contain the necessary backquote ` char (you use a quote ' which will not work) this is the corrected example you send (define p5p (make-cycle `(120 130 140 150 ,(make-cycle '(1 2 3) :for 1)))) (next p5p 30) => (120 130 140 150 1 120 130 140 150 2 120 130 140 150 3 120 130 140 150 1 120 130 140 150 2 120 130 140 150 3) If you dont have the backquote char ` on windows you can use the actual name of he macro (quasiquote) (define p5p (make-cycle (quasiquote (120 130 140 150 ,(make-cycle '(1 2 3) :for 1))))) On Apr 19, 2010, at 10:44 PM, Adam wrote: > Thanks, Ric. > >> BUT i think you really want: >> >> (define p7 (make-cycle `(300 320 340 ,(make-cycle '(200 220 240 >> 240) :for 1)))) >> => (300 320 340 200 300 320 340 220 300 320 340 240 300 320 340 240 >> 300 320 340 200) > > Yes - thats the one. > > Unfortunately that example doesn't work on my Grace 3.6.0 > [svn 1875] S7 Scheme 1.51., on MS-Win. > > (define p5p (make-cycle '(120 130 140 150 ,(make-cycle '(1 2 3) :for > 1)))) > p5p > > (next p5p) > => > 120 130 150 170 (unquote (make-cycle (quote (1 2 3) :for 1)) > 120 130 150 > 170 (unquote (make-cycle (quote (1 2 3) :for 1)) 120 130 etc . . > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From ahcnz at ihug.co.nz Wed Apr 21 00:11:21 2010 From: ahcnz at ihug.co.nz (Adam) Date: Wed, 21 Apr 2010 19:11:21 +1200 Subject: [CM] Scheme - cm 3.6.0 beta In-Reply-To: <6D2F6A52-D408-4235-9DBC-AE5A70AF1F11@uiuc.edu> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <201004201544.33933.ahcnz@ihug.co.nz> <6D2F6A52-D408-4235-9DBC-AE5A70AF1F11@uiuc.edu> Message-ID: <201004211911.22014.ahcnz@ihug.co.nz> Thanks again. Quasiquotation which I find in R5RS section 4.2.6 and now understand. Beaut. Could you help with this example below? My Scheme is going well, but this has me stumped. Run first with the 4 comments in place, and then remove the 4 comments to see the problem. Error is that argument sf1 is symbol but should be pair (list). >From the predicates below, it seems sf1 sf2 morph from list to symbol inside the process. ; name channels duration (define sf1 '("\"C:/sampledir/samp1.wav\"" 2 10)) (define sf2 '("\"C:/sampledir/samp2.wav\"" 1 32)) ; ----- (define (type-samps samps) (process for smp in samps ; for sname = (nth smp 0) ; for sch = (nth smp 1) ; for sdur = (nth smp 2) do (print smp " list? " (list? smp)) (print smp " symbol? " (symbol? smp)) ; (print smp sname sch sdur) (newline) )) (sprout (type-samps '(sf1 sf2))) ; ----- (nth sf1 0) (nth sf1 1) (nth sf1 2) (print 'sf1 " list? " (list? sf1)) (print 'sf1 " symbol? " (symbol? sf1)) From taube at uiuc.edu Wed Apr 21 04:56:01 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 21 Apr 2010 06:56:01 -0500 Subject: [CM] Scheme - cm 3.6.0 beta In-Reply-To: <201004211911.22014.ahcnz@ihug.co.nz> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <201004201544.33933.ahcnz@ihug.co.nz> <6D2F6A52-D408-4235-9DBC-AE5A70AF1F11@uiuc.edu> <201004211911.22014.ahcnz@ihug.co.nz> Message-ID: <2B81BB1D-758C-4137-BD29-2F84A7FB46F0@uiuc.edu> > > Could you help with this example below? My Scheme is going well, > but this has me stumped. when you call (sprout (type-samps '(sf1 sf2))) then the type-samps is called and its parameter samps will contain a list of two symbols: (sf1 sf2) then you iterate smp over this list of two symbols, so on the first iteration smp is the symbol sf1 then you try to take nth of sf1 and thats an error because nth expects a list not a symbol and sf1 is a symbol what you want to do is iterate over the DATA in the sf1 and sf2 variables rather then the symbols themselves. so you have to evaluage sf1 and sf2 when you call type-samps. try calling it like this: (sprout (type-samps (list sf1 sf2))) in this case, since sf1 and sf2 are not in a quoted list they are evaluated as variables, since each holds a list the parameter samps will now be a list of two lists : (("\"C:/sampledir/samp1.wav\"" 2 10) ("\"C:/sampledir/samp2.wav \"" 1 32)) so now on the first iteration smp will be set to ("\"C:/sampledir/ samp1.wav\"" 2 10) and then (nth smp 0) will be "\"C:/sampledir/samp1.wav\"" and everythig will work it appears that you will be working with soundfiles? if so, im not sure sndlib will want to see Windows style pathnames. You might need to changes those to real pathnames: "/sampledir/samp1.wav". also cm has a really handy (undocumented) function for reading sound file directoryes ( look in vkey.scm ) and computing lists like that for whole directories. i will be merging that with a simlar function for setting up supercollider buffers in Grace, ill document these this weekend when i make the last beta. On Apr 21, 2010, at 2:11 AM, Adam wrote: > Thanks again. Quasiquotation which I find in R5RS section 4.2.6 > and now understand. Beaut. > > Could you help with this example below? My Scheme is going > well, but this has me stumped. > > Run first with the 4 comments in place, and then remove > the 4 comments to see the problem. > > Error is that argument sf1 is symbol but should be pair (list). >> From the predicates below, it seems sf1 sf2 morph from list > to symbol inside the process. > > > ; name channels duration > (define sf1 '("\"C:/sampledir/samp1.wav\"" 2 10)) > (define sf2 '("\"C:/sampledir/samp2.wav\"" 1 32)) > ; ----- > (define (type-samps samps) > (process for smp in samps > ; for sname = (nth smp 0) > ; for sch = (nth smp 1) > ; for sdur = (nth smp 2) > do > (print smp " list? " (list? smp)) > (print smp " symbol? " (symbol? smp)) > ; (print smp sname sch sdur) > (newline) )) > > (sprout (type-samps '(sf1 sf2))) > > ; ----- > > (nth sf1 0) > (nth sf1 1) > (nth sf1 2) > > (print 'sf1 " list? " (list? sf1)) > (print 'sf1 " symbol? " (symbol? sf1)) > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Apr 21 05:05:35 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 21 Apr 2010 07:05:35 -0500 Subject: [CM] Scheme - cm 3.6.0 beta In-Reply-To: <201004211911.22014.ahcnz@ihug.co.nz> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <201004201544.33933.ahcnz@ihug.co.nz> <6D2F6A52-D408-4235-9DBC-AE5A70AF1F11@uiuc.edu> <201004211911.22014.ahcnz@ihug.co.nz> Message-ID: <20EDDC50-DDB0-479F-A87C-1AD17720B56B@uiuc.edu> ; name channels duration (define sf1 '("\"C:/sampledir/samp1.wav\"" 2 10)) (define sf2 '("\"C:/sampledir/samp2.wav\"" 1 32)) doing this sort of thing for lots of files really qute simple using just loop and clm file readers: (define file-info (loop for f in (directory "/sampledir/*.wav") collect (list f (mus-sound-chans f) (mus-sound-duration f))) ) (define sf1 (nth file-info 0)) From k.s.matheussen at notam02.no Wed Apr 21 05:22:30 2010 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Wed, 21 Apr 2010 14:22:30 +0200 (CEST) Subject: [CM] [ANN] Snd-ls V0.9.9.1_beta Message-ID: Snd-ls is a distribution of Snd with more features enabled than in the default distribution. However, this version should only be used for running Snd-RT. http://archive.notam02.no/arkiv/doc/snd-rt/ This version is updated with the new features for Snd-RT described in the LAC 2010 paper announced earlier. Download Snd-ls from: http://archive.notam02.no/arkiv/src/snd/?C=M;O=D From csr21 at cantab.net Wed Apr 21 05:58:41 2010 From: csr21 at cantab.net (Christophe Rhodes) Date: Wed, 21 Apr 2010 13:58:41 +0100 Subject: [CM] ELS2010 Call for Participation Message-ID: <87ochdhshq.fsf@cantab.net> 3rd European Lisp Symposium =========================== May 6-7, 2010, Fundacao Calouste Gulbenkian Lisbon, Portugal Call for Participation ~~~~~~~~~~~~~~~~~~~~~~~ Registration for the 3rd European Lisp Symposium (ELS 2010) is now open at [http://www.european-lisp-symposium.org/]. Scope and Programme Highlights ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The purpose of the European Lisp Symposium is to provide a forum for the discussion of all aspects of the design, implementation and application of any of the Lisp dialects. We encourage everyone interested in Lisp to participate. As well as presentations of the accepted technical papers and tutorials, the programme features the following highlights: - Kent Pitman of HyperMeta Inc. will offer reflections on Lisp Past, Present and Future; - Pascal Costanza will lead a tutorial session on Parallel Programming in Common Lisp; - Matthias Felleisen of PLT will talk about languages for creating programming languages; - A TI Explorer Lisp Machine, having been unplugged for the best part of two decades, will be demonstrated; - there will be opportunities for attendees to give lightning talks and demos of late-breaking work. Social events ~~~~~~~~~~~~~~ - Symposium banquet (included with registration) - Excursion to Sintra (optional, Saturday May 8): for six centuries the favourite Summer residence of the Kings of Portugal, who were attracted by cool climates and the beauty of the town's setting. Programme Chair ~~~~~~~~~~~~~~~~ Christophe Rhodes, Goldsmiths, University of London, UK Local Chair ~~~~~~~~~~~~ Antonio Leitao, Technical University of Lisbon, Portugal Programme Committee ~~~~~~~~~~~~~~~~~~~~ + Marco Antoniotti, Universita Milano Bicocca, Italy + Giuseppe Attardi, Universita di Pisa, Italy + Pascal Costanza, Vrije Universiteit Brussel, Belgium + Irene Anne Durand, Universite Bordeaux I, France + Marc Feeley, Universite de Montreal, Canada + Ron Garret, Amalgamated Widgets Unlimited, USA + Gregor Kiczales, University of British Columbia, Canada + Antonio Leitao, Technical University of Lisbon, Portugal + Nick Levine, Ravenbrook Ltd, UK + Scott McKay, ITA Software, Inc., USA + Peter Norvig, Google Inc., USA + Kent Pitman, PTC, USA + Christian Queinnec, Universite Pierre et Marie Curie, France + Robert Strandh, Universite Bordeaux I, France + Didier Verna, EPITA Research and Development Laboratory, France + Barry Wilkes, Citi, UK + Taiichi Yuasa, Kyoto University, Japan Registration ~~~~~~~~~~~~~ Registration is open at [http://www.european-lisp-symposium.org/] and costs EUR120 (EUR60 for students) *until 22nd April*, and EUR200 (EUR120 for students) afterwards. Registration includes a copy of the proceedings, coffee breaks, and the symposium banquet. Accommodation is not included. From dlphillips at woh.rr.com Wed Apr 21 06:05:13 2010 From: dlphillips at woh.rr.com (Dave Phillips) Date: Wed, 21 Apr 2010 09:05:13 -0400 Subject: [CM] Scheme - cm 3.6.0 beta In-Reply-To: <20EDDC50-DDB0-479F-A87C-1AD17720B56B@uiuc.edu> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <201004201544.33933.ahcnz@ihug.co.nz> <6D2F6A52-D408-4235-9DBC-AE5A70AF1F11@uiuc.edu> <201004211911.22014.ahcnz@ihug.co.nz> <20EDDC50-DDB0-479F-A87C-1AD17720B56B@uiuc.edu> Message-ID: <4BCEF809.3000200@woh.rr.com> Hi Rick, A quick note: In 3.5.x there was a pop-up menu for cut/copy/paste text functions. That pop-up is gone now. The functions work fine with X now (thank you!), but that menu was very handy. Any chance it'll return ? Or have I missed something obvious again ? :) Btw, the system is *sweet*, I'm having a great time with it. The examples and tutorials are most helpful, my thanks to everyone who had a hand in them. Sal is terrific. I thought I'd prefer the old favorite (Guile/Scheme) but I must admit that Sal makes coding right speedy. Getting into the new FOMUS and Csound support today. More fun. Best regards, Dave Phillips From taube at uiuc.edu Wed Apr 21 06:42:02 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 21 Apr 2010 08:42:02 -0500 Subject: [CM] Scheme - cm 3.6.0 beta In-Reply-To: <4BCEF809.3000200@woh.rr.com> References: <733B76CB-05A4-476D-B150-73D665A67ADB@uiuc.edu> <201004201544.33933.ahcnz@ihug.co.nz> <6D2F6A52-D408-4235-9DBC-AE5A70AF1F11@uiuc.edu> <201004211911.22014.ahcnz@ihug.co.nz> <20EDDC50-DDB0-479F-A87C-1AD17720B56B@uiuc.edu> <4BCEF809.3000200@woh.rr.com> Message-ID: <62DEEAF2-2A6A-49FB-9275-87F9182FF092@uiuc.edu> On Apr 21, 2010, at 8:05 AM, Dave Phillips wrote: > Hi Rick, > > A quick note: In 3.5.x there was a pop-up menu for cut/copy/paste text > functions. That pop-up is gone now. The functions work fine with X now > (thank you!), but that menu was very handy. Any chance it'll > return ? Or > have I missed something obvious again ? :) it's not in juce's CodeEditorComponent class but I can add it to my CodeBuffer easily enough. ill need a day or two but it'll be in the next beta (along with a rewrite of cm.html to reflect all the changes in 3.6.0) > Getting into the new FOMUS and Csound support today. More fun. fomus is amazing. easiest way to learn it is to work through davids examples: Help>Examples>Sal>Fomus you may have to twiddle with your ~/.fomus file to get a pdf viewer to pop up automatically on linux ( it works ootb on win and mac but not on my linux) i have more examples on my class site (in sal1): http://camil.music.uiuc.edu/Classes/404A2/ and his website has examples as well: http://fomus.sourceforge.net/ havent really tested csound at all beyond what I did in the 'file' example: Help>Tutorial>Sal>Files so let me know if it works --- now if i can get direct to dac sound going for sndlib/juce and get Andrew Burnson's Belle Bonne Sage system (http://sourceforge.net/projects/bellebonnesage/ ) to display fomus formatted notation in an editable window I will die happy :) From dlphillips at woh.rr.com Sat Apr 24 13:15:11 2010 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sat, 24 Apr 2010 16:15:11 -0400 Subject: [CM] a Grace/OSC question Message-ID: <4BD3514F.5020604@woh.rr.com> Greetings, I want to pick from a list of OSC messages but the following code does not work correctly: send("osc:message", pick("/ardour/transport_play", "/ardour/transport_stop", "/ardour/goto_end", "/ardour/goto_start")) It picks only the gotos, it never toggles the transport. Am I missing a keyword/symbol before the pick ? If so, I can't find what it should be. Any suggestions ? Btw, after running that code I lose transport control completely in Ardour. It wont' respond even to mouse clicks, I have to close the app and restart it to regain transport control. Weird. Best, dp From taube at uiuc.edu Sat Apr 24 13:49:21 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 24 Apr 2010 15:49:21 -0500 Subject: [CM] a Grace/OSC question In-Reply-To: <4BD3514F.5020604@woh.rr.com> References: <4BD3514F.5020604@woh.rr.com> Message-ID: On Apr 24, 2010, at 3:15 PM, Dave Phillips wrote: > Greetings, > > I want to pick from a list of OSC messages but the following code > does not work correctly: > > send("osc:message", pick("/ardour/transport_play", "/ardour/ > transport_stop", "/ardour/goto_end", "/ardour/goto_start")) > > It picks only the gotos, it never toggles the transport. are you sure?? this is what i get: loop repeat 10 print(pick("/ardour/transport_play", "/ardour/transport_stop", "/ ardour/goto_end", "/ardour/goto_start")) end /ardour/transport_play /ardour/goto_end /ardour/goto_end /ardour/transport_play /ardour/goto_start /ardour/transport_play /ardour/transport_play /ardour/transport_play /ardour/goto_start /ardour/transport_stop i dont have ardour, i can try to send those messages to liblo_server to see what it says. From dlphillips at woh.rr.com Sat Apr 24 13:57:53 2010 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sat, 24 Apr 2010 16:57:53 -0400 Subject: [CM] a Grace/OSC question In-Reply-To: References: <4BD3514F.5020604@woh.rr.com> Message-ID: <4BD35B51.1050402@woh.rr.com> Heinrich Taube wrote: > > On Apr 24, 2010, at 3:15 PM, Dave Phillips wrote: > >> Greetings, >> >> I want to pick from a list of OSC messages but the following code >> does not work correctly: >> >> send("osc:message", pick("/ardour/transport_play", >> "/ardour/transport_stop", "/ardour/goto_end", "/ardour/goto_start")) >> >> It picks only the gotos, it never toggles the transport. > > are you sure?? this is what i get: > > loop repeat 10 > print(pick("/ardour/transport_play", "/ardour/transport_stop", > "/ardour/goto_end", "/ardour/goto_start")) > end > > > /ardour/transport_play > /ardour/goto_end > /ardour/goto_end > /ardour/transport_play > /ardour/goto_start > /ardour/transport_play > /ardour/transport_play > /ardour/transport_play > /ardour/goto_start > /ardour/transport_stop > > > i dont have ardour, i can try to send those messages to liblo_server > to see what it says. > > Hi Rick, I think I figured out what was happening. When Ardour reaches its End marker the transport_play message will fail, i.e. it behaves exactly as if I were clicking on the Play button (no go). So Grace is working fine, Ardour is doing what it's supposed to, and some message combinations should probably be avoided. :) Sorry for the noise. Best, dp From taube at uiuc.edu Sun Apr 25 12:39:50 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 25 Apr 2010 14:39:50 -0500 Subject: [CM] cm 3.6.0 beta 3 Message-ID: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> binaires of beta 3 are available: OS X: http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta3-osx.zip Windows (no osc): http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta3-win32.zip Linux: http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta3- fedora.zip (built at ccrma) http://camil.music.uiuc.edu/software/grace/Grace-3.6.0-beta3-ubuntu.zip new in this beta: I. Editor fixes/additions: Right-Click pops up an in line Edit menu Command-D (symbol documentation lookup) working again (C-h in emacs mode) new menu items: Options>Font Size>Larger , Options>Font Size>Smaller , Edit>Delete, c-m-k (emacs kill-expr-forward) now copies kill to clipboard II. rewritten CM manual (cm.html) reflects all the 3.6.0 changes and updates entries. III. new Help>GUI> submenu for reading documentation on Editor, Console, Plotter (only the editor doc is really complete) IV. sal2 is now the default sal version, so if you want to use sal1 do either: 1 use .sal1 as file extension 2 add a customization comment at the top of the file that specifies sal1, eg: ;;; -*- syntax: sal1 *-* one problem i still havent resolved is why my emacs Meta commands and parens balancing don't work in the latest juce. From dlphillips at woh.rr.com Mon Apr 26 08:18:50 2010 From: dlphillips at woh.rr.com (Dave Phillips) Date: Mon, 26 Apr 2010 11:18:50 -0400 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> Message-ID: <4BD5AEDA.2030507@woh.rr.com> Hi Rick, Thanks for bringing back the pop-up menu in the editor, it's a nice feature. In the Csound Settings dialog the Header window is broken. The cursor is active only on a single line, and pasting doesn't fix it. Everything just gets pasted to a single line. Best, dp From taube at uiuc.edu Mon Apr 26 08:36:09 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 26 Apr 2010 10:36:09 -0500 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <4BD5AEDA.2030507@woh.rr.com> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> Message-ID: <91CE48A1-8BD5-45D3-9163-2F7D015D7A53@uiuc.edu> > > Header window is broken. thansk for the bug report, keep them coming! ill fix it in the next go-round: ive figure out the issues with parens matching and meta commands in emacs mode and hope to have fomus .fms buffers back working soon. im going to also upgrade to the official juce 1.51almalgamated sources. On Apr 26, 2010, at 10:18 AM, Dave Phillips wrote: From ahcnz at ihug.co.nz Mon Apr 26 08:56:53 2010 From: ahcnz at ihug.co.nz (Adam) Date: Tue, 27 Apr 2010 03:56:53 +1200 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <4BD5AEDA.2030507@woh.rr.com> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> Message-ID: <201004270356.55231.ahcnz@ihug.co.nz> Further to Dave's observation, is it possible to make the Csound Options setting publicly available for change ? *csound-options-setting* or similar perhaps. Failing that, at least an Up/Down previous-settings widget would be handy there. Audio->Csound->Settings->Options. Render to -odac or to -otest.wav can be a frequent change. Running with another midi file -F may be a handy option. On Tuesday 27 April 2010 03:18 am, Dave Phillips wrote: > Hi Rick, > > Thanks for bringing back the pop-up menu in the editor, it's a nice > feature. > > In the Csound Settings dialog the Header window is broken. The cursor is > active only on a single line, and pasting doesn't fix it. Everything > just gets pasted to a single line. > > Best, > > dp > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Mon Apr 26 11:06:32 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 26 Apr 2010 13:06:32 -0500 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <201004270356.55231.ahcnz@ihug.co.nz> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> <201004270356.55231.ahcnz@ihug.co.nz> Message-ID: <4E06277C-B011-4DCB-A3AF-9F74D84E0DCB@uiuc.edu> not a problem (i actually had that when I had the direct-to-csound port,.. i removed the port because it was hard to maintain and the rt capabilites of the csound lib was seemed really spotty) On Apr 26, 2010, at 10:56 AM, Adam wrote: > > Further to Dave's observation, is it possible to make the Csound > Options setting publicly available for change ? > *csound-options-setting* or similar perhaps. > > Failing that, at least an Up/Down previous-settings widget > would be handy there. Audio->Csound->Settings->Options. > > Render to -odac or to -otest.wav can be a frequent change. > Running with another midi file -F may be a handy option. > > > > On Tuesday 27 April 2010 03:18 am, Dave Phillips wrote: >> Hi Rick, >> >> Thanks for bringing back the pop-up menu in the editor, it's a nice >> feature. >> >> In the Csound Settings dialog the Header window is broken. The >> cursor is >> active only on a single line, and pasting doesn't fix it. Everything >> just gets pasted to a single line. >> >> Best, >> >> dp >> >> _______________________________________________ >> 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 dlphillips at woh.rr.com Mon Apr 26 12:06:07 2010 From: dlphillips at woh.rr.com (Dave Phillips) Date: Mon, 26 Apr 2010 15:06:07 -0400 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <4E06277C-B011-4DCB-A3AF-9F74D84E0DCB@uiuc.edu> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> <201004270356.55231.ahcnz@ihug.co.nz> <4E06277C-B011-4DCB-A3AF-9F74D84E0DCB@uiuc.edu> Message-ID: <4BD5E41F.4030406@woh.rr.com> Hi Rick, More reporting. OSC messages like this one: send("osc:message", "/ardour/transport_play") work fine. But messages like these : send("osc:message", "/ardour/locate 10000 1") send("osc:message", "/ardour/access_action Common/About") don't work at all. It looks like any OSC message with parameters won't work. Btw, I tested the same messages with Gwen Coffy's apostool, a Pd-based GUI for sending scripts of OSC messages. They all worked there. Best, dp From taube at uiuc.edu Mon Apr 26 13:38:10 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 26 Apr 2010 15:38:10 -0500 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <4BD5E41F.4030406@woh.rr.com> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> <201004270356.55231.ahcnz@ihug.co.nz> <4E06277C-B011-4DCB-A3AF-9F74D84E0DCB@uiuc.edu> <4BD5E41F.4030406@woh.rr.com> Message-ID: <7ED5E845-6BBA-4F43-A508-8A83AF0666B9@uiuc.edu> dave you should send the message data as DATA, like this: send("osc:message", "/ardour/locate", 10000, 1) let me know if that works (it should) look in cm.html ive got an explanation of how to send data On Apr 26, 2010, at 2:06 PM, Dave Phillips wrote: > Hi Rick, > > More reporting. OSC messages like this one: > > send("osc:message", "/ardour/transport_play") > > work fine. But messages like these : > > send("osc:message", "/ardour/locate 10000 1") > > send("osc:message", "/ardour/access_action Common/About") > > don't work at all. It looks like any OSC message with parameters > won't work. > > Btw, I tested the same messages with Gwen Coffy's apostool, a Pd- > based GUI for sending scripts of OSC messages. They all worked there. > > Best, > > dp > From taube at uiuc.edu Mon Apr 26 13:54:25 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 26 Apr 2010 15:54:25 -0500 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <4BD5E41F.4030406@woh.rr.com> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> <201004270356.55231.ahcnz@ihug.co.nz> <4E06277C-B011-4DCB-A3AF-9F74D84E0DCB@uiuc.edu> <4BD5E41F.4030406@woh.rr.com> Message-ID: <7A94427C-5444-43E7-866A-F7E84630E6EA@uiuc.edu> just to be clear: you send osc message data as separate message args. each value can be tagged but Scheme values integer, float, string, symbol, character, boolean true, boolean false all map directly to their OSC equivalents and do not need tagging. osc:message("hi/ho", 12, 3.4, #t) or osc:message( {"hi/ho" 12 3.4 #t}) From dlphillips at woh.rr.com Mon Apr 26 14:11:44 2010 From: dlphillips at woh.rr.com (Dave Phillips) Date: Mon, 26 Apr 2010 17:11:44 -0400 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <7ED5E845-6BBA-4F43-A508-8A83AF0666B9@uiuc.edu> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> <201004270356.55231.ahcnz@ihug.co.nz> <4E06277C-B011-4DCB-A3AF-9F74D84E0DCB@uiuc.edu> <4BD5E41F.4030406@woh.rr.com> <7ED5E845-6BBA-4F43-A508-8A83AF0666B9@uiuc.edu> Message-ID: <4BD60190.3050708@woh.rr.com> Heinrich Taube wrote: > dave you should send the message data as DATA, like this: > > send("osc:message", "/ardour/locate", 10000, 1) > > let me know if that works (it should) look in cm.html ive got an > explanation of how to send data > Thanks, Rick, that did it. I think OSC can now control almost everything in Ardour. :) Best, dp From taube at uiuc.edu Mon Apr 26 14:17:26 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 26 Apr 2010 16:17:26 -0500 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <4BD60190.3050708@woh.rr.com> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> <201004270356.55231.ahcnz@ihug.co.nz> <4E06277C-B011-4DCB-A3AF-9F74D84E0DCB@uiuc.edu> <4BD5E41F.4030406@woh.rr.com> <7ED5E845-6BBA-4F43-A508-8A83AF0666B9@uiuc.edu> <4BD60190.3050708@woh.rr.com> Message-ID: ok glad to hear that. i think i allow anything that liblo itself supprts, so if there is some osc thing it cant do let me know! re cm's osc tagging: the only osc data you must tag are lists of osc byte data and midi data (:b and :m respectively) On Apr 26, 2010, at 4:11 PM, Dave Phillips wrote: > Thanks, Rick, that did it. I think OSC can now control almost > everything in Ardour. :) From taube at uiuc.edu Mon Apr 26 14:38:32 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 26 Apr 2010 16:38:32 -0500 Subject: [CM] cm 3.6.0 beta 3 In-Reply-To: <201004270356.55231.ahcnz@ihug.co.nz> References: <27B26C7E-1599-455B-B5B3-CDFCA26CAB16@uiuc.edu> <4BD5AEDA.2030507@woh.rr.com> <201004270356.55231.ahcnz@ihug.co.nz> Message-ID: <07EE3D18-DF6F-458F-B9DF-14181EF66620@uiuc.edu> before I start on this, are you aware that you can pass header etc as args to sprout? eg: (sprout (scofoo) "test.sco" :header "..." :orchestra "..." the args you can send are: :play {#t | #f} :write {#t | #f}dav :options "..." :header "..." :orchestra "..." On Apr 26, 2010, at 10:56 AM, Adam wrote: > > Further to Dave's observation, is it possible to make the Csound > Options setting publicly available for change ? > *csound-options-setting* or similar perhaps. > > Failing that, at least an Up/Down previous-settings widget > would be handy there. Audio->Csound->Settings->Options. > > Render to -odac or to -otest.wav can be a frequent change. > Running with another midi file -F may be a handy option. > > > > On Tuesday 27 April 2010 03:18 am, Dave Phillips wrote: >> Hi Rick, >> >> Thanks for bringing back the pop-up menu in the editor, it's a nice >> feature. >> >> In the Csound Settings dialog the Header window is broken. The >> cursor is >> active only on a single line, and pasting doesn't fix it. Everything >> just gets pasted to a single line. >> >> Best, >> >> dp >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Thu Apr 29 03:40:08 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 29 Apr 2010 03:40:08 -0700 Subject: [CM] Snd 11.5 Message-ID: <20100429103815.M37480@ccrma.Stanford.EDU> Snd 11.5 autoload support via s7's *unbound-variable-hook*. If you try to use some undefined function, Snd first looks through a table of (nearly) everything defined in the scheme files that come with Snd, loading the needed files automatically. To turn this off, (set! *unbound-variable-hook* #f). removed encapsulation from s7. Added augment-environment. added make-type to s7: scheme-level type creation. symbol-access: trap/modify the symbol value lookup mechanism. Fernando fixed some problems in dlocsig.scm. mix-notelists in ws.scm. checked: gtk 2.20.0, sbcl 1.0.37 Thanks!: Rick Taube, Rick's students, Oded Ben-Tal, Cazzaniga Sandro, Mike Scholz, Fernando Lopez-Lezcano