📟🎼 Write music melodies in your terminal with ANSI music sequences
- Awk 100%
| ansimus | feat: allow passing ANSI music thru standard input | |
| LICENSE | chore(license): add MIT license | |
| README.md | docs(readme): update README with new usage | |
Ansimus
Write ANSI music melodies in your terminal
📰 Description
A CLI synthesizer in gawk for ANSI music based on bkil's ansimus. Write music melodies in your terminal
Dependencies
gawkgawk-libcextensionordchrextension that is in thegawkrepository and might be installed along with it
🎼 Usage
# Write some melody to a file
ansimus 'yourANSImusic' > file.wav
# Play the file with a sound player
aplay file.wav
# Play directly to a sound player
ansimus 'yourANSImusic' | aplay
# Passing the melody in standard input
ansimus <<< 'yourANSImusic' | aplay
# There are also examples pieces from 1 to 5
ansimus 1 | aplay
# Running it explicitly with gawk
LC_CTYPE=C gawk -E ./ansimus 1 > file.wav