IEnumerator LateStart(float time) { yield return(new WaitForSeconds(time)); //RTcmix.SendScore ("WAVETABLE(0, 3.5, 20000, 440.0)", objno); //Scorefile loaded from the "Resources" folder RTcmix.SendScore("cnum = " + talkedTo, objno); RTcmix.SendScoreFile("DroneSetup", objno); //ChangeScene (3); //Scorefile loaded from text asset attached to script //RTcmix.SendScore(score1, objno); //RTcmix.SendScoreAsset (scoreFile, objno); }
IEnumerator LateStart(float time) { yield return(new WaitForSeconds(time)); RTcmix.SendScore("WAVETABLE(0, 3.5, 20000, 440.0)", objno); //Scorefile loaded from the "Resources" folder //RTcmix.SendScoreFile ("RTcmixtest", objno); //Scorefile loaded from text asset attached to script //RTcmix.SendScore(score1, objno); //RTcmix.SendScoreAsset (scoreFile, objno); }
void OnAudioFilterRead(float[] data, int channels) { RTcmix.runRTcmix(data, objno, 0); if (RTcmix.checkbangRTcmix(objno) == 1) { pitchAdd++; pitchAdd = pitchAdd % mod; //Debug.Log ("tree bang"); string score = "adder = " + baseNote; LightFade(); //Debug.Log (score); RTcmix.SendScore(score, objno); RTcmix.SendScoreFile("GeyserUpdate", objno); //StartCoroutine (FadeDown (0)); } RTcmix.printRTcmix(0); }