Csound Csound-dev Csound-tekno Search About

[Cs-dev] STKerrors

Date2010-08-08 12:29
Frommenno
Subject[Cs-dev] STKerrors
i have an error report about the repaired STK opcodes
i built Csound from CVS this morning.

I get these errors:

menno@ubuntu:/media/LAC/improved examples/niks$ csound -odac STKexample2.csd
time resolution is 1000.000 ns
PortAudio real-time audio module for Csound
PortMIDI real time MIDI plugin for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.12 beta (double samples) Aug  8 2010
libsndfile-1.0.21
UnifiedCSD:  STKexample2.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  /tmp/csound-FxCk8W.orc
scorename: /tmp/csound-f7MzGt.sco
RAWWAVE_PATH: /usr/local/share/csound/rawwaves/
rtmidi: PortMIDI module enabled
rtaudio: PortAudio module enabled ... using blocking interface
orch compiler:
18 (19) lines read
	instr	1	
error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
error:  input arg '128' of type const not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
error:  input arg '11' of type const not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
error:  input arg '4' of type const not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
error:  input arg '2' of type const not allowed when expecting J, line 22:
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
8 syntax errors in orchestra.  compilation invalid
Removing temporary file /tmp/csound-f7MzGt.sco ...
Removing temporary file /tmp/csound-FxCk8W.orc ...


This is the csd:

CsoundSynthesizer>





; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

; Instrument #1.
instr 1 ;STK Clarinet
kjet	line	1, p3, 100
;asignal STKName ifreq igain ,cont1,val1,cont2,val2,cont3, val3,cont4, val4
;asignal STKFlute 400, 1, 2, 10, 4, 0, 11, 0, 128, 10
asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
asig = asig*30000		;amplify
outs asig, asig
endin





i 1 0 5 
e




------------------------------------

i get these errors when i give everything a constant value:


menno@ubuntu:/media/LAC/improved examples/niks$ csound -odac STKexample3.csd
time resolution is 1000.000 ns
PortAudio real-time audio module for Csound
PortMIDI real time MIDI plugin for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.12 beta (double samples) Aug  8 2010
libsndfile-1.0.21
UnifiedCSD:  STKexample3.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  /tmp/csound-fMcbX2.orc
scorename: /tmp/csound-D6M1lL.sco
RAWWAVE_PATH: /usr/local/share/csound/rawwaves/
rtmidi: PortMIDI module enabled
rtaudio: PortAudio module enabled ... using blocking interface
orch compiler:
18 (19) lines read
	instr	1	
error:  input arg '100' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
error:  input arg '128' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
error:  input arg '100' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
error:  input arg '11' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
error:  input arg '100' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
error:  input arg '4' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
error:  input arg '100' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
error:  input arg '2' of type const not allowed when expecting J, line 20:
asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
8 syntax errors in orchestra.  compilation invalid
Removing temporary file /tmp/csound-D6M1lL.sco ...
Removing temporary file /tmp/csound-fMcbX2.orc ...

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

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-08 18:35
FromMichael Gogins
SubjectRe: [Cs-dev] STKerrors
I will test this very soon. I have almost completed building Csound
5.12 with my STK fix on Windows 7 with GCC 4.5. I am sure I can fix
this quickly if there is still a problem.

Regards,
Mike

On 8/8/10, menno  wrote:
>
> i have an error report about the repaired STK opcodes
> i built Csound from CVS this morning.
>
> I get these errors:
>
> menno@ubuntu:/media/LAC/improved examples/niks$ csound -odac STKexample2.csd
> time resolution is 1000.000 ns
> PortAudio real-time audio module for Csound
> PortMIDI real time MIDI plugin for Csound
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 5.12 beta (double samples) Aug  8 2010
> libsndfile-1.0.21
> UnifiedCSD:  STKexample2.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> orchname:  /tmp/csound-FxCk8W.orc
> scorename: /tmp/csound-f7MzGt.sco
> RAWWAVE_PATH: /usr/local/share/csound/rawwaves/
> rtmidi: PortMIDI module enabled
> rtaudio: PortAudio module enabled ... using blocking interface
> orch compiler:
> 18 (19) lines read
> 	instr	1	
> error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> error:  input arg '128' of type const not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> error:  input arg '11' of type const not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> error:  input arg '4' of type const not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> error:  input arg 'kjet' of type k not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> error:  input arg '2' of type const not allowed when expecting J, line 22:
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> 8 syntax errors in orchestra.  compilation invalid
> Removing temporary file /tmp/csound-f7MzGt.sco ...
> Removing temporary file /tmp/csound-FxCk8W.orc ...
>
>
> This is the csd:
>
> CsoundSynthesizer>
> 
>
> 
> 
>
> ; Initialize the global variables.
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 2
>
> ; Instrument #1.
> instr 1 ;STK Clarinet
> kjet	line	1, p3, 100
> ;asignal STKName ifreq igain ,cont1,val1,cont2,val2,cont3, val3,cont4, val4
> ;asignal STKFlute 400, 1, 2, 10, 4, 0, 11, 0, 128, 10
> asig STKFlute 400, 1, 2, kjet, 4, kjet, 11, kjet, 128, kjet
> asig = asig*30000		;amplify
> outs asig, asig
> endin
>
>
> 
> 
>
> i 1 0 5
> e
> 
> 
>
>
> ------------------------------------
>
> i get these errors when i give everything a constant value:
>
>
> menno@ubuntu:/media/LAC/improved examples/niks$ csound -odac STKexample3.csd
> time resolution is 1000.000 ns
> PortAudio real-time audio module for Csound
> PortMIDI real time MIDI plugin for Csound
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 5.12 beta (double samples) Aug  8 2010
> libsndfile-1.0.21
> UnifiedCSD:  STKexample3.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> orchname:  /tmp/csound-fMcbX2.orc
> scorename: /tmp/csound-D6M1lL.sco
> RAWWAVE_PATH: /usr/local/share/csound/rawwaves/
> rtmidi: PortMIDI module enabled
> rtaudio: PortAudio module enabled ... using blocking interface
> orch compiler:
> 18 (19) lines read
> 	instr	1	
> error:  input arg '100' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> error:  input arg '128' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> error:  input arg '100' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> error:  input arg '11' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> error:  input arg '100' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> error:  input arg '4' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> error:  input arg '100' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> error:  input arg '2' of type const not allowed when expecting J, line 20:
> asig STKFlute 400, 1, 2, 100, 4, 100, 11, 100, 128, 100
> 8 syntax errors in orchestra.  compilation invalid
> Removing temporary file /tmp/csound-D6M1lL.sco ...
> Removing temporary file /tmp/csound-fMcbX2.orc ...
>
> greetings,
> Menno
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/STKerrors-tp2267931p2267931.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net