Skip to content

stargazingdave/noised

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌧️ Noised

A lightweight TypeScript library for procedural rain and thunder sound generation using the Web Audio API.
Perfect for ambience apps, games, or chill projects.


🎧 Features

  • 🌧️ Realistic rain synthesis with adjustable drop rate, pitch, decay, and EQ
  • ⚑ Procedural thunder bursts with reverb, stereo spread, and randomness
  • 🎚️ Full parameter control with support for oscillation and randomization
  • πŸ“¦ Easily importable into any modern JS/TS project
  • πŸͺΆ Lightweight, no dependencies

πŸš€ Installation

npm install noised

πŸ› οΈ Usage

import { RainGenerator, ThunderGenerator } from 'noised';

// Create audio context
const audioCtx = new AudioContext();

// Setup rain
const rain = new RainGenerator(audioCtx, yourRainParams);
rain.start();

// Setup thunder
const thunder = new ThunderGenerator(audioCtx, yourThunderParams);
thunder.trigger(); // on demand

πŸ“¦ Build

npm run build

For dev mode with watch:

npm run dev

πŸ§™ Author

The name is David Portal, hi 😊 I'll soon add a website with more of my projects.

About

A js library for generating modular rain and thunders sound.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors