Ejemplo n.º 1
0
 void Awake()
 {
     if (!patchOpened)
     {
         PureData.OpenPatch("_Main");
         PureData.Send("Tempo", tempo);
         patchOpened = true;
     }
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     //Define button width and height
     btn_width    = 100;
     btn_height   = 50;
     field_width  = 100;
     field_height = 25;
     // Opening the patch will connect it up to the DSP
     PureData.OpenPatch("abstract");
 }
Ejemplo n.º 3
0
    void Start()
    {
        // Opening the patch will connect it up to the DSP
        PureData.OpenPatch("abstract");

        //initialize parameters
        pointer  = 1.0f;
        duration = float.Parse(durationField.text);
        attack   = float.Parse(attackField.text);
        desvol   = float.Parse(desvolField.text);
        pitch    = float.Parse(pitchField.text);
        chirp    = float.Parse(chirpField.text);
        lfndepth = float.Parse(lfndepthField.text);
        lfnfreq  = float.Parse(lfnfreqField.text);
        amdepth  = float.Parse(amdepthField.text);
        amfreq   = float.Parse(amfreqField.text);
        richness = float.Parse(richnessField.text);
    }
Ejemplo n.º 4
0
 void Awake()
 {
     PureData.OpenPatch("main");
 }
Ejemplo n.º 5
0
 void Start()
 {
     PureData.OpenPatch("!example");
 }
Ejemplo n.º 6
0
 public PureDataFacade()
 {
     PureData.OpenPatch("main");
     PureData.Receive("level", OnLevelReceived);
 }
 void Start()
 {
     // Opening the patch will connect it up to the DSP
     PureData.OpenPatch("samplePatch");
 }