I am working on a winodws IoT project that controls a led strip based on an audio input. Now do I have some code that gets the audio in and writes it to a buffer with the Au
dataInFloat = (float*)dataInBytes; float max = 0; for (int i = 0; i < graph.SamplesPerQuantum; i++) { max = Math.Max(Math.Abs(dataInFloat[i]), max); } finalLevel = max; Debug.WriteLine(max);