// Use this for initialization void Start() { print("Persistent data path: " + Application.persistentDataPath); source = gameObject.GetComponent <AudioSource>(); mic = gameObject.GetComponent <MicController>(); button = transform.Find("Button_Mic").Find("Text").GetComponent <Text>(); recordDisplay = transform.Find("RecordDisplay").Find("Text").GetComponent <Text>(); }
public AudioChest() { micController = new MicController(); midiController = new MidiControllerNAudio(); }