[Cs-dev] access to global score from PythonInstrument?
Date | 2013-09-09 09:10 |
From | zappfinger |
Subject | [Cs-dev] access to global score from PythonInstrument? |
Another request: would it be possible to give access to the global score? Many times one needs to define function tables that are used in the orchestra, and using FTGEN in an instrument is not recommended. Richard -- View this message in context: http://csound.1045644.n5.nabble.com/access-to-global-score-from-PythonInstrument-tp5727489.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-09-09 09:47 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] access to global score from PythonInstrument? |
You can use csoundInputMessage() for this (Csound.InputMessage() or CsoundPerformanceThread().InputMessage()). In Csound 6, you can also use csoundReadScore() and you can compile Csound code having an ftgen call in the global space (i.e. outside instruments). On 9 Sep 2013, at 09:10, zappfinger wrote: > Another request: would it be possible to give access to the global score? > Many times one needs to define function tables that are used in the > orchestra, and using FTGEN in an instrument is not recommended. > > Richard > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/access-to-global-score-from-PythonInstrument-tp5727489.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-09-09 10:09 |
From | Oeyvind Brandtsegg |
Subject | Re: [Cs-dev] access to global score from PythonInstrument? |
... but using ftgen in an instrument is also perfectly safe as long as you take care not to overwrite a table that is currently being used (read from). ... and the same precaution applies whether you modify the table from the score or do it from an instrument, the table affected is the same in both cases. Oeyvind 2013/9/9 Victor Lazzarini |
Date | 2013-09-09 10:15 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] access to global score from PythonInstrument? |
there is also ftgenonce, maybe that is what you want? On 9 Sep 2013, at 10:09, Oeyvind Brandtsegg wrote: > ... but using ftgen in an instrument is also perfectly safe as long as > you take care not to overwrite a table that is currently being used > (read from). > ... and the same precaution applies whether you modify the table from > the score or do it from an instrument, the table affected is the same > in both cases. > > Oeyvind > > 2013/9/9 Victor Lazzarini |
Date | 2013-09-09 11:39 |
From | zappfinger |
Subject | Re: [Cs-dev] access to global score from PythonInstrument? |
I 'll try ftgenonce... Richard -- View this message in context: http://csound.1045644.n5.nabble.com/access-to-global-score-from-PythonInstrument-tp5727489p5727501.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-09-09 13:59 |
From | Michael Gogins |
Subject | Re: [Cs-dev] access to global score from PythonInstrument? |
Attachments | None None |
ftgenonce was designed by me for exactly this use. You can use ftgenonce to create any number of tables in any number of instances of any number of instruments, inside the instruments. Tables with the same input arguments are created only once. Hope this helps, Mike =========================== Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Mon, Sep 9, 2013 at 6:39 AM, zappfinger <zappfinger@gmail.com> wrote: I 'll try ftgenonce... |