|
Hi All,
I'm at a workshop and found that the new parser does not work if instr has mixed names and numbers. A test CSD is pasted below. Thanks! steven <CsoundSynthesizer> <CsOptions> </CsOptions> <CsInstruments> sr = 44100 ksmps = 128 nchnls = 2 0dbfs = 1 #define Clock #10# #define TableReader #20# instr Init, 1 turnon $Clock turnon $TableReader gi_MetroTable ftgen 0, 0, 8, -2, 0, 1, 2, 3, 4, 5, 6, 7 endin instr Clock, 10 gk_Phasor phasor 1 endin instr TableReader, 20 gk_Metronome table gk_Phasor, gi_MetroTable, 1 printk2 gk_Metronome endin </CsInstruments> <CsScore> i "Init" 0 100 </CsScore> </CsoundSynthesizer> ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Csound-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
On a side note, and I know it's late in the day, but would it be
possible to print some information about what to do if the new parser causes a problem when Csound is run? Something like: THIS VERSION OF CSOUND IS USING A NEW PARSER. IF YOU HAVE ANY PROBLEMS PLEASE REVERT TO THE OLD PARSER BY ADDING --old-parser TO YOUR <CsOptions> SECTION. The only people who know about this new parser are the ones on this list. I'm concerned that if it doesn't go as well as expected we could potentially lose some new users who could end up baffled as to why some of their instrument no longer run. Rory. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Csound-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
In reply to this post by Steven Yi
Here with csound 5.15
... B 0.000 - note deleted. instr Init undefined ... 1 errors in performance ... I know it, but with csound 5.16 ... SECTION 1: new alloc for instr Init: ftable 101: new alloc for instr Clock: new alloc for instr TableReader: i20 0.00000 i20 1.00000 i20 2.00000 i20 3.00000 i20 4.00000 i20 5.00000 i20 6.00000 i20 7.00000 i20 0.00000 i20 1.00000 i20 2.00000 i20 3.00000 i20 4.00000 i20 5.00000 i20 6.00000 i20 7.00000 ... 0 errors in performance ... On Wed, Feb 08, 2012 at 04:48:52PM +0000, Steven Yi wrote: > Hi All, > > I'm at a workshop and found that the new parser does not work if instr > has mixed names and numbers. A test CSD is pasted below. > > Thanks! > steven > > > <CsoundSynthesizer> > <CsOptions> > </CsOptions> > <CsInstruments> > sr = 44100 > ksmps = 128 > nchnls = 2 > 0dbfs = 1 > > #define Clock #10# > #define TableReader #20# > > instr Init, 1 > > turnon $Clock > turnon $TableReader > gi_MetroTable ftgen 0, 0, 8, -2, 0, 1, 2, 3, 4, 5, 6, 7 > > endin > > instr Clock, 10 > gk_Phasor phasor 1 > endin > > instr TableReader, 20 > gk_Metronome table gk_Phasor, gi_MetroTable, 1 > printk2 gk_Metronome > endin > > </CsInstruments> > <CsScore> > i "Init" 0 100 > </CsScore> > </CsoundSynthesizer> > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Csound-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Csound-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
Ah, I see what happened. I was using CsoundQT which is linked with
Float build here, and I was only compiling doubles framework. So it was using an older float framework I had here. From commandline using doubles build it runs just fine. Thanks and sorry for the noise! steven On Wed, Feb 8, 2012 at 5:23 PM, Tito Latini <[hidden email]> wrote: > Here with csound 5.15 > > ... > B 0.000 - note deleted. instr Init undefined > ... > 1 errors in performance > ... > > I know it, but with csound 5.16 > > ... > SECTION 1: > new alloc for instr Init: > ftable 101: > new alloc for instr Clock: > new alloc for instr TableReader: > i20 0.00000 > i20 1.00000 > i20 2.00000 > i20 3.00000 > i20 4.00000 > i20 5.00000 > i20 6.00000 > i20 7.00000 > i20 0.00000 > i20 1.00000 > i20 2.00000 > i20 3.00000 > i20 4.00000 > i20 5.00000 > i20 6.00000 > i20 7.00000 > ... > 0 errors in performance > ... > > > On Wed, Feb 08, 2012 at 04:48:52PM +0000, Steven Yi wrote: >> Hi All, >> >> I'm at a workshop and found that the new parser does not work if instr >> has mixed names and numbers. A test CSD is pasted below. >> >> Thanks! >> steven >> >> >> <CsoundSynthesizer> >> <CsOptions> >> </CsOptions> >> <CsInstruments> >> sr = 44100 >> ksmps = 128 >> nchnls = 2 >> 0dbfs = 1 >> >> #define Clock #10# >> #define TableReader #20# >> >> instr Init, 1 >> >> turnon $Clock >> turnon $TableReader >> gi_MetroTable ftgen 0, 0, 8, -2, 0, 1, 2, 3, 4, 5, 6, 7 >> >> endin >> >> instr Clock, 10 >> gk_Phasor phasor 1 >> endin >> >> instr TableReader, 20 >> gk_Metronome table gk_Phasor, gi_MetroTable, 1 >> printk2 gk_Metronome >> endin >> >> </CsInstruments> >> <CsScore> >> i "Init" 0 100 >> </CsScore> >> </CsoundSynthesizer> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Csound-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Csound-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Csound-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
In reply to this post by rory walsh
I agree with Rory.
On 2/8/12, Rory Walsh <[hidden email]> wrote: > On a side note, and I know it's late in the day, but would it be > possible to print some information about what to do if the new parser > causes a problem when Csound is run? Something like: > > THIS VERSION OF CSOUND IS USING A NEW PARSER. IF YOU HAVE ANY PROBLEMS > PLEASE REVERT TO THE OLD > PARSER BY ADDING --old-parser TO YOUR <CsOptions> SECTION. > > The only people who know about this new parser are the ones on this > list. I'm concerned that if it doesn't go as well as expected we could > potentially lose some new users who could end up baffled as to why > some of their instrument no longer run. > > Rory. > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Csound-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Csound-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/csound-devel |
| Powered by Nabble | See how NAML generates this page |
