Re: [CM] Snd 14.7

2014-05-31 Thread Heinrich Taube
ah thats terrific , ill switch to the latest On May 31, 2014, at 10:12 AM, Bill Schottstaedt wrote: > sort! now operates in-place on lists (it used to copy the list). ___ Cmdist mailing list Cmdist@ccrma.stanford.edu http://ccrma-mail.stanford.edu/m

Re: [CM] Several questions

2014-05-28 Thread Heinrich Taube
> Not the case on the Mac. Every time I rerun Grace, and display the working > directory, it is set to "". thanks, Ill try to fix this soon, its not misbehaving on my mac so Ill have to try a machine that doesn't have grace running on it. > > This page https://ccrma.stanford.edu/software/snd

Re: [CM] Several questions

2014-05-27 Thread Heinrich Taube
On May 27, 2014, at 1:07 AM, Philippe de Rochambeau wrote: > Hello, > > I have several questions regarding CM/Grace: > > - when should you used SAL and when should you use Scheme? Although SAL seems > to be the official CM programming language, > most examples are in Scheme. I personally pref

Re: [CM] grace with fomus on linux

2014-05-23 Thread Heinrich Taube
Hi johannes! i doubt it has to do with the premake, if the sources were not found then premake would have given you an error Have your student do this premake4 cleanall premake4 … --with-fomus="whatever" make verbose=1 then look at the compiler messages to make sure theta the fomus support is

Re: [CM] Can't save new files

2014-05-20 Thread Heinrich Taube
for rhy = (pick .2 .4 .8) for start = 0 then (+ start rhy) collect (mymidi start rhy (between 30 90) .5 0))) once you have 'tracks' of data you can output them to midi files, or graph them in a plot window, whatever > > > > Le 20 mai 2014 à 14:28

Re: [CM] Can't save new files

2014-05-20 Thread Heinrich Taube
Hello Philippe this hasnt happened to me but i think someone else contacted me about it to see if its the same issue, try this: 1. In the File menu , select "Set Working Directory…" 2. In the dialog window that opens, select a directory, for example your desktop or home directory 3

[CM] building grace on mac

2014-04-23 Thread Heinrich Taube
If you don't build Grace from sources on the mac just delete this message. If you do, then read on... With the upgrade to Xcode 5.1I'm finding that its becoming harder and harder to build apps and libs outside of the Xcode development environment, even if the Xcode terminal development tools are

[CM] web site update

2014-03-21 Thread Heinrich Taube
I've update the cm website to html5 and started a music section :) right now I've added some pieces of mine, but id really like to add music from whoever wants to submit pieces made with cm/clm. the format can be audio or video, scores, etc. if you would like to contribute some of your work, new

Re: [CM] cm 3.9 kde desktop

2014-03-12 Thread Heinrich Taube
> I actually more than once wondered why you didn't use QT instead of Juce (but > not knowing QT is a _pretty_ good excuse). because juce is an awesome and very active, supported, truly cross-platform development environment designed for audio! not even apple cares about QT anymore, they deprec

Re: [CM] cm 3.9 kde desktop

2014-03-12 Thread Heinrich Taube
it doesn't use QT, and its explicitly disabled for juce itself by my define JUCE_QUICKTIME=0 On Mar 12, 2014, at 8:15 AM, Ralf Mattes wrote: > What I find strange: "QDBusObjectPath" ... that's a QT class. Since when does > Grace use QT? Last time I looked it was Juce. __

Re: [CM] cm 3.9 kde desktop

2014-03-12 Thread Heinrich Taube
im baffled by this one, the only way it could be appearing in the grace console is if Grace was actually loading a file. Do you have any init files or instrument files that are getting autoloaded at startup? If so, you might try tossing the Grace application support directory that contains its

[CM] CM 3.9.0 released

2014-03-08 Thread Heinrich Taube
CM 3.9.0 is now available, for the mac version you can get it for free on the iTunes Mac App Store ;) links for downloads on cm's new homepage: http://commonmusic.sourceforge.net/  best, rick ___ Cmdist mailing list Cmdist@ccrma.stanford.edu ht

Re: [CM] standard input EOF in console app s7

2014-02-20 Thread Heinrich Taube
ok thanks, this is not meant as an app, its simply a debugging tool! maybe i should not generate the makefile by default…. On Feb 20, 2014, at 11:13 AM, Tito Latini wrote: > s7> [Ctrl-d] > s7> > s7> > s7> > s7> > ... forever ... > > [Ctrl-c] > > GUI side: if a grace-ful musician accidentally

Re: [CM] CM/Grace problem

2014-02-13 Thread Heinrich Taube
oh, you mean s7 has those forms? I will certainly get rid of them and update the sources. It'll take a few days tho, I'm traveling…. On Feb 13, 2014, at 1:21 PM, Dave Phillips wrote: > > On 02/13/2014 12:51 PM, Bill Schottstaedt wrote: >> You can remove them by commenting out the definitions

Re: [CM] tonight's SVN update

2014-01-13 Thread Heinrich Taube
and congrats to your son! On Jan 13, 2014, at 2:13 PM, Matti Koskinen wrote: > > On 01/13/2014 04:14 PM, Heinrich Taube wrote: >> thats great. thanks very much. the only thing i can think of re: the /Grace >> message is that the osc responder didn't get installed som

Re: [CM] tonight's SVN update

2014-01-13 Thread Heinrich Taube
you will need to download one of the premake 4.4 beta executables to get that function i think On Jan 13, 2014, at 2:13 PM, Matti Koskinen wrote: > > On 01/13/2014 04:14 PM, Heinrich Taube wrote: >> thats great. thanks very much. the only thing i can think of re: the /Grace &

Re: [CM] tonight's SVN update

2014-01-13 Thread Heinrich Taube
thats great. thanks very much. the only thing i can think of re: the /Grace message is that the osc responder didn't get installed somehow in sc, so that error got triggered when you sent that osc message over from the grace app. On Jan 13, 2014, at 4:43 AM, Dave Phillips wrote: > On 01/12/201

Re: [CM] tonight's SVN update

2014-01-12 Thread Heinrich Taube
psed(#t), dur, frq, amp, ampenv: {0 0 1 1 10 .5 40 .2 100 0}, reverb: rev, degree: loc, dist: dist) end the typo is already fixed in svn (rev 2116) On Jan 11, 2014, at 7:00 PM, Heinrich Taube wrote: >> Updated SVN code for CM/Grace 3.9.0, build was perfe

Re: [CM] tonight's SVN update

2014-01-11 Thread Heinrich Taube
> Updated SVN code for CM/Grace 3.9.0, build was perfectly clean, no errors, > with FOMUS and CLM support. hooray! was oscpack included? (in not then you may have to do a 'premake4 clean' before you do a premake4 --with-oscpack …) I not sure whats up with the player yet -- it might be that o

Re: [CM] Grace, beta 5, sndlib

2014-01-04 Thread Heinrich Taube
so you might try what Joel did and see if that builds s7. if its only s7.make that needs it maybe ill disable that little app, its really only used for debugging . On 01/02/2014 01:17 PM, Heinrich Taube wrote: > Ive completed a beta5 of the cm 3.9.0 that i almost finished last fall. Im

Re: [CM] Scheme S7 convert float to string

2014-01-02 Thread Heinrich Taube
James, Im not exactly sure what you are trying to do, but you can use S7's object->string > (object->string 123.45) "123.45" S7 also has a version of common lisp's format() : > (format #f "~f" 123.456) "123.456000" On Jan 2, 2014, at 12:46 PM, James Hearon wrote: > Hi, > I'm a bit stuck

[CM] cm beta5

2014-01-02 Thread Heinrich Taube
Ive completed a beta5 of the cm 3.9.0 that i almost finished last fall. Im going to start teaching with this in the next few weeks so Ill only be adding bug fixes at this point. new things in this update: 1. builds in the latest s7 (3.3) and juce (3.0.0) 2. both scheme and sal versions of all e

Re: [CM] sndlib build error

2013-12-24 Thread Heinrich Taube
dave I've got to resolve some issues with the very latest juce that you are using, I'm working on it… On Dec 24, 2013, at 2:11 PM, Dave Phillips wrote: > On 12/24/2013 11:47 AM, Bill Schottstaedt wrote: > > > >> >> ... I tried to build from what I think are current sources, and got a Juce

Re: [CM] sndlib build error

2013-12-24 Thread Heinrich Taube
I actually started to work on the release this morning since my semester just ended and I'm teaching with grace/clm next semester. I am using a juce and sndlib version from sept when i got to a beta and everything was building perfectly. so maybe i should update to the latest juce since its b

Re: [CM] open a file in grace?

2013-11-18 Thread Heinrich Taube
this is a good idea, its not hard and i can probably add this into the release. fyi i had hoped to make the release in sept but I'm hammered with two huge classes that I've never taught before this semester and can only keep up with those. ill try to find time over thanksgiving break (or end of

Re: [CM] Grace, Beta4 File I/O

2013-08-22 Thread Heinrich Taube
googling around this seems to be something in gnome that can be triggered by a variety of apps, so i don't thing its anything directly to do with Grace. Im able to do Open and Save As without problems on Ubuntu, for example. On Aug 22, 2013, at 12:23 PM, James Hearon wrote: > Hi, > Not su

[CM] Fwd: Just released an EP!

2013-08-13 Thread Heinrich Taube
FYI: Joe Meland's band just released their first EP. Here's a link to it: http://fauvemusic.bandcamp.com/. The band includes UIUC musicians Sam Hasting, Mark Hartsuch, Justin Peters, Erik Opland, and Noah Gehrmann. -Rick ___ Cmdist mailing list Cmdis

Re: [CM] testing osc pack/building latest cm

2013-08-09 Thread Heinrich Taube
on a for while) > > and finally : > > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[1]: *** [bin/Grace.app/Contents/MacOS/Grace] Error 1 > make: *** [Grace] Error 2 > > &

Re: [CM] Scheduler and environment

2013-05-28 Thread Heinrich Taube
or it could be that liblo isn't sending the messages out, not sure what is more likely. if you could trigger the failing behavior without actually calling osc that would at least tell me which has the problem, eval under midi callback or osc message output. i will try to get things running in t

Re: [CM] Scheduler and environment

2013-05-27 Thread Heinrich Taube
> Now, the main problem was that sometimes the midi receiver would increase the > step variable from 1 but the messages wouldn't be sent to Max/MSP - or > wouldn't arrive : I'm also asking Max's experts about their end of my > problem. One thing was pretty clear, it sent either every messages or

Re: [CM] stop and sprout in one block

2013-05-27 Thread Heinrich Taube
> This seems to even stop (proc) from being sprouted! > I can't use id's because it would be too much of a trouble naming > and keeping track of all the when you call (begin (stop) (sprout …)) these function are not synchronies in the way you are expecting. scheme and the scheduler ar

Re: [CM] stop and sprout in one block

2013-05-22 Thread Heinrich Taube
did you try using Command-K to stop things and then simply re-evaluate the sprouts ?? On May 21, 2013, at 2:18 AM, Antoine wrote: > Hello, > > I would like to stop all running processes and then sprout the next ones > on a single evaluation. > > (define (proc) > (process repeat 100 do >

Re: [CM] optional arguments in Scheme

2013-05-09 Thread Heinrich Taube
hi if you use s7's define then you don't need OptKey at all because all arguments will be opt key: > (define* (foo a b c d e) (list a b c d e)) > (foo ) (#f #f #f #f #f) > (foo 1 2) (1 2 #f #f #f) > (foo 1 2 3 4 5) (1 2 3 4 5) > (foo 1 2 3 4 5 6) >>> Error: foo: too many arguments: (1 2

[CM] ANNOUNCEMENT: Harmonia, a new application for music theory

2012-12-23 Thread Heinrich Taube
We are delighted to announce the alpha release of Harmonia, a new music theory application available at: http://camil.music.illinois.edu/software/harmonia The homepage contains download links, a brief description of the application's features and what we hope to achieve with this pre-relea

Re: [CM] building cm on linux from svn -r 2008, w. juce 2 from todays git

2012-11-23 Thread Heinrich Taube
thanks ill look this over, you should send this to the just linux list -- hopefully the contribution will make it into the git sources so i don't have to patch juice… On Nov 23, 2012, at 12:09 PM, wrote: > The changes in the juce-tree was 2 > small typos making sound play w. jack. __

Re: [CM] building cm on linux from svn -r 2008, w. juce 2 from todays git

2012-11-23 Thread Heinrich Taube
anders, thank you for your help. did you commit to source forge our your own copy? If you can send me a patch file I can run it and recommit to source forge right now. my work stalled the past weeks as we try to finish up another huge project, i will get the new cm stable with fomus/osc support

Re: [CM] a canon with a series of notes

2012-11-08 Thread Heinrich Taube
apologies for the tardy reply. I think you would want to use a repeater pattern to do this -- did you try that? On Nov 5, 2012, at 5:22 AM, Dan Corneliu Georgescu wrote: > > Hello > I try to make a canon with a series of notes, so I read twice from this > series in an event-list with two outp

Re: [CM] current status of Grace w/ liblo & fomus

2012-10-13 Thread Heinrich Taube
sorry, i am working away, but have had only a few cycles the past 10 days! On Oct 12, 2012, at 1:11 AM, Joel Matthys wrote: > Hi everybody. I love the new premake4 script, but it doesn't seem to > have build options for fomus and liblo. Is this a temporary change? > > Joel > > _

Re: [CM] Grace freezes on sprout

2012-09-22 Thread Heinrich Taube
> I should note, however, that I observed the 14% to 34% CPU use at idle > happened without any mucking around with priorities or nice levels. i just checked tops on the JuceDemo in ubuntu and in its idle loop its running at 74% cpu. so given that I'm using the exact same code base as the demo ap

Re: [CM] Grace freezes on sprout

2012-09-22 Thread Heinrich Taube
i did a fresh install on ubuntu and its working there too (doesn't crash doesn't spin) : rm -r cm svn co http://commonmusic.svn.sf.net/svnroot/commonmusic/trunk cm cd cm premake4 make bin/Grace & top my top shows 12% in idle going up to 30% when it does anything. I've no idea why its this hig

Re: [CM] Grace freezes on sprout

2012-09-22 Thread Heinrich Taube
i did a completely fresh checkout, built it and works fine. you might try the same, ill try linux but i can't see what the difference would be. On Sep 22, 2012, at 1:01 PM, Bill Schottstaedt wrote: > yes, but "to (length sequence)" here counts to 3, including > the 3, and (nth sequence 3) is an

Re: [CM] Grace freezes on sprout

2012-09-22 Thread Heinrich Taube
wow, the thing isn't loading I've never seen that! ill have to do a fresh install and see whats going on, i was doing some scheme stuff with bill and maybe i managed to hammer lisp loading. On Sep 22, 2012, at 12:50 PM, Sergey wrote: > On Sat, Sep 22, 2012 at 12:13:02PM -0500, H

Re: [CM] Grace freezes on sprout

2012-09-22 Thread Heinrich Taube
ok for sure you need to do an svn update as i had not actually committed the new error hook code for the latest sndlib!!! please do this so we are on the same page: cd cm rm -rf sndlin premake4 clean premake4 make that will pull the latest sndlib tar ball and compile everything. the start the

Re: [CM] Grace freezes on sprout

2012-09-22 Thread Heinrich Taube
> > Another thing I'd like to report that even when doing absolutely > nothing, Grace uses about 34% of my CPU. That's what happens when > I run a fresh instance of Grace, without loading any files, nor On OSX grace hovers around 1.2 pct of cpu which is total fine, ill test it on linux once i

Re: [CM] Grace freezes on sprout

2012-09-22 Thread Heinrich Taube
this might be an issue with the new error handing. let me try… On Sep 22, 2012, at 10:33 AM, Sergey wrote: > When I run the following code in Grace: > >(define (foo) > (let ((sequence '(0 1 2))) >(process > for i from 0 to (length sequence) > for current-elemen

Re: [CM] cm in juce 2.0, jack

2012-09-19 Thread Heinrich Taube
i think patterns.scm should be a pure scheme except for record definitions that (at least at one point) had to be added from the c side. any code you convert to pure scheme ill add into the repo. On Sep 18, 2012, at 10:29 PM, Fernando Lopez-Lezcano wrote: > On 09/18/2012 10:17 AM, Heinr

Re: [CM] cm in juce 2.0, jack

2012-09-18 Thread Heinrich Taube
> > That would be useful I think (cm would be better) I have the code base cleaned up quite a bit now, at least in terms of #ifdefs and also not using juice namespace and getting rid of T() and juice::String() calls (which used to me mandatory). i will continue refactoring as i can and also u

Re: [CM] vim2grace - vim (or other external editor) integration with Grace

2012-09-18 Thread Heinrich Taube
On Sep 18, 2012, at 9:21 AM, wrote: > I'm don't know how to fix this problem, within the bounds of Grace and > s7. I suspect I'll have to abandon the simple expedient of reading from > a fifo and use some other method of communicating from vim to Grace, but > I'm at a loss as to what method to

Re: [CM] cm in juce 2.0, jack

2012-09-18 Thread Heinrich Taube
On Sep 18, 2012, at 9:10 AM, Dave Phillips wrote: > Hi Rick, > > A quick note to mention that I built and ran the JuceDemo on my Ubuntu box. > It works fine, but there's no JACK selection in the Audio Tests tab. your demo probably doesn't have jack turned on (JUCE_JACK) but don't worry about

Re: [CM] cm in juce 2.0, jack

2012-09-18 Thread Heinrich Taube
> > Btw, JACK1 on both systems is at v. 0.120.2. Are you using JACK 1 or 2 ? > hi dave it looks like I'm running jack1: dpkg --get-selections | grep jack jackd install jackd1 install jackd1-firewire

Re: [CM] cm in juce 2.0, jack

2012-09-16 Thread Heinrich Taube
arrg I've no idea, its not segfaulting on ubuntu and sergey is able to select connections and make sound. perhaps you need to upgrade the jack? alternately you could try building in debug mode and see if there are any assertions before the segfault. On Sep 16, 2012, at 4:40 PM, Dave Phillips

Re: [CM] cm in juce 2.0, jack

2012-09-16 Thread Heinrich Taube
thanks for your detailed report! ill take a look at the editor issue tomorrow. > run "(mp:receiver (lambda args (print args)))" from the editor, I get an > error: ">>> Error: mp:receiver: unbound variable" despite "mp:receiver" > being documented here: > i think its actually called (mp:receive

[CM] cm in juce 2.0, jack

2012-09-16 Thread Heinrich Taube
I've moved CM to the latest sndlib and JUCE2. this has triggered some changes to building (all for the better I hope), including a move to premake4. to build cm from sources now you do: cd cm premake4 make to build the app with jack support on linux you would do premake4 --jack make the bigge

Re: [CM] build failure on Arch 64

2012-09-11 Thread Heinrich Taube
ok with a few changes (already in svn...) i was able to build everything on ubuntu and selecting jack instead of also in the audio settings do not crash the app. however, i don't seem to be able to start jack using qjackctl :/ after installing jack like this: sudo apt-get install libjack-dev sud

Re: [CM] build failure on Arch 64

2012-09-11 Thread Heinrich Taube
I've checked in the changes to get cm working in the latest sndlib (2.11 6-Aug-12) . it was a bit more work than i thought because since mayI'm on a new machine and I've switched over to the clang compiler...but things at least seem to be working, e.g. reich example runs and fm-violin makes its

Re: [CM] build failure on Arch 64

2012-09-10 Thread Heinrich Taube
dave im in the process of moving to the latest sndlib. one thing you might need to do is enable jack support in the juce compilation?? ill take a look at this once i can build cm On Sep 10, 2012, at 12:03 PM, Dave Phillips wrote: > On 09/10/12 12:54, Bill Schottstaedt wrote: >> Sorry about tha

Re: [CM] New user - a few questions

2012-09-03 Thread Heinrich Taube
yes i need to build against the latest sndlib and see what the problems are, its on my list but i have almost no time lately to do this! ill try to have something by next friday, apologies for your wait -- its not for lack of interest on my part! On Sep 3, 2012, at 6:32 AM, Bill Schottstaedt

Re: [CM] CLISP 2.31/CM 2.4.2 under Windows 7/64 bits

2012-08-28 Thread Heinrich Taube
> On Aug 28, 2012, at 9:48 AM, Dan Corneliu Georgescu wrote: > notes mix algorithm, etc. not known/accepted. > Hi I'm not exactly sure where these symbols are coming from but this is probably an issue with stale documentation and or code examples. For example the NOTE function probably does w

Re: [CM] Trouble buillding cm on Arch Linux

2012-08-21 Thread Heinrich Taube
sure i can do this within the next two weeks! On Aug 21, 2012, at 5:53 PM, Heinrich Taube wrote: > Im happy to move to the latest version of s7 if its possible -- are the new > changes not compatible at all? > > On Aug 21, 2012, at 2:20 PM, Bill Schottstaedt wrote: > >>

Re: [CM] Trouble buillding cm on Arch Linux

2012-08-21 Thread Heinrich Taube
Im happy to move to the latest version of s7 if its possible -- are the new changes not compatible at all? On Aug 21, 2012, at 2:20 PM, Bill Schottstaedt wrote: > I was expecting that old code to be in cm, not s7 -- the rest > of s7.c assumes the new form. But, this was probably not going to >

Re: [CM] build errors on linux

2012-07-13 Thread Heinrich Taube
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 jus

Re: [CM] [OT] Question about "Notes from the Metalevel"

2012-06-07 Thread Heinrich Taube
clasp and emacs. I will rewrite the examples but I can't start until July, my apologies On Jun 7, 2012, at 2:15 PM, Arthur Sauer wrote: > For what it's worth, I redid most examples in scheme, if I remember well, > and sent them to Heinrich Taube. I promised to do the last (few

Re: [CM] slippery chicken release

2012-05-27 Thread Heinrich Taube
> > Hmm, that looks tempting. Especially given that to include S7 in an > app all you have to do is include one C file and a header. just as cool s7 is an extension language for sndlib, which contains all of clm and the entire history of ccmra instruments,at least until chuck. the s7/sndlib is

Re: [CM] CM2 vs CM3

2012-05-27 Thread Heinrich Taube
> > Mainly, what are the main differences between CM2 and CM3, design and > composition wise? I know that version 3 uses Scheme instead of Common > Lisp, so CLOS isn't used anymore, but what kind of changes has this > brought to CM? hi in terms of the changes to the cm 'language' between 2 and 3

Re: [CM] slippery chicken release

2012-05-26 Thread Heinrich Taube
On May 26, 2012, at 5:02 AM, Michael Edwards wrote: > I remain > sceptical myself however--I just find programming directly, in a text > editor, to be the most effective and efficient way of working. I > realise that I'm in the minority there though. a minority for sure, but this is not a bad t

Re: [CM] Windows CM 3.8.0: Plugin graphs do not load correctly

2012-04-25 Thread Heinrich Taube
thing of C++, so I can't guess why, but > that finally allowed me to build CM with VST support. I'll let you > know later if I find I broke something. > > Regards, > > Pietari Seppänen > > On 25.4.2012 15:20, Heinrich Taube wrote: >> the cm/readme.text wil

Re: [CM] Windows CM 3.8.0: Plugin graphs do not load correctly

2012-04-25 Thread Heinrich Taube
hat this would > be the case. I will have to figure out how to compile the source. > Thanks! > > Regards, > > Pietari Seppänen > > On 25.4.2012 13:55, Heinrich Taube wrote: >> also im assuming you build Cm from its source on windows, >> otherwise plugin sup

Re: [CM] Windows CM 3.8.0: Plugin graphs do not load correctly

2012-04-25 Thread Heinrich Taube
omething is missing here and I get no sound. The Plugin > Graphs -> Plugins menu shows those two nodes greyed out with "(no > editor)". > > It's a great shame because I have been hoping to use synthesis to make > the output sound a bit more interesting, but the built

Re: [CM] Windows CM 3.8.0: Plugin graphs do not load correctly

2012-04-25 Thread Heinrich Taube
to use synthesis to make > the output sound a bit more interesting, but the built-in systems are > way over my head. > > Regards, > > Pietari Seppänen > > PS: I sent Heinrich Taube a direct email about this first. I believe I > neglected to men

[CM] cm 3.8.0 released

2012-04-21 Thread Heinrich Taube
ive released cm 3.8.0 on sourceforge. the main additions are metronomes and other support for live coding, audio plugin loading, new plot window (90% done) new audio player window (905 done) CM 3.8.0 o Enhancement: The real-time scheduler now uses metronomes and is beat based. See the

Re: [CM] problems with common music 'process' and common lisp package system

2012-03-30 Thread Heinrich Taube
>> if thats the case im going to guess that all the >> process symbols (such as 'for' 'do' etc) need to be imported from >> whatever package the process macro is defined in to whatever package >> you import into. > LOOP ERROR: Found 'FOR' where operator expected. > clause context: 'FOR KEY FROM 60

Re: [CM] variables for weights

2012-03-29 Thread Heinrich Taube
> Hello! > So far the nifty function of Prof Taube has worked fine with numbers: > However it seems it can't handle variables in the place of weights. > How can I change that so I can use for instance the command > (setq z 30) > (gn-weight 2 '((a z) (b 5) (c 50))) hi. you can use a comma prefixed

Re: [CM] problems with common music 'process' and common lisp package system

2012-03-29 Thread Heinrich Taube
as long you can actually run the up-process inside SOME package into which cm was loaded then i think this would have to be a pacakge inheritance issue. if thats the case im going to guess that all the process symbols (such as 'for' 'do' etc) need to be imported from whatever package the pr

Re: [CM] bug in cycle pattern ??

2012-03-29 Thread Heinrich Taube
yes thanks! ralph's example was good. you should create a pattern ONE time, but read from it as many times as you like ; create a pattern begin with mypat = next(make-cycle({1 2 3 4 5})) ; read 10 elements loop repeat 10 print(next(mypat)) end end ; its also possible to read

Re: [CM] Grace, microtonal resolution, strange behavior

2012-03-04 Thread Heinrich Taube
make that should eventually result in a Grace app: bin/Grace & you can add fomus, sdif, liblo as extras, see the cm/readme.text for more information about this. > Am 04.03.2012 16:53, schrieb Heinrich Taube: >> microtonal midi output uses something i call channel

Re: [CM] Grace, microtonal resolution, strange behavior

2012-03-04 Thread Heinrich Taube
microtonal midi output uses something i call channel tuning: based on the tuning you specifiy it takes reserves channels and "pretunes" them accoding to the microtonale quantization level. for example, choosing quarter-tone tuning means that half the channels are reserved for cents 0-49

Re: [CM] Snd 12.8

2012-02-01 Thread Heinrich Taube
guile, gauch, stklos, chicken all support (to one degree or another) a variant of cltl2 called tiny-clos that implemnted basic functionality of clos as i recall the stklos doc was pretty good, http://www.stklos.net/Doc/html/stklos-ref-8.html#STklos-Object-System also gauche: http://practic

Re: [CM] Snd 12.8

2012-02-01 Thread Heinrich Taube
On Feb 1, 2012, at 11:47 AM, Bill Schottstaedt wrote: >added an object system example in the environments section of > s7.html. > It's based on environments as classes/instances. wow. this this strong enough to implment tiny-clos with call-next- method and make-instance? If that were

Re: [CM] older CLISP version

2012-01-19 Thread Heinrich Taube
i think if you delete all the .fas files in the directory and then load cmn-all again it will recompile the software On Jan 19, 2012, at 6:23 AM, René Bastian wrote: > Hi, > > after installing CMN on another computer (Debian 6.0), I got : > > [1]> (load "cmn-al

Re: [CM] Metro command

2012-01-15 Thread Heinrich Taube
On Jan 15, 2012, at 3:07 PM, Philippe de Rochambeau wrote: > Hello, > Are you talking about Grace 3.7.2 or a later version which is not > currently available? > I don't see any metronome examples in Grace 3.7.2 and the CM3 > documentation (http://commonmusic.sourceforge.net/cm/res/doc/ > cm.h

Re: [CM] Metro command

2012-01-15 Thread Heinrich Taube
just to beat a dead horse... in pure data, metro sends a bang out at some time interval to do something, ie [metro 1000] | [+ 3 4] | [print ] or whatever. In Lisp "doing something" is evaluation, (+ 3 4) and you can create functions that do arbitrary eva

Re: [CM] Channel-tuning

2012-01-15 Thread Heinrich Taube
On Jan 15, 2012, at 7:30 AM, Philippe de Rochambeau wrote: > But, unfortunately, the examples in your book are written in CM2 (?) > and I could not find an equivalent command in the CM3 documentation > to :channel-tuning 108 (used on pp 140, 142, 15 -- ct8 ? --, and 149). thats because of t

Re: [CM] Metro command

2012-01-15 Thread Heinrich Taube
in-tempo scales a unit in beats to a particular tempo value and return the value in seconds (in-tempo .5 60) -> 0.5 (in-tempo .5 90) -> 0.33 the rhythm() function converts a symbolic rhythmic value to a time in seconds (rhythm 'e 60) -> 0.5 (rhythm 'e 90) -> 0.33 (

Re: [CM] Metro command

2012-01-15 Thread Heinrich Taube
halim beere added metronomes about 2 months ago and the entire scheduler is now beat/metronome based. for information about metronomes see the section "Metronomes" in cm.html: Help>Reference>Common Music , then click on Metronomes in the index he also wrote excellent examples:

Re: [CM] Channel-tuning

2012-01-15 Thread Heinrich Taube
ill have to look at the book when i get to the office later, but offhand a value 108 looks to be a typo channel tuning in cm3 its divisions-per-semitone 1 to 16 so 1 is standard semitone tuning, 2 is quarter tone, and 16 is a quantization of 6.25 cents you can get a good idea of whats going

[CM] last candidate for cm 3.8.0 release

2012-01-14 Thread Heinrich Taube
ive made a final candidate for the 3.8.0 release, hopefully to be made in the next week. the last thing ive added is a new audio file player -- its now possible to have multiple players open (and playing) at the same time and each player has an srate control for its audio playback ive also u

Re: [CM] Posting Student Examples of SAL Programs

2012-01-05 Thread Heinrich Taube
amples you can post. > Thanks > Lawrence > > > Message: 5 > Date: Thu, 29 Dec 2011 11:09:55 -0600 > From: Heinrich Taube > Subject: Re: [CM] Slime vs Grace (was: Arno in Grace?) > To: CMdist CM > Message-ID: <2cf0ab17-f2bc-45b2-a7f0-7d52c7747...@illinois.edu> > Cont

Re: [CM] optional and default arguments in cm 3.8.0 scheme?

2012-01-02 Thread Heinrich Taube
in addition to define* as johannes said, realize that many operators do their own mapping. for example in the latest sources you can use 'mod' directly: cm> (mod '(50 43 23) 12) (2 7 11) and of course for standard mod 12'ing of keynums you can always use 'pc' cm> (pc '(50 43 23) ) (2 7 11)

Re: [CM] Slime vs Grace (was: Arno in Grace?)

2011-12-29 Thread Heinrich Taube
On Dec 29, 2011, at 9:07 AM, Torsten Anders wrote: > Dear Ralf Mattes, > > On 29 Dec 2011, at 11:52, r...@tuxteam.de wrote: >> To give up all these nice libraries and be locked into a stadalone >> scheme seems a high price to pay (and, most important for me: hving >> to give up decades uf mus

Re: [CM] Arno in Grace?

2011-12-28 Thread Heinrich Taube
ahh. i didnt realize its in pwgl. thats the way to go! On Dec 28, 2011, at 5:23 PM, Torsten Anders wrote: > Likewise, OpenMusic comes with several constraint solvers, all of > them defined in Common Lisp. > ___ Cmdist mailing list Cmdist@ccrma.stanfo

Re: [CM] Arno in Grace?

2011-12-28 Thread Heinrich Taube
ype SIMPLE-ERROR]") > " > > I have no idea what to do now, because I am not used to emacs, slime > and swank. Would be nice you could help me with this. > > Thank you, > Alan > > > Am 28.12.2011 19:35, schrieb Heinrich Taube: >>> my favorite language, I

Re: [CM] Arno in Grace?

2011-12-28 Thread Heinrich Taube
> my favorite language, I am used to it. That's why I am so > enthusiastic about Grace and all these helpful tools for converting > data to music and why I had a lot of hope in Arno. so if Arno is common lisp then you should be able to simply load it into a running cm2, and you should be abl

Re: [CM] grace midi ubuntu [timidity] ...

2011-12-27 Thread Heinrich Taube
i think in linux you have to do someting manually in qjackctrl before you try to open the port. also try using the menu rather than the lisp calls to make sure that the basic mechanism is working (or not). if you get it working let me know how, i cant find my notes on how to get midi ports

Re: [CM] recording MIDI input

2011-12-13 Thread Heinrich Taube
im sorry its taking so long to get to this. you are correct you use a hook and push data onto a "recoding list" . if you cant get this going i'll send a demo out early next week once the end-of-semester madness is over! --rick On Dec 6, 2011, at 9:17 PM, Landspeedrecord wrote: > Hi, > > I h

Re: [CM] windows version - CM or CLM?

2011-12-05 Thread Heinrich Taube
There are some older Common Music progs from Stanford that are in > common lisp syntax rather than scheme. > > I don't think common lisp syntax works in Grace? I think it's just > scheme or sal for Grace. > Randy > > > On 05.12.2011 10:28, Heinrich Taube wrote: >

Re: [CM] windows version - CM or CLM?

2011-12-05 Thread Heinrich Taube
> that, without success. > > > On 23.11.2011 08:07, Heinrich Taube wrote: >> ok ive got a windows build working i think: >> >> >> http://camil.music.uiuc.edu/software/grace/Grace-3.8.0-alpha3-win32.zip >> >> >>

Re: [CM] glissandi

2011-12-02 Thread Heinrich Taube
not sure what you are trying to do but this plays a note and then bends it. bend values are just midi magic numbers: 8192 is no bend, 16383 is max bend 0 is min bend. what a device does to respond to bend values depends on each device -- max might be a whole step or an octave, for example

Re: [CM] Grace and Fomus on F 14

2011-11-29 Thread Heinrich Taube
when you build grace did you specify the --fomus install path to premake? if you did a vanilla 'make install' in fomus it'll put things under / usr/local so I do cd cm premake --sndlib ../sndlib --fomus /usr/local ... make On Nov 29, 2011, at 8:38 AM, jallan365 wrote: > but maybe becaus

[CM] how to create a plugin graph in Plugin Host

2011-11-27 Thread Heinrich Taube
Here is how to design and save plugin graphs in JUCE's Audi Plugin Host. Its a terrific little app and the gui is very easy to use. 1. Start the "Plugin Host" app 2. Press Command-P (or select "Edit the list of available plugins..." from the Options menu). This will open the "Available Plugin

[CM] audio plugins in grace working

2011-11-27 Thread Heinrich Taube
apologies for the longish report, if you are interested in generating real-time audio using AU, VST, ASIO plugins in Grace, read on! -- You can now load 'plugin graphs' and send midi/audio streams to them to generate real-time audio output. Plugin graphs are user defined collections of nodes

  1   2   3   4   5   6   7   >