Skip to content

Commit

Permalink
Fix CC 10 panning
Browse files Browse the repository at this point in the history
Addresses #59
  • Loading branch information
spessasus committed Oct 11, 2024
1 parent 656dd6e commit 7a10aa8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SpessaSynth",
"version": "3.21.3",
"version": "3.21.4-pan-test",
"type": "module",
"scripts": {
"start": "node src/website/server/server.js"
Expand Down
3 changes: 2 additions & 1 deletion src/spessasynth_lib/soundfont/basic_soundfont/modulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ export const defaultModulators = [
new Modulator({ srcEnum: 0x020E, dest: generatorTypes.fineTune, amt: 12700, secSrcEnum: 0x0010, transform: 0 }),

// pan to uhh, pan
new Modulator({ srcEnum: 0x028A, dest: generatorTypes.pan, amt: 1000, secSrcEnum: 0x0, transform: 0 }),
// amount is 500 instead of 1000, see #59
new Modulator({ srcEnum: 0x028A, dest: generatorTypes.pan, amt: 500, secSrcEnum: 0x0, transform: 0 }),

// expression to attenuation
new Modulator({
Expand Down
Loading

0 comments on commit 7a10aa8

Please sign in to comment.