Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio worklet attempt #17

Draft
wants to merge 30 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
[
"@babel/preset-env",
{
"loose": true
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@ libtimidity.debug.js
libtimidity.debug.wasm
libtimidity.debug.wasm.map
node_modules/
*.sf2
.log/
*.lock
yarn-error.log
package-lock.json
*.pat
test/*
!test/tester.js
!test/index.html
.cache
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
language: node_js

git:
submodules: false

node_js:
- lts/*
11 changes: 11 additions & 0 deletions MIDIPlayer.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export as namespace "phaser-timidity-plugin";

export = MIDIPlayer

declare class MIDIPlayer {
static async createMIDIPlayer(cfgURL?: string, acontext?: AudioContext): Promise<MIDIPlayer>
play(): void
pause(): void
seek(sec: number): void
load(midiURL: string): void
}
1 change: 1 addition & 0 deletions dist/player-bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/worklet-bundle.js

Large diffs are not rendered by default.

135 changes: 0 additions & 135 deletions freepats.cfg

This file was deleted.

Loading