From awgrover at gmail.com Fri Mar 1 17:10:08 2013 From: awgrover at gmail.com (Alan Grover) Date: Fri, 01 Mar 2013 20:10:08 -0500 Subject: [CM] build errors on linux In-Reply-To: <8361BCA9-0CD1-416F-B2DB-341C2B413FEF@illinois.edu> References: <4FFE11A6.5070201@yahoo.com> <8361BCA9-0CD1-416F-B2DB-341C2B413FEF@illinois.edu> Message-ID: <51315170.8020804@gmail.com> I just built cm, because I wanted the command line tool. Ubuntu 11.10 i686 (64bit I think....) cm-3.8.0.zip from http://sourceforge.net/projects/commonmusic/ The issues noted (below) by Bill Sack are still in this 3.8.0 source zip (except I didn't need add(mypackage.links, "dl")) If you are trying to build common music, especially for the cm command-line for Ubuntu 11.10 (oneiric), you may find this useful: ## An almost shell script. ## Don't actually try to run all of this # Supposed list of packages needed # probably overkill... # Note that it gets dependents for many of these cat < thank you ill clean this up and check it in this weekend. i was able to > build on ubuntu, so i wonder what the issue is. > > On Jul 12, 2012, at 5:57 PM, Bill Sack wrote: > >> thank you for posting this. i had similar problems compiling on fedora >> 16 a couple of months ago and just gave up. >> >> i just added >> add(mypackage.links, "dl") >> add(mypackage.links, "Xext") >> to premake.lua >> and changed the other files to get rid of the redundant "::Font" and >> compiled successfully. >> >> thank you for helping me to overcome inertia! >> >> bill -- Alan Grover awgrover at mail.msen.com +1.734.476.0969 (The "email signature" and/or digital-signature are only for informational and integrity purposes and does not constitute a legal signature) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From bil at ccrma.Stanford.EDU Tue Mar 12 04:53:48 2013 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 12 Mar 2013 04:53:48 -0700 Subject: [CM] Snd 13.5 Message-ID: <20130312115242.M87028@ccrma.Stanford.EDU> Snd 13.5 mostly bugfixes and optimizations moving-max is now built-in. added vct-min and vct-max. checked: sbcl 1.1.5, ruby 2.0.0, gtk 3.7.12 Thanks!: Mike and Fernando. From j_hearon at hotmail.com Fri Mar 15 18:04:52 2013 From: j_hearon at hotmail.com (James Hearon) Date: Sat, 16 Mar 2013 01:04:52 +0000 Subject: [CM] snd Message-ID: Hi,I'm new to this...or rather returning after a long hiatus and trying it out again. I have clm-4, snd-13.4, sndlib, and s7 on fedora18. When I type snd my.wav all I get is snd> I must need something else to see those lovely graphics shown in the manual? Regards,Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Sat Mar 16 03:05:08 2013 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 16 Mar 2013 03:05:08 -0700 Subject: [CM] snd In-Reply-To: References: Message-ID: <20130316100039.M78603@ccrma.Stanford.EDU> > I must need something else to see those lovely graphics shown in the manual? When you run the configure script, it looks for motif and gtk. config.log should have info about what it found. If it's not obvious from that, send it to me, and I'll try to unravel it. (For both toolkits, you need the "development" version so that gcc can find the headers, and for gtk you need a version later than 2.10). From nando at ccrma.Stanford.EDU Mon Mar 18 10:32:16 2013 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Mon, 18 Mar 2013 10:32:16 -0700 Subject: [CM] snd In-Reply-To: References: Message-ID: <51474FA0.7030304@localhost> On 03/15/2013 06:04 PM, James Hearon wrote: > Hi, > I'm new to this...or rather returning after a long hiatus and trying it > out again. > > I have clm-4, snd-13.4, sndlib, and s7 on fedora18. > > When I type snd my.wav all I get is snd> > > I must need something else to see those lovely graphics shown in the manual? (in addition to what Bill answered if you want you could also enable the Planet CCRMA repository and install pre-built binary packages for snd - they will never be as up to date as building your own but they should work out of the box) -- Fernando From awgrover at gmail.com Wed Mar 20 16:15:56 2013 From: awgrover at gmail.com (Alan Grover) Date: Wed, 20 Mar 2013 19:15:56 -0400 Subject: [CM] samples to speaker? Message-ID: <514A432C.1030608@gmail.com> What if I wanted to algorithmically generate samples and play them on the speaker? CM has me stumped. First, the sound-generation should be run from the command line, so no Grace. Did I mention I'm on linux? Ubuntu 11.10 specifically. Second, I'm using a genetic-algorithm to create the sound. This means I run 100's to 1000's of times. I actually had this running in snd, but it got all glitchy: I'm assuming memory leaks. Maybe I'll have the same problems in cm, since it is s7 too? Third, it doesn't have to be real-time playing, but that would be nice. My hack for non-realtime is (shell "aplay $myfile") because the 'autoplay' option does nothing (in "send"). Fourth, if it isn't clear, I'm not talking midi. I've built the command-line "cm", and played a bit with it. I can create .wav files, for example. Maybe CM isn't right at all? What could I use to generate sounds that I can control/interact with other apps? -- Alan Grover awgrover at mail.msen.com +1.734.476.0969 (The "email signature" and/or digital-signature are only for informational and integrity purposes and does not constitute a legal signature) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From bil at ccrma.Stanford.EDU Wed Mar 20 16:40:35 2013 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 20 Mar 2013 16:40:35 -0700 Subject: [CM] samples to speaker? In-Reply-To: <514A432C.1030608@gmail.com> References: <514A432C.1030608@gmail.com> Message-ID: <20130320233730.M58828@ccrma.Stanford.EDU> > I actually had this running in snd, but it got all glitchy: If you send me the code, I might be able to see why it was glitchy. From j_hearon at hotmail.com Sat Mar 30 22:16:32 2013 From: j_hearon at hotmail.com (James Hearon) Date: Sun, 31 Mar 2013 05:16:32 +0000 Subject: [CM] Grace, cs:event Message-ID: cs:event (list) ? void Sends an event list to Csound. The first element in the list must be the event's type, either i or f. Similar to "cs:i" and "cs:f" in all other respects. Hi,I hope I'm on the right list for this query. I have below using scheme, and so far so good... (cs:i 1 0 1 440 1000) (cs:f 1 0 1024 10 1) but stuck here..(cs:event (list (cs:i 1 1 1 880 1000))) I haven't been able to discover what the interpreter needs to stop bonking at me, although it does seem to write it to the console when using Audio>Csound>Export Score in spite of the error shown. ... Error: # is not a Csound statement type If some kind soul has an example, I would appreciate seeing how it's done. Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: