387
edits
Line 46: | Line 46: | ||
We use the detected peaks in the mic signal, to trigger messages and mute the beat-loop in Unity. | We use the detected peaks in the mic signal, to trigger messages and mute the beat-loop in Unity. | ||
Therefore we send the OSC message ( /goOnBang $1 ) to the PC running Unity, via OSC.<br> | Therefore we send the OSC message ( /goOnBang $1 ) to the PC running Unity, via OSC.<br> | ||
When the player pauses for 350ms, the beat-loop stops, and the message - "Give It To Me Baby" - appears on the screen. | When the player pauses for 350ms, the beat-loop stops, and the message - "Give It To Me Baby" - appears on the screen.<br> | ||
When another peak is detected, the Max patch sends a signal to Unity, which tells it to go on, with playing the beat-loop and the message on the screen disappears. | When another peak is detected, the Max patch sends a signal to Unity, which tells it to go on, with playing the beat-loop and the message on the screen disappears. | ||
edits