Skip to content

Commit

Permalink
Releasing version 1.0.2
Browse files Browse the repository at this point in the history
 - Fixing a bug where after a song is faded, you can't change the master volume.
  • Loading branch information
Cody Lundquist committed Jul 14, 2014
1 parent c73e28d commit 5963ca9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BandJS",
"version": "1.0.1",
"version": "1.0.2",
"main": "dist/band.min.js",
"ignore": [
"**/.*",
Expand Down
2 changes: 1 addition & 1 deletion dist/band.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function Conductor(tuning, rhythm) {
volume = volume / 100;
}
conductor.masterVolumeLevel = volume;
conductor.masterVolume.gain.value = volume;
conductor.masterVolume.gain.setValueAtTime(volume, conductor.audioContext.currentTime);
};

/**
Expand Down
4 changes: 2 additions & 2 deletions dist/band.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BandJS",
"version": "1.0.1",
"version": "1.0.2",
"description": "Band.js - Music Composer - An interface for the Web Audio API that supports rhythms, multiple instruments, repeating sections, and complex time signatures.",
"main": "src/main.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/conductor.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function Conductor(tuning, rhythm) {
volume = volume / 100;
}
conductor.masterVolumeLevel = volume;
conductor.masterVolume.gain.value = volume;
conductor.masterVolume.gain.setValueAtTime(volume, conductor.audioContext.currentTime);
};

/**
Expand Down

0 comments on commit 5963ca9

Please sign in to comment.