user-avatar
Today is Monday
November 25, 2024

Tag: sox

February 3, 2011

Play guitar in your terminal

by viggy — Categories: Uncategorized — Tags: , , Leave a comment

Courtsey: http://groups.google.com/group/iitdlug/browse_thread/thread/62a6ee1b2e6394f0?pli=1
Type the following code to play

$ for i in E A7 E2 B7 A E3 G A B C7 D;do play -n synth 1 pluck $i repeat 2;done

The command “play” is a part of the package “sox”. More info see the
manual page for ‘sox’ or http://www.manpagez.com/man/1/sox/

Enjoy hearing the tunes 😉