File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/website/js/sequencer_ui Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " SpessaSynth" ,
3- "version" : " 4.1.1 " ,
3+ "version" : " 4.1.2 " ,
44 "type" : " module" ,
55 "private" : true ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -1070,8 +1070,8 @@ export class SequencerUI {
10701070 const sampleDuration = Math . ceil ( this . seq . midiData . duration * 8000 ) ;
10711071 const noise = new Float32Array ( sampleDuration ) ;
10721072 const p = 2 * Math . PI * 50 ;
1073- for ( let i = 0 ; i < Math . min ( 80_000 , sampleDuration ) ; i ++ ) {
1074- noise [ i ] = Math . sin ( p * ( i / 8000 ) ) ;
1073+ for ( let i = 0 ; i < Math . min ( 8000 , sampleDuration ) ; i ++ ) {
1074+ noise [ i ] = Math . sin ( p * ( i / 80_000 ) ) * 0.0001 ;
10751075 }
10761076 const buf = audioToWav ( [ noise ] , 8000 ) ;
10771077 this . silencePlayer . src = URL . createObjectURL (
You can’t perform that action at this time.
0 commit comments