Expand description
Sounds to rest by or to focus with (docs/sounds.md), all made here, nothing downloaded, nothing to license, each looping without a seam (its end faded into its start):
- noise for focus: white, pink, brown; a minute each, mono;
- nature to rest by: waves on a beach, rain, wind in the trees, crickets at night, a distant storm; one to three minutes each, in stereo at 22 kHz (what they hold lies below 10 kHz, and the files stay small). Filtered noise shaped by waves, gusts and drops, and cricketsโ chirps as pulsed tones, each sound seeded the same every time.
Recordings of your own are your files, in the notesโ sounds folder.
Structsยง
- Band
Pass ๐ - A band-pass filter (RBJโs cookbook, constant peak gain), its centre free to move.
- Cricket ๐
- One cricket of a night: where it sits (its weight in this ear), its pitch, its rhythm.
- LowPass ๐
- A one-pole low-pass filter, its cutoff free to move each sample.
- Pink ๐
- Pink noise, one channel: Paul Kellettโs filter, as
noiseuses it. - Random ๐
- A small, seeded random source: the same noise each time.
Constantsยง
- FADE ๐
- The seamโs crossfade, in samples: two seconds.
- NATURE
- The sounds of nature made here.
- NATURE_
RATE ๐ - The sounds of natureโs rate: what they hold lies below 10 kHz.
- NATURE_
VERSION ๐ - Raised when the recipes change, so the files are made again (2: the noises were offset, their random source not centred; 3: crickets held in tune; 4: warmer waves).
- NOISES
- The noises made here.
- RATE ๐
- SECONDS ๐
Functionsยง
- add_
ping ๐ - A sound that fades out quickly: a tone of
frequencydecaying indecayseconds, added atatwithamplitude. - crickets ๐
- Crickets at night: a few field crickets chirping, each its pitch and rhythm, near and far, one tree cricket trilling softly; the nightโs air under them.
- events ๐
- Times of events,
ratea second on average, at random (a Poisson process). - looped
- A noise of
secondsthat loops: its last two seconds faded into its first, with equal power, so the end flows into the start. Quiet: about โ20 dBFS. - nature
- A sound of nature in stereo: its two channels, each looping, about โ22 dBFS.
- noise ๐
countsamples of a noise: white (flat), pink (โ3 dB per octave, Paul Kellettโs filter), brown (โ6 dB per octave, a leaky integration).- noise_
file - The file of a noise or a sound of nature, made the first time in
folder. - rain ๐
- Rain: a soft hiss, many small drops, a few larger ones on leaves and stones.
- slow_
curve ๐ - A slow, smooth random curve in [0, 1]: a new point every
everyseconds, joined by cosines; the same for every sample count. - thunder ๐
- Thunder far away: a low rumble rolling for seconds, every half minute or so.
- wav ๐
- 16-bit mono WAV bytes, at the noisesโ rate.
- wav_of ๐
- 16-bit WAV bytes:
channelsinterleaved, atrate. - waves ๐
- Waves on a beach: each swells (a few seconds), breaks (brighter, louder), then withdraws in a fizz of foam; a far surf under them all.
- wind ๐
- Wind in the trees: gusts that rise and fall (a moving band of noise), and the leaves rustling with them.