1
0
Fork
You've already forked ansimus
0
📟🎼 Write music melodies in your terminal with ANSI music sequences
  • Awk 100%
2025年07月02日 14:49:55 +00:00
ansimus feat: allow passing ANSI music thru standard input 2025年07月02日 14:48:34 +00:00
LICENSE chore(license): add MIT license 2025年07月01日 18:29:02 +00:00
README.md docs(readme): update README with new usage 2025年07月02日 14:49:55 +00:00

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

  • gawk
  • gawk-libc extension
  • ordchr extension that is in the gawk repository 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