Skip to content

Commit

Permalink
Shorten attackNoises
Browse files Browse the repository at this point in the history
  • Loading branch information
jonikorpi committed Feb 13, 2025
1 parent ae01ed7 commit ac5d6b2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions instrumentPresets.js
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ export const piano = new InstrumentPreset({
release: 0.034,

attackNoise: 700,
attackNoiseDuration: 0.008,
attackNoiseDuration: 0.003,

vibratoEffectOnPitch: 30.0, // Fake vibrato
});
Expand Down Expand Up @@ -987,7 +987,7 @@ export const hammeredDulcimer = new InstrumentPreset({
release: 0.034,

attackNoise: 700,
attackNoiseDuration: 0.013,
attackNoiseDuration: 0.003,
});

// https://www.youtube.com/watch?v=0_WJbOpG0Fg
Expand Down Expand Up @@ -1096,7 +1096,7 @@ export const marimba = new InstrumentPreset({
release: 0.034,

attackNoise: 500,
attackNoiseDuration: 0.008,
attackNoiseDuration: 0.003,

vibratoEffectOnPitch: 30.0, // Fake vibrato
});
Expand Down Expand Up @@ -1175,7 +1175,7 @@ export const glockenspiel = new InstrumentPreset({
],

attackNoise: 700,
attackNoiseDuration: 0.008,
attackNoiseDuration: 0.003,

decay: 0.236,
});
Expand Down Expand Up @@ -1214,7 +1214,7 @@ export const bell = new InstrumentPreset({
decay: 0.382,

attackNoise: 700,
attackNoiseDuration: 0.008,
attackNoiseDuration: 0.003,
});

// Plucked string transients
Expand All @@ -1234,8 +1234,6 @@ const plucked = {
vibratoEffectOnVolume: 0.0,
vibratoEffectOnStage: 0.0,

attackNoise: 700,
attackNoiseDuration: 0.005,
attackDetune: 100,
attackDetuneDuration: 0.008,
};
Expand Down

0 comments on commit ac5d6b2

Please sign in to comment.