Created
November 6, 2012 03:11
-
-
Save bzgeb/4022319 to your computer and use it in GitHub Desktop.
Example PureData synth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Synth : MonoBehaviour { | |
private int transpose = 48; | |
public void play(int note) { | |
PureData.sendFloat(note + transpose, "note"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curious, what's the transpose do?