• SoX Music Generator

    From Job Bautista@job@tilde.team to tilde.art.music on Mon May 2 15:44:48 2022
    Are you one of these people?
    - a Perl programmer
    - suck at reading sheet music
    - finds MML too difficult
    - too lazy to learn FamiTracker
    - think that scientific note duration is the best thing since sliced bread
    - think that the MIDI spec is bloated

    Then try this crappy module of mine at https://tildegit.org/job/SoxMusicGen!

    Some features of this module:

    - Easy to write syntax for inputting notes (e.g. "$qu:A4")
    - Inspired from korobeiniki.sh of the dsuni/bashtris repository
    - Supports multiple note harmonies ("$ei:A4/C5")
    - Unlike before in libsox.sh you can do as many notes as you want!
    - Like this: "$dei:C6/A5/G5/B5/F4/D3/G3/B4"
    - Supports every synth type included in SoX
    - You can use your own samples as well
    - Your samples should be encoded in a format supported by SoX, like wav
    - Adheres to the Unix philosophy of "do one thing and do it well"


    What this module (sadly) doesn't support:

    - Harmonies with different durations or instruments
    - e.g. countermelodies and background melodies
    - I suggest doing two separate scripts, sox them into two files, then
    play both either merged or mixed

    For a quick try of this module's synth generation capabilities without
    having to download it to your computer, I've written a hacky CGI script
    at https://job.tilde.team/cgi-bin/SoxMusicGen/synths.cgi . When I say
    "hacky", I mean "using a bash script to glue together the frontend and backend" kind of hacky...
    --- Synchronet 3.19a-Linux NewsLink 1.113