Expand description
VibeLang Standard Library.
This crate provides the standard library of .vibe files for VibeLang,
including drums, bass, leads, pads, effects, and music theory utilities.
§Usage
The standard library is typically accessed via import paths in .vibe files:
import "stdlib/drums/kicks/kick_808.vibe";
import "stdlib/effects/reverb.vibe";§Directory Structure
stdlib/drums/- Drum sounds (kicks, snares, hihats, claps, percussion, cymbals)stdlib/bass/- Bass sounds (sub, acid, pluck, reese, wobble)stdlib/leads/- Lead synths (pluck, stabs, synth)stdlib/pads/- Pad textures (ambient, lush)stdlib/textures/- Ambient textures (ambient, drone)stdlib/effects/- Audio effects (delay, reverb, distortion, filters, etc.)stdlib/fx/- Sound design elements (impacts, risers, subdrops, sweeps)stdlib/theory/- Music theory tools (scales, chords, progressions, etc.)
§Installation
When installed via cargo install vibelang-cli, the stdlib is automatically
extracted to ~/.local/share/vibelang/stdlib/ (Linux/macOS) or the equivalent
user data directory on Windows.
Constants§
- CATEGORIES
- List of all available stdlib categories.
Functions§
- embedded_
stdlib - Get the embedded stdlib directory for direct access.
- get_
stdlib_ files - Get all stdlib files as a HashMap of path -> content.
- stdlib_
path - Get the path to the stdlib directory.