I have no idea what this means. I have a feeling something in the Web Audio API has changed recently, and the browsers have implemented the change as my application was working fine with no errors the last time I checked it about 2 weeks ago. I have changed nothing in my code recently since the last time it was working.

The error I am getting is:

> 
> Uncaught TypeError: Failed to set the 'value' property on
>  'AudioParam': The provided float value is non-finite.
> 
> 
> 

The line where the error occurs is this line: 

```
gainNode.gain.value = volume;

```

The application can be viewed here: 
<http://aceroinc.ca/harmanKardon/>

When the power button is hit, the app should turn on and a radio station should begin streaming. **(In chrome only... the .aac format will not work in Firefox and I am aware of that)**

I initialize the web audio api after the DOM loads... 

```
window.AudioContext = window.AudioContext || window.webkitAudioContext;
context = new AudioContext();
source =context.createMediaElementSource(document.getElementById('audio'));
gainNode = context.createGain();
var gainDefault = gainNode.gain.defaultValue;

```

Then down inside the powerOn function I have:

```
gainNode.gain.value = currVolume;

```

which is causing the error.

When I check it in safari on my iphone the application works. So this seems to be a chrome issue.

On my desktop computer I have Chrome Version **42.0.2311.90** (64-bit), and it does not work.

On my laptop I have Chrome Version **41.0.2272.118 m** and it **does** work.

On my iPhone I have Chrome Version **40.0.2214.73** and it **does** work.