try this PythonObject example please

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown try this PythonObject example please

by menno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Steven, list

i was looking once more into one of the specrum-blue-examples that were supplied by Peiman from http://www.csounds.com/journal/issue7/onTheDesignOfSpectralToolsInBlue.html. Great article by the way, very inspiring,thanks Peiman.
I remember a while ago running this example 'texture-with-soundfile.blue' using a Blue version i downloaded and installed from Sourceforge. That worked.
Recently i clean-installed Suse 11.0 and installed Blue from the repository from Packman. Now it doesn't work.
I also remember that a while ago i also installed from this repo and had the same problem as i'm having now. The problem is i when testing in the Score tab the score generation i get this error:


There was an score generation error in the soundObject:

Type: PythonObjectName: PythonObject
Start Time: 0

Details:
Jython Error:
Traceback (innermost last):
  File "<string>", line 1, in ?
ImportError: no module named random


When running i get this:

There was an score generation error in the soundObject:

Type: PolyObjectName: root
Start Time: 0

Cause:
Error in SoundLayer:
Layer Number: 1

Cause:
There was an score generation error in the soundObject:

Type: PythonObjectName: PythonObject
Start Time: 0

Details:
Jython Error:
Traceback (innermost last):
  File "<string>", line 1, in ?
ImportError: no module named random


I have the feeling with the Packman version of Blue that the problem from long ago is still present.
Can you try out this file to exclude that my system is faulty please?

great thanks
Menno

<blueData version='0.120.0'>
  <projectProperties>
    <title></title>
    <author>author</author>
    <notes></notes>
    <sampleRate>44100</sampleRate>
    <ksmps>10</ksmps>
    <channels>2</channels>
    <diskSampleRate>44100</diskSampleRate>
    <diskKsmps>1</diskKsmps>
    <diskChannels>2</diskChannels>
    <useAudioOut>true</useAudioOut>
    <useAudioIn>false</useAudioIn>
    <useMidiIn>false</useMidiIn>
    <useMidiOut>false</useMidiOut>
    <noteAmpsEnabled>false</noteAmpsEnabled>
    <outOfRangeEnabled>true</outOfRangeEnabled>
    <warningsEnabled>false</warningsEnabled>
    <benchmarkEnabled>false</benchmarkEnabled>
    <advancedSettings>csound -d -+rtaudio=alsa -odac:plughw:0,0 -b128 -+msg_color=false -Q1</advancedSettings>
    <completeOverride>true</completeOverride>
    <fileName></fileName>
    <askOnRender>false</askOnRender>
    <diskNoteAmpsEnabled>true</diskNoteAmpsEnabled>
    <diskOutOfRangeEnabled>true</diskOutOfRangeEnabled>
    <diskWarningsEnabled>true</diskWarningsEnabled>
    <diskBenchmarkEnabled>true</diskBenchmarkEnabled>
    <diskAdvancedSettings></diskAdvancedSettings>
    <diskCompleteOverride>false</diskCompleteOverride>
  </projectProperties>
  <arrangement>
    <instrumentAssignment arrangementId='1' isEnabled='true'>
      <instrument type='blue.orchestra.BlueSynthBuilder' editEnabled='true'>
        <name>player</name>
        <comment></comment>
        <globalOrc>gitenvelop_<INSTR_ID> ftgen 0, 0, 16384, 19, 1, 1, 260, 1
</globalOrc>
        <globalSco/>
        <instrumentText>

ipitch = p4
imodulation = p5
ipan = p6
asig1, asig2   diskin "<filein>", ipitch, 0, 0

aenv oscili   1, 1 / p3, gitenvelop_<INSTR_ID>

kjit jitter <jitamp>, <jitminspeed>, <jitmaxspeed>


amod1 oscili 1, imodulation*kjit, gitenvelop_<INSTR_ID>, <phase1>
amod2 oscili 1, imodulation*kjit, gitenvelop_<INSTR_ID>, <phase2>

if (ipan == 1) then
aout1 = asig1*amod1
aout2 = asig2*amod2
else
aout1 = asig1*amod2
aout2 = asig2*amod1

endif

blueMixerOut "<route>", aout1*aenv, aout2*aenv
</instrumentText>
        <graphicInterface editEnabled='false'>
          <uniqueNameManager nameIndex='2' defaultPrefix='bsbObj'/>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBFileSelector'>
            <objectName>filein</objectName>
            <x>32</x>
            <y>25</y>
            <fileName>/home/menno/data/csound/Samples/deurpiep05.wav</fileName>
            <textFieldWidth>200</textFieldWidth>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBSubChannelDropdown'>
            <objectName>route</objectName>
            <x>31</x>
            <y>65</y>
            <channelOutput>Master</channelOutput>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
            <objectName>phase1</objectName>
            <x>284</x>
            <y>16</y>
            <automationAllowed>true</automationAllowed>
            <minimum>0.0</minimum>
            <maximum>1.0</maximum>
            <value>0.0</value>
            <knobWidth>60</knobWidth>
            <randomizable>true</randomizable>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
            <objectName>phase2</objectName>
            <x>355</x>
            <y>16</y>
            <automationAllowed>true</automationAllowed>
            <minimum>0.0</minimum>
            <maximum>1.0</maximum>
            <value>0.16457324</value>
            <knobWidth>60</knobWidth>
            <randomizable>true</randomizable>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
            <objectName></objectName>
            <x>289</x>
            <y>95</y>
            <label>phase: left and right</label>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
            <objectName>jitamp</objectName>
            <x>29</x>
            <y>112</y>
            <automationAllowed>true</automationAllowed>
            <minimum>0.0</minimum>
            <maximum>10.0</maximum>
            <value>0.75692475</value>
            <knobWidth>60</knobWidth>
            <randomizable>true</randomizable>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
            <objectName></objectName>
            <x>96</x>
            <y>139</y>
            <label>modulation jitter amp</label>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
            <objectName>jitminspeed</objectName>
            <x>456</x>
            <y>30</y>
            <automationAllowed>true</automationAllowed>
            <minimum>0.0</minimum>
            <maximum>10.0</maximum>
            <value>6.0</value>
            <knobWidth>60</knobWidth>
            <randomizable>true</randomizable>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
            <objectName>jitmaxspeed</objectName>
            <x>456</x>
            <y>112</y>
            <automationAllowed>true</automationAllowed>
            <minimum>0.0</minimum>
            <maximum>10.0</maximum>
            <value>9.731004</value>
            <knobWidth>60</knobWidth>
            <randomizable>true</randomizable>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
            <objectName></objectName>
            <x>529</x>
            <y>51</y>
            <label>Min jitter freq</label>
          </bsbObject>
          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
            <objectName></objectName>
            <x>527</x>
            <y>130</y>
            <label>Max jitter freq</label>
          </bsbObject>
        </graphicInterface>
        <bsbParameterList>
          <parameter uniqueId='-1649926395' name='jitamp' label='' min='0.0' max='10.0' resolution='-1.0' automationEnabled='false'>
            <line name='' version='2' max='10.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
              <linePoint x='0.0' y='0.75692475'/>
            </line>
          </parameter>
          <parameter uniqueId='-1649926391' name='jitmaxspeed' label='' min='0.0' max='10.0' resolution='-1.0' automationEnabled='false'>
            <line name='' version='2' max='10.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
              <linePoint x='0.0' y='9.731004'/>
            </line>
          </parameter>
          <parameter uniqueId='-1649926393' name='jitminspeed' label='' min='0.0' max='10.0' resolution='-1.0' automationEnabled='false'>
            <line name='' version='2' max='10.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
              <linePoint x='0.0' y='6.0'/>
            </line>
          </parameter>
          <parameter uniqueId='-1649926399' name='phase1' label='' min='0.0' max='1.0' resolution='-1.0' automationEnabled='false'>
            <line name='' version='2' max='1.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
              <linePoint x='0.0' y='0.0'/>
            </line>
          </parameter>
          <parameter uniqueId='-1649926397' name='phase2' label='' min='0.0' max='1.0' resolution='-1.0' automationEnabled='false'>
            <line name='' version='2' max='1.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
              <linePoint x='0.0' y='0.16457324'/>
            </line>
          </parameter>
        </bsbParameterList>
        <presetGroup name='Presets'/>
        <opcodeList/>
      </instrument>
    </instrumentAssignment>
  </arrangement>
  <mixer>
    <enabled>true</enabled>
    <extraRenderTime>0.0</extraRenderTime>
    <channelList list='channels'>
      <channel>
        <name>1</name>
        <outChannel>Master</outChannel>
        <level>0.0</level>
        <muted>false</muted>
        <solo>false</solo>
        <effectsChain bin='pre'/>
        <effectsChain bin='post'/>
        <parameter uniqueId='2031623879' name='Volume' label='dB' min='-96.0' max='12.0' resolution='-1.0' automationEnabled='false'>
          <line name='' version='2' max='12.0' min='-96.0' resolution='-1.0' color='-8355712' rightBound='false'>
            <linePoint x='0.0' y='0.0'/>
          </line>
        </parameter>
      </channel>
    </channelList>
    <channelList list='subChannels'/>
    <channel>
      <name>Master</name>
      <outChannel>Master</outChannel>
      <level>-0.3</level>
      <muted>false</muted>
      <solo>false</solo>
      <effectsChain bin='pre'/>
      <effectsChain bin='post'/>
      <parameter uniqueId='2031623409' name='Volume' label='dB' min='-96.0' max='12.0' resolution='-1.0' automationEnabled='false'>
        <line name='' version='2' max='12.0' min='-96.0' resolution='-1.0' color='-8355712' rightBound='false'>
          <linePoint x='0.0' y='0.0'/>
        </line>
      </parameter>
    </channel>
  </mixer>
  <tables></tables>
  <soundObjectLibrary/>
  <globalOrcSco>
    <globalOrc></globalOrc>
    <globalSco></globalSco>
  </globalOrcSco>
  <opcodeList/>
  <liveData>
    <commandLine>csound -Wdo devaudio -L stdin</commandLine>
    <commandLineEnabled>false</commandLineEnabled>
    <commandLineOverride>false</commandLineOverride>
  </liveData>
  <soundObject type='blue.soundObject.PolyObject'>
    <subjectiveDuration>2.0</subjectiveDuration>
    <startTime>0.0</startTime>
    <name>root</name>
    <backgroundColor>-10066279</backgroundColor>
    <timeBehavior>0</timeBehavior>
    <noteProcessorChain/>
    <isRoot>true</isRoot>
    <pixelSecond>20</pixelSecond>
    <defaultHeightIndex>0</defaultHeightIndex>
    <snapEnabled>false</snapEnabled>
    <snapValue>1.0</snapValue>
    <timeDisplay>0</timeDisplay>
    <timeUnit>5</timeUnit>
    <soundLayer name='' muted='false' solo='false' heightIndex='0'>
      <noteProcessorChain/>
      <soundObject type='blue.soundObject.PythonObject'>
        <subjectiveDuration>18.3</subjectiveDuration>
        <startTime>0.0</startTime>
        <name>PythonObject</name>
        <backgroundColor>-12566464</backgroundColor>
        <timeBehavior>2</timeBehavior>
        <noteProcessorChain/>
        <pythonCode>import random

def myscore(numnotes):
        scoreText = ""
       
        for i in range (numnotes):
                div = numnotes - (i * .5)
                modulation = random.uniform(0.5, 2.)
                start = i * random.random()
                pitch = random.uniform(.1, 5.)
                length = 5 / pitch
                pan = random.randint(0, 1)
                scoreText += "i1 " + str(start) + " " + str(length) + " " + str(pitch) + " " + str(modulation) + " " + str(pan) + " \n"
       
        return scoreText
     

score = myscore(400)
</pythonCode>
      </soundObject>
      <soundObject type='blue.soundObject.Sound'>
        <subjectiveDuration>2.0</subjectiveDuration>
        <startTime>63.15</startTime>
        <name>Sound</name>
        <backgroundColor>-12566464</backgroundColor>
        <instrumentText>;insert instrument text here</instrumentText>
      </soundObject>
    </soundLayer>
  </soundObject>
  <scratchPadData>
    <isWordWrapEnabled>true</isWordWrapEnabled>
    <scratchText/>
  </scratchPadData>
  <noteProcessorChainMap/>
  <renderStartTime>0.0</renderStartTime>
  <renderEndTime>-1.0</renderEndTime>
  <markersList/>
  <loopRendering>false</loopRendering>
</blueData>



     

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: try this PythonObject example please

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Menno,

Sorry I'm late in replying!  From what I remember, the Suse package
doesn't work when using python objects.  I think the problem was that
the package installs but the directory where the python (jython)
library scripts are installed are not write enabled for general users
which is required to run.  You can test this by running blue as root
and seeing if that works.

I would suggest just installing from the installer jar as I'm sure it
will run fine on Linux.

Thanks!
steven

On Tue, Aug 12, 2008 at 11:35 AM, na bob <nabob_cd@...> wrote:

> Hi Steven, list
>
> i was looking once more into one of the specrum-blue-examples that were supplied by Peiman from http://www.csounds.com/journal/issue7/onTheDesignOfSpectralToolsInBlue.html. Great article by the way, very inspiring,thanks Peiman.
> I remember a while ago running this example 'texture-with-soundfile.blue' using a Blue version i downloaded and installed from Sourceforge. That worked.
> Recently i clean-installed Suse 11.0 and installed Blue from the repository from Packman. Now it doesn't work.
> I also remember that a while ago i also installed from this repo and had the same problem as i'm having now. The problem is i when testing in the Score tab the score generation i get this error:
>
>
> There was an score generation error in the soundObject:
>
> Type: PythonObjectName: PythonObject
> Start Time: 0
>
> Details:
> Jython Error:
> Traceback (innermost last):
>  File "<string>", line 1, in ?
> ImportError: no module named random
>
>
> When running i get this:
>
> There was an score generation error in the soundObject:
>
> Type: PolyObjectName: root
> Start Time: 0
>
> Cause:
> Error in SoundLayer:
> Layer Number: 1
>
> Cause:
> There was an score generation error in the soundObject:
>
> Type: PythonObjectName: PythonObject
> Start Time: 0
>
> Details:
> Jython Error:
> Traceback (innermost last):
>  File "<string>", line 1, in ?
> ImportError: no module named random
>
>
> I have the feeling with the Packman version of Blue that the problem from long ago is still present.
> Can you try out this file to exclude that my system is faulty please?
>
> great thanks
> Menno
>
> <blueData version='0.120.0'>
>  <projectProperties>
>    <title></title>
>    <author>author</author>
>    <notes></notes>
>    <sampleRate>44100</sampleRate>
>    <ksmps>10</ksmps>
>    <channels>2</channels>
>    <diskSampleRate>44100</diskSampleRate>
>    <diskKsmps>1</diskKsmps>
>    <diskChannels>2</diskChannels>
>    <useAudioOut>true</useAudioOut>
>    <useAudioIn>false</useAudioIn>
>    <useMidiIn>false</useMidiIn>
>    <useMidiOut>false</useMidiOut>
>    <noteAmpsEnabled>false</noteAmpsEnabled>
>    <outOfRangeEnabled>true</outOfRangeEnabled>
>    <warningsEnabled>false</warningsEnabled>
>    <benchmarkEnabled>false</benchmarkEnabled>
>    <advancedSettings>csound -d -+rtaudio=alsa -odac:plughw:0,0 -b128 -+msg_color=false -Q1</advancedSettings>
>    <completeOverride>true</completeOverride>
>    <fileName></fileName>
>    <askOnRender>false</askOnRender>
>    <diskNoteAmpsEnabled>true</diskNoteAmpsEnabled>
>    <diskOutOfRangeEnabled>true</diskOutOfRangeEnabled>
>    <diskWarningsEnabled>true</diskWarningsEnabled>
>    <diskBenchmarkEnabled>true</diskBenchmarkEnabled>
>    <diskAdvancedSettings></diskAdvancedSettings>
>    <diskCompleteOverride>false</diskCompleteOverride>
>  </projectProperties>
>  <arrangement>
>    <instrumentAssignment arrangementId='1' isEnabled='true'>
>      <instrument type='blue.orchestra.BlueSynthBuilder' editEnabled='true'>
>        <name>player</name>
>        <comment></comment>
>        <globalOrc>gitenvelop_<INSTR_ID> ftgen 0, 0, 16384, 19, 1, 1, 260, 1
> </globalOrc>
>        <globalSco/>
>        <instrumentText>
>
> ipitch = p4
> imodulation = p5
> ipan = p6
> asig1, asig2    diskin   "<filein>", ipitch, 0, 0
>
> aenv    oscili          1, 1 / p3, gitenvelop_<INSTR_ID>
>
> kjit jitter <jitamp>, <jitminspeed>, <jitmaxspeed>
>
>
> amod1 oscili    1, imodulation*kjit, gitenvelop_<INSTR_ID>, <phase1>
> amod2 oscili    1, imodulation*kjit, gitenvelop_<INSTR_ID>, <phase2>
>
> if (ipan == 1) then
> aout1 = asig1*amod1
> aout2 = asig2*amod2
> else
> aout1 = asig1*amod2
> aout2 = asig2*amod1
>
> endif
>
> blueMixerOut    "<route>", aout1*aenv, aout2*aenv
> </instrumentText>
>        <graphicInterface editEnabled='false'>
>          <uniqueNameManager nameIndex='2' defaultPrefix='bsbObj'/>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBFileSelector'>
>            <objectName>filein</objectName>
>            <x>32</x>
>            <y>25</y>
>            <fileName>/home/menno/data/csound/Samples/deurpiep05.wav</fileName>
>            <textFieldWidth>200</textFieldWidth>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBSubChannelDropdown'>
>            <objectName>route</objectName>
>            <x>31</x>
>            <y>65</y>
>            <channelOutput>Master</channelOutput>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
>            <objectName>phase1</objectName>
>            <x>284</x>
>            <y>16</y>
>            <automationAllowed>true</automationAllowed>
>            <minimum>0.0</minimum>
>            <maximum>1.0</maximum>
>            <value>0.0</value>
>            <knobWidth>60</knobWidth>
>            <randomizable>true</randomizable>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
>            <objectName>phase2</objectName>
>            <x>355</x>
>            <y>16</y>
>            <automationAllowed>true</automationAllowed>
>            <minimum>0.0</minimum>
>            <maximum>1.0</maximum>
>            <value>0.16457324</value>
>            <knobWidth>60</knobWidth>
>            <randomizable>true</randomizable>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
>            <objectName></objectName>
>            <x>289</x>
>            <y>95</y>
>            <label>phase: left and right</label>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
>            <objectName>jitamp</objectName>
>            <x>29</x>
>            <y>112</y>
>            <automationAllowed>true</automationAllowed>
>            <minimum>0.0</minimum>
>            <maximum>10.0</maximum>
>            <value>0.75692475</value>
>            <knobWidth>60</knobWidth>
>            <randomizable>true</randomizable>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
>            <objectName></objectName>
>            <x>96</x>
>            <y>139</y>
>            <label>modulation jitter amp</label>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
>            <objectName>jitminspeed</objectName>
>            <x>456</x>
>            <y>30</y>
>            <automationAllowed>true</automationAllowed>
>            <minimum>0.0</minimum>
>            <maximum>10.0</maximum>
>            <value>6.0</value>
>            <knobWidth>60</knobWidth>
>            <randomizable>true</randomizable>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
>            <objectName>jitmaxspeed</objectName>
>            <x>456</x>
>            <y>112</y>
>            <automationAllowed>true</automationAllowed>
>            <minimum>0.0</minimum>
>            <maximum>10.0</maximum>
>            <value>9.731004</value>
>            <knobWidth>60</knobWidth>
>            <randomizable>true</randomizable>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
>            <objectName></objectName>
>            <x>529</x>
>            <y>51</y>
>            <label>Min jitter freq</label>
>          </bsbObject>
>          <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
>            <objectName></objectName>
>            <x>527</x>
>            <y>130</y>
>            <label>Max jitter freq</label>
>          </bsbObject>
>        </graphicInterface>
>        <bsbParameterList>
>          <parameter uniqueId='-1649926395' name='jitamp' label='' min='0.0' max='10.0' resolution='-1.0' automationEnabled='false'>
>            <line name='' version='2' max='10.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
>              <linePoint x='0.0' y='0.75692475'/>
>            </line>
>          </parameter>
>          <parameter uniqueId='-1649926391' name='jitmaxspeed' label='' min='0.0' max='10.0' resolution='-1.0' automationEnabled='false'>
>            <line name='' version='2' max='10.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
>              <linePoint x='0.0' y='9.731004'/>
>            </line>
>          </parameter>
>          <parameter uniqueId='-1649926393' name='jitminspeed' label='' min='0.0' max='10.0' resolution='-1.0' automationEnabled='false'>
>            <line name='' version='2' max='10.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
>              <linePoint x='0.0' y='6.0'/>
>            </line>
>          </parameter>
>          <parameter uniqueId='-1649926399' name='phase1' label='' min='0.0' max='1.0' resolution='-1.0' automationEnabled='false'>
>            <line name='' version='2' max='1.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
>              <linePoint x='0.0' y='0.0'/>
>            </line>
>          </parameter>
>          <parameter uniqueId='-1649926397' name='phase2' label='' min='0.0' max='1.0' resolution='-1.0' automationEnabled='false'>
>            <line name='' version='2' max='1.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
>              <linePoint x='0.0' y='0.16457324'/>
>            </line>
>          </parameter>
>        </bsbParameterList>
>        <presetGroup name='Presets'/>
>        <opcodeList/>
>      </instrument>
>    </instrumentAssignment>
>  </arrangement>
>  <mixer>
>    <enabled>true</enabled>
>    <extraRenderTime>0.0</extraRenderTime>
>    <channelList list='channels'>
>      <channel>
>        <name>1</name>
>        <outChannel>Master</outChannel>
>        <level>0.0</level>
>        <muted>false</muted>
>        <solo>false</solo>
>        <effectsChain bin='pre'/>
>        <effectsChain bin='post'/>
>        <parameter uniqueId='2031623879' name='Volume' label='dB' min='-96.0' max='12.0' resolution='-1.0' automationEnabled='false'>
>          <line name='' version='2' max='12.0' min='-96.0' resolution='-1.0' color='-8355712' rightBound='false'>
>            <linePoint x='0.0' y='0.0'/>
>          </line>
>        </parameter>
>      </channel>
>    </channelList>
>    <channelList list='subChannels'/>
>    <channel>
>      <name>Master</name>
>      <outChannel>Master</outChannel>
>      <level>-0.3</level>
>      <muted>false</muted>
>      <solo>false</solo>
>      <effectsChain bin='pre'/>
>      <effectsChain bin='post'/>
>      <parameter uniqueId='2031623409' name='Volume' label='dB' min='-96.0' max='12.0' resolution='-1.0' automationEnabled='false'>
>        <line name='' version='2' max='12.0' min='-96.0' resolution='-1.0' color='-8355712' rightBound='false'>
>          <linePoint x='0.0' y='0.0'/>
>        </line>
>      </parameter>
>    </channel>
>  </mixer>
>  <tables></tables>
>  <soundObjectLibrary/>
>  <globalOrcSco>
>    <globalOrc></globalOrc>
>    <globalSco></globalSco>
>  </globalOrcSco>
>  <opcodeList/>
>  <liveData>
>    <commandLine>csound -Wdo devaudio -L stdin</commandLine>
>    <commandLineEnabled>false</commandLineEnabled>
>    <commandLineOverride>false</commandLineOverride>
>  </liveData>
>  <soundObject type='blue.soundObject.PolyObject'>
>    <subjectiveDuration>2.0</subjectiveDuration>
>    <startTime>0.0</startTime>
>    <name>root</name>
>    <backgroundColor>-10066279</backgroundColor>
>    <timeBehavior>0</timeBehavior>
>    <noteProcessorChain/>
>    <isRoot>true</isRoot>
>    <pixelSecond>20</pixelSecond>
>    <defaultHeightIndex>0</defaultHeightIndex>
>    <snapEnabled>false</snapEnabled>
>    <snapValue>1.0</snapValue>
>    <timeDisplay>0</timeDisplay>
>    <timeUnit>5</timeUnit>
>    <soundLayer name='' muted='false' solo='false' heightIndex='0'>
>      <noteProcessorChain/>
>      <soundObject type='blue.soundObject.PythonObject'>
>        <subjectiveDuration>18.3</subjectiveDuration>
>        <startTime>0.0</startTime>
>        <name>PythonObject</name>
>        <backgroundColor>-12566464</backgroundColor>
>        <timeBehavior>2</timeBehavior>
>        <noteProcessorChain/>
>        <pythonCode>import random
>
> def myscore(numnotes):
>        scoreText = ""
>
>        for i in range (numnotes):
>                div = numnotes - (i * .5)
>                modulation = random.uniform(0.5, 2.)
>                start = i * random.random()
>                pitch = random.uniform(.1, 5.)
>                length = 5 / pitch
>                pan = random.randint(0, 1)
>                scoreText += "i1 " + str(start) + " " + str(length) + " " + str(pitch) + " " + str(modulation) + " " + str(pan) + " \n"
>
>        return scoreText
>
>
> score = myscore(400)
> </pythonCode>
>      </soundObject>
>      <soundObject type='blue.soundObject.Sound'>
>        <subjectiveDuration>2.0</subjectiveDuration>
>        <startTime>63.15</startTime>
>        <name>Sound</name>
>        <backgroundColor>-12566464</backgroundColor>
>        <instrumentText>;insert instrument text here</instrumentText>
>      </soundObject>
>    </soundLayer>
>  </soundObject>
>  <scratchPadData>
>    <isWordWrapEnabled>true</isWordWrapEnabled>
>    <scratchText/>
>  </scratchPadData>
>  <noteProcessorChainMap/>
>  <renderStartTime>0.0</renderStartTime>
>  <renderEndTime>-1.0</renderEndTime>
>  <markersList/>
>  <loopRendering>false</loopRendering>
> </blueData>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users
LightInTheBox - Buy quality products at wholesale price!