Skip to content

A simple CLI-based soundboard written in Rust.

Notifications You must be signed in to change notification settings

j-dabling/sounder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sounder

A simple CLI-operated soundboard written using Rust, Rodio, and Termion. Sounder can be launched from the terminal, then pressing pre-defined keys will trigger an associated sound to play over the system's enabled audio output.

Audio Files (.wav, .mp3) can be paired to keys in the .config file with the following syntax:

path/to/file.wav:k

Where the file path is followed by a colon ':' then followed by whichever key you choose to activate it, in this case, 'k'. Keep in mind that the key mappings are case sensitive. In the event of two or more files having the same key assignment, the first one listed will be the one played.

(At the moment the paths in .config will be read relative to your working directory. Keep this in mind when running the software.)

This project was a good chance to break into Rust, and to expirement with using audio and external crates.

{Provide a link to your YouTube demonstration. It should be a 4-5 minute demo of the software running and a walkthrough of the code. Focus should be on sharing what you learned about the language syntax.}

Video Demo

Development Environment

  • Cargo 1.63.0
  • Rust 1.63.0
  • Termion (For accepting input)
  • Rodio (Audio playback)

Useful Websites

Future Work

  • Get absolute paths working.
  • Dynamic playback time (to play entire soundclip instead of only for predefined time).
  • Allow soundclips to play over each other.
  • Provide more feedback to user in terminal window.

About

A simple CLI-based soundboard written in Rust.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages