public Recording(InstrumentBehaviour instrument) { this.instrument = instrument; this.audioSource = instrument.gameObject.GetComponent<AudioSource>(); playEnd = -1; playStart = -1; }
public void setAssignedInstrumentScript(InstrumentBehaviour instrumentBehaviour) { assignedInstrumentScript = instrumentBehaviour; }