Csound Csound-dev Csound-tekno Search About

[Cs-dev] Fwd: [Csnd] csound5(Linux) pvsanal error

Date2005-06-09 10:07
FromVictor Lazzarini
Subject[Cs-dev] Fwd: [Csnd] csound5(Linux) pvsanal error
This is from a student of mine. For some reason, he's getting
strange errors with pvsanal in one of our lab machines. I had
a quick look but could not identify what the problem was. I can't
replicate the error in my Linux machine either.

Any clues?

Victor



>Hi,
>I get the following error using pvsanal in an instrument
>- a pvsanal csound example (the hole output and the
>instrument can be found at the bottom of this email).
>
>error:  input arg '0' of type const not allowed when
>expecting y, line 3:
>fin   pvsanal   ain,1024,256,1024,0  ;fout  pvsmaska
>fin,1,0.75           ;aout  pvsynth   fout
>;out aout
>
>I'm running csound5 built and installed from cvs
>to days ago on my linux box running fedora3
>planet ccrma. I've been googeling for the error and
>found this thread of someone having the same error
>but I couldn't find a solution yet:
>http://www.bek.no/pipermail/csoundtekno/2004-September/001686.html
>
>Any hints would be highly appreciated
>Thanks
>Simon
>
>The hole output and the instrument:
>
>instr 1
>ain   diskin "altosax.aif"           ; live source
>fin   pvsanal   ain,1024,256,1024,0  ; analyse, using
>Hamming
>fout  pvsmaska  fin,1,0.75           ; apply eq from f-table
>aout  pvsynth   fout                 ; and resynthesize
>out aout
>        endin
>
>[erikos@pygmalion test]$ csound -+rtaudio=alsa
>--expression-opt -odac -d -m0 ~/test/pvsfilter.csd
>Localisation of messages is disabled, using default
>language.
>time resolution is 0.669 ns
>Error '/usr/local/lib/csound/opcodes/librtpa.so: undefined
>symbol: Pa_GetDeviceCount' in
>dlopen(/usr/local/lib/csound/opcodes/librtpa.so).
>WARNING: could not open library 'librtpa.so'
>PortMIDI real time MIDI plugin for Csound
>ALSA real-time audio module for Csound by Istvan Varga
>JACK real-time audio module for Csound by Istvan Varga
>0dBFS level = 32768.0
>Csound version 5.00 beta (float samples) Jun  7 2005
>libsndfile-1.0.11
>UnifiedCSD:  /home/erikos/test/pvsfilter.csd
>STARTING FILE
>Creating options
>Creating orchestra
>Creating /tmp/filerOit0v.orc (0x80fcfe0)
>Creating score
>orchname:  /tmp/filerOit0v.orc
>scorename: /tmp/fileVYApWO.sco
>Error '/usr/local/lib/csound/opcodes/librtpa.so: undefined
>symbol: Pa_GetDeviceCount' in
>dlopen(/usr/local/lib/csound/opcodes/librtpa.so).
>rtmidi: PortMIDI module enabled
>rtaudio: ALSA module enabled
>orch compiler:
>7 lines read
>         instr   1
>error:  input arg '0' of type const not allowed when
>expecting y, line 3:
>fin   pvsanal   ain,1024,256,1024,0  ;fout  pvsmaska
>fin,1,0.75           ;aout  pvsynth   fout
>;out aout
>error:  input arg '1024' of type const not allowed when
>expecting y, line 3:
>fin   pvsanal   ain,1024,256,1024,0  ;fout  pvsmaska
>fin,1,0.75           ;aout  pvsynth   fout
>;out aout
>error:  input arg 'pvsanalain' used before defined, line 3:
>fin   pvsanal   ain,1024,256,1024,0  ;fout  pvsmaska
>fin,1,0.75           ;aout  pvsynth   fout
>;out aout
>error:  input arg 'pvsanalain' of type ? not allowed when
>expecting T, line 3:
>fin   pvsanal   ain,1024,256,1024,0  ;fout  pvsmaska
>fin,1,0.75           ;aout  pvsynth   fout
>;out aout
>error:  input arg '0.75' of type const not allowed when
>expecting y, line 4:
>fout  pvsmaska  fin,1,0.75           ;aout  pvsynth   fout
>               ;out aout
>error:  input arg 'pvsmaskafin' used before defined, line 4:
>fout  pvsmaska  fin,1,0.75           ;aout  pvsynth   fout
>               ;out aout
>error:  input arg 'pvsmaskafin' of type ? not allowed when
>expecting T, line 4:
>fout  pvsmaska  fin,1,0.75           ;aout  pvsynth   fout
>               ;out aout
>error:  input arg 'fout' used before defined, line 5:
>aout  pvsynth   fout                 ;out aout
>8 syntax errors in orchestra.  compilation invalid
>inactive allocs returned to freespace
>Removing temporary file /tmp/fileVYApWO.sco ...
>Removing temporary file /tmp/filerOit0v.orc ...
>
>
>--
>Send bugs reports to csound-bugs@cs.bath.ac.uk
>               (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net