user-avatar
Today is Friday
November 22, 2024

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 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>