< Back to IRCAM Forum

TOSCA - OSCAR script for mono stereo and multichannel tracks

Hello,
Im struggling sending the correct script for all my tracks to Panoramix and return.
I tried adding a different prefix in order to send the right address from different id, but nothing has worked.

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <tosca version="0.9" prefix="/multi">
     <parameter index="1" name="direct/gain" min="-80" max="30" scaling="linear"/>
     <parameter index="2" name="early/gain" min="-80" max="30" scaling="linear"/>
     <parameter index="3" name="dist" min="0.20" max="3.0" scaling="linear"/>
I'm wondering if there is a way to have only one script to control mono, stereo and other tracks in panoramix, but it hasn't work, this one gets loaded into TOSCA but it glitches:
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <tosca version="0.9" prefix="/track">
     <parameter index="1" name="azim" min="-180" max="180" scaling="linear"/>
     <parameter index="2" name="elev" min="-90" max="90" scaling="linear"/>
     <parameter index="3" name="dist" min="0.20" max="3.0" scaling="linear"/>
     </tosca>
		<prefix="/stereo">
     <parameter index="1" name="azim" min="-180" max="180" scaling="linear"/>
     <parameter index="2" name="elev" min="-90" max="90" scaling="linear"/>
     <parameter index="3" name="dist" min="0.20" max="3.0" scaling="linear"/>
     </tosca>

<prefix="/multi">



Any ideas?
Many thanks in advance
Mauricio

Hi,

The syntax you used is incorrect (and anyway you can’t have multiple prefixes in ToscA).

You should use OSCar instead of ToscA (which is kind of deprecated).
OSCar offers more flexibility for building your configuration script.

Best,
T.

Thanks, is there a place where I can find examples of scripts? OSCAR and TOSCA manuals show only one example and for some reason I can’t get any incoming OSC data to either one of them.

Best,
Mauricio.

Hi,

There is one example oscar.xml in the doc folder of the OSCar release.

Best,
T.