资 源 简 介
A command-line utility that makes the Mac text-to-speech voices sing tunes.
You specify the melody in ABC notation.
Syllables are automatically matched to the notes. Slurred notes are sung on one syllable.
```
Usage: perl sing.pl [opts] [melody] [lyrics...]
(melody in abc notation, enclosed in quotes if necessary)
-l file read lyrics from file
-m file read melody from file
-n number shift pitch by half-steps
-o number shift pitch by octaves
-p print tone command instead of singing
-t number multiply tempo by number
-v name specify voice to sing with
```
The notes are read from the abc data in simple sequence: ie, sing does not currently support repeat signs etc.
Examples
perl sing.pl GCEA2 My dog has fleasperl sing.pl -v Alex -o-1 -t 0.5 GCEA2 My dog has fleasperl sing.pl "C2 CC3 C C-D2C B,4" Ground control to major Tom
Ties and slurs:<