Skip to content

Convert to Typescript #94

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

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b8e3f13
switched to biome, formatting
devindavies Jun 27, 2024
0b7e0c1
convert to typescript
devindavies Jun 27, 2024
bbd268e
convert to typescript
devindavies Jul 1, 2024
c1b93f9
added build script
devindavies Jul 1, 2024
f57d4a9
target es5
devindavies Jul 1, 2024
6207d60
emit declaration files and modules
devindavies Jul 1, 2024
118bbcc
break up into separate files
devindavies Jul 2, 2024
a327104
simplify nodes
devindavies Jul 9, 2024
74a8310
fixed output type
devindavies Jul 9, 2024
cf76199
version bump
devindavies Jul 10, 2024
70ec983
add prepare script
devindavies Jul 10, 2024
28fd453
fixed routing
devindavies Jul 10, 2024
039d6d9
made properties optional
devindavies Jul 11, 2024
e09d294
made tuna class unnecessary
devindavies Jul 11, 2024
3b786f9
made library tree-shakeable
devindavies Jul 11, 2024
4d21920
tried converting to Bitcrusher to worklet
devindavies Jul 12, 2024
47375ae
use worklets
devindavies Jul 15, 2024
ebe5220
convert wahwah to worklet
devindavies Jul 15, 2024
13aebae
mark TextDecoder as side effect
devindavies Jul 17, 2024
927e3cf
test wasm
devindavies Jul 18, 2024
c7ff660
commit wasm_audio folder
devindavies Jul 19, 2024
933ff01
Revert "commit wasm_audio folder"
devindavies Jul 19, 2024
1ca2ea9
Revert "test wasm"
devindavies Jul 19, 2024
ddc6a8f
Revert "mark TextDecoder as side effect"
devindavies Jul 19, 2024
b567a40
remove TextDecoder
devindavies Jul 19, 2024
351af89
updated biome.json
devindavies Jul 19, 2024
03de21d
Merge pull request #6 from devindavies/worklet
devindavies Jul 19, 2024
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
12 changes: 0 additions & 12 deletions .eslintrc.json

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ node_modules/
index.html
song.mp3
drums.wav
.idea/
.idea/
tuna.js
dist/
16 changes: 16 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignore": ["node_modules", "dist", "tuna-min.js", "tuna.js"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"formatWithErrors": true
}
}
7 changes: 7 additions & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare global {
interface Window {
webkitAudioContext: typeof AudioContext;
}
}

export type {};
Loading