Thread: [Bluemusic-users] blue and common-music
Brought to you by:
kunstmusik
From: stephane b. <s_b...@ya...> - 2005-09-08 20:51:34
|
hi list could you give me some example(s) of command line for use common music in blue with external. thanks stf ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |
From: Steven Yi <ste...@gm...> - 2005-09-12 00:05:55
|
Hi Stephane, Sorry this is very late to reply. I don't know what would be the way to do it myself, and would like to know as well! I know it's been mentioned here before but I do not remember what came of it. Perhaps it is worth asking on the common music mailing list on how to set up a file so that it could be called from the commandline and print out the results or write them to disk, as that would be what is required for blue to capture the output. steven On 9/8/05, stephane boussuge <s_b...@ya...> wrote: > hi list > could you give me some example(s) of command line for > use common music in blue with external. > thanks > stf >=20 >=20 >=20 >=20 >=20 >=20 >=20 > _________________________________________________________________________= __ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenge= r > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic= es > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: stephane b. <s_b...@ya...> - 2005-09-12 17:54:35
|
hi steven thank you for your answer. i know actually how to make a file who write a sco on a file on disk but i don't know how to reimport them in blue. could you give me an exemple for a python script and i will inspire from for make the same with common music. cheers stf --- Steven Yi <ste...@gm...> a écrit : > Hi Stephane, > > Sorry this is very late to reply. I don't know what > would be the way > to do it myself, and would like to know as well! I > know it's been > mentioned here before but I do not remember what > came of it. Perhaps > it is worth asking on the common music mailing list > on how to set up a > file so that it could be called from the commandline > and print out the > results or write them to disk, as that would be what > is required for > blue to capture the output. > > steven > > > On 9/8/05, stephane boussuge <s_b...@ya...> > wrote: > > hi list > > could you give me some example(s) of command line > for > > use common music in blue with external. > > thanks > > stf > > > > > > > > > > > > > > > > > ___________________________________________________________________________ > > Appel audio GRATUIT partout dans le monde avec le > nouveau Yahoo! Messenger > > Téléchargez cette version sur > http://fr.messenger.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing > Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |
From: stephane b. <s_b...@ya...> - 2005-09-12 19:32:02
|
hi Steven in my last mail i said i can make a file who write a sco on disk but i miss to precise this file must be something like myfile.lisp and contain something like : (load "/home/stf/bin/cm-2.6.0/src/cm.lisp") if we write in terminal something like: clisp myfile.lisp clisp execute myfile.lisp, load cm and write sco on disk. for blue what is the solution ? clisp $infile ok but for reimport in blue ? may be clisp have a stdout capability ? i don't know because i'm a beginner both in clisp and common music. cheers stf --- stephane boussuge <s_b...@ya...> a écrit : > hi steven > thank you for your answer. > i know actually how to make a file who write a sco > on > a file on disk but i don't know how to reimport them > in blue. > could you give me an exemple for a python script and > i > will inspire from for make the same with common > music. > > cheers > stf > > --- Steven Yi <ste...@gm...> a écrit : > > > Hi Stephane, > > > > Sorry this is very late to reply. I don't know > what > > would be the way > > to do it myself, and would like to know as well! > I > > know it's been > > mentioned here before but I do not remember what > > came of it. Perhaps > > it is worth asking on the common music mailing > list > > on how to set up a > > file so that it could be called from the > commandline > > and print out the > > results or write them to disk, as that would be > what > > is required for > > blue to capture the output. > > > > steven > > > > > > On 9/8/05, stephane boussuge <s_b...@ya...> > > wrote: > > > hi list > > > could you give me some example(s) of command > line > > for > > > use common music in blue with external. > > > thanks > > > stf > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________________________ > > > Appel audio GRATUIT partout dans le monde avec > le > > nouveau Yahoo! Messenger > > > Téléchargez cette version sur > > http://fr.messenger.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software > > Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * > > Development Lifecycle Practices > > > Agile & Plan-Driven Development * Managing > > Projects & Teams * Testing & QA > > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing > Projects > > & Teams * Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > ___________________________________________________________________________ > > Appel audio GRATUIT partout dans le monde avec le > nouveau Yahoo! Messenger > Téléchargez cette version sur > http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |
From: Steven Yi <ste...@gm...> - 2005-09-13 00:20:39
|
Hi Stephane, If you are able to print to stdout with Common Music, then I think this would be the easiest solution. Otherwise, there is a feature with the external soundObject to use $outfile, but your script then would have to take in a filename ($outfile) from the commandline as an argument, then write your score to that $outfile. When Common Music finishes up processing, blue will go and open the $outfile and read in the generated score. This was added to work with closed-source programs like CMask which have no option to generate to stdout, only to file. (There is more information about this in the manual entry for the External SoundObject.) Hope that helps, and please feel free to ask any questions! steven On 9/12/05, stephane boussuge <s_b...@ya...> wrote: > hi Steven > in my last mail i said i can make a file who write a > sco on disk but i miss to precise this file must be > something like myfile.lisp and contain something like > : > (load "/home/stf/bin/cm-2.6.0/src/cm.lisp") >=20 > if we write in terminal something like: > clisp myfile.lisp > clisp execute myfile.lisp, load cm and write sco on > disk. >=20 > for blue what is the solution ? > clisp $infile ok but for reimport in blue ? > may be clisp have a stdout capability ? > i don't know because i'm a beginner both in clisp and > common music. >=20 > cheers > stf >=20 > --- stephane boussuge <s_b...@ya...> a =E9crit : >=20 > > hi steven > > thank you for your answer. > > i know actually how to make a file who write a sco > > on > > a file on disk but i don't know how to reimport them > > in blue. > > could you give me an exemple for a python script and > > i > > will inspire from for make the same with common > > music. > > > > cheers > > stf > > > > --- Steven Yi <ste...@gm...> a =E9crit : > > > > > Hi Stephane, > > > > > > Sorry this is very late to reply. I don't know > > what > > > would be the way > > > to do it myself, and would like to know as well! > > I > > > know it's been > > > mentioned here before but I do not remember what > > > came of it. Perhaps > > > it is worth asking on the common music mailing > > list > > > on how to set up a > > > file so that it could be called from the > > commandline > > > and print out the > > > results or write them to disk, as that would be > > what > > > is required for > > > blue to capture the output. > > > > > > steven > > > > > > > > > On 9/8/05, stephane boussuge <s_b...@ya...> > > > wrote: > > > > hi list > > > > could you give me some example(s) of command > > line > > > for > > > > use common music in blue with external. > > > > thanks > > > > stf > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > > > Appel audio GRATUIT partout dans le monde avec > > le > > > nouveau Yahoo! Messenger > > > > T=E9l=E9chargez cette version sur > > > http://fr.messenger.yahoo.com > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software > > > Conference & EXPO > > > > September 19-22, 2005 * San Francisco, CA * > > > Development Lifecycle Practices > > > > Agile & Plan-Driven Development * Managing > > > Projects & Teams * Testing & QA > > > > Security * Process Improvement & Measurement * > > > http://www.sqe.com/bsce5sf > > > > _______________________________________________ > > > > Bluemusic-users mailing list > > > > Blu...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software > > > Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * > > > Development Lifecycle Practices > > > Agile & Plan-Driven Development * Managing > > Projects > > > & Teams * Testing & QA > > > Security * Process Improvement & Measurement * > > > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > > > Appel audio GRATUIT partout dans le monde avec le > > nouveau Yahoo! Messenger > > T=E9l=E9chargez cette version sur > > http://fr.messenger.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects > > & Teams * Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > >=20 >=20 >=20 >=20 >=20 >=20 >=20 > _________________________________________________________________________= __ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenge= r > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic= es > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Ben M. <be...@gm...> - 2005-09-26 20:30:40
|
Hi there Stephane and Steven - Writing and recording busily - haven't been active on any lists, blogs, or forums in awhile, but this one caught my eye: I had this problem, and wrote a little lisp function to write the score generated by Stella to stdout. As you can see 1) I'm not a very elegant LIS= P programmer - I'm sure there are more graceful ways of handling this ;) 2) basically, I write the sco to a temp file, then dump the file to stdout using the print-stream function. Hope that helps: The code follows: (in-package :stella) (defparameter *christmasball.wav_total_length* 24.96) (defparameter *totaldur* 0) (defparameter i 0) (defparameter du 0) (defparameter idx 0) (defparameter idxdur 0) (defparameter *buflen* 4096) ; (defobject soundin_indx (csound-note) ((instr :initform "i") inst mytime dur amp pitch pan dist pct indx origdur) (:parameters instr inst mytime dur amp pitch pan dist pct indx origdur)) (defobject revnote (csound-note) ((name :initform "i99") mystart dur revtime) (:parameters name mystart dur revtime)) (defun strum(st tem pn len) (algorithm nil soundin_indx (start st length len) (setf inst 2) (setf mytime time) (setf idxdur '((.808 e) (1.246 e) (1.731 e)(2.170 e) (2.586 e) (3.024 e) ( 3.509 e) (3.902 e) (4.410 e) (4.918 e) (5.403 q) (6.234 e) (6.765 e) (7.204 q) (8.081 q) (8.936 e) (9.444 e) (9.85= 9e) ( 10.344 e) (10.76 e) (11.198 e) (11.637 e) (12.122 e) (12.561 e) (13.161 e) (13.6 e) (14.039 e) (14.547 e) = ( 15.078 e) (15.563 e) (16.071 e) (16.625 e) (17.156 e) (17.641 e) (18.149 e) (18.657 e) (19.095 e) (19.65 e) (20.134 e) (20.666 e) (21.150 e) (21.682 e) (22.190 e) (22.651 h))); 44 items, for 'christmas_ball.wav (setf i (item (items (chord (items 0 1 2 3 4 )) (chord (items 5 6 7 8 9 )) (chord (items 10 11 12 13 14)) (chord (items 15 16 17 18 19)) (chord (items 20 21 22 23 24 )) (chord (items 25 26 27 28 29)) (chord (items 30 31 32 33)) (chord (items 34 35 36 )) (chord (items 37 38 )) 39 40 41 42 43) ; (items 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2= 5 26 27 28 29 30 31 32 33 34 35 36 37 ; 38 39 40 41 42 43 ) )) ;index into paired stream (setf idx (nth i idxdur)) ;pick i'th pair out of idxdur (setf indx (nth 0 idx)) ;set idx to 1st element ;(setf rhythm (rhythm (nth 1 idx) tem)) ; ; improvement in the loop index method - ; makes sure there is a distinction between duration in orig sample and ; replayed duration. ; You will hear articulations from the following note if the duration of a given fragment is too long ; It follows that for fast tempi, orig dur is ok for replayed duration if using soundin, diskin, ; but for slow tempi you must take care to smooth the end of each fragment. ; (if (< i 43) (setf origdur ( - (nth 0 (nth (+ i 1) idxdur)) indx )) ;if last element, subtract indx point from total length of file (setf origdur (- *christmasball.wav_total_length* indx)) ;set dur to 2nd element ) (setf rhythm (item (items (rhythms w+w+w ) ) ) ) (setf dur rhythm) ; (setf pitch (item (items (pitches [a4 a4 a4 a4 a4] [a4 a4 a4 a4 a4] [a4 a= 4 a4 a4 a4] [a4 a4 a4 a4 a4] [a4 a4 a4 a4 a4] [a4 a4 a4 a4 a4] [a4 a4 a4 a4] [a4 a4 a4] [a4 a4] a4 a4 a4 a4 a4 in sequence)))) (setf pitch 1) (setf amp .8) (setf pan (item (items (items (items 0 for 5) (items 15 for 5) (items 25 for 5) (items 35 for 5) (items 45 for 5) (items 55 for 5) in heap) 55 55 55 55 65 65 65 75 75 45 55 65 75 90 ) ) ) (setf dist 2) (setf pct .075) (setf *totaldur* (max (+ mytime dur) *totaldur*)) )) (defun mrn (&key (revtime 5.)) (algorithm nil revnote (start 10000 length 1 revtime revtime rhythm 0) (setf mystart 0) (setf dur (+ revtime *totaldur* 5)) )) (defun print-stream (filename) (let ((buffer (make-array *buflen* ))) (with-open-file (f filename :direction :input :if-does-not-exist :error ) (do ((j 0))((=3D j (file-length f))) (setf myline (read-line f t "eofeof")) (if (string-equal myline "eofeof")(return)) (princ myline) (write-char #\Newline) (setf j (+ j )) ) )) ) (defun ms (&key (start-time 1.)(my-scorefile "strum.sco")) (let* ((myheader (header "" ))) (fheader my-scorefile myheader) (merge all () (strum 0 10 90 14) (mrn) ) (setf mystream (make-string-output-stream)) (open-cmd my-scorefile) (mix-cmd "all 0 play nil") )) (ms) (print-stream "strum.sco") On 9/12/05, Steven Yi <ste...@gm...> wrote: > > Hi Stephane, > > If you are able to print to stdout with Common Music, then I think > this would be the easiest solution. Otherwise, there is a feature > with the external soundObject to use $outfile, but your script then > would have to take in a filename ($outfile) from the commandline as an > argument, then write your score to that $outfile. When Common Music > finishes up processing, blue will go and open the $outfile and read in > the generated score. This was added to work with closed-source > programs like CMask which have no option to generate to stdout, only > to file. (There is more information about this in the manual entry > for the External SoundObject.) > > Hope that helps, and please feel free to ask any questions! > steven > > > On 9/12/05, stephane boussuge <s_b...@ya...> wrote: > > hi Steven > > in my last mail i said i can make a file who write a > > sco on disk but i miss to precise this file must be > > something like myfile.lisp and contain something like > > : > > (load "/home/stf/bin/cm-2.6.0/src/cm.lisp") > > > > if we write in terminal something like: > > clisp myfile.lisp > > clisp execute myfile.lisp, load cm and write sco on > > disk. > > > > for blue what is the solution ? > > clisp $infile ok but for reimport in blue ? > > may be clisp have a stdout capability ? > > i don't know because i'm a beginner both in clisp and > > common music. > > > > cheers > > stf > > > > --- stephane boussuge <s_b...@ya...> a =E9crit : > > > > > hi steven > > > thank you for your answer. > > > i know actually how to make a file who write a sco > > > on > > > a file on disk but i don't know how to reimport them > > > in blue. > > > could you give me an exemple for a python script and > > > i > > > will inspire from for make the same with common > > > music. > > > > > > cheers > > > stf > > > > > > --- Steven Yi <ste...@gm...> a =E9crit : > > > > > > > Hi Stephane, > > > > > > > > Sorry this is very late to reply. I don't know > > > what > > > > would be the way > > > > to do it myself, and would like to know as well! > > > I > > > > know it's been > > > > mentioned here before but I do not remember what > > > > came of it. Perhaps > > > > it is worth asking on the common music mailing > > > list > > > > on how to set up a > > > > file so that it could be called from the > > > commandline > > > > and print out the > > > > results or write them to disk, as that would be > > > what > > > > is required for > > > > blue to capture the output. > > > > > > > > steven > > > > > > > > > > > > On 9/8/05, stephane boussuge <s_b...@ya...> > > > > wrote: > > > > > hi list > > > > > could you give me some example(s) of command > > > line > > > > for > > > > > use common music in blue with external. > > > > > thanks > > > > > stf > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > > > > Appel audio GRATUIT partout dans le monde avec > > > le > > > > nouveau Yahoo! Messenger > > > > > T=E9l=E9chargez cette version sur > > > > http://fr.messenger.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is Sponsored by the Better Software > > > > Conference & EXPO > > > > > September 19-22, 2005 * San Francisco, CA * > > > > Development Lifecycle Practices > > > > > Agile & Plan-Driven Development * Managing > > > > Projects & Teams * Testing & QA > > > > > Security * Process Improvement & Measurement * > > > > http://www.sqe.com/bsce5sf > > > > > _______________________________________________ > > > > > Bluemusic-users mailing list > > > > > Blu...@li... > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software > > > > Conference & EXPO > > > > September 19-22, 2005 * San Francisco, CA * > > > > Development Lifecycle Practices > > > > Agile & Plan-Driven Development * Managing > > > Projects > > > > & Teams * Testing & QA > > > > Security * Process Improvement & Measurement * > > > > http://www.sqe.com/bsce5sf > > > > _______________________________________________ > > > > Bluemusic-users mailing list > > > > Blu...@li... > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > > > > > Appel audio GRATUIT partout dans le monde avec le > > > nouveau Yahoo! Messenger > > > T=E9l=E9chargez cette version sur > > > http://fr.messenger.yahoo.com > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software > > > Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * > > > Development Lifecycle Practices > > > Agile & Plan-Driven Development * Managing Projects > > > & Teams * Testing & QA > > > Security * Process Improvement & Measurement * > > > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! > Messenger > > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & > QA > > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Ben M. <be...@gm...> - 2005-09-26 20:31:31
|
T29vcH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FByb2plY3RzICYgVGVhbXMgKiBUZXN0aW5nICYKPiA+ IFFBCj4gPiBTZWN1cml0eSAqIFByb2Nlc3MgSW1wcm92ZW1lbnQgJiBNZWFzdXJlbWVudCAqCj4g PiBodHRwOi8vd3d3LnNxZS5jb20vYnNjZTVzZgo+ID4gX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18KPiA+IEJsdWVtdXNpYy11c2VycyBtYWlsaW5nIGxpc3QK PiA+IEJsdWVtdXNpYy11c2Vyc0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQKPiA+IGh0dHBzOi8vbGlz dHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL2JsdWVtdXNpYy11c2Vycwo+ID4KPgo+ Cg== |
From: Steven Yi <ste...@gm...> - 2005-09-27 06:28:58
|
Hi Ben, Thanks very much for posting the example! I'll be giving it a whirl as soon as I can. It'd be great to have a simple example .blue file to include with blue so that in the future other users who might be interested in using CM and blue can have something to look at. I'm going to aim to put together something, but my experience with CM is pretty minimal so any help in that would be very much appreciated! steven On 9/26/05, Ben McAllister <be...@gm...> wrote: > Ooops - apologies for being soooo verbose - I meant to only post the rele= vant parts of that file. I guess more info is better than less ;) > b > > |
From: stephane b. <s_b...@ya...> - 2005-09-27 18:46:51
|
hi Ben thank you very much for your help. i 'll try some test based on this example. Thank to Steven who interest to this development for blue. common music is a great tool ! bye stf Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://mail.yahoo.fr |
From: Ben M. <be...@gm...> - 2005-09-27 18:46:01
|
I will cobble together an example for you. While we're on the subject, I am still using blue for most of my csound work, and the external object editor doesn't have any undo capability. Any chance that's an easy fix? As always, keep up the good work.. b On 9/26/05, Steven Yi <ste...@gm...> wrote: > > Hi Ben, > > Thanks very much for posting the example! I'll be giving it a whirl > as soon as I can. It'd be great to have a simple example .blue file > to include with blue so that in the future other users who might be > interested in using CM and blue can have something to look at. I'm > going to aim to put together something, but my experience with CM is > pretty minimal so any help in that would be very much appreciated! > > steven > > > On 9/26/05, Ben McAllister <be...@gm...> wrote: > > Ooops - apologies for being soooo verbose - I meant to only post the > relevant parts of that file. I guess more info is better than less ;) > > b > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your ver= y > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Steven Yi <ste...@gm...> - 2005-09-27 20:40:16
|
Hi Ben, Thanks for offering to put an example together! As for undo, it didn't take but a few minutes as the code for the ExternalEditor is very similar to the one for the GenericEditor. As is the case with undo's around blue, it'll be there while the editor is still focused, and once you select another soundObject or simply defocus the editor, the undo buffer is going to clear. So, good for if you just made a mistake or are editing and testing, editing and testing the same soundObject. Also added a ctrl-T shortcut as is found in the GenericEditor. The change is in CVS now so if you have access to that it's there. If not, I can push out a release for you. Though, I think I'm about to make a soundObject that is like the blueSynthBuilder but instead you could used either pythonCode or maybe external code. That way you could make your own UI's for score generators, either for those written in python or say for your CM scripts. That really shouldn't take too long as the BSB code is pretty modularized and easy to drop in, so maybe a couple days to build I think. Also, I'm not sure why I used ctrl-shift-z for redo but just now I found it rather awkward. Any objections on changing it to ctrl-y? steven On 9/27/05, Ben McAllister <be...@gm...> wrote: > I will cobble together an example for you. > > While we're on the subject, I am still using blue for most of my csound > work, and the external object editor doesn't have any undo capability. A= ny > chance that's an easy fix? As always, keep up the good work.. > > b > > > On 9/26/05, Steven Yi <ste...@gm...> wrote: > > > > Hi Ben, > > > > Thanks very much for posting the example! I'll be giving it a whirl > > as soon as I can. It'd be great to have a simple example .blue file > > to include with blue so that in the future other users who might be > > interested in using CM and blue can have something to look at. I'm > > going to aim to put together something, but my experience with CM is > > pretty minimal so any help in that would be very much appreciated! > > > > steven > > > > > > On 9/26/05, Ben McAllister <be...@gm...> wrote: > > > Ooops - apologies for being soooo verbose - I meant to only post the > relevant parts of that file. I guess more info is better than less ;) > > > b > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download it for free - -and be entered to win a 42" plasma tv or your v= ery > > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > |
From: Ben M. <be...@gm...> - 2005-09-30 01:31:08
|
Thanks - I remember last time I asked you were revamping the code base, so I'm glad I asked again. One of these days I will find the time to contribute.. I have cvs access, so I can grab it. Thanks. I'm getting the following when I try to build - maybe you can point me to the correct versions of jdk and ant: Exception in thread "main" java.lang.UnsupportedClassVersionError: blue/Blu= e (Un supported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) This usually indicates a mismatch of some binary and jdk, I thought, but it looks like some checked into cvs are specific to 1.4.2_xx? I will check thi= s out more tomorrow. Btw - I'm running 1.4.2_08, and ant 1.6.1 Thanks - b On 9/27/05, Steven Yi <ste...@gm...> wrote: > > Hi Ben, > > Thanks for offering to put an example together! > > As for undo, it didn't take but a few minutes as the code for the > ExternalEditor is very similar to the one for the GenericEditor. As > is the case with undo's around blue, it'll be there while the editor > is still focused, and once you select another soundObject or simply > defocus the editor, the undo buffer is going to clear. So, good for > if you just made a mistake or are editing and testing, editing and > testing the same soundObject. Also added a ctrl-T shortcut as is > found in the GenericEditor. > > The change is in CVS now so if you have access to that it's there. If > not, I can push out a release for you. Though, I think I'm about to > make a soundObject that is like the blueSynthBuilder but instead you > could used either pythonCode or maybe external code. That way you > could make your own UI's for score generators, either for those > written in python or say for your CM scripts. That really shouldn't > take too long as the BSB code is pretty modularized and easy to drop > in, so maybe a couple days to build I think. > > Also, I'm not sure why I used ctrl-shift-z for redo but just now I > found it rather awkward. Any objections on changing it to ctrl-y? > > steven > > > On 9/27/05, Ben McAllister <be...@gm...> wrote: > > I will cobble together an example for you. > > > > While we're on the subject, I am still using blue for most of my csound > > work, and the external object editor doesn't have any undo capability. > Any > > chance that's an easy fix? As always, keep up the good work.. > > > > b > > > > > > On 9/26/05, Steven Yi <ste...@gm...> wrote: > > > > > > Hi Ben, > > > > > > Thanks very much for posting the example! I'll be giving it a whirl > > > as soon as I can. It'd be great to have a simple example .blue file > > > to include with blue so that in the future other users who might be > > > interested in using CM and blue can have something to look at. I'm > > > going to aim to put together something, but my experience with CM is > > > pretty minimal so any help in that would be very much appreciated! > > > > > > steven > > > > > > > > > On 9/26/05, Ben McAllister <be...@gm...> wrote: > > > > Ooops - apologies for being soooo verbose - I meant to only post th= e > > relevant parts of that file. I guess more info is better than less ;) > > > > b > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > > Download it for free - -and be entered to win a 42" plasma tv or your > very > > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Ben M. <be...@gm...> - 2005-09-30 01:33:45
|
Correction: " This usually indicates a mismatch of some binary and jdk, I thought, but it looks like some BINARIES :) checked into cvs are specific to 1.4.2_xx? I will check this out more tomorrow." Here's the output under the latest 1.5 release from Sun: compile: [javac] Compiling 484 source files to E:\Csound\bluelatest\blue\target\clas= s es [javac] E:\Csound\bluelatest\blue\src\main\java\Silence\XMLSerializer.java:= 2 : cannot access java.io.BufferedReader [javac] bad class file: C:\Program Files\Java\jdk1.5.0_05\jre\lib\rt.jar(ja= v a/io/BufferedReader.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory o= f the classpath. [javac] import java.io.BufferedReader; [javac] ^ [javac] 1 error I haven't screwed with 1.5 much, so maybe this is something obvious to you all... Anyways, I'll check into it more tomorrow. b On 9/29/05, Ben McAllister <be...@gm...> wrote: > > Thanks - I remember last time I asked you were revamping the code base, s= o > I'm glad I asked again. One of these days I will find the time to > contribute.. > > I have cvs access, so I can grab it. Thanks. I'm getting the following > when I try to build - maybe you can point me to the correct versions of j= dk > and ant: > Exception in thread "main" java.lang.UnsupportedClassVersionError: > blue/Blue (Un > supported major.minor version 48.0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(Unknown Source) > at java.security.SecureClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.access$100(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > This usually indicates a mismatch of some binary and jdk, I thought, but > it looks like some checked into cvs are specific to 1.4.2_xx? I will chec= k > this out more tomorrow. > > Btw - I'm running 1.4.2_08, and ant 1.6.1 > > Thanks - b > > > > On 9/27/05, Steven Yi <ste...@gm...> wrote: > > > > Hi Ben, > > > > Thanks for offering to put an example together! > > > > As for undo, it didn't take but a few minutes as the code for the > > ExternalEditor is very similar to the one for the GenericEditor. As > > is the case with undo's around blue, it'll be there while the editor > > is still focused, and once you select another soundObject or simply > > defocus the editor, the undo buffer is going to clear. So, good for > > if you just made a mistake or are editing and testing, editing and > > testing the same soundObject. Also added a ctrl-T shortcut as is > > found in the GenericEditor. > > > > The change is in CVS now so if you have access to that it's there. If > > not, I can push out a release for you. Though, I think I'm about to > > make a soundObject that is like the blueSynthBuilder but instead you > > could used either pythonCode or maybe external code. That way you > > could make your own UI's for score generators, either for those > > written in python or say for your CM scripts. That really shouldn't > > take too long as the BSB code is pretty modularized and easy to drop > > in, so maybe a couple days to build I think. > > > > Also, I'm not sure why I used ctrl-shift-z for redo but just now I > > found it rather awkward. Any objections on changing it to ctrl-y? > > > > steven > > > > > > On 9/27/05, Ben McAllister < be...@gm...> wrote: > > > I will cobble together an example for you. > > > > > > While we're on the subject, I am still using blue for most of my > > csound > > > work, and the external object editor doesn't have any undo capability= . > > Any > > > chance that's an easy fix? As always, keep up the good work.. > > > > > > b > > > > > > > > > On 9/26/05, Steven Yi <ste...@gm...> wrote: > > > > > > > > Hi Ben, > > > > > > > > Thanks very much for posting the example! I'll be giving it a whirl > > > > as soon as I can. It'd be great to have a simple example .blue file > > > > to include with blue so that in the future other users who might be > > > > interested in using CM and blue can have something to look at. I'm > > > > going to aim to put together something, but my experience with CM i= s > > > > pretty minimal so any help in that would be very much appreciated! > > > > > > > > steven > > > > > > > > > > > > On 9/26/05, Ben McAllister <be...@gm...> wrote: > > > > > Ooops - apologies for being soooo verbose - I meant to only post > > the > > > relevant parts of that file. I guess more info is better than less ;) > > > > > b > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: > > > > Tame your development challenges with Apache's Geronimo App Server. > > > > Download it for free - -and be entered to win a 42" plasma tv or > > your very > > > > own Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > > _______________________________________________ > > > > Bluemusic-users mailing list > > > > Blu...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > |
From: Steven Yi <ste...@gm...> - 2005-09-30 04:24:26
|
Hi Ben, This seems like a weird setup issue. My guess is you have the java 1.4 javac compiler in your PATH, but you have JAVA_HOME set to the 1.5 JDK home, such that it is compiling with 1.4 compiler but using 1.5 system library. Could you check that to see if that is the case? steven On 9/29/05, Ben McAllister <be...@gm...> wrote: > Correction: > > " This usually indicates a mismatch of some binary and jdk, I thought, b= ut > it looks like some BINARIES :) checked into cvs are specific to 1.4.2_xx?= I > will check this out more tomorrow." > > Here's the output under the latest 1.5 release from Sun: > > compile: > [javac] Compiling 484 source files to > E:\Csound\bluelatest\blue\target\class > es > [javac] > E:\Csound\bluelatest\blue\src\main\java\Silence\XMLSerializer.java:2 > : cannot access java.io.BufferedReader > [javac] bad class file: C:\Program > Files\Java\jdk1.5.0_05\jre\lib\rt.jar(jav > a/io/BufferedReader.class) > [javac] class file has wrong version 49.0, should be 48.0 > [javac] Please remove or make sure it appears in the correct > subdirectory of > the classpath. > [javac] import java.io.BufferedReader; > [javac] ^ > [javac] 1 error > > > I haven't screwed with 1.5 much, so maybe this is something obvious to y= ou > all... Anyways, I'll check into it more tomorrow. > b > > On 9/29/05, Ben McAllister <be...@gm...> wrote: > > Thanks - I remember last time I asked you were revamping the code base,= so > I'm glad I asked again. One of these days I will find the time to > contribute.. > > > > I have cvs access, so I can grab it. Thanks. I'm getting the following > when I try to build - maybe you can point me to the correct versions of j= dk > and ant: > > Exception in thread "main" > java.lang.UnsupportedClassVersionError: blue/Blue (Un > > supported major.minor version 48.0) > > at java.lang.ClassLoader.defineClass0(Native > Method) > > at java.lang.ClassLoader.defineClass(Unknown > Source) > > at > java.security.SecureClassLoader.defineClass(Unknown Source) > > at java.net.URLClassLoader.defineClass(Unknown > Source) > > at java.net.URLClassLoader.access$100(Unknown > Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at > java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown > Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at > sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at > java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > > > > This usually indicates a mismatch of some binary and jdk, I thought, bu= t > it looks like some checked into cvs are specific to 1.4.2_xx? I will che= ck > this out more tomorrow. > > > > Btw - I'm running 1.4.2_08, and ant 1.6.1 > > > > Thanks - b > > > > > > > > > > > > On 9/27/05, Steven Yi <ste...@gm... > wrote: > > > Hi Ben, > > > > > > Thanks for offering to put an example together! > > > > > > As for undo, it didn't take but a few minutes as the code for the > > > ExternalEditor is very similar to the one for the GenericEditor. As > > > is the case with undo's around blue, it'll be there while the editor > > > is still focused, and once you select another soundObject or simply > > > defocus the editor, the undo buffer is going to clear. So, good for > > > if you just made a mistake or are editing and testing, editing and > > > testing the same soundObject. Also added a ctrl-T shortcut as is > > > found in the GenericEditor. > > > > > > The change is in CVS now so if you have access to that it's there. I= f > > > not, I can push out a release for you. Though, I think I'm about to > > > make a soundObject that is like the blueSynthBuilder but instead you > > > could used either pythonCode or maybe external code. That way you > > > could make your own UI's for score generators, either for those > > > written in python or say for your CM scripts. That really shouldn't > > > take too long as the BSB code is pretty modularized and easy to drop > > > in, so maybe a couple days to build I think. > > > > > > Also, I'm not sure why I used ctrl-shift-z for redo but just now I > > > found it rather awkward. Any objections on changing it to ctrl-y? > > > > > > steven > > > > > > > > > On 9/27/05, Ben McAllister < be...@gm...> wrote: > > > > I will cobble together an example for you. > > > > > > > > While we're on the subject, I am still using blue for most of my > csound > > > > work, and the external object editor doesn't have any undo capabili= ty. > Any > > > > chance that's an easy fix? As always, keep up the good work.. > > > > > > > > b > > > > > > > > > > > > On 9/26/05, Steven Yi < ste...@gm...> wrote: > > > > > > > > > > Hi Ben, > > > > > > > > > > Thanks very much for posting the example! I'll be giving it a wh= irl > > > > > as soon as I can. It'd be great to have a simple example .blue f= ile > > > > > to include with blue so that in the future other users who might = be > > > > > interested in using CM and blue can have something to look at. I= 'm > > > > > going to aim to put together something, but my experience with CM= is > > > > > pretty minimal so any help in that would be very much appreciated= ! > > > > > > > > > > steven > > > > > > > > > > > > > > > On 9/26/05, Ben McAllister <be...@gm... > wrote: > > > > > > Ooops - apologies for being soooo verbose - I meant to only pos= t > the > > > > relevant parts of that file. I guess more info is better than less= ;) > > > > > > b > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is sponsored by: > > > > > Tame your development challenges with Apache's Geronimo App Serve= r. > > > > > Download it for free - -and be entered to win a 42" plasma tv or > your very > > > > > own Sony(tm)PSP. Click here to play: > > > > http://sourceforge.net/geronimo.php > > > > > _______________________________________________ > > > > > Bluemusic-users mailing list > > > > > Blu...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, > discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > |
From: Ben M. <be...@gm...> - 2005-10-02 17:11:57
|
Actually, I got the issue before even installing the 1.5 sdk, and repro'd i= t after uninstalling 1.5. I have weblogic and Oracle on my work machine (whic= h I'm doing this stuff with ;), which could contrib to the issue. I'll try it on my laptop at home, which is relatively bare bones and dedicated to music, and get back to you. b On 9/29/05, Steven Yi <ste...@gm...> wrote: > > Hi Ben, > > This seems like a weird setup issue. My guess is you have the java > 1.4 javac compiler in your PATH, but you have JAVA_HOME set to the 1.5 > JDK home, such that it is compiling with 1.4 compiler but using 1.5 > system library. Could you check that to see if that is the case? > > steven > > > On 9/29/05, Ben McAllister <be...@gm...> wrote: > > Correction: > > > > " This usually indicates a mismatch of some binary and jdk, I thought, > but > > it looks like some BINARIES :) checked into cvs are specific to > 1.4.2_xx? I > > will check this out more tomorrow." > > > > Here's the output under the latest 1.5 release from Sun: > > > > compile: > > [javac] Compiling 484 source files to > > E:\Csound\bluelatest\blue\target\class > > es > > [javac] > > E:\Csound\bluelatest\blue\src\main\java\Silence\XMLSerializer.java:2 > > : cannot access java.io.BufferedReader > > [javac] bad class file: C:\Program > > Files\Java\jdk1.5.0_05\jre\lib\rt.jar(jav > > a/io/BufferedReader.class) > > [javac] class file has wrong version 49.0, should be 48.0 > > [javac] Please remove or make sure it appears in the correct > > subdirectory of > > the classpath. > > [javac] import java.io.BufferedReader; > > [javac] ^ > > [javac] 1 error > > > > > > I haven't screwed with 1.5 much, so maybe this is something obvious to > you > > all... Anyways, I'll check into it more tomorrow. > > b > > > > On 9/29/05, Ben McAllister <be...@gm...> wrote: > > > Thanks - I remember last time I asked you were revamping the code > base, so > > I'm glad I asked again. One of these days I will find the time to > > contribute.. > > > > > > I have cvs access, so I can grab it. Thanks. I'm getting the followin= g > > when I try to build - maybe you can point me to the correct versions of > jdk > > and ant: > > > Exception in thread "main" > > java.lang.UnsupportedClassVersionError: blue/Blue (Un > > > supported major.minor version 48.0) > > > at java.lang.ClassLoader.defineClass0(Native > > Method) > > > at java.lang.ClassLoader.defineClass(Unknown > > Source) > > > at > > java.security.SecureClassLoader.defineClass(Unknown Source) > > > at java.net.URLClassLoader.defineClass(Unknown > > Source) > > > at java.net.URLClassLoader.access$100(Unknown > > Source) > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > at > > java.security.AccessController.doPrivileged(Native Method) > > > at java.net.URLClassLoader.findClass(Unknown > > Source) > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > at > > sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > at > > java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > > > > > > > This usually indicates a mismatch of some binary and jdk, I thought, > but > > it looks like some checked into cvs are specific to 1.4.2_xx? I will > check > > this out more tomorrow. > > > > > > Btw - I'm running 1.4.2_08, and ant 1.6.1 > > > > > > Thanks - b > > > > > > > > > > > > > > > > > > On 9/27/05, Steven Yi <ste...@gm... > wrote: > > > > Hi Ben, > > > > > > > > Thanks for offering to put an example together! > > > > > > > > As for undo, it didn't take but a few minutes as the code for the > > > > ExternalEditor is very similar to the one for the GenericEditor. As > > > > is the case with undo's around blue, it'll be there while the edito= r > > > > is still focused, and once you select another soundObject or simply > > > > defocus the editor, the undo buffer is going to clear. So, good for > > > > if you just made a mistake or are editing and testing, editing and > > > > testing the same soundObject. Also added a ctrl-T shortcut as is > > > > found in the GenericEditor. > > > > > > > > The change is in CVS now so if you have access to that it's there. > If > > > > not, I can push out a release for you. Though, I think I'm about to > > > > make a soundObject that is like the blueSynthBuilder but instead yo= u > > > > could used either pythonCode or maybe external code. That way you > > > > could make your own UI's for score generators, either for those > > > > written in python or say for your CM scripts. That really shouldn't > > > > take too long as the BSB code is pretty modularized and easy to dro= p > > > > in, so maybe a couple days to build I think. > > > > > > > > Also, I'm not sure why I used ctrl-shift-z for redo but just now I > > > > found it rather awkward. Any objections on changing it to ctrl-y? > > > > > > > > steven > > > > > > > > > > > > On 9/27/05, Ben McAllister < be...@gm...> wrote: > > > > > I will cobble together an example for you. > > > > > > > > > > While we're on the subject, I am still using blue for most of my > > csound > > > > > work, and the external object editor doesn't have any undo > capability. > > Any > > > > > chance that's an easy fix? As always, keep up the good work.. > > > > > > > > > > b > > > > > > > > > > > > > > > On 9/26/05, Steven Yi < ste...@gm...> wrote: > > > > > > > > > > > > Hi Ben, > > > > > > > > > > > > Thanks very much for posting the example! I'll be giving it a > whirl > > > > > > as soon as I can. It'd be great to have a simple example .blue > file > > > > > > to include with blue so that in the future other users who migh= t > be > > > > > > interested in using CM and blue can have something to look at. > I'm > > > > > > going to aim to put together something, but my experience with > CM is > > > > > > pretty minimal so any help in that would be very much > appreciated! > > > > > > > > > > > > steven > > > > > > > > > > > > > > > > > > On 9/26/05, Ben McAllister <be...@gm... > wrote: > > > > > > > Ooops - apologies for being soooo verbose - I meant to only > post > > the > > > > > relevant parts of that file. I guess more info is better than les= s > ;) > > > > > > > b > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > SF.Net email is sponsored by: > > > > > > Tame your development challenges with Apache's Geronimo App > Server. > > > > > > Download it for free - -and be entered to win a 42" plasma tv o= r > > your very > > > > > > own Sony(tm)PSP. Click here to play: > > > > > http://sourceforge.net/geronimo.php > > > > > > _______________________________________________ > > > > > > Bluemusic-users mailing list > > > > > > Blu...@li... > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > _______________________________________________ > > > > Bluemusic-users mailing list > > > > Blu...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Steven Yi <ste...@gm...> - 2005-10-03 02:38:03
|
Hi Ben, Glad things are working on your laptop! I was eager to try this example out here at home but I realized common music doesn't seem to be compiled for Fedora Core 4 in the Planet CCRMA repository, so I'll probably just wait until I get to work tomorrow to give it a try. Would it be alright with you if I rename the example file external_commonMusic.blue and add it to the examples that come with blue so that in the future users will be have access to it to try? Thanks again for putting this together! steven p.s. - Looking forward to hearing your new work you've been busy with! =3D) On 10/1/05, Ben McAllister <be...@gm...> wrote: > OK - things work fine on my laptop. There are many different JREs on my > work machine, so I'm not too surprised that didn't work at work.. Attach= ed > you'll find a little example I cobbled together. Feel free to modify it = - > it's pretty darn basic. > > Thanks - b > > > On 9/30/05, Ben McAllister <be...@gm...> wrote: > > Actually, I got the issue before even installing the 1.5 sdk, and repro= 'd > it after uninstalling 1.5. I have weblogic and Oracle on my work machine > (which I'm doing this stuff with ;), which could contrib to the issue. > > I'll try it on my laptop at home, which is relatively bare bones and > dedicated to music, and get back to you. > > b > > > > > > > > On 9/29/05, Steven Yi < ste...@gm...> wrote: > > > Hi Ben, > > > > > > This seems like a weird setup issue. My guess is you have the java > > > 1.4 javac compiler in your PATH, but you have JAVA_HOME set to the 1.= 5 > > > JDK home, such that it is compiling with 1.4 compiler but using 1.5 > > > system library. Could you check that to see if that is the case? > > > > > > steven > > > > > > > > > On 9/29/05, Ben McAllister < be...@gm...> wrote: > > > > Correction: > > > > > > > > " This usually indicates a mismatch of some binary and jdk, I > thought, but > > > > it looks like some BINARIES :) checked into cvs are specific to > 1.4.2_xx? I > > > > will check this out more tomorrow." > > > > > > > > Here's the output under the latest 1.5 release from Sun: > > > > > > > > compile: > > > > [javac] Compiling 484 source files to > > > > E:\Csound\bluelatest\blue\target\class > > > > es > > > > [javac] > > > > > E:\Csound\bluelatest\blue\src\main\java\Silence\XMLSerializer.java:2 > > > > : cannot access java.io.BufferedReader > > > > [javac] bad class file: C:\Program > > > > Files\Java\jdk1.5.0_05\jre\lib\rt.jar(jav > > > > a/io/BufferedReader.class) > > > > [javac] class file has wrong version 49.0, should be 48.0 > > > > [javac] Please remove or make sure it appears in the correct > > > > subdirectory of > > > > the classpath. > > > > [javac] import java.io.BufferedReader; > > > > [javac] ^ > > > > [javac] 1 error > > > > > > > > > > > > I haven't screwed with 1.5 much, so maybe this is something obviou= s > to you > > > > all... Anyways, I'll check into it more tomorrow. > > > > b > > > > > > > > On 9/29/05, Ben McAllister <be...@gm... > wrote: > > > > > Thanks - I remember last time I asked you were revamping the code > base, so > > > > I'm glad I asked again. One of these days I will find the time to > > > > contribute.. > > > > > > > > > > I have cvs access, so I can grab it. Thanks. I'm getting the > following > > > > when I try to build - maybe you can point me to the correct version= s > of jdk > > > > and ant: > > > > > Exception in thread "main" > > > > java.lang.UnsupportedClassVersionError: blue/Blue (Un > > > > > supported major.minor version 48.0) > > > > > at java.lang.ClassLoader.defineClass0 > (Native > > > > Method) > > > > > at > java.lang.ClassLoader.defineClass(Unknown > > > > Source) > > > > > at > > > > java.security.SecureClassLoader.defineClass(Unknown > Source) > > > > > at > java.net.URLClassLoader.defineClass(Unknown > > > > Source) > > > > > at > java.net.URLClassLoader.access$100(Unknown > > > > Source) > > > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > > > at > > > > java.security.AccessController.doPrivileged(Native > Method) > > > > > at > java.net.URLClassLoader.findClass(Unknown > > > > Source) > > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > > at > > > > sun.misc.Launcher$AppClassLoader.loadClass(Unknown > Source) > > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > > at > > > > java.lang.ClassLoader.loadClassInternal (Unknown > Source) > > > > > > > > > > > > > > > This usually indicates a mismatch of some binary and jdk, I thoug= ht, > but > > > > it looks like some checked into cvs are specific to 1.4.2_xx? I wi= ll > check > > > > this out more tomorrow. > > > > > > > > > > Btw - I'm running 1.4.2_08, and ant 1.6.1 > > > > > > > > > > Thanks - b > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/27/05, Steven Yi < ste...@gm... > wrote: > > > > > > Hi Ben, > > > > > > > > > > > > Thanks for offering to put an example together! > > > > > > > > > > > > As for undo, it didn't take but a few minutes as the code for t= he > > > > > > ExternalEditor is very similar to the one for the GenericEditor= . > As > > > > > > is the case with undo's around blue, it'll be there while the > editor > > > > > > is still focused, and once you select another soundObject or > simply > > > > > > defocus the editor, the undo buffer is going to clear. So, goo= d > for > > > > > > if you just made a mistake or are editing and testing, editing = and > > > > > > testing the same soundObject. Also added a ctrl-T shortcut as = is > > > > > > found in the GenericEditor. > > > > > > > > > > > > The change is in CVS now so if you have access to that it's the= re. > If > > > > > > not, I can push out a release for you. Though, I think I'm abo= ut > to > > > > > > make a soundObject that is like the blueSynthBuilder but instea= d > you > > > > > > could used either pythonCode or maybe external code. That way = you > > > > > > could make your own UI's for score generators, either for those > > > > > > written in python or say for your CM scripts. That really > shouldn't > > > > > > take too long as the BSB code is pretty modularized and easy to > drop > > > > > > in, so maybe a couple days to build I think. > > > > > > > > > > > > Also, I'm not sure why I used ctrl-shift-z for redo but just no= w I > > > > > > found it rather awkward. Any objections on changing it to ctrl= -y? > > > > > > > > > > > > steven > > > > > > > > > > > > > > > > > > On 9/27/05, Ben McAllister < be...@gm...> wrote: > > > > > > > I will cobble together an example for you. > > > > > > > > > > > > > > While we're on the subject, I am still using blue for most o= f > my > > > > csound > > > > > > > work, and the external object editor doesn't have any undo > capability. > > > > Any > > > > > > > chance that's an easy fix? As always, keep up the good work.= . > > > > > > > > > > > > > > b > > > > > > > > > > > > > > > > > > > > > On 9/26/05, Steven Yi < ste...@gm...> wrote: > > > > > > > > > > > > > > > > Hi Ben, > > > > > > > > > > > > > > > > Thanks very much for posting the example! I'll be giving i= t a > whirl > > > > > > > > as soon as I can. It'd be great to have a simple example > .blue file > > > > > > > > to include with blue so that in the future other users who > might be > > > > > > > > interested in using CM and blue can have something to look = at. > I'm > > > > > > > > going to aim to put together something, but my experience w= ith > CM is > > > > > > > > pretty minimal so any help in that would be very much > appreciated! > > > > > > > > > > > > > > > > steven > > > > > > > > > > > > > > > > > > > > > > > > On 9/26/05, Ben McAllister < be...@gm... > wrote: > > > > > > > > > Ooops - apologies for being soooo verbose - I meant to on= ly > post > > > > the > > > > > > > relevant parts of that file. I guess more info is better tha= n > less ;) > > > > > > > > > b > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > SF.Net email is sponsored by: > > > > > > > > Tame your development challenges with Apache's Geronimo App > Server. > > > > > > > > Download it for free - -and be entered to win a 42" plasma = tv > or > > > > your very > > > > > > > > own Sony(tm)PSP. Click here to play: > > > > > > > http://sourceforge.net/geronimo.php > > > > > > > > > _______________________________________________ > > > > > > > > Bluemusic-users mailing list > > > > > > > > Blu...@li... > > > > > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by: > > > > > > Power Architecture Resource Center: Free content, downloads, > > > > discussions, > > > > > > and more. > http://solutions.newsforge.com/ibmarch.tmpl > > > > > > _______________________________________________ > > > > > > Bluemusic-users mailing list > > > > > > Blu...@li... > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, > discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > |
From: Ben M. <be...@gm...> - 2005-10-03 15:53:54
|
Certainly - change whatever you like. Not much going on in that example musically, I thought I should keep it as simple as possible. Hopefully this sparks a little interest in CM. You know what though, this i= s key - I'm NOT using CM 2.0. I'm stuck in 1.x land. Hopefully that's not an issue. AFAIK, 2.0 is NOT backward compatible. Something to keep in mind for the example. I do think the example would aid someone trying to use blue with 2.x, since (print-stream) is just plain old lisp. Thoughts? Thanks -b PS - more music soon :) On 10/2/05, Steven Yi <ste...@gm...> wrote: > > Hi Ben, > > Glad things are working on your laptop! I was eager to try this > example out here at home but I realized common music doesn't seem to > be compiled for Fedora Core 4 in the Planet CCRMA repository, so I'll > probably just wait until I get to work tomorrow to give it a try. > > Would it be alright with you if I rename the example file > external_commonMusic.blue and add it to the examples that come with > blue so that in the future users will be have access to it to try? > > Thanks again for putting this together! > steven > > p.s. - Looking forward to hearing your new work you've been busy with! = =3D) > > On 10/1/05, Ben McAllister <be...@gm...> wrote: > > OK - things work fine on my laptop. There are many different JREs on my > > work machine, so I'm not too surprised that didn't work at work.. > Attached > > you'll find a little example I cobbled together. Feel free to modify it > - > > it's pretty darn basic. > > > > Thanks - b > > > > > > On 9/30/05, Ben McAllister <be...@gm...> wrote: > > > Actually, I got the issue before even installing the 1.5 sdk, and > repro'd > > it after uninstalling 1.5. I have weblogic and Oracle on my work machin= e > > (which I'm doing this stuff with ;), which could contrib to the issue. > > > I'll try it on my laptop at home, which is relatively bare bones and > > dedicated to music, and get back to you. > > > b > > > > > > > > > > > > On 9/29/05, Steven Yi < ste...@gm...> wrote: > > > > Hi Ben, > > > > > > > > This seems like a weird setup issue. My guess is you have the java > > > > 1.4 javac compiler in your PATH, but you have JAVA_HOME set to the > 1.5 > > > > JDK home, such that it is compiling with 1.4 compiler but using 1.5 > > > > system library. Could you check that to see if that is the case? > > > > > > > > steven > > > > > > > > > > > > On 9/29/05, Ben McAllister < be...@gm...> wrote: > > > > > Correction: > > > > > > > > > > " This usually indicates a mismatch of some binary and jdk, I > > thought, but > > > > > it looks like some BINARIES :) checked into cvs are specific to > > 1.4.2_xx? I > > > > > will check this out more tomorrow." > > > > > > > > > > Here's the output under the latest 1.5 release from Sun: > > > > > > > > > > compile: > > > > > [javac] Compiling 484 source files to > > > > > E:\Csound\bluelatest\blue\target\class > > > > > es > > > > > [javac] > > > > > > > E:\Csound\bluelatest\blue\src\main\java\Silence\XMLSerializer.java:2 > > > > > : cannot access java.io.BufferedReader > > > > > [javac] bad class file: C:\Program > > > > > Files\Java\jdk1.5.0_05\jre\lib\rt.jar(jav > > > > > a/io/BufferedReader.class) > > > > > [javac] class file has wrong version 49.0, should be 48.0 > > > > > [javac] Please remove or make sure it appears in the correct > > > > > subdirectory of > > > > > the classpath. > > > > > [javac] import java.io.BufferedReader; > > > > > [javac] ^ > > > > > [javac] 1 error > > > > > > > > > > > > > > > I haven't screwed with 1.5 much, so maybe this is something > obvious > > to you > > > > > all... Anyways, I'll check into it more tomorrow. > > > > > b > > > > > > > > > > On 9/29/05, Ben McAllister <be...@gm... > wrote: > > > > > > Thanks - I remember last time I asked you were revamping the > code > > base, so > > > > > I'm glad I asked again. One of these days I will find the time to > > > > > contribute.. > > > > > > > > > > > > I have cvs access, so I can grab it. Thanks. I'm getting the > > following > > > > > when I try to build - maybe you can point me to the correct > versions > > of jdk > > > > > and ant: > > > > > > Exception in thread "main" > > > > > java.lang.UnsupportedClassVersionError: blue/Blue (Un > > > > > > supported major.minor version 48.0) > > > > > > at java.lang.ClassLoader.defineClass0 > > (Native > > > > > Method) > > > > > > at > > java.lang.ClassLoader.defineClass(Unknown > > > > > Source) > > > > > > at > > > > > java.security.SecureClassLoader.defineClass(Unknown > > Source) > > > > > > at > > java.net.URLClassLoader.defineClass(Unknown > > > > > Source) > > > > > > at > > java.net.URLClassLoader.access$100(Unknown > > > > > Source) > > > > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > > > > at > > > > > java.security.AccessController.doPrivileged(Native > > Method) > > > > > > at > > java.net.URLClassLoader.findClass(Unknown > > > > > Source) > > > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > > > at > > > > > sun.misc.Launcher$AppClassLoader.loadClass(Unknown > > Source) > > > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > > > at > > > > > java.lang.ClassLoader.loadClassInternal (Unknown > > Source) > > > > > > > > > > > > > > > > > > This usually indicates a mismatch of some binary and jdk, I > thought, > > but > > > > > it looks like some checked into cvs are specific to 1.4.2_xx? I > will > > check > > > > > this out more tomorrow. > > > > > > > > > > > > Btw - I'm running 1.4.2_08, and ant 1.6.1 > > > > > > > > > > > > Thanks - b > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/27/05, Steven Yi < ste...@gm... > wrote: > > > > > > > Hi Ben, > > > > > > > > > > > > > > Thanks for offering to put an example together! > > > > > > > > > > > > > > As for undo, it didn't take but a few minutes as the code for > the > > > > > > > ExternalEditor is very similar to the one for the > GenericEditor. > > As > > > > > > > is the case with undo's around blue, it'll be there while the > > editor > > > > > > > is still focused, and once you select another soundObject or > > simply > > > > > > > defocus the editor, the undo buffer is going to clear. So, > good > > for > > > > > > > if you just made a mistake or are editing and testing, editin= g > and > > > > > > > testing the same soundObject. Also added a ctrl-T shortcut as > is > > > > > > > found in the GenericEditor. > > > > > > > > > > > > > > The change is in CVS now so if you have access to that it's > there. > > If > > > > > > > not, I can push out a release for you. Though, I think I'm > about > > to > > > > > > > make a soundObject that is like the blueSynthBuilder but > instead > > you > > > > > > > could used either pythonCode or maybe external code. That way > you > > > > > > > could make your own UI's for score generators, either for > those > > > > > > > written in python or say for your CM scripts. That really > > shouldn't > > > > > > > take too long as the BSB code is pretty modularized and easy > to > > drop > > > > > > > in, so maybe a couple days to build I think. > > > > > > > > > > > > > > Also, I'm not sure why I used ctrl-shift-z for redo but just > now I > > > > > > > found it rather awkward. Any objections on changing it to > ctrl-y? > > > > > > > > > > > > > > steven > > > > > > > > > > > > > > > > > > > > > On 9/27/05, Ben McAllister < be...@gm...> wrote: > > > > > > > > I will cobble together an example for you. > > > > > > > > > > > > > > > > While we're on the subject, I am still using blue for most > of > > my > > > > > csound > > > > > > > > work, and the external object editor doesn't have any undo > > capability. > > > > > Any > > > > > > > > chance that's an easy fix? As always, keep up the good > work.. > > > > > > > > > > > > > > > > b > > > > > > > > > > > > > > > > > > > > > > > > On 9/26/05, Steven Yi < ste...@gm...> wrote: > > > > > > > > > > > > > > > > > > Hi Ben, > > > > > > > > > > > > > > > > > > Thanks very much for posting the example! I'll be giving > it a > > whirl > > > > > > > > > as soon as I can. It'd be great to have a simple example > > .blue file > > > > > > > > > to include with blue so that in the future other users wh= o > > might be > > > > > > > > > interested in using CM and blue can have something to loo= k > at. > > I'm > > > > > > > > > going to aim to put together something, but my experience > with > > CM is > > > > > > > > > pretty minimal so any help in that would be very much > > appreciated! > > > > > > > > > > > > > > > > > > steven > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/26/05, Ben McAllister < be...@gm... > wrote: > > > > > > > > > > Ooops - apologies for being soooo verbose - I meant to > only > > post > > > > > the > > > > > > > > relevant parts of that file. I guess more info is better > than > > less ;) > > > > > > > > > > b > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > SF.Net email is sponsored by: > > > > > > > > > Tame your development challenges with Apache's Geronimo > App > > Server. > > > > > > > > > Download it for free - -and be entered to win a 42" plasm= a > tv > > or > > > > > your very > > > > > > > > > own Sony(tm)PSP. Click here to play: > > > > > > > > http://sourceforge.net/geronimo.php > > > > > > > > > > > _______________________________________________ > > > > > > > > > Bluemusic-users mailing list > > > > > > > > > Blu...@li... > > > > > > > > > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by: > > > > > > > Power Architecture Resource Center: Free content, downloads, > > > > > discussions, > > > > > > > and more. > > http://solutions.newsforge.com/ibmarch.tmpl > > > > > > > _______________________________________________ > > > > > > > Bluemusic-users mailing list > > > > > > > Blu...@li... > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > _______________________________________________ > > > > Bluemusic-users mailing list > > > > Blu...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: stephane b. <s_b...@ya...> - 2005-10-03 19:57:52
Attachments:
cmtest.blue
|
hi Steven and Ben thanks to Ben for his help. i use cm 2.x.x and i have made a very simple example of score generation with cm 2 based on the file intro in cm 2 and the code from Ben. i join it if it can be useful for somebody... (sorry, i'm a very newbie in cm and my code are very bad :( bye stf ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |
From: Ben M. <be...@gm...> - 2005-10-03 21:23:33
|
Cool Stephane - I'm going to use this as a starting point to learning CM 2.0- something I've been putting off for a LONG time :) Steven: Maybe a file with each example in a separate external object would be best? I know I've shown at least two other CM 1.x users my way of doing this (besides you two ;) b On 10/3/05, stephane boussuge <s_b...@ya...> wrote: > > hi Steven and Ben > thanks to Ben for his help. > i use cm 2.x.x and i have made a very simple example > of score generation with cm 2 based on the file intro > in cm 2 and the code from Ben. > i join it if it can be useful for somebody... > (sorry, i'm a very newbie in cm and my code are very > bad :( > > bye > stf > > > > > > > > > _________________________________________________________________________= __ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenge= r > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com > > <blueData version=3D'0.99.8'> > <projectProperties> > <author>author</author> > <title></title> > <sampleRate>44100</sampleRate> > <ksmps>2</ksmps> > <channels>2</channels> > <commandLine>csound -odac1</commandLine> > <diskSampleRate>44100</diskSampleRate> > <diskKsmps>2</diskKsmps> > <diskChannels>2</diskChannels> > <diskCommandLine>csound </diskCommandLine> > <CsOptions></CsOptions> > <notes> -W -o D:\Nuendo\Urban\mel1.wav > > consound -W -oD:\Nuendo\Urban\bass_1_ctof.wav</notes> > </projectProperties> > <arrangement/> > <tables>;sine > f 1 0 16384 10 1 > > ;saw > f 2 0 256 7 0 128 1 0 -1 128 0 > ;pulse? > f 3 0 256 7 1 128 1 0 -1 128 -1 > </tables> > <soundObjectLibrary/> > <globalOrcSco> > <globalOrc>ga1 init 0 > ga2 init 0 > </globalOrc> > <globalSco></globalSco> > </globalOrcSco> > <opcodeList/> > <liveData> > <commandLine>csound -Wdo devaudio -L stdin</commandLine> > </liveData> > <soundObject type=3D'blue.soundObject.PolyObject'> > <subjectiveDuration>2.0</subjectiveDuration> > <startTime>0.0</startTime> > <name>root</name> > <backgroundColor>-10066279</backgroundColor> > <timeBehavior>0</timeBehavior> > <noteProcessorChain/> > <isRoot>true</isRoot> > <pixelSecond>64</pixelSecond> > <heightIndex>2</heightIndex> > <snapEnabled>false</snapEnabled> > <snapValue>1.0</snapValue> > <timeDisplay>0</timeDisplay> > <timeUnit>5</timeUnit> > <soundLayer name=3D'' muted=3D'false' solo=3D'false'> > <soundObject type=3D'blue.soundObject.External'> > <subjectiveDuration>15.296875</subjectiveDuration> > <startTime>0.0</startTime> > <name>external</name> > <backgroundColor>-12566464</backgroundColor> > <timeBehavior>2</timeBehavior> > <noteProcessorChain/> > <text>(load "/home/stf/bin/cm-2.6.0/src/cm.lisp") > (in-package :cm) > > > (defparameter *buflen* 4096); used to store file in print-stream function > > > (defobject simp () > ((ins :initform 'simp :accessor object-name) > (beg :accessor object-time) > (dur :initform 1) > (amp :initform .5) > (freq :initform 440)) > (:parameters beg dur amp freq)) > > ;; Now define a simple process that output simps... > > > > (define (simp-1 num) > (process repeat num > output (new simp > :beg (now) :dur 1 :amp .5 > :freq (between 220 440)) > wait (pick 0 1 2))) > > > > > > ;; Next we define a variant process that outputs simps > ;; with names picked randomly from a list. > > (define (simp-2 num names) > (process repeat num > output (new simp :beg (now) > :ins (and names (pickl names)) > :dur 1 :amp .5 > :freq (between 220 440)) > wait (pick 0 1 2))) > > (events (simp-2 20 '("i1" "i2" "i3")) = ; > write to i1 i2 or i3 > "test.sco") > > > > > (defun print-stream (filename) > (let ((buffer (make-array *buflen*))) > (with-open-file (f filename :direction :input > :if-does-not-exist :error > ) > (do ((j 0))((=3D j (file-length f))) > (setf myline (read-line f t "eofeof")) > (if (string-equal myline "eofeof")(return)) > (princ myline) > (write-char #\Newline) > (setf j (+ j )) > ) > )) > ) > ; > ; > > ; > (print-stream "test.sco")</text> > <commandLine>clisp </commandLine> > </soundObject> > </soundLayer> > </soundObject> > <scratchPadData> > <isWordWrapEnabled>true</isWordWrapEnabled> > <scratchText/> > </scratchPadData> > <noteProcessorChainMap/> > <renderStartTime>0.0</renderStartTime> > <renderEndTime>-1.0</renderEndTime> > <markersList/> > <loopRendering>false</loopRendering> > </blueData> > > |
From: Steven Yi <ste...@gm...> - 2005-10-03 21:02:09
|
Hi Stephane, Thanks for sending this! I can't seem to get a version of common lisp running on Windows, and on Linux I have troubles for CM. Yikes! Do you mind if I add this example as external_commonMusic2.blue to the examples? Thanks! steven On 10/3/05, stephane boussuge <s_b...@ya...> wrote: > hi Steven and Ben > thanks to Ben for his help. > i use cm 2.x.x and i have made a very simple example > of score generation with cm 2 based on the file intro > in cm 2 and the code from Ben. > i join it if it can be useful for somebody... > (sorry, i'm a very newbie in cm and my code are very > bad :( > > bye > stf > > > > > > > > _________________________________________________________________________= __ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenge= r > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com > > <blueData version=3D'0.99.8'> > <projectProperties> > <author>author</author> > <title></title> > <sampleRate>44100</sampleRate> > <ksmps>2</ksmps> > <channels>2</channels> > <commandLine>csound -odac1</commandLine> > <diskSampleRate>44100</diskSampleRate> > <diskKsmps>2</diskKsmps> > <diskChannels>2</diskChannels> > <diskCommandLine>csound </diskCommandLine> > <CsOptions></CsOptions> > <notes> -W -o D:\Nuendo\Urban\mel1.wav > > consound -W -oD:\Nuendo\Urban\bass_1_ctof.wav</notes> > </projectProperties> > <arrangement/> > <tables>;sine > f 1 0 16384 10 1 > > ;saw > f 2 0 256 7 0 128 1 0 -1 128 0 > ;pulse? > f 3 0 256 7 1 128 1 0 -1 128 -1 > </tables> > <soundObjectLibrary/> > <globalOrcSco> > <globalOrc>ga1 init 0 > ga2 init 0 > </globalOrc> > <globalSco></globalSco> > </globalOrcSco> > <opcodeList/> > <liveData> > <commandLine>csound -Wdo devaudio -L stdin</commandLine> > </liveData> > <soundObject type=3D'blue.soundObject.PolyObject'> > <subjectiveDuration>2.0</subjectiveDuration> > <startTime>0.0</startTime> > <name>root</name> > <backgroundColor>-10066279</backgroundColor> > <timeBehavior>0</timeBehavior> > <noteProcessorChain/> > <isRoot>true</isRoot> > <pixelSecond>64</pixelSecond> > <heightIndex>2</heightIndex> > <snapEnabled>false</snapEnabled> > <snapValue>1.0</snapValue> > <timeDisplay>0</timeDisplay> > <timeUnit>5</timeUnit> > <soundLayer name=3D'' muted=3D'false' solo=3D'false'> > <soundObject type=3D'blue.soundObject.External'> > <subjectiveDuration>15.296875</subjectiveDuration> > <startTime>0.0</startTime> > <name>external</name> > <backgroundColor>-12566464</backgroundColor> > <timeBehavior>2</timeBehavior> > <noteProcessorChain/> > <text>(load "/home/stf/bin/cm-2.6.0/src/cm.lisp") > (in-package :cm) > > > (defparameter *buflen* 4096); used to store file in print-stream function > > > (defobject simp () > ((ins :initform 'simp :accessor object-name) > (beg :accessor object-time) > (dur :initform 1) > (amp :initform .5) > (freq :initform 440)) > (:parameters beg dur amp freq)) > > ;; Now define a simple process that output simps... > > > > (define (simp-1 num) > (process repeat num > output (new simp > :beg (now) :dur 1 :amp .5 > :freq (between 220 440)) > wait (pick 0 1 2))) > > > > > > ;; Next we define a variant process that outputs simps > ;; with names picked randomly from a list. > > (define (simp-2 num names) > (process repeat num > output (new simp :beg (now) > :ins (and names (pickl names)) > :dur 1 :amp .5 > :freq (between 220 440)) > wait (pick 0 1 2))) > > (events (simp-2 20 '("i1" "i2" "i3")) = ; write to i1 i2 or i3 > "test.sco") > > > > > (defun print-stream (filename) > (let ((buffer (make-array *buflen*))) > (with-open-file (f filename :direction :input > :if-does-not-exist :error > ) > (do ((j 0))((=3D j (file-length f))) > (setf myline (read-line f t "eofeof")) > (if (string-equal myline "eofeof")(return)) > (princ myline) > (write-char #\Newline) > (setf j (+ j )) > ) > )) > ) > ; > ; > > ; > (print-stream "test.sco")</text> > <commandLine>clisp </commandLine> > </soundObject> > </soundLayer> > </soundObject> > <scratchPadData> > <isWordWrapEnabled>true</isWordWrapEnabled> > <scratchText/> > </scratchPadData> > <noteProcessorChainMap/> > <renderStartTime>0.0</renderStartTime> > <renderEndTime>-1.0</renderEndTime> > <markersList/> > <loopRendering>false</loopRendering> > </blueData> > > |
From: Ben M. <be...@gm...> - 2005-10-03 21:33:25
|
The 2.3.3 version worked for me from ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/binaries/ CLISP is part of the distro, btw. > > Thanks for sending this! I can't seem to get a version of common lisp > running on Windows, and on Linux I have troubles for CM. Yikes! Do > you mind if I add this example as external_commonMusic2.blue to the > examples? > > Thanks! > steven > > > On 10/3/05, stephane boussuge <s_b...@ya...> wrote: > > hi Steven and Ben > > thanks to Ben for his help. > > i use cm 2.x.x and i have made a very simple example > > of score generation with cm 2 based on the file intro > > in cm 2 and the code from Ben. > > i join it if it can be useful for somebody... > > (sorry, i'm a very newbie in cm and my code are very > > bad :( > > > > bye > > stf > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! > Messenger > > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com > > > > <blueData version=3D'0.99.8'> > > <projectProperties> > > <author>author</author> > > <title></title> > > <sampleRate>44100</sampleRate> > > <ksmps>2</ksmps> > > <channels>2</channels> > > <commandLine>csound -odac1</commandLine> > > <diskSampleRate>44100</diskSampleRate> > > <diskKsmps>2</diskKsmps> > > <diskChannels>2</diskChannels> > > <diskCommandLine>csound </diskCommandLine> > > <CsOptions></CsOptions> > > <notes> -W -o D:\Nuendo\Urban\mel1.wav > > > > consound -W -oD:\Nuendo\Urban\bass_1_ctof.wav</notes> > > </projectProperties> > > <arrangement/> > > <tables>;sine > > f 1 0 16384 10 1 > > > > ;saw > > f 2 0 256 7 0 128 1 0 -1 128 0 > > ;pulse? > > f 3 0 256 7 1 128 1 0 -1 128 -1 > > </tables> > > <soundObjectLibrary/> > > <globalOrcSco> > > <globalOrc>ga1 init 0 > > ga2 init 0 > > </globalOrc> > > <globalSco></globalSco> > > </globalOrcSco> > > <opcodeList/> > > <liveData> > > <commandLine>csound -Wdo devaudio -L stdin</commandLine> > > </liveData> > > <soundObject type=3D'blue.soundObject.PolyObject'> > > <subjectiveDuration>2.0</subjectiveDuration> > > <startTime>0.0</startTime> > > <name>root</name> > > <backgroundColor>-10066279</backgroundColor> > > <timeBehavior>0</timeBehavior> > > <noteProcessorChain/> > > <isRoot>true</isRoot> > > <pixelSecond>64</pixelSecond> > > <heightIndex>2</heightIndex> > > <snapEnabled>false</snapEnabled> > > <snapValue>1.0</snapValue> > > <timeDisplay>0</timeDisplay> > > <timeUnit>5</timeUnit> > > <soundLayer name=3D'' muted=3D'false' solo=3D'false'> > > <soundObject type=3D'blue.soundObject.External'> > > <subjectiveDuration>15.296875</subjectiveDuration> > > <startTime>0.0</startTime> > > <name>external</name> > > <backgroundColor>-12566464</backgroundColor> > > <timeBehavior>2</timeBehavior> > > <noteProcessorChain/> > > <text>(load "/home/stf/bin/cm-2.6.0/src/cm.lisp") > > (in-package :cm) > > > > > > (defparameter *buflen* 4096); used to store file in print-stream > function > > > > > > (defobject simp () > > ((ins :initform 'simp :accessor object-name) > > (beg :accessor object-time) > > (dur :initform 1) > > (amp :initform .5) > > (freq :initform 440)) > > (:parameters beg dur amp freq)) > > > > ;; Now define a simple process that output simps... > > > > > > > > (define (simp-1 num) > > (process repeat num > > output (new simp > > :beg (now) :dur 1 :amp .5 > > :freq (between 220 440)) > > wait (pick 0 1 2))) > > > > > > > > > > > > ;; Next we define a variant process that outputs simps > > ;; with names picked randomly from a list. > > > > (define (simp-2 num names) > > (process repeat num > > output (new simp :beg (now) > > :ins (and names (pickl names)) > > :dur 1 :amp .5 > > :freq (between 220 440)) > > wait (pick 0 1 2))) > > > > (events (simp-2 20 '("i1" "i2" "i3")= ) > ; write to i1 i2 or i3 > > "test.sco") > > > > > > > > > > (defun print-stream (filename) > > (let ((buffer (make-array *buflen*))) > > (with-open-file (f filename :direction :input > > :if-does-not-exist :error > > ) > > (do ((j 0))((=3D j (file-length f))) > > (setf myline (read-line f t "eofeof")) > > (if (string-equal myline "eofeof")(return)) > > (princ myline) > > (write-char #\Newline) > > (setf j (+ j )) > > ) > > )) > > ) > > ; > > ; > > > > ; > > (print-stream "test.sco")</text> > > <commandLine>clisp </commandLine> > > </soundObject> > > </soundLayer> > > </soundObject> > > <scratchPadData> > > <isWordWrapEnabled>true</isWordWrapEnabled> > > <scratchText/> > > </scratchPadData> > > <noteProcessorChainMap/> > > <renderStartTime>0.0</renderStartTime> > > <renderEndTime>-1.0</renderEndTime> > > <markersList/> > > <loopRendering>false</loopRendering> > > </blueData> > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Steven Yi <ste...@gm...> - 2005-10-03 22:40:27
|
Hi Ben, Thanks for that info! That's gotten me closer. I can't quite seem to run either your or stephane's examples, but only spent a few minutes. Putting the examples together sounds good. I can label one soundObject as for <2.0 and one for >2.0. How does that sound Stephane and Ben? Thanks! steven On 10/3/05, Ben McAllister <be...@gm...> wrote: > The 2.3.3 version worked for me from > ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/binaries/ > > CLISP is part of the distro, btw. > > > > > > > Thanks for sending this! I can't seem to get a version of common lisp > > running on Windows, and on Linux I have troubles for CM. Yikes! Do > > you mind if I add this example as external_commonMusic2.blue to the > > examples? > > > > Thanks! > > steven > > > > > > On 10/3/05, stephane boussuge <s_b...@ya...> wrote: > > > hi Steven and Ben > > > thanks to Ben for his help. > > > i use cm 2.x.x and i have made a very simple example > > > of score generation with cm 2 based on the file intro > > > in cm 2 and the code from Ben. > > > i join it if it can be useful for somebody... > > > (sorry, i'm a very newbie in cm and my code are very > > > bad :( > > > > > > bye > > > stf > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! > Messenger > > > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com > > > > > > <blueData version=3D'0.99.8'> > > > <projectProperties> > > > <author>author</author> > > > <title></title> > > > <sampleRate>44100</sampleRate> > > > <ksmps>2</ksmps> > > > <channels>2</channels> > > > <commandLine>csound -odac1</commandLine> > > > <diskSampleRate>44100</diskSampleRate> > > > <diskKsmps>2</diskKsmps> > > > <diskChannels>2</diskChannels> > > > <diskCommandLine>csound </diskCommandLine> > > > <CsOptions></CsOptions> > > > <notes> -W -o D:\Nuendo\Urban\mel1.wav > > > > > > consound -W -oD:\Nuendo\Urban\bass_1_ctof.wav</notes> > > > </projectProperties> > > > <arrangement/> > > > <tables>;sine > > > f 1 0 16384 10 1 > > > > > > ;saw > > > f 2 0 256 7 0 128 1 0 -1 128 0 > > > ;pulse? > > > f 3 0 256 7 1 128 1 0 -1 128 -1 > > > </tables> > > > <soundObjectLibrary/> > > > <globalOrcSco> > > > <globalOrc>ga1 init 0 > > > ga2 init 0 > > > </globalOrc> > > > <globalSco></globalSco> > > > </globalOrcSco> > > > <opcodeList/> > > > <liveData> > > > <commandLine>csound -Wdo devaudio -L stdin</commandLine> > > > </liveData> > > > <soundObject type=3D'blue.soundObject.PolyObject'> > > > <subjectiveDuration>2.0</subjectiveDuration> > > > <startTime>0.0</startTime> > > > <name>root</name> > > > <backgroundColor>-10066279</backgroundColor> > > > <timeBehavior>0</timeBehavior> > > > <noteProcessorChain/> > > > <isRoot>true</isRoot> > > > <pixelSecond>64</pixelSecond> > > > <heightIndex>2</heightIndex> > > > <snapEnabled>false</snapEnabled> > > > <snapValue>1.0</snapValue> > > > <timeDisplay>0</timeDisplay> > > > <timeUnit>5</timeUnit> > > > <soundLayer name=3D'' muted=3D'false' solo=3D'false'> > > > <soundObject type=3D'blue.soundObject.External'> > > > <subjectiveDuration>15.296875</subjectiveDuration> > > > <startTime> 0.0</startTime> > > > <name>external</name> > > > <backgroundColor>-12566464</backgroundColor> > > > <timeBehavior>2</timeBehavior> > > > <noteProcessorChain/> > > > <text>(load "/home/stf/bin/cm-2.6.0/src/cm.lisp") > > > (in-package :cm) > > > > > > > > > (defparameter *buflen* 4096); used to store file in print-stream > function > > > > > > > > > (defobject simp () > > > ((ins :initform 'simp :accessor object-name) > > > (beg :accessor object-time) > > > (dur :initform 1) > > > (amp :initform .5) > > > (freq :initform 440)) > > > (:parameters beg dur amp freq)) > > > > > > ;; Now define a simple process that output simps... > > > > > > > > > > > > (define (simp-1 num) > > > (process repeat num > > > output (new simp > > > :beg (now) :dur 1 :amp .5 > > > :freq (between 220 440)) > > > wait (pick 0 1 2))) > > > > > > > > > > > > > > > > > > ;; Next we define a variant process that outputs simps > > > ;; with names picked randomly from a list. > > > > > > (define (simp-2 num names) > > > (process repeat num > > > output (new simp :beg (now) > > > :ins (and names (pickl names)) > > > :dur 1 :amp .5 > > > :freq (between 220 440)) > > > wait (pick 0 1 2))) > > > > > > (events (simp-2 20 '("i1" "i2" "i3"= ;)) > ; write to i1 i2 or i3 > > > "test.sco") > > > > > > > > > > > > > > > (defun print-stream (filename) > > > (let ((buffer (make-array *buflen*))) > > > (with-open-file (f filename :direction :input > > > :if-does-not-exist :error > > > ) > > > (do ((j 0))((=3D j (file-length f))) > > > (setf myline (read-line f t "eofeof")) > > > (if (string-equal myline "eofeof")(return)) > > > (princ myline) > > > (write-char #\Newline) > > > (setf j (+ j )) > > > ) > > > )) > > > ) > > > ; > > > ; > > > > > > ; > > > (print-stream "test.sco")</text> > > > <commandLine>clisp </commandLine> > > > </soundObject> > > > </soundLayer> > > > </soundObject> > > > <scratchPadData> > > > <isWordWrapEnabled>true</isWordWrapEnabled> > > > <scratchText/> > > > </scratchPadData> > > > <noteProcessorChainMap/> > > > <renderStartTime>0.0</renderStartTime> > > > <renderEndTime>-1.0</renderEndTime> > > > <markersList/> > > > <loopRendering>false</loopRendering> > > > </blueData> > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussion= s, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > |
From: Ben M. <be...@gm...> - 2005-10-04 15:10:14
|
Sounds good. The only tip I can think of is to have the lisp executable in your path, then make sure the path to the cm.mem binary is correct. b On 10/3/05, Steven Yi <ste...@gm...> wrote: > > Hi Ben, > > Thanks for that info! That's gotten me closer. I can't quite seem to > run either your or stephane's examples, but only spent a few minutes. > > Putting the examples together sounds good. I can label one > soundObject as for <2.0 and one for >2.0. How does that sound > Stephane and Ben? > > Thanks! > steven > > > On 10/3/05, Ben McAllister <be...@gm...> wrote: > > The 2.3.3 version worked for me from > > ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/binaries/ > > > > CLISP is part of the distro, btw. > > > > > > > > > > > Thanks for sending this! I can't seem to get a version of common lisp > > > running on Windows, and on Linux I have troubles for CM. Yikes! Do > > > you mind if I add this example as external_commonMusic2.blue to the > > > examples? > > > > > > Thanks! > > > steven > > > > > > > > > On 10/3/05, stephane boussuge <s_b...@ya...> wrote: > > > > hi Steven and Ben > > > > thanks to Ben for his help. > > > > i use cm 2.x.x and i have made a very simple example > > > > of score generation with cm 2 based on the file intro > > > > in cm 2 and the code from Ben. > > > > i join it if it can be useful for somebody... > > > > (sorry, i'm a very newbie in cm and my code are very > > > > bad :( > > > > > > > > bye > > > > stf > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________= __ > > > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! > > Messenger > > > > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com > > > > > > > > <blueData version=3D'0.99.8'> > > > > <projectProperties> > > > > <author>author</author> > > > > <title></title> > > > > <sampleRate>44100</sampleRate> > > > > <ksmps>2</ksmps> > > > > <channels>2</channels> > > > > <commandLine>csound -odac1</commandLine> > > > > <diskSampleRate>44100</diskSampleRate> > > > > <diskKsmps>2</diskKsmps> > > > > <diskChannels>2</diskChannels> > > > > <diskCommandLine>csound </diskCommandLine> > > > > <CsOptions></CsOptions> > > > > <notes> -W -o D:\Nuendo\Urban\mel1.wav > > > > > > > > consound -W -oD:\Nuendo\Urban\bass_1_ctof.wav</notes> > > > > </projectProperties> > > > > <arrangement/> > > > > <tables>;sine > > > > f 1 0 16384 10 1 > > > > > > > > ;saw > > > > f 2 0 256 7 0 128 1 0 -1 128 0 > > > > ;pulse? > > > > f 3 0 256 7 1 128 1 0 -1 128 -1 > > > > </tables> > > > > <soundObjectLibrary/> > > > > <globalOrcSco> > > > > <globalOrc>ga1 init 0 > > > > ga2 init 0 > > > > </globalOrc> > > > > <globalSco></globalSco> > > > > </globalOrcSco> > > > > <opcodeList/> > > > > <liveData> > > > > <commandLine>csound -Wdo devaudio -L stdin</commandLine> > > > > </liveData> > > > > <soundObject type=3D'blue.soundObject.PolyObject'> > > > > <subjectiveDuration>2.0</subjectiveDuration> > > > > <startTime>0.0</startTime> > > > > <name>root</name> > > > > <backgroundColor>-10066279</backgroundColor> > > > > <timeBehavior>0</timeBehavior> > > > > <noteProcessorChain/> > > > > <isRoot>true</isRoot> > > > > <pixelSecond>64</pixelSecond> > > > > <heightIndex>2</heightIndex> > > > > <snapEnabled>false</snapEnabled> > > > > <snapValue>1.0</snapValue> > > > > <timeDisplay>0</timeDisplay> > > > > <timeUnit>5</timeUnit> > > > > <soundLayer name=3D'' muted=3D'false' solo=3D'false'> > > > > <soundObject type=3D'blue.soundObject.External'> > > > > <subjectiveDuration>15.296875</subjectiveDuration> > > > > <startTime> 0.0</startTime> > > > > <name>external</name> > > > > <backgroundColor>-12566464</backgroundColor> > > > > <timeBehavior>2</timeBehavior> > > > > <noteProcessorChain/> > > > > <text>(load "/home/stf/bin/cm-2.6.0/src/cm.lisp") > > > > (in-package :cm) > > > > > > > > > > > > (defparameter *buflen* 4096); used to store file in print-stream > > function > > > > > > > > > > > > (defobject simp () > > > > ((ins :initform 'simp :accessor object-name) > > > > (beg :accessor object-time) > > > > (dur :initform 1) > > > > (amp :initform .5) > > > > (freq :initform 440)) > > > > (:parameters beg dur amp freq)) > > > > > > > > ;; Now define a simple process that output simps... > > > > > > > > > > > > > > > > (define (simp-1 num) > > > > (process repeat num > > > > output (new simp > > > > :beg (now) :dur 1 :amp .5 > > > > :freq (between 220 440)) > > > > wait (pick 0 1 2))) > > > > > > > > > > > > > > > > > > > > > > > > ;; Next we define a variant process that outputs simps > > > > ;; with names picked randomly from a list. > > > > > > > > (define (simp-2 num names) > > > > (process repeat num > > > > output (new simp :beg (now) > > > > :ins (and names (pickl names)) > > > > :dur 1 :amp .5 > > > > :freq (between 220 440)) > > > > wait (pick 0 1 2))) > > > > > > > > (events (simp-2 20 '("i1" "i2" > "i3")) > > ; write to i1 i2 or i3 > > > > "test.sco") > > > > > > > > > > > > > > > > > > > > (defun print-stream (filename) > > > > (let ((buffer (make-array *buflen*))) > > > > (with-open-file (f filename :direction :input > > > > :if-does-not-exist :error > > > > ) > > > > (do ((j 0))((=3D j (file-length f))) > > > > (setf myline (read-line f t "eofeof")) > > > > (if (string-equal myline "eofeof")(return)) > > > > (princ myline) > > > > (write-char #\Newline) > > > > (setf j (+ j )) > > > > ) > > > > )) > > > > ) > > > > ; > > > > ; > > > > > > > > ; > > > > (print-stream "test.sco")</text> > > > > <commandLine>clisp </commandLine> > > > > </soundObject> > > > > </soundLayer> > > > > </soundObject> > > > > <scratchPadData> > > > > <isWordWrapEnabled>true</isWordWrapEnabled> > > > > <scratchText/> > > > > </scratchPadData> > > > > <noteProcessorChainMap/> > > > > <renderStartTime>0.0</renderStartTime> > > > > <renderEndTime>-1.0</renderEndTime> > > > > <markersList/> > > > > <loopRendering>false</loopRendering> > > > > </blueData> > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, > discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
From: Ben M. <be...@gm...> - 2005-10-04 15:11:39
|
PS - How else can I help? You're running Red Hat? That's not CLISP, is it? I'm not sure my tip applies, since the command line interface for the Red Hat LISP interpreter that's bundled in CM may be different. b On 10/4/05, Ben McAllister <be...@gm...> wrote: > > Sounds good. > > The only tip I can think of is to have the lisp executable in your path, > then make sure the path to the cm.mem binary is correct. > > b > On 10/3/05, Steven Yi <ste...@gm...> wrote: > > > > Hi Ben, > > > > Thanks for that info! That's gotten me closer. I can't quite seem to > > run either your or stephane's examples, but only spent a few minutes. > > > > Putting the examples together sounds good. I can label one > > soundObject as for <2.0 and one for >2.0. How does that sound > > Stephane and Ben? > > > > Thanks! > > steven > > > > > > On 10/3/05, Ben McAllister <be...@gm...> wrote: > > > The 2.3.3 version worked for me from > > > ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/binaries/ > > > > > > CLISP is part of the distro, btw. > > > > > > > > > > > > > > > Thanks for sending this! I can't seem to get a version of common > > lisp > > > > running on Windows, and on Linux I have troubles for CM. Yikes! Do > > > > you mind if I add this example as external_commonMusic2.blue to the > > > > examples? > > > > > > > > Thanks! > > > > steven > > > > > > > > > > > > On 10/3/05, stephane boussuge <s_b...@ya...> wrote: > > > > > hi Steven and Ben > > > > > thanks to Ben for his help. > > > > > i use cm 2.x.x and i have made a very simple example > > > > > of score generation with cm 2 based on the file intro > > > > > in cm 2 and the code from Ben. > > > > > i join it if it can be useful for somebody... > > > > > (sorry, i'm a very newbie in cm and my code are very > > > > > bad :( > > > > > > > > > > bye > > > > > stf > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________________________________= ____ > > > > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! > > > Messenger > > > > > T=E9l=E9chargez cette version sur http://fr.messenger.yahoo.com > > > > > > > > > > <blueData version=3D'0.99.8'> > > > > > <projectProperties> > > > > > <author>author</author> > > > > > <title></title> > > > > > <sampleRate>44100</sampleRate> > > > > > <ksmps>2</ksmps> > > > > > <channels>2</channels> > > > > > <commandLine>csound -odac1</commandLine> > > > > > <diskSampleRate>44100</diskSampleRate> > > > > > <diskKsmps>2</diskKsmps> > > > > > <diskChannels>2</diskChannels> > > > > > <diskCommandLine>csound </diskCommandLine> > > > > > <CsOptions></CsOptions> > > > > > <notes> -W -o D:\Nuendo\Urban\mel1.wav > > > > > > > > > > consound -W -oD:\Nuendo\Urban\bass_1_ctof.wav</notes> > > > > > </projectProperties> > > > > > <arrangement/> > > > > > <tables>;sine > > > > > f 1 0 16384 10 1 > > > > > > > > > > ;saw > > > > > f 2 0 256 7 0 128 1 0 -1 128 0 > > > > > ;pulse? > > > > > f 3 0 256 7 1 128 1 0 -1 128 -1 > > > > > </tables> > > > > > <soundObjectLibrary/> > > > > > <globalOrcSco> > > > > > <globalOrc>ga1 init 0 > > > > > ga2 init 0 > > > > > </globalOrc> > > > > > <globalSco></globalSco> > > > > > </globalOrcSco> > > > > > <opcodeList/> > > > > > <liveData> > > > > > <commandLine>csound -Wdo devaudio -L stdin</commandLine> > > > > > </liveData> > > > > > <soundObject type=3D'blue.soundObject.PolyObject'> > > > > > <subjectiveDuration> 2.0</subjectiveDuration> > > > > > <startTime>0.0</startTime> > > > > > <name>root</name> > > > > > <backgroundColor>-10066279</backgroundColor> > > > > > <timeBehavior>0</timeBehavior> > > > > > <noteProcessorChain/> > > > > > <isRoot>true</isRoot> > > > > > <pixelSecond>64</pixelSecond> > > > > > <heightIndex>2</heightIndex> > > > > > <snapEnabled>false</snapEnabled> > > > > > <snapValue>1.0</snapValue> > > > > > <timeDisplay>0</timeDisplay> > > > > > <timeUnit>5</timeUnit> > > > > > <soundLayer name=3D'' muted=3D'false' solo=3D'false'> > > > > > <soundObject type=3D'blue.soundObject.External'> > > > > > <subjectiveDuration> 15.296875</subjectiveDuration> > > > > > <startTime> 0.0</startTime> > > > > > <name>external</name> > > > > > <backgroundColor>-12566464</backgroundColor> > > > > > <timeBehavior>2</timeBehavior> > > > > > <noteProcessorChain/> > > > > > <text>(load "/home/stf/bin/cm-2.6.0/src/cm.lisp") > > > > > (in-package :cm) > > > > > > > > > > > > > > > (defparameter *buflen* 4096); used to store file in print-stream > > > function > > > > > > > > > > > > > > > (defobject simp () > > > > > ((ins :initform 'simp :accessor object-name) > > > > > (beg :accessor object-time) > > > > > (dur :initform 1) > > > > > (amp :initform .5) > > > > > (freq :initform 440)) > > > > > (:parameters beg dur amp freq)) > > > > > > > > > > ;; Now define a simple process that output simps... > > > > > > > > > > > > > > > > > > > > (define (simp-1 num) > > > > > (process repeat num > > > > > output (new simp > > > > > :beg (now) :dur 1 :amp .5 > > > > > :freq (between 220 440)) > > > > > wait (pick 0 1 2))) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ;; Next we define a variant process that outputs simps > > > > > ;; with names picked randomly from a list. > > > > > > > > > > (define (simp-2 num names) > > > > > (process repeat num > > > > > output (new simp :beg (now) > > > > > :ins (and names (pickl names)) > > > > > :dur 1 :amp .5 > > > > > :freq (between 220 440)) > > > > > wait (pick 0 1 2))) > > > > > > > > > > (events (simp-2 20 '("i1" "i2" > > "i3")) > > > ; write to i1 i2 or i3 > > > > > "test.sco") > > > > > > > > > > > > > > > > > > > > > > > > > (defun print-stream (filename) > > > > > (let ((buffer (make-array *buflen*))) > > > > > (with-open-file (f filename :direction :input > > > > > :if-does-not-exist :error > > > > > ) > > > > > (do ((j 0))((=3D j (file-length f))) > > > > > (setf myline (read-line f t "eofeof")) > > > > > (if (string-equal myline "eofeof")(return)) > > > > > (princ myline) > > > > > (write-char #\Newline) > > > > > (setf j (+ j )) > > > > > ) > > > > > )) > > > > > ) > > > > > ; > > > > > ; > > > > > > > > > > ; > > > > > (print-stream "test.sco")</text> > > > > > <commandLine>clisp </commandLine> > > > > > </soundObject> > > > > > </soundLayer> > > > > > </soundObject> > > > > > <scratchPadData> > > > > > <isWordWrapEnabled>true</isWordWrapEnabled> > > > > > <scratchText/> > > > > > </scratchPadData> > > > > > <noteProcessorChainMap/> > > > > > <renderStartTime>0.0</renderStartTime> > > > > > <renderEndTime>-1.0</renderEndTime> > > > > > <markersList/> > > > > > <loopRendering>false</loopRendering> > > > > > </blueData> > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > _______________________________________________ > > > > Bluemusic-users mailing list > > > > Blu...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > |
From: stephane b. <s_b...@ya...> - 2005-10-04 19:59:15
|
hi Steven and Ben Sorry for this late mail but i've access to my mail only in evening after my day job ;) The two exemples sound good . for notes on installing cm and dowload it etc : http://pinhead.music.uiuc.edu/~hkt/cm/doc/cm.html the current stable release is 2.6.0 . for installing, after decompresing the directory,you 'll have a doc directory or something like that with and installation.html who explain all. if you try the 2.7.X version, be careful, you must have clisp >=2.34. i recommend to use the 2.6 (stable). bye stf --- Ben McAllister <be...@gm...> a écrit : > PS - How else can I help? You're running Red Hat? > That's not CLISP, is it? > I'm not sure my tip applies, since the command line > interface for the Red > Hat LISP interpreter that's bundled in CM may be > different. > b > > On 10/4/05, Ben McAllister <be...@gm...> wrote: > > > > Sounds good. > > > > The only tip I can think of is to have the lisp > executable in your path, > > then make sure the path to the cm.mem binary is > correct. > > > > b > > On 10/3/05, Steven Yi <ste...@gm...> wrote: > > > > > > Hi Ben, > > > > > > Thanks for that info! That's gotten me closer. I > can't quite seem to > > > run either your or stephane's examples, but only > spent a few minutes. > > > > > > Putting the examples together sounds good. I can > label one > > > soundObject as for <2.0 and one for >2.0. How > does that sound > > > Stephane and Ben? > > > > > > Thanks! > > > steven > > > > > > > > > On 10/3/05, Ben McAllister <be...@gm...> > wrote: > > > > The 2.3.3 version worked for me from > > > > > ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/binaries/ > > > > > > > > CLISP is part of the distro, btw. > > > > > > > > > > > > > > > > > > > Thanks for sending this! I can't seem to get > a version of common > > > lisp > > > > > running on Windows, and on Linux I have > troubles for CM. Yikes! Do > > > > > you mind if I add this example as > external_commonMusic2.blue to the > > > > > examples? > > > > > > > > > > Thanks! > > > > > steven > > > > > > > > > > > > > > > On 10/3/05, stephane boussuge > <s_b...@ya...> wrote: > > > > > > hi Steven and Ben > > > > > > thanks to Ben for his help. > > > > > > i use cm 2.x.x and i have made a very > simple example > > > > > > of score generation with cm 2 based on the > file intro > > > > > > in cm 2 and the code from Ben. > > > > > > i join it if it can be useful for > somebody... > > > > > > (sorry, i'm a very newbie in cm and my > code are very > > > > > > bad :( > > > > > > > > > > > > bye > > > > > > stf > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________________________ > > > > > > Appel audio GRATUIT partout dans le monde > avec le nouveau Yahoo! > > > > Messenger > > > > > > Téléchargez cette version sur > http://fr.messenger.yahoo.com > > > > > > > > > > > > <blueData version='0.99.8'> > > > > > > <projectProperties> > > > > > > <author>author</author> > > > > > > <title></title> > > > > > > <sampleRate>44100</sampleRate> > > > > > > <ksmps>2</ksmps> > > > > > > <channels>2</channels> > > > > > > <commandLine>csound -odac1</commandLine> > > > > > > <diskSampleRate>44100</diskSampleRate> > > > > > > <diskKsmps>2</diskKsmps> > > > > > > <diskChannels>2</diskChannels> > > > > > > <diskCommandLine>csound </diskCommandLine> > > > > > > <CsOptions></CsOptions> > > > > > > <notes> -W -o D:\Nuendo\Urban\mel1.wav > > > > > > > > > > > > consound -W > -oD:\Nuendo\Urban\bass_1_ctof.wav</notes> > > > > > > </projectProperties> > > > > > > <arrangement/> > > > > > > <tables>;sine > > > > > > f 1 0 16384 10 1 > > > > > > > > > > > > ;saw > > > > > > f 2 0 256 7 0 128 1 0 -1 128 0 > > > > > > ;pulse? > > > > > > f 3 0 256 7 1 128 1 0 -1 128 -1 > > > > > > </tables> > > > > > > <soundObjectLibrary/> > > > > > > <globalOrcSco> > > > > > > <globalOrc>ga1 init 0 > > > > > > ga2 init 0 > > > > > > </globalOrc> > > > > > > <globalSco></globalSco> > > > > > > </globalOrcSco> > > > > > > <opcodeList/> > > > > > > <liveData> > > > > > > <commandLine>csound -Wdo devaudio -L > stdin</commandLine> > > > > > > </liveData> > > > > > > <soundObject > type='blue.soundObject.PolyObject'> > > > > > > <subjectiveDuration> > 2.0</subjectiveDuration> > > > > > > <startTime>0.0</startTime> > > > > > > <name>root</name> > > > > > > > <backgroundColor>-10066279</backgroundColor> > > > > > > <timeBehavior>0</timeBehavior> > > > > > > <noteProcessorChain/> > > > > > > <isRoot>true</isRoot> > > > > > > <pixelSecond>64</pixelSecond> > > > > > > <heightIndex>2</heightIndex> > > > > > > <snapEnabled>false</snapEnabled> > > > > > > <snapValue>1.0</snapValue> > > > > > > <timeDisplay>0</timeDisplay> > > > > > > <timeUnit>5</timeUnit> > > > > > > <soundLayer name='' muted='false' > solo='false'> > > > > > > <soundObject > type='blue.soundObject.External'> > > > > > > <subjectiveDuration> > 15.296875</subjectiveDuration> > > > > > > <startTime> 0.0</startTime> > > > > > > <name>external</name> > > > > > > > <backgroundColor>-12566464</backgroundColor> > > > > > > <timeBehavior>2</timeBehavior> > > > > > > <noteProcessorChain/> > > > > > > <text>(load > "/home/stf/bin/cm-2.6.0/src/cm.lisp") > > > > > > (in-package :cm) > > > > > > > > > > > > > > > > > > (defparameter *buflen* 4096); used to > store file in print-stream > > > > function > > > > > > > > > > > > > > > > > > (defobject simp () > > > > > > ((ins :initform 'simp :accessor > object-name) > > > > > > (beg :accessor object-time) > > > > > > (dur :initform 1) > > > > > > (amp :initform .5) > > > > > > (freq :initform 440)) > > > > > > (:parameters beg dur amp freq)) > > > > > > > > > > > > ;; Now define a simple process that output > simps... > > > > > > > > > > > > > > > > > > > > > > > > (define (simp-1 num) > > > > > > (process repeat num > > > > > > output (new simp > > > > > > :beg (now) :dur 1 :amp .5 > > > > > > :freq (between 220 440)) > > > > > > wait (pick 0 1 2))) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ;; Next we define a variant process that > outputs simps > > > > > > ;; with names picked randomly from a list. > > > > > > > === message truncated === ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |