Exemplo n.º 1
0
    public void Init(MicProfile micProfile)
    {
        microphonePitchTracker  = GetComponentInChildren <MicrophonePitchTracker>();
        audioWaveFormVisualizer = GetComponentInChildren <AudioWaveFormVisualizer>();

        micImage.color = micProfile.Color;
        microphonePitchTracker.MicProfile = micProfile;
        microphonePitchTracker.StartPitchDetection();
    }
Exemplo n.º 2
0
    public void Init(MicProfile micProfile)
    {
        micPitchTracker         = GetComponentInChildren <MicPitchTracker>();
        audioWaveFormVisualizer = GetComponentInChildren <AudioWaveFormVisualizer>();

        micImage.color             = micProfile.Color;
        micPitchTracker.MicProfile = micProfile;
        micPitchTracker.MicSampleRecorder.StartRecording();
    }
Exemplo n.º 3
0
 void Awake()
 {
     audioWaveFormVisualizer = GetComponentInChildren <AudioWaveFormVisualizer>();
 }