You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to find a good reverb for streaming audio in unity with OnAudioFilterRead. I managed to get Freeverb working in an older Version approximately like this:
` fluid_revmodel Reverb = new fluid_revmodel(48000, 256);
void OnAudioFilterRead(float[] data, int numChannels)
{
int monoLength = data.Length / numChannels;
float[] monobuffer = new float[monoLength];
float[] left_out = new float[monoLength];
float[] right_out = new float[monoLength];
//Convert Stereo to mono if necessary
Reverb.fluid_revmodel_processmix(monobuffer, left_out, right_out);
int j = 0;
for (int i = 0; i < data.Length - 1; i += 2)
{
data[i] = left_out[j];
data[i + 1] = right_out[j];
j++;
}
}
`
Can you explain to me on how to do that with the CSCore effects?
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to find a good reverb for streaming audio in unity with OnAudioFilterRead. I managed to get Freeverb working in an older Version approximately like this:
` fluid_revmodel Reverb = new fluid_revmodel(48000, 256);
}
`
Can you explain to me on how to do that with the CSCore effects?
The text was updated successfully, but these errors were encountered: