spessasynth_lib 3.9.12 → 3.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/midi_parser/midi_data.d.ts +5 -0
- package/@types/midi_parser/midi_loader.d.ts +5 -0
- package/@types/sequencer/sequencer.d.ts +11 -0
- package/midi_parser/midi_data.js +7 -0
- package/midi_parser/midi_editor.js +149 -128
- package/midi_parser/midi_loader.js +19 -1
- package/midi_parser/used_keys_loaded.js +125 -90
- package/package.json +2 -5
- package/sequencer/sequencer.js +21 -0
- package/sequencer/worklet_sequencer/song_control.js +3 -3
- package/synthetizer/worklet_processor.min.js +7 -7
- package/synthetizer/worklet_system/worklet_utilities/volume_envelope.js +1 -0
|
@@ -97,6 +97,7 @@ export function recalculateVolumeEnvelope(voice)
|
|
|
97
97
|
break;
|
|
98
98
|
|
|
99
99
|
case 1:
|
|
100
|
+
// FIXME: this does not work
|
|
100
101
|
// attack phase
|
|
101
102
|
// attack is linear (in gain) so we need to do get db from that
|
|
102
103
|
let elapsed = 1 - ((env.attackEnd - voice.releaseStartTime) / env.attackDuration);
|