Skip to content

Commit

Permalink
main volume increased
Browse files Browse the repository at this point in the history
  • Loading branch information
samba committed Feb 9, 2021
1 parent 4c2f491 commit 283d085
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@werckmeister/midiplayer",
"version": "1.0.0",
"version": "1.0.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Instrument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const InstrumentSampleMap = new Map<string, InstrumentSamples>();
export const SupportedSampleRate = 44100;
const FadeOutSamples = (SupportedSampleRate / 1000) * 5;

const MasterVolume = 3;
const MasterVolume = 8;

class Note {
constructor(public startTimeSecs: number, public velocity: number) {}
Expand Down
2 changes: 1 addition & 1 deletion test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ werckmeisterMidiPlayer.onPlayerStateChanged = (oldState: PlayerState, newState:
los.onclick = async (ev: Event) => {
log("play pressed")
werckmeisterMidiPlayer.initAudioEnvironment(ev);
await werckmeisterMidiPlayer.load(mario);
await werckmeisterMidiPlayer.load(ipanema);
werckmeisterMidiPlayer.play();
}

Expand Down

0 comments on commit 283d085

Please sign in to comment.