https://github.com/mryndzionek/chimes
Procedural wind chimes sound simulator in C
https://github.com/mryndzionek/chimes
dsp procedural rtaudio soundsynthesis
Last synced: 3 months ago
JSON representation
Procedural wind chimes sound simulator in C
- Host: GitHub
- URL: https://github.com/mryndzionek/chimes
- Owner: mryndzionek
- License: mit
- Created: 2023-07-06T16:20:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T11:43:25.000Z (about 1 year ago)
- Last Synced: 2025-01-05T08:56:11.232Z (5 months ago)
- Topics: dsp, procedural, rtaudio, soundsynthesis
- Language: C
- Homepage:
- Size: 4.73 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chimes
Procedural wind chimes sound simulator in C.
Based on the article:
> "*Modal Synthesis of Wind Chime Sounds with Stochastic
> Event Triggering*"> by Teemu Lukkari and Vesa Välimäki, 2004

Audio output thanks to [RtAudio](https://www.music.mcgill.ca/~gary/rtaudio/).
## Building
```
mkdir deps
cd deps
git clone https://github.com/thestk/rtaudio.git -b 5.2.0
cd rtaudio
./autogen.sh
./configure --prefix=$PWD/../../local
make
make check
make install
cd ../..
mkdir build
cd build
cmake ..
make
```## Running
```
./chimes
```You should hear [wind chimes](python/wav/chimes.wav) triggered by simulated random wind gust.
In the directory `rp2040` there is a `Pi Pico` board app generating the sound via PWM.
At sample rate 11025Hz it barely makes it at CPU clock speed of 280MHz. Still fairly
impressive taking into account that it's `Cortex M0+` without FPU.## Other
- `modesynth` - Python scripts for extracting modes from a WAV file
