grievous

Crates.iogrievous
lib.rsgrievous
version0.0.2
sourcesrc
created_at2024-09-30 20:12:58.527166
updated_at2024-09-30 20:16:43.690039
descriptionNamed after General Grievous, where it generates noises from text files or a provided URL, just like how Grievous makes weird noises when he talks.
homepage
repositoryhttps://github.com/mbaraa/grievous
max_upload_size
id1392138
size96,819
Baraa Al-Masri (mbaraa)

documentation

README

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
Commit count: 27

cargo fmt