diff --git a/assets/index-64681331.js.gz b/assets/index-64681331.js.gz deleted file mode 100644 index 6214afa..0000000 Binary files a/assets/index-64681331.js.gz and /dev/null differ diff --git a/assets/index-64681331.js b/assets/index-bf1358e4.js similarity index 99% rename from assets/index-64681331.js rename to assets/index-bf1358e4.js index a9b76fa..c7eeb66 100644 --- a/assets/index-64681331.js +++ b/assets/index-bf1358e4.js @@ -3830,9 +3830,11 @@ beat(.5) && snd(['sine', 'triangle', 'sawtooth', 'square'].beat()).freq(100).out Note that you can also use noise if you do not want to use a periodic oscillator: ${e("Listening to the different types of noise",` -beat(.5) && snd(['brown', 'pink', 'white'].beat()).adsr(0,.1,0,0).out() +beat(.5) && snd(['brown', 'pink', 'white', 'crackle'].beat()).adsr(0,.1,0,0).out() `,!0)} +The crackle type can be controlled using the density parameter. + Two functions are primarily used to control the frequency of the synthesizer: - freq(hz: number): sets the frequency of the oscillator. - note(note: number|string): sets the MIDI note of the oscillator (MIDI note converted to hertz). diff --git a/assets/index-bf1358e4.js.gz b/assets/index-bf1358e4.js.gz new file mode 100644 index 0000000..8fc605e Binary files /dev/null and b/assets/index-bf1358e4.js.gz differ diff --git a/index.html b/index.html index 5ae9abd..fb03b3b 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ - +