Thread: [Bluemusic-users] Score macros/bluePCH
Brought to you by:
kunstmusik
|
From: Brian W. <bri...@ho...> - 2007-11-18 02:57:47
|
Stephen, I am trying to find a way to reduce entering the same frequency va= lues over and over in GenericScore objects. As far as I can tell Csound sco= re macros do not work, so is there a way I can use the bluePCH for this pur= pose in non-12ET tunings? Creating and loading .scl files works fine for th= is purpose in the PianoRoll, but I often prefer to work in GenericScore. =20 Brian Wong _________________________________________________________________ Have fun while connecting on Messenger! Click here to learn more. http://entertainment.sympatico.msn.ca/WindowsLiveMessenger= |
|
From: Steven Y. <ste...@gm...> - 2007-11-18 07:27:10
|
Hi Brian, I'm not quite sure exactly what you are describing, but there is a Tuning NoteProcessor that uses a Scala scale and will convert from bluePCH in a pfield. You can add the NoteProcessor on a soundObject, to a soundLayer, or even the root polyObject which means you can process all generated score that way. (Right click on the >root in the polyObject bar should show a menu with option to edit noteProcessors for the root polyObject). Does that cover what you are discussing? If not, there are ways you can use the python noteProcessor on the root polyObject too which should cover what you need. steven On Nov 17, 2007 6:57 PM, Brian Wong <bri...@ho...> wrote: > > Stephen, I am trying to find a way to reduce entering the same frequency > values over and over in GenericScore objects. As far as I can tell Csound > score macros do not work, so is there a way I can use the bluePCH for this > purpose in non-12ET tunings? Creating and loading .scl files works fine for > this purpose in the PianoRoll, but I often prefer to work in GenericScore. > > Brian Wong > > ________________________________ > Have fun while connecting on Messenger! Click here to learn more. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > |
|
From: Cesare M. <ce...@po...> - 2007-11-18 08:38:56
|
I tried to use macros in blue recently and found that it doesn't work. I mostly use the PythonObject so I didn't notice this before. I guess the problem is that blue parse the score inside a GenericScore to adjust the p2 field (I mean it doesn't just pass the score unaltered) and the parser doesn't like #defines. Ciao, -c. Steven Yi wrote: > Hi Brian, > > I'm not quite sure exactly what you are describing, but there is a > Tuning NoteProcessor that uses a Scala scale and will convert from > bluePCH in a pfield. You can add the NoteProcessor on a soundObject, > to a soundLayer, or even the root polyObject which means you can > process all generated score that way. (Right click on the >root in > the polyObject bar should show a menu with option to edit > noteProcessors for the root polyObject). > > Does that cover what you are discussing? If not, there are ways you > can use the python noteProcessor on the root polyObject too which > should cover what you need. > > steven > > On Nov 17, 2007 6:57 PM, Brian Wong <bri...@ho...> wrote: > >> Stephen, I am trying to find a way to reduce entering the same frequency >> values over and over in GenericScore objects. As far as I can tell Csound >> score macros do not work, so is there a way I can use the bluePCH for this >> purpose in non-12ET tunings? Creating and loading .scl files works fine for >> this purpose in the PianoRoll, but I often prefer to work in GenericScore. >> >> Brian Wong >> >> ________________________________ >> Have fun while connecting on Messenger! Click here to learn more. >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Bluemusic-users mailing list >> Blu...@li... >> https://lists.sourceforge.net/lists/listinfo/bluemusic-users >> >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > -- www.cesaremarilungo.com |
|
From: Steven Y. <ste...@gm...> - 2007-11-18 16:58:02
|
Yes, blue does not support macros. It's something I've been loathe to do and I think that within the context of blue that they are generally unnecessary. It's also a general prejudice against them from my other programming I do as they aren't type-safe. On the other hand, I did at one point see how it could be useful and had done a little pre-planning on how something like that would be implemented though never took it further than that. If you or others would really like to have macros be supported, please file a request for enhancement via the blue help menu. Thanks! steven On Nov 18, 2007 12:32 AM, Cesare Marilungo <ce...@po...> wrote: > I tried to use macros in blue recently and found that it doesn't work. I > mostly use the PythonObject so I didn't notice this before. I guess the > problem is that blue parse the score inside a GenericScore to adjust the > p2 field (I mean it doesn't just pass the score unaltered) and the > parser doesn't like #defines. > > Ciao, > > -c. > > > Steven Yi wrote: > > Hi Brian, > > > > I'm not quite sure exactly what you are describing, but there is a > > Tuning NoteProcessor that uses a Scala scale and will convert from > > bluePCH in a pfield. You can add the NoteProcessor on a soundObject, > > to a soundLayer, or even the root polyObject which means you can > > process all generated score that way. (Right click on the >root in > > the polyObject bar should show a menu with option to edit > > noteProcessors for the root polyObject). > > > > Does that cover what you are discussing? If not, there are ways you > > can use the python noteProcessor on the root polyObject too which > > should cover what you need. > > > > steven > > > > On Nov 17, 2007 6:57 PM, Brian Wong <bri...@ho...> wrote: > > > >> Stephen, I am trying to find a way to reduce entering the same frequency > >> values over and over in GenericScore objects. As far as I can tell Csound > >> score macros do not work, so is there a way I can use the bluePCH for this > >> purpose in non-12ET tunings? Creating and loading .scl files works fine for > >> this purpose in the PianoRoll, but I often prefer to work in GenericScore. > >> > >> Brian Wong > >> > >> ________________________________ > >> Have fun while connecting on Messenger! Click here to learn more. > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2005. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> Bluemusic-users mailing list > >> Blu...@li... > >> https://lists.sourceforge.net/lists/listinfo/bluemusic-users > >> > >> > >> > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > -- > www.cesaremarilungo.com > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |
|
From: Cesare M. <ce...@po...> - 2007-11-19 01:05:06
|
I agree that they're unnecessary in blue since you can use python to generate scores, with much more freedom. Ciao, -c. Steven Yi wrote: > Yes, blue does not support macros. It's something I've been loathe to > do and I think that within the context of blue that they are generally > unnecessary. It's also a general prejudice against them from my other > programming I do as they aren't type-safe. On the other hand, I did > at one point see how it could be useful and had done a little > pre-planning on how something like that would be implemented though > never took it further than that. > > If you or others would really like to have macros be supported, please > file a request for enhancement via the blue help menu. > > Thanks! > steven > > > On Nov 18, 2007 12:32 AM, Cesare Marilungo <ce...@po...> wrote: > >> I tried to use macros in blue recently and found that it doesn't work. I >> mostly use the PythonObject so I didn't notice this before. I guess the >> problem is that blue parse the score inside a GenericScore to adjust the >> p2 field (I mean it doesn't just pass the score unaltered) and the >> parser doesn't like #defines. >> >> Ciao, >> >> -c. >> >> >> Steven Yi wrote: >> >>> Hi Brian, >>> >>> I'm not quite sure exactly what you are describing, but there is a >>> Tuning NoteProcessor that uses a Scala scale and will convert from >>> bluePCH in a pfield. You can add the NoteProcessor on a soundObject, >>> to a soundLayer, or even the root polyObject which means you can >>> process all generated score that way. (Right click on the >root in >>> the polyObject bar should show a menu with option to edit >>> noteProcessors for the root polyObject). >>> >>> Does that cover what you are discussing? If not, there are ways you >>> can use the python noteProcessor on the root polyObject too which >>> should cover what you need. >>> >>> steven >>> >>> On Nov 17, 2007 6:57 PM, Brian Wong <bri...@ho...> wrote: >>> >>> >>>> Stephen, I am trying to find a way to reduce entering the same frequency >>>> values over and over in GenericScore objects. As far as I can tell Csound >>>> score macros do not work, so is there a way I can use the bluePCH for this >>>> purpose in non-12ET tunings? Creating and loading .scl files works fine for >>>> this purpose in the PianoRoll, but I often prefer to work in GenericScore. >>>> >>>> Brian Wong >>>> >>>> ________________________________ >>>> Have fun while connecting on Messenger! Click here to learn more. >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Bluemusic-users mailing list >>>> Blu...@li... >>>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users >>>> >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Bluemusic-users mailing list >>> Blu...@li... >>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users >>> >>> >>> >>> >> -- >> www.cesaremarilungo.com >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Bluemusic-users mailing list >> Blu...@li... >> https://lists.sourceforge.net/lists/listinfo/bluemusic-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > -- www.cesaremarilungo.com |
|
From: Brian W. <bri...@ho...> - 2007-11-18 16:07:47
|
Stephen, =20 Thank you, the Tuning Noteprocessor works perfectly and is a better solutio= n than macros would have been! Some notes for other beginners like myself : - in Windows, the .scl files should go in \Documents and Settings\username\= .blue\scl - Scala creates a filepath in the 1st line of the file when you make your o= wn scala files, or at least it did the way that I made them. Open up the Sc= ala file with a text editor and get rid of the filepath, just leaving the f= ilename, and it will then work in whatever directory you put it in.Brian Wo= ng > Date: Sat, 17 Nov 2007 23:27:13 -0800> From: ste...@gm...> To: blue= mus...@li...> Subject: Re: [Bluemusic-users] Score mac= ros/bluePCH> > Hi Brian,> > I'm not quite sure exactly what you are describ= ing, but there is a> Tuning NoteProcessor that uses a Scala scale and will = convert from> bluePCH in a pfield. You can add the NoteProcessor on a sound= Object,> to a soundLayer, or even the root polyObject which means you can> = process all generated score that way. (Right click on the >root in> the pol= yObject bar should show a menu with option to edit> noteProcessors for the = root polyObject).> > Does that cover what you are discussing? If not, there= are ways you> can use the python noteProcessor on the root polyObject too = which> should cover what you need.> > steven> > On Nov 17, 2007 6:57 PM, Br= ian Wong <bri...@ho...> wrote:> >> > Stephen, I am trying to fin= d a way to reduce entering the same frequency> > values over and over in Ge= nericScore objects. As far as I can tell Csound> > score macros do not work= , so is there a way I can use the bluePCH for this> > purpose in non-12ET t= unings? Creating and loading .scl files works fine for> > this purpose in t= he PianoRoll, but I often prefer to work in GenericScore.> >> > Brian Wong>= >> > ________________________________> > Have fun while connecting on Mess= enger! Click here to learn more.> > ---------------------------------------= ----------------------------------> > This SF.net email is sponsored by: Mi= crosoft> > Defy all challenges. Microsoft(R) Visual Studio 2005.> > http://= clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > _______________________= ________________________> > Bluemusic-users mailing list> > Bluemusic-users= @lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/blue= music-users> >> >> > ------------------------------------------------------= -------------------> This SF.net email is sponsored by: Microsoft> Defy all= challenges. Microsoft(R) Visual Studio 2005.> http://clk.atdmt.com/MRT/go/= vse0120000070mrt/direct/01/> ______________________________________________= _> Bluemusic-users mailing list> Blu...@li...> htt= ps://lists.sourceforge.net/lists/listinfo/bluemusic-users _________________________________________________________________ Have fun while connecting on Messenger! Click here to learn more. http://entertainment.sympatico.msn.ca/WindowsLiveMessenger= |
|
From: Steven Y. <ste...@gm...> - 2007-11-18 17:07:56
|
Hi Brian, Glad that is working for you! This reminds me, I have meant for a while to redo the tuning noteprocessor as the works now, it currently just saves a copy of which SCL as a file location I believe. The tuning support in the pianoRoll I think actually saves a copy of the of the SCL's contents within blue which is much more safe and portable. Thanks for letting us know about the workaround you found and glad this is working out for you! steven On Nov 18, 2007 8:05 AM, Brian Wong <bri...@ho...> wrote: > > Stephen, > > Thank you, the Tuning Noteprocessor works perfectly and is a better > solution than macros would have been! Some notes for other beginners like > myself : > - in Windows, the .scl files should go in \Documents and > Settings\username\.blue\scl > - Scala creates a filepath in the 1st line of the file when you make your > own scala files, or at least it did the way that I made them. Open up the > Scala file with a text editor and get rid of the filepath, just leaving the > filename, and it will then work in whatever directory you put it in. > > Brian Wong > > > ________________________________ > > > Date: Sat, 17 Nov 2007 23:27:13 -0800 > > From: ste...@gm... > > To: blu...@li... > > Subject: Re: [Bluemusic-users] Score macros/bluePCH > > > > > > Hi Brian, > > > > I'm not quite sure exactly what you are describing, but there is a > > Tuning NoteProcessor that uses a Scala scale and will convert from > > bluePCH in a pfield. You can add the NoteProcessor on a soundObject, > > to a soundLayer, or even the root polyObject which means you can > > process all generated score that way. (Right click on the >root in > > the polyObject bar should show a menu with option to edit > > noteProcessors for the root polyObject). > > > > Does that cover what you are discussing? If not, there are ways you > > can use the python noteProcessor on the root polyObject too which > > should cover what you need. > > > > steven > > > > On Nov 17, 2007 6:57 PM, Brian Wong <bri...@ho...> wrote: > > > > > > Stephen, I am trying to find a way to reduce entering the same frequency > > > values over and over in GenericScore objects. As far as I can tell > Csound > > > score macros do not work, so is there a way I can use the bluePCH for > this > > > purpose in non-12ET tunings? Creating and loading .scl files works fine > for > > > this purpose in the PianoRoll, but I often prefer to work in > GenericScore. > > > > > > Brian Wong > > > > > > ________________________________ > > > Have fun while connecting on Messenger! Click here to learn more. > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > ________________________________ > Have fun while connecting on Messenger! Click here to learn more. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > |