#sound #alsa

app grievous

Named after General Grievous, where it generates noises from text files or a provided URL, just like how Grievous makes weird noises when he talks

1 unstable release

0.1.0 Sep 30, 2024
0.0.2 Sep 30, 2024

#151 in Audio

GPL-3.0 license

30KB
600 lines

Grievous

Named after General Grievous, where it generates noises from text files or a provided URL, just like how Grievous makes weird noises when he talks.

Usage:

  • Clone the repo
; git clone https://github.com/mbaraa/grievous
  • Run it using cargo (might take some time compiling)
; cargo run play url https://google.com

More usage:

; grievous [? RUN MODE] [SOURCE TYPE] [SOURCE PATH] [? SCALE NAME]

    RUN MODE: (optional) either \"play\" or \"wav\", and defaults to play
        - play: reads the input and blasts it out of a speaker.
        - wav: saves it into a file of the format <orig_file_name>_grievous.wav
    SOURCE TYPE: input file type, it can be either \"url\", \"file\"
        - url: reads the input from a url
        - file: reads the input from a file
    SOURCE PATH: a valid url or a file path
    SCALE NAME: (optional) either a scale from the list under \"./scales.json\", or without a scale if not specified.

Examples:
    ; grievous play url https://rustup.rs
    ; grievous play file ./README.md
    ; grievous play file ./README.md saba

Dependencies

~9–21MB
~299K SLoC