Csound Csound-dev Csound-tekno Search About

[Cs-dev] a new new parser report

Date2011-01-04 12:59
Frommenno
Subject[Cs-dev] a new new parser report
hello,

i like to report another issue using the new parser.
This is the csd:



; Select audio/midi flags here according to platform
-odac     ;;;RT audio out
;-iadc    ;;;uncomment -iadc if RT audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o dates.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

seed     0 ;each time different seed

instr 1
;;generating a different filename each time csound renders
itim     date
Stim     dates    itim
Syear    strsub    Stim, 20, 24
Smonth   strsub    Stim, 4, 7
Sday     strsub    Stim, 8, 10
iday     strtod    Sday
Shor     strsub    Stim, 11, 13
Smin     strsub    Stim, 14, 16
Ssec     strsub    Stim, 17, 19
Sfilnam  sprintf  "%s_%s_%02d_%s_%s_%s", Syear, Smonth, iday, Shor,Smin,
Ssec
;;rendering with random frequency, amp and pan, and writing to disk
ifreq    random    400, 1000
iamp     random    .1, 1
ipan     random    0, 1
asin     oscils    iamp, ifreq, 0
aL, aR   pan2      asin, ipan
         fout      Sfilnam, 4, aL, aR
         outs      aL, aR
         printf_i  "File '%s' written to the same directory as this CSD file
is!\\n", 1, Sfilnam

endin



i 1 0 1




and it works, however there is a mysterious of output of text that might
help debugging:



********************
* USING NEW PARSER *
********************
Type confusion for cent (296,289), replacing
Type confusion for octave (296,289), replacing
Type confusion for semitone (296,289), replacing
END OF INPUT
Parsing successful!
SETTING 0DBFS: 1.000000
Unknown TREE node of type 288 found in root.
Printing Tree


 
 


 
 
 
  
  
 
 
  
  
  
  
 
 
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
 
 
  
  
  
  
 
 
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
 
 
  
  
  
  
  
  
 
 
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
  
  
 
 
  
  
  
  
  
  
  
  
 
 
  
  
  
  
 
 
  
  
  
  
  
  
 


Elapsed time at end of orchestra compile: real: 0.004s, CPU: 0.000s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.004s, CPU: 0.000s
Csound version 5.12 beta (double samples) Dec 26 2010
midi channel 1 using instr 1
midi channel 2 using instr 1
midi channel 3 using instr 1
midi channel 4 using instr 1
midi channel 5 using instr 1
midi channel 6 using instr 1
midi channel 7 using instr 1
midi channel 8 using instr 1
midi channel 9 using instr 1
midi channel 10 using instr 1
midi channel 11 using instr 1
midi channel 12 using instr 1
midi channel 13 using instr 1
midi channel 14 using instr 1
midi channel 15 using instr 1
midi channel 16 using instr 1
displays suppressed
sample rate overrides: esr = 48000.0000, ekr = 1500.0000, ksmps = 32
0dBFS level = 1.0
WARNING: Seeding from current time 2823742662

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: M Audio Audiophile 24/96 MIDI (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 256 sample-frame blocks
reading 1024-byte blks of shorts from adc (RAW)
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect jack_sem.1000_default_csound5
Jack: Already connected name = csound5
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = csound5 refnum = 4
Jack: JackClient::PortRegister ref = 4 name = csound5:input1 type = 32 bit
float mono audio port_index = 37
Jack: JackClient::PortRegister ref = 4 name = csound5:input2 type = 32 bit
float mono audio port_index = 38
Jack: JackClient::PortRegister ref = 4 name = csound5:output1 type = 32 bit
float mono audio port_index = 39
Jack: JackClient::PortRegister ref = 4 name = csound5:output2 type = 32 bit
float mono audio port_index = 40
Jack: JackClient::Activate
Jack: JackClient::StartThread : period = 1333 computation = 0 constraint =
1333
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: JackClient::kActivateClient name = csound5 ref = 4 
writing 1024-byte blks of shorts to dac
SECTION 1:
new alloc for instr 1:
File '2011_Jan_04_13_46_29' written to the same directory as this CSD file
is!\nClosing file '/home/menno/csound/Output/2011_Jan_04_13_46_29'...
B  0.000 ..  1.000 T  1.000 TT  1.000 M:  0.51073  0.19216
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.		   overall amps:  0.51073  0.19216
	   overall samples out of range:        0        0
0 errors in performance

greetings,
Menno
-- 
View this message in context: http://csound.1045644.n5.nabble.com/a-new-new-parser-report-tp3326952p3326952.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-04 14:46
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] a new new parser report
I do not get these messages unles I compile with DEBUG_PARSER. BETA and -V
command line option.

When did you take the copy fron SF?

==John
>
> hello,
>
> i like to report another issue using the new parser.
> This is the csd:
>
> 
> 
> ; Select audio/midi flags here according to platform
> -odac     ;;;RT audio out
> ;-iadc    ;;;uncomment -iadc if RT audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ; -o dates.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> seed     0 ;each time different seed
>
> instr 1
> ;;generating a different filename each time csound renders
> itim     date
> Stim     dates    itim
> Syear    strsub    Stim, 20, 24
> Smonth   strsub    Stim, 4, 7
> Sday     strsub    Stim, 8, 10
> iday     strtod    Sday
> Shor     strsub    Stim, 11, 13
> Smin     strsub    Stim, 14, 16
> Ssec     strsub    Stim, 17, 19
> Sfilnam  sprintf  "%s_%s_%02d_%s_%s_%s", Syear, Smonth, iday, Shor,Smin,
> Ssec
> ;;rendering with random frequency, amp and pan, and writing to disk
> ifreq    random    400, 1000
> iamp     random    .1, 1
> ipan     random    0, 1
> asin     oscils    iamp, ifreq, 0
> aL, aR   pan2      asin, ipan
>          fout      Sfilnam, 4, aL, aR
>          outs      aL, aR
>          printf_i  "File '%s' written to the same directory as this CSD
> file
> is!\\n", 1, Sfilnam
>
> endin
>
> 
> 
> i 1 0 1
> 
> 
>
>
> and it works, however there is a mysterious of output of text that might
> help debugging:
>
>
>
> ********************
> * USING NEW PARSER *
> ********************
> Type confusion for cent (296,289), replacing
> Type confusion for octave (296,289), replacing
> Type confusion for semitone (296,289), replacing
> END OF INPUT
> Parsing successful!
> SETTING 0DBFS: 1.000000
> Unknown TREE node of type 288 found in root.
> Printing Tree
> 
> 
>  
>  
> 
> 
>  
>  
>  
>   
>   
>  
>  
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   
>   
>   
>  
>  
>    directory as this CSD file is!\\n"" >
>   
>   
>   
>   
>   
>  
> 
> 
> Elapsed time at end of orchestra compile: real: 0.004s, CPU: 0.000s
> sorting score ...
> 	... done
> Elapsed time at end of score sort: real: 0.004s, CPU: 0.000s
> Csound version 5.12 beta (double samples) Dec 26 2010
> midi channel 1 using instr 1
> midi channel 2 using instr 1
> midi channel 3 using instr 1
> midi channel 4 using instr 1
> midi channel 5 using instr 1
> midi channel 6 using instr 1
> midi channel 7 using instr 1
> midi channel 8 using instr 1
> midi channel 9 using instr 1
> midi channel 10 using instr 1
> midi channel 11 using instr 1
> midi channel 12 using instr 1
> midi channel 13 using instr 1
> midi channel 14 using instr 1
> midi channel 15 using instr 1
> midi channel 16 using instr 1
> displays suppressed
> sample rate overrides: esr = 48000.0000, ekr = 1500.0000, ksmps = 32
> 0dBFS level = 1.0
> WARNING: Seeding from current time 2823742662
>
> The available MIDI in devices are:
>    0: Midi Through Port-0 (ALSA)
>    1: M Audio Audiophile 24/96 MIDI (ALSA)
> PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
> orch now loaded
> audio buffered in 256 sample-frame blocks
> reading 1024-byte blks of shorts from adc (RAW)
> Jack: JackClient::SetupDriverSync driver sem in flush mode
> Jack: JackPosixSemaphore::Connect jack_sem.1000_default_csound5
> Jack: Already connected name = csound5
> Jack: Clock source : system clock via clock_gettime
> Jack: JackLibClient::Open name = csound5 refnum = 4
> Jack: JackClient::PortRegister ref = 4 name = csound5:input1 type = 32 bit
> float mono audio port_index = 37
> Jack: JackClient::PortRegister ref = 4 name = csound5:input2 type = 32 bit
> float mono audio port_index = 38
> Jack: JackClient::PortRegister ref = 4 name = csound5:output1 type = 32
> bit
> float mono audio port_index = 39
> Jack: JackClient::PortRegister ref = 4 name = csound5:output2 type = 32
> bit
> float mono audio port_index = 40
> Jack: JackClient::Activate
> Jack: JackClient::StartThread : period = 1333 computation = 0 constraint =
> 1333
> Jack: Create non RT thread
> Jack: ThreadHandler: start
> Jack: JackClient::kActivateClient name = csound5 ref = 4
> writing 1024-byte blks of shorts to dac
> SECTION 1:
> new alloc for instr 1:
> File '2011_Jan_04_13_46_29' written to the same directory as this CSD file
> is!\nClosing file '/home/menno/csound/Output/2011_Jan_04_13_46_29'...
> B  0.000 ..  1.000 T  1.000 TT  1.000 M:  0.51073  0.19216
> Score finished in csoundPerform().
> inactive allocs returned to freespace
> end of score.		   overall amps:  0.51073  0.19216
> 	   overall samples out of range:        0        0
> 0 errors in performance
>
> greetings,
> Menno
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/a-new-new-parser-report-tp3326952p3326952.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-04 19:31
Frommenno
SubjectRe: [Cs-dev] a new new parser report
i rebuild and installed Csound doubles today but get the same result. My
previous Csound build was from 26 decembre.

These are my scons options:
scons -j 3 buildDSSI=1 buildImageOpcodes=1 buildInterfaces=1
buildJavaWrapper=1 buildNewParser=1 buildPythonOpcodes=1 buildUtilities=1
buildVirtual=1 Lib64=0 useDouble=1 usePortAudio=1 usePortMidi=1 useALSA=1
useJack=1 useFLTK=1 Word64=1 buildPythonWrapper=1 smoothSort=1 includeMP3=1
buildCsoundAC=1 buildStkOpcodes=1 buildBeats=1 buildWinsound=1 > compile.txt

and i get no real errors anywhere.
?
regards,
menno
-- 
View this message in context: http://csound.1045644.n5.nabble.com/a-new-new-parser-report-tp3326952p3327648.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net