Csound Csound-dev Csound-tekno Search About

[Csnd] Orch issue

Date2008-10-22 01:58
Fromcochedelaferte
Subject[Csnd] Orch issue
Hi all,

Now i adapted for Solaris and builded (Sparc 64 bits) Csound-5.09.0, but
trying the example files (all) i get several syntax errors from the Orch
compiler. I suppose that something is wrong in my build, what can be it as
kind of issue ?

Cheers,

Sergio


-- 
View this message in context: http://www.nabble.com/Orch-issue-tp20102313p20102313.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2008-10-22 02:09
From"Andres Cabrera"
Subject[Csnd] Re: Orch issue
AttachmentsNone  

Date2008-10-22 09:50
Fromcochedelaferte
Subject[Csnd] Re: Orch issue
Hi Andrés,


Thank's for your quick reply !


> Maybe OPCODEDIR is not set, so csound is not finding the plugin opcodes?

I verified that some times, here is the exact list of the libraries i
builded :

bash-3.00# ls /usr/local/lib/64/csound/plugins
libambicode1.so    libftest.so        libpartikkel.so    libstackops.so
libampmidid.so     libgabnew.so       libphisem.so       libstdopcod.so
libbabo.so         libgrain4.so       libphysmod.so      libstdutil.so
libbarmodel.so     libharmon.so       libpitch.so        libsystem_call.so
libcompress.so     libhrtferX.so      libptrack.so       libudprecv.so
libcontrol.so      libhrtfnew.so      libpvoc.so         libudpsend.so
libcs_date.so      libimage.so        libpvsbuffer.so    libugakbari.so
libcs_pan2.so      libloscilx.so      librtpulse.so      libvaops.so
libcs_pvs_ops.so   libminmax.so       libscansyn.so      libvbap.so
libcsound.so       libmixer.so        libscoreline.so    libvosim.so
libcsound.so.5.1   libmodal4.so       libsfont.so
libeqfil.so        libmutexops.so     libshape.so
bash-3.00# 


> Can you post the exact errors?

Here the most simple example :

bash-3.00# ./csound -+rtaudio=pulse examples/am.csd
0dBFS level = 32768,0
Csound version 5.09 (float samples) Oct 21 2008
libsndfile-1.0.17
UnifiedCSD:  examples/am.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  /var/tmp/aaaC1aixc.orc
scorename: /var/tmp/baaD1aixc.sco
orch compiler:
8 lines read
error:  instr 0 redefined, line 7:
instr 1  
error:  instr 0 redefined, line 8:
  k2 oscil 10000, 1, 1
2 syntax errors in orchestra.  compilation invalid
bash-3.00# 


The file (am.csd, worked fine on a build i made a half-year ago, also on
Solaris but x86) :



-odac -d -B4096 -b1024



instr 1                        -------- line 7 --------
  k2 oscil 10000, 1, 1         -------- line 8 --------
  a1 oscil 10000+k2, 120, 1
  chano a1, 1
  out a1
endin





f1 0 16384 10 1
; run for 30 secs
i1 0 30 







I don't know what to think about...



Sergio





-- 
View this message in context: http://www.nabble.com/Orch-issue-tp20102313p20106507.html
Sent from the Csound - General mailing list archive at Nabble.com.



Date2008-10-22 10:02
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Orch issue
It clearly thinks you are in instrum,ent 0 so it is not accepting the

instr 1

line.  Possibilities include line endings, extraneous characters,....
Actually I am just confused


>
> Hi Andrés,
>
>
> Thank's for your quick reply !
>
>
>> Maybe OPCODEDIR is not set, so csound is not finding the plugin opcodes?
>
> I verified that some times, here is the exact list of the libraries i
> builded :
>
> bash-3.00# ls /usr/local/lib/64/csound/plugins
> libambicode1.so    libftest.so        libpartikkel.so    libstackops.so
> libampmidid.so     libgabnew.so       libphisem.so       libstdopcod.so
> libbabo.so         libgrain4.so       libphysmod.so      libstdutil.so
> libbarmodel.so     libharmon.so       libpitch.so        libsystem_call.so
> libcompress.so     libhrtferX.so      libptrack.so       libudprecv.so
> libcontrol.so      libhrtfnew.so      libpvoc.so         libudpsend.so
> libcs_date.so      libimage.so        libpvsbuffer.so    libugakbari.so
> libcs_pan2.so      libloscilx.so      librtpulse.so      libvaops.so
> libcs_pvs_ops.so   libminmax.so       libscansyn.so      libvbap.so
> libcsound.so       libmixer.so        libscoreline.so    libvosim.so
> libcsound.so.5.1   libmodal4.so       libsfont.so
> libeqfil.so        libmutexops.so     libshape.so
> bash-3.00#
>
>
>> Can you post the exact errors?
>
> Here the most simple example :
>
> bash-3.00# ./csound -+rtaudio=pulse examples/am.csd
> 0dBFS level = 32768,0
> Csound version 5.09 (float samples) Oct 21 2008
> libsndfile-1.0.17
> UnifiedCSD:  examples/am.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> orchname:  /var/tmp/aaaC1aixc.orc
> scorename: /var/tmp/baaD1aixc.sco
> orch compiler:
> 8 lines read
> error:  instr 0 redefined, line 7:
> instr 1
> error:  instr 0 redefined, line 8:
>   k2 oscil 10000, 1, 1
> 2 syntax errors in orchestra.  compilation invalid
> bash-3.00#
>
>
> The file (am.csd, worked fine on a build i made a half-year ago, also on
> Solaris but x86) :
>
> 
> 
> -odac -d -B4096 -b1024
> 
> 
>
> instr 1                        -------- line 7 --------
>   k2 oscil 10000, 1, 1         -------- line 8 --------
>   a1 oscil 10000+k2, 120, 1
>   chano a1, 1
>   out a1
> endin
>
> 
>
> 
>
> f1 0 16384 10 1
> ; run for 30 secs
> i1 0 30
>
> 
>
> 
>
>
>
> I don't know what to think about...
>
>
>
> Sergio
>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Orch-issue-tp20102313p20106507.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>



Date2008-10-22 20:33
Fromcochedelaferte
Subject[Csnd] Re: Re: Orch issue
Hi Andrés,

  
Now i rebuilded all without my changes for Solaris, just to see what happens
with Orch, and exactly same issue. Strange...


Cheers,

Sergio

-- 
View this message in context: http://www.nabble.com/Orch-issue-tp20102313p20118145.html
Sent from the Csound - General mailing list archive at Nabble.com.