Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Update marimba example to run on Safari OSX 9.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Jun 27, 2016
1 parent 3d77b74 commit 8ce8ae1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ http-server

And open [http://localhost:8080/examples](http://localhost:8080/examples)

To run pure javascript examples `npm install -g beefy` then `beefy examples/piano.js` and navigate to http://localhost:9966/
To run pure javascript examples `npm install -g beefy` then `beefy examples/marimba.js` and navigate to http://localhost:9966/


## Available instruments
Expand Down
4 changes: 2 additions & 2 deletions examples/marimba.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

var ac = new window.AudioContext()
var AudioContext = window.AudioContext || window.webkitAudioContext
var ac = new AudioContext()
var Soundfont = require('..')

var vca = ac.createGain()
Expand Down

0 comments on commit 8ce8ae1

Please sign in to comment.