Is there a way to access the volume of the individual L & R master mixer audio channels?
I’m looking to add an accessibility feature so the player can independently change the volume of each audio channel, in order to compensate for Asymmetrical Hearing Loss.
@sacredgeometry Hi, thanks for the reply. The pan stereo will work on individual audio sources. I’m looking to individually adjust the volume level of each channel of the whole audio output. I’m open to a C# solution…if anyone knows how.
Ok it was as simple as this: (Just remember to attach this script to the same place where the audio listener is attached)
void OnAudioFilterRead(float[] data, int channels)
{
for (int i = 0; i < data.Length; i += channels)
{
data <em>= data _* leftVol; // left channel_</em>