Commit 8ab95b7
authored
Add TypeScript (#10)
This pull request adds TypeScript to spessasynth_lib.
Fixes #9.
It also:
- Redesigns Synthetizer (now WorkletSynthesizer) and Sequencer to work like with core
- Renames "soundfont" to "sound bank" everywhere, like in core
- Adds eslint and prettier, ensuring consistent code style
* initial typescript
* initial typescript (it's pain)
* further typescript
* worklet valid
* it compiles
* first example is working
* typescript build files
* update for core update
* Properly implement all examples
and core updates
and wiki updates!
* eslint stylistic & begin migration guide
* migration guide
* BasicSynthesizer
To prepare WorkerSynthesizer
* Rework effect processors
* remove console.log
* structure rework
* initial worker synthesizer
* workerSynthesizer renderAudio and example update
* eslint tweaks
* remove tempoChange event
* better types
* better audio to wav
* Unified synthesizer core
* SF2 write in worker synth
* better MIDIDeviceHandler
* writeDLS
* midiData can be undefined!
* write RMIDI!
* better MIDI device handler
* fix alt name
* Compression quality in the function
* better worker synth API
* type tweaks
* better pitch wheel
* fix current time desync
* fix deleting sound bank
* sf2 extension
* reference migration guide
* automatic time adjustment
* Latency selection for worker
* copy tracks but without events
* update for core!
* rename the worklet file
* LSB patch
* Fix build on Windows
* core fix
* initial documentation
* further documentation!
* sequencer documentation!
* finish docs!1 parent 7d4e8b9 commit 8ab95b7
142 files changed
Lines changed: 10995 additions & 6594 deletions
File tree
- .github
- ISSUE_TEMPLATE
- workflows
- .idea
- inspectionProfiles
- jsLinters
- build_scripts
- docs
- extra
- getting-started
- midi
- sequencer
- synthesizer
- writing-files
- examples
- examples_code
- examples_src
- src
- external_midi
- sequencer
- synthesizer
- audio_effects
- basic
- worker
- worklet
- synthetizer
- audio_effects
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
47 | | - | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 71 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments