Пример #1
0
    public void changeValue()
    {
        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);

        Debug.Log(richness);
        Debug.Log(amfreq);
        Debug.Log(amdepth);
        Debug.Log(lfnfreq);
        Debug.Log(lfndepth);


        PureData.SendMessage("#touch", "abstract", pointer, duration, attack, desvol, pitch, chirp, lfndepth, lfnfreq, amdepth, amfreq, richness);
    }
Пример #2
0
 public void sendMessage()
 {
     PureData.SendMessage("#touch", "aTrigger", "bang");
 }
Пример #3
0
 public void SendMessage <T>(string message, T[] values)
 {
     PureData.SendMessage("toPd", message, values);
 }