From michael.winkler at balcab.ch Fri Aug 5 07:09:15 2011 From: michael.winkler at balcab.ch (Michael Winkler) Date: Fri, 05 Aug 2011 16:09:15 +0200 Subject: [CM] How to command-D my own things? In-Reply-To: <36A0FCE8-088E-40CB-BF5D-8E7AA5BEC02F@beds.ac.uk> References: <838CC652-2FDD-4CCF-AEBF-FB3D954E1229@uiuc.edu> <36A0FCE8-088E-40CB-BF5D-8E7AA5BEC02F@beds.ac.uk> Message-ID: <4E3BF98B.7070305@balcab.ch> Hi List Building my own functions in common music, how can I write a documentation that works with command-D? I'm working in scheme, not in SAL. best, Michael From torsten.anders at beds.ac.uk Wed Aug 17 15:47:04 2011 From: torsten.anders at beds.ac.uk (Torsten Anders) Date: Wed, 17 Aug 2011 23:47:04 +0100 Subject: [CM] [JOB] Researcher/Demonstrator in Music Technology, University of Bedfordshire Message-ID: <5558C2B4-4586-4B69-B00B-147A837CA218@beds.ac.uk> Dear all, Please distribute the position announcement below. Thank you! Best wishes, Torsten -- Dr Torsten Anders Course Leader, Music Technology University of Bedfordshire Park Square, Room A315 Researcher/Demonstrator in Music Technology University of Bedfordshire - Faculty of Creative Arts, Technologies and Science, Division of Media Arts and Production Ref: NACM3611 ?20,409 pro rata per annum 18.5 hours per week 0.5fte Fixed term until 30 May 2014 Closing date: 12 noon on 2nd September 2011 We are seeking to appoint a knowledgeable and enthusiastic researcher/demonstrator in music technology. You will have experience in music production and post-production, and will be familiar with a wide range of standard music technology software and equipment. You will help us deliver our thriving BA(Hons) and BSc(Hons) programmes in music technology. You will provide technical support and demonstration of music technology equipment and software (e.g., in our brand new studio). You will be able to communicate effectively to a diverse group of students and staff. The Division is committed to developing research in music technology. Applicants will be expected to combine this role with a part-time registration for a research degree (MRes, MPhil/PhD or Professional Doctorate) at the university. The nature of your research will be negotiated with the Head of Division and the Director of the Research Institute. For more information and for applying online please visit http://www.beds.ac.uk/jobs/vacancies/academic/researcherdemonstrator-in-music-technology-refnacm3611 From taube at uiuc.edu Thu Aug 18 03:57:29 2011 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 18 Aug 2011 05:57:29 -0500 Subject: [CM] How to play back the fomus file In-Reply-To: References: Message-ID: <1B06A2D6-1598-4D08-BDE0-D3599C510AFD@uiuc.edu> CLM is built into Grace. look in the Audio>Instrument Browser for the list of clm instruments you can load/edit/play. You can tell Fomus to write a midi file in addition to a .ly file. perhaps this is what you want to do? Then you can play the resulting file using the Audio>Play Midi File (ybut our need the newest Grace to do this i think, and ive not built it on windows yet) On Aug 18, 2011, at 4:43 AM, R.D. Latimer wrote: > Hi Dr. Taube, > I've installed Grace 3.7.2 on Windows Xp, and also Fomus. I'm > looking through your examples and tutorials from the Help menu. > > The first Fomus example is: > ; > ;; Simple process example > ; > > (define (examp1 n r) > (process repeat n > do (send "fms:note" :dur r :pitch (between 48 73)) > (wait r))) > > (sprout (examp1 16 1/2) "fomus1.ly") > > > This successfully creates the Lilypond file and a pdf of the written > notes. Is there a way to hear these pitches, reading the notes from > this file back into Grace and using mp:midi ? > > Also, did you see the article on Algorithmic Composition by Michael > Edwards in the ACM Communications magazine? I can send a link if > you didn't see it. Michael has a sample composition, yvonne.lsp, on > his website, it's in Common Lisp and uses Common Lisp Music from > Stanford I think. > It may be an interesting project for me to try to translate this > file over to Common Music. > I haven't been able to successfully install the Stanford software, > CLM. Besides the language syntax, I'm not sure of the differences > between CLM and Common Music? > > Thanks, > Randy Latimer > rdlatimer at gmail.com From bil at ccrma.Stanford.EDU Thu Aug 18 06:32:45 2011 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 18 Aug 2011 06:32:45 -0700 Subject: [CM] Snd 12.4 Message-ID: <20110818133147.M96773@ccrma.Stanford.EDU> Snd 12.4. removed thread support from Snd/s7/sndlib. removed snd9.scm. s7 is nearing the point where we can get rid of the run macro. Currently the fm-violin in C takes 400 callgrind units to generate 20 seconds of sound, in run it takes 480, and in s7 by itself, 700. In Snd 12.2, s7 took 4896, in Snd 11.10 from last August, 7392. checked: sbcl 1.0.50, gtk 3.1.10|12 Thanks!: Mike Scholz From mail at peterodoherty.net Fri Aug 19 01:41:26 2011 From: mail at peterodoherty.net (Peter O'Doherty) Date: Fri, 19 Aug 2011 10:41:26 +0200 Subject: [CM] Fomus on Ubuntu Message-ID: <4E4E21B6.3030804@peterodoherty.net> Hi, I get the error //>>> Error: don't know how to open "fomus.ly"// when I try to run the Fomus example. I don't get //>>> Error: Fomus: can't find FOMUS library// as Fomus is properly installed (libfomus.so is in /usr/local/lib). Can someone please assist? Many thanks, Peter // //On Sun, 2010-12-05 at 11:11 -0500, Joel Matthys wrote: >/ I can't get FOMUS to work with the new Grace on Ubuntu 10.04. />/ />/ When I open the example file and try to evaluate the first example, I />/ get />/ >>> Error: Fomus: can't find FOMUS library />/ >>> Error: don't know how to open "fomus.ly" />/ />/ _______________________________________________ />/ Cmdist mailing list />/ Cmdist at ccrma.stanford.edu />/ http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist / -- //============================= -> Peter O'Doherty -> http://www.peterodoherty.net -> mail at peterodoherty.net //============================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Fri Aug 19 05:07:10 2011 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 19 Aug 2011 07:07:10 -0500 Subject: [CM] Fomus on Ubuntu In-Reply-To: <4E4E21B6.3030804@peterodoherty.net> References: <4E4E21B6.3030804@peterodoherty.net> Message-ID: <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> hi - what version of Grace and Fomus are you using? information for both should be visible in the herald when you start the app. did you build from sources our are you using a binary release? On Aug 19, 2011, at 3:41 AM, Peter O'Doherty wrote: > Hi, > I get the error > >>> Error: don't know how to open "fomus.ly" > when I try to run the Fomus example. > > I don't get > >>> Error: Fomus: can't find FOMUS library > as Fomus is properly installed (libfomus.so is in /usr/local/lib). > > Can someone please assist? > > Many thanks, > Peter > > > On Sun, 2010-12-05 at 11:11 -0500, Joel Matthys wrote: > > > I can't get FOMUS to work with the new Grace on Ubuntu 10.04. > > > > When I open the example file and try to evaluate the first > example, I > > get > > >>> Error: Fomus: can't find FOMUS library > > >>> Error: don't know how to open "fomus.ly" > > > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > > -- > //============================= > -> Peter O'Doherty > -> http://www.peterodoherty.net > -> mail at peterodoherty.net > //============================= > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mail at peterodoherty.net Fri Aug 19 05:18:56 2011 From: mail at peterodoherty.net (Peter O'Doherty) Date: Fri, 19 Aug 2011 14:18:56 +0200 Subject: [CM] Fomus on Ubuntu In-Reply-To: <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> Message-ID: <4E4E54B0.9050801@peterodoherty.net> Hi Heinrich, On 08/19/2011 02:07 PM, Heinrich Taube wrote: > hi - what version of Grace and Fomus are you using? This is what the console shows after starting the .Grace binary in my ~/cm/cm/bin directory: Grace 3.8.0 [svn:1946] (c) 2011 Rick Taube JUCE v1.52.110 (c) 2011 Julian Storer S7 Scheme 1.86 (11-May-11) (c) 2011 William Schottstaedt /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 3.8.0 ---/--\\\------ --/----\\\----- / \\\/ My version of Fomus is: FOMUS 0.1.15-alpha. > information for both should be visible in the herald when you start > the app. did you build from sources our are you using a binary release? To be honest, I can't remember. I think I built from sources. Thanks, Peter > > > On Aug 19, 2011, at 3:41 AM, Peter O'Doherty wrote: > >> Hi, >> I get the error >> >>> Error: don't know how to open "fomus.ly" >> when I try to run the Fomus example. >> >> I don't get >> >>> Error: Fomus: can't find FOMUS library >> as Fomus is properly installed (libfomus.so is in /usr/local/lib). >> >> Can someone please assist? >> >> Many thanks, >> Peter >> >> >> On Sun, 2010-12-05 at 11:11 -0500, Joel Matthys wrote: >> >> > I can't get FOMUS to work with the new Grace on Ubuntu 10.04. >> > >> > When I open the example file and try to evaluate the first example, I >> > get >> > >>> Error: Fomus: can't find FOMUS library >> > >>> Error: don't know how to open "fomus.ly" >> > >> > _______________________________________________ >> > Cmdist mailing list >> > Cmdist at ccrma.stanford.edu >> > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> >> >> >> -- >> //============================= >> -> Peter O'Doherty >> -> http://www.peterodoherty.net >> -> mail at peterodoherty.net >> //============================= >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -- //============================= -> Peter O'Doherty -> http://www.peterodoherty.net -> mail at peterodoherty.net //============================= From taube at uiuc.edu Fri Aug 19 05:45:02 2011 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 19 Aug 2011 07:45:02 -0500 Subject: [CM] Fomus on Ubuntu In-Reply-To: <4E4E54B0.9050801@peterodoherty.net> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> Message-ID: ok then perhaps you didnt enable fomus when you built from source. assuming you installed fomus in /usr/local do this: cd cm rm -r obj bin premake --verbose --target gnu --sndlib /PATH/TO/SNDLIB --fomus /usr/ local make bin/Grace & see the readme for other build options. ill make a binary 8.3.0 release in the next few days. > To be honest, I can't remember. I think I built from sources. > Thanks, > Peter From taube at uiuc.edu Fri Aug 19 06:00:19 2011 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 19 Aug 2011 08:00:19 -0500 Subject: [CM] Fomus on Ubuntu In-Reply-To: <4E4E54B0.9050801@peterodoherty.net> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> Message-ID: <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> On Aug 19, 2011, at 7:18 AM, Peter O'Doherty wrote: > Grace 3.8.0 [svn:1946] (c) 2011 Rick Taube > JUCE v1.52.110 (c) 2011 Julian Storer > S7 Scheme 1.86 (11-May-11) (c) 2011 William Schottstaedt yes you didnt build the c sources with fomus option enabled, if you had you would see it listed in the herald. i would also install a new sndlib before reloading and do an 'svn update' in the cm directory -- the latest svn version is 1953 to install a sndlib do mv sndlib /tmp wget ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz tar -zxf sndlib.tar.gz configure CC=g++ make rm *.so you dont need to do a 'make install' for grace, just spedify the path to the sndlb dir you just comiled to premake cd cm premake ... --sndlib /path/to/sndlib make From mail at peterodoherty.net Fri Aug 19 06:31:20 2011 From: mail at peterodoherty.net (Peter O'Doherty) Date: Fri, 19 Aug 2011 15:31:20 +0200 Subject: [CM] Fomus on Ubuntu In-Reply-To: <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> Message-ID: <4E4E65A8.4090902@peterodoherty.net> Great, thanks. It's working perfectly now. Regards, Peter On 08/19/2011 03:00 PM, Heinrich Taube wrote: > > On Aug 19, 2011, at 7:18 AM, Peter O'Doherty wrote: > >> Grace 3.8.0 [svn:1946] (c) 2011 Rick Taube >> JUCE v1.52.110 (c) 2011 Julian Storer >> S7 Scheme 1.86 (11-May-11) (c) 2011 William Schottstaedt > > yes you didnt build the c sources with fomus option enabled, if you > had you would see it listed in the herald. > i would also install a new sndlib before reloading and do an 'svn > update' in the cm directory -- the latest svn version is 1953 > > to install a sndlib do > > mv sndlib /tmp > wget ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz > tar -zxf sndlib.tar.gz > configure CC=g++ > make > rm *.so > > you dont need to do a 'make install' for grace, just spedify the path > to the sndlb dir you just comiled to premake > > cd cm > premake ... --sndlib /path/to/sndlib > make > > > -- //============================= -> Peter O'Doherty -> http://www.peterodoherty.net -> mail at peterodoherty.net //============================= From taube at uiuc.edu Fri Aug 19 06:50:46 2011 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 19 Aug 2011 08:50:46 -0500 Subject: [CM] Fomus on Ubuntu In-Reply-To: <4E4E65A8.4090902@peterodoherty.net> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> <4E4E65A8.4090902@peterodoherty.net> Message-ID: ahh those words are like music to my ears ;) On Aug 19, 2011, at 8:31 AM, Peter O'Doherty wrote: > Great, thanks. It's working perfectly now. > Regards, > Peter > From mail at peterodoherty.net Fri Aug 19 12:52:05 2011 From: mail at peterodoherty.net (Peter O'Doherty) Date: Fri, 19 Aug 2011 21:52:05 +0200 Subject: [CM] Fomus on Ubuntu In-Reply-To: References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> <4E4E65A8.4090902@peterodoherty.net> Message-ID: <4E4EBEE5.7020702@peterodoherty.net> This won't be music to your ears, I'm afraid, but please permit me one further set-up question. I've selected Timidity(1) from the Audio/Midi Out menu. ports() gives me: {{"midi.port" {0 -> "Midi Through" #f} {1 -> "OSS sequencer" #f} {2 -> "TiMidity {1}" #t} {3 -> "TiMidity {2}" #f} {4 -> "TiMidity {3}" #f} {5 -> "TiMidity {4}" #f} {0 <- "Midi Through" #f} {1 <- "Juce Midi Output" #f}}} So I do send("mp:open", out: 2) then send("mp:midi", 0, .5, 60, .5, 0) but this throws the error: # What am I doing wrong? Thanks again. Peter On 08/19/2011 03:50 PM, Heinrich Taube wrote: > ahh those words are like music to my ears ;) > > On Aug 19, 2011, at 8:31 AM, Peter O'Doherty wrote: > >> Great, thanks. It's working perfectly now. >> Regards, >> Peter >> > > -- //============================= -> Peter O'Doherty -> http://www.peterodoherty.net -> mail at peterodoherty.net //============================= From taube at uiuc.edu Fri Aug 19 14:58:48 2011 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 19 Aug 2011 16:58:48 -0500 Subject: [CM] Fomus on Ubuntu In-Reply-To: <4E4EBEE5.7020702@peterodoherty.net> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> <4E4E65A8.4090902@peterodoherty.net> <4E4EBEE5.7020702@peterodoherty.net> Message-ID: <1DD2D93C-90D6-4FCA-87B7-97FC4C9261C1@uiuc.edu> On Aug 19, 2011, at 2:52 PM, Peter O'Doherty wrote: > What am I doing wrong? maybe you aren't doing anything wrong -- i remember on linux i had to do some sort of port connection in jack., ie in addtino to selectin a port in cm. im sorry but i cant even remember the name of the jack app i had to use to do this, 'jackctrl' or someting? then the dialog itself was a bit confunsion -- sorry it was all rather complicated and i cant remember but i think you need to do the jack stuff after you started cm you might find it easier to forget the midi port connecting and just write a midi file instead and then use cm's (shell ) function to start timidity with the file name. i think there might even be a file hook that you can use to do this automatically after the file is written. From mail at peterodoherty.net Sat Aug 20 03:32:18 2011 From: mail at peterodoherty.net (Peter O'Doherty) Date: Sat, 20 Aug 2011 12:32:18 +0200 Subject: [CM] Fomus on Ubuntu In-Reply-To: <1DD2D93C-90D6-4FCA-87B7-97FC4C9261C1@uiuc.edu> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> <4E4E65A8.4090902@peterodoherty.net> <4E4EBEE5.7020702@peterodoherty.net> <1DD2D93C-90D6-4FCA-87B7-97FC4C9261C1@uiuc.edu> Message-ID: <4E4F8D32.8060605@peterodoherty.net> On 08/19/2011 11:58 PM, Heinrich Taube wrote: > On Aug 19, 2011, at 2:52 PM, Peter O'Doherty wrote: > >> What am I doing wrong? > > maybe you aren't doing anything wrong -- i remember on linux i had to > do some sort of port connection in jack., ie in addtino to selectin a > port in cm. im sorry but i cant even remember the name of the jack > app i had to use to do this, 'jackctrl' or someting? then the dialog > itself was a bit confunsion -- sorry it was all rather complicated > and i cant remember but i think you need to do the jack stuff after > you started cm > > you might find it easier to forget the midi port connecting and just > write a midi file instead and then use cm's (shell ) function to > start timidity with the file name. i think there might even be a file > hook that you can use to do this automatically after the file is > written. Got it working now. Just needed to connect JuceMidi to FluidSynth in QjackCtl (the app you were thinking of) to hear midi. Thanks again, Peter -- //============================= -> Peter O'Doherty -> http://www.peterodoherty.net -> mail at peterodoherty.net //============================= From mail at peterodoherty.net Sat Aug 20 05:20:26 2011 From: mail at peterodoherty.net (Peter O'Doherty) Date: Sat, 20 Aug 2011 14:20:26 +0200 Subject: [CM] Fomus on Ubuntu In-Reply-To: <1DD2D93C-90D6-4FCA-87B7-97FC4C9261C1@uiuc.edu> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> <4E4E65A8.4090902@peterodoherty.net> <4E4EBEE5.7020702@peterodoherty.net> <1DD2D93C-90D6-4FCA-87B7-97FC4C9261C1@uiuc.edu> Message-ID: <4E4FA68A.5080608@peterodoherty.net> On 08/19/2011 11:58 PM, Heinrich Taube wrote: > On Aug 19, 2011, at 2:52 PM, Peter O'Doherty wrote: > >> What am I doing wrong? > > maybe you aren't doing anything wrong -- i remember on linux i had to > do some sort of port connection in jack., ie in addtino to selectin a > port in cm. im sorry but i cant even remember the name of the jack > app i had to use to do this, 'jackctrl' or someting? then the dialog > itself was a bit confunsion -- sorry it was all rather complicated > and i cant remember but i think you need to do the jack stuff after > you started cm > > you might find it easier to forget the midi port connecting and just > write a midi file instead and then use cm's (shell ) function to > start timidity with the file name. i think there might even be a file > hook that you can use to do this automatically after the file is > written. One more question. I'm probably missing something really simple but what do I need to add to this simple example to enable midi output as well as fomus? process examp1 (n, r) repeat n send( "fms:note", dur: r, pitch: between(48, 73)) wait r end sprout( examp1(16, 1/2), "fomus1.ly") I've tried various combinations, including using variables such as the example below but I can't seem to get it to work. process examp1 (n, r) repeat n variable pitch = between(48, 73) send("fms:note", dur: r, pitch: between(48, 73)) send("mp:midi", dur: r, key: pitch) wait r end sprout( examp1(16, 1/2), "fomus1.ly") Thanks, Peter -- //============================= -> Peter O'Doherty -> http://www.peterodoherty.net -> mail at peterodoherty.net //============================= From taube at uiuc.edu Sun Aug 21 05:24:35 2011 From: taube at uiuc.edu (Heinrich Taube) Date: Sun, 21 Aug 2011 07:24:35 -0500 Subject: [CM] Fomus on Ubuntu In-Reply-To: <4E4FA68A.5080608@peterodoherty.net> References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> <4E4E65A8.4090902@peterodoherty.net> <4E4EBEE5.7020702@peterodoherty.net> <1DD2D93C-90D6-4FCA-87B7-97FC4C9261C1@uiuc.edu> <4E4FA68A.5080608@peterodoherty.net> Message-ID: im pretty sure the issue is that the scheduler runs in faster-than real time for files and real-time for ports. since you have a mix of both file and port its not going to work. there are several alternatives. 1. the best way to do this is to tell fomus to write BOTH a .mid and and .ly file . this is how you do that: process examp1 (n, r) repeat n send( "fms:note", dur: r, pitch: between(48, 73)) wait r end sprout( examp1(16, 1/2), "fomus1.ly" , output: {"ly" "mid" } ) the advantage is that fomus will do a lot of work on the midi output so that it matches the score. simply sending data to the midi port yourself wont include those huersitics. 2. i think you can probably send to a midi port and also to a fomus score you open by hand, and then close the fomus score by hand after the midi processing is over. im not sure why you would want to do this... On Aug 20, 2011, at 7:20 AM, Peter O'Doherty wrote: > One more question. > > I'm probably missing something really simple but what do I need to add > to this simple example to enable midi output as well as fomus? > > process examp1 (n, r) > repeat n > send( "fms:note", dur: r, pitch: between(48, 73)) > wait r > end > > sprout( examp1(16, 1/2), "fomus1.ly") > > I've tried various combinations, including using variables such as the > example below but I can't seem to get it to work. > > process examp1 (n, r) > repeat n > variable pitch = between(48, 73) > send("fms:note", dur: r, pitch: between(48, 73)) > send("mp:midi", dur: r, key: pitch) > wait r > end > > sprout( examp1(16, 1/2), "fomus1.ly") > > Thanks, > Peter > > > -- > //============================= > -> Peter O'Doherty > -> http://www.peterodoherty.net > -> mail at peterodoherty.net > //============================= > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mail at peterodoherty.net Sun Aug 21 05:31:22 2011 From: mail at peterodoherty.net (Peter O'Doherty) Date: Sun, 21 Aug 2011 14:31:22 +0200 Subject: [CM] Fomus on Ubuntu In-Reply-To: References: <4E4E21B6.3030804@peterodoherty.net> <6D88FD8F-6C1E-450D-98C5-29D7383106D4@uiuc.edu> <4E4E54B0.9050801@peterodoherty.net> <060EB8F8-5474-4091-8473-A5E6D59E536E@uiuc.edu> <4E4E65A8.4090902@peterodoherty.net> <4E4EBEE5.7020702@peterodoherty.net> <1DD2D93C-90D6-4FCA-87B7-97FC4C9261C1@uiuc.edu> <4E4FA68A.5080608@peterodoherty.net> Message-ID: <4E50FA9A.8080108@peterodoherty.net> Many thanks, yet again! On 08/21/2011 02:24 PM, Heinrich Taube wrote: > im pretty sure the issue is that the scheduler runs in faster-than > real time for files and real-time for ports. since you have a mix of > both file and port its not going to work. > there are several alternatives. > > 1. the best way to do this is to tell fomus to write BOTH a .mid and > and .ly file . this is how you do that: > > process examp1 (n, r) > repeat n > send( "fms:note", dur: r, pitch: between(48, 73)) > wait r > end > > sprout( examp1(16, 1/2), "fomus1.ly" , output: {"ly" "mid" } ) > > the advantage is that fomus will do a lot of work on the midi output > so that it matches the score. simply sending data to the midi port > yourself wont include those huersitics. > > 2. i think you can probably send to a midi port and also to a fomus > score you open by hand, and then close the fomus score by hand after > the midi processing is over. im not sure why you would want to do this... > > > > On Aug 20, 2011, at 7:20 AM, Peter O'Doherty wrote: > >> One more question. >> >> I'm probably missing something really simple but what do I need to add >> to this simple example to enable midi output as well as fomus? >> >> process examp1 (n, r) >> repeat n >> send( "fms:note", dur: r, pitch: between(48, 73)) >> wait r >> end >> >> sprout( examp1(16, 1/2), "fomus1.ly") >> >> I've tried various combinations, including using variables such as the >> example below but I can't seem to get it to work. >> >> process examp1 (n, r) >> repeat n >> variable pitch = between(48, 73) >> send("fms:note", dur: r, pitch: between(48, 73)) >> send("mp:midi", dur: r, key: pitch) >> wait r >> end >> >> sprout( examp1(16, 1/2), "fomus1.ly") >> >> Thanks, >> Peter >> >> >> -- >> //============================= >> -> Peter O'Doherty >> -> http://www.peterodoherty.net >> -> mail at peterodoherty.net >> //============================= >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -- //============================= -> Peter O'Doherty -> http://www.peterodoherty.net -> mail at peterodoherty.net //============================= From michael.winkler at balcab.ch Wed Aug 31 23:57:29 2011 From: michael.winkler at balcab.ch (Michael Winkler) Date: Thu, 01 Sep 2011 08:57:29 +0200 Subject: [CM] grace feature request: "open init file" Message-ID: <4E5F2CD9.5080102@balcab.ch> Dear Mr Taube (or whoever it may concern) Would like to have a "open init file" in the open menu. Many Thankx. Michael Winkler, Switzerland PS: are a) feature ideas & request welcome, and is b) this here the plattform to bring iit in?