Generate tones of specific frequency on mac command line

后端 未结 3 1271
灰色年华
灰色年华 2021-02-04 12:38

I need to generate musical notes of a given frequency on the command line

Here is a list of the frequencies of notes http://www.phy.mtu.edu/~suits/notefreqs.html

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-04 13:16

    It's simple, old and unmaintained but take a look at https://github.com/psycotica0/tone-generator

    $ brew install sdl
    $ git clone https://github.com/psycotica0/tone-generator.git
    $ cd tone-generator && make
    $ ./generator 2600 2
    

提交回复
热议问题