chaosprint / glicol

Graph-oriented live coding language and music/audio DSP library written in Rust
https://glicol.org
MIT License
2.19k stars 74 forks source link

Add some essential nodes to become a complete audio lib #88

Open chaosprint opened 2 years ago

chaosprint commented 2 years ago

Filter

maybe use this crate? https://github.com/RustyDAW/audio-filters

Effects

chaosprint commented 1 year ago

This causes panic as pan is not there?

// o: sin 440
~fm: sin ~freq
~freq: sin ~pitch >> mul 300 >> add 800

~pitchfm: ~pitch >> add -300

~mod: sin 0.1 >> mul 0.3 >> add 0.5

~seq1: speed 2.0 >> seq 60 _ _64 _69 _ _67 _ 62 >> mul 2.0

~pitch: ~seq1 >> mul 261.2

o: ~fm >> mul ~env >> mul 0.1 >> pan ~mod

~env: ~seq1 >> envperc 0.01 0.1
chaosprint commented 1 year ago

Also think about 3D audio