Reply To: joco sheet music

Home › Forums › JoCo Music › joco sheet music › Reply To: joco sheet music

#53810
Angelastic
Participant

I said:

I think I’m going to do something cool with one of those. (It may be bare-bones, but still more than I could manage… I can barely even read music, let alone write it.)

Well, I think it’s going to work… though I am ashamed to say I needed help from a friend even to read that music. I wrote a program to take some text and some musical notes and durations and output a file in TUNE format, one of the three kinds of input for the Mac OS speech synthesisers (the others being plain text and phonemes.) I haven’t entered all the notes into my program yet, but here is a sample of the results. Anyone using Mac OS X 10.2 or later can copy this into any text field, go to the Edit menu, Speech submenu, and click ‘Start Speaking’ to hear the first two lines of Still Alive sung by a real computer. Those without a Mac… I’ll convert it to a sound file when I’m finished.
[[inpt TUNE]][[cmnt

syllable: DIHs note: G (392.001831 Hz) duration: 0.26 seconds
]]D {D 86.666664; P 392.001831:0}
IH {D 86.666664; P 392.001831:0}
s {D 86.666664; P 392.001831:0}
[[cmnt

syllable: IHz note: F# (370.000488 Hz) duration: 0.24 seconds
]]IH {D 120.000000; P 370.000488:0}
z {D 120.000000; P 370.000488:0}
[[cmnt

syllable: IX note: E (329.633026 Hz) duration: 0.1 seconds
]]IX {D 100.000000; P 329.633026:0}
[[cmnt

syllable: trAY note: E (329.633026 Hz) duration: 0.37 seconds
]]t {D 123.333336; P 329.633026:0}
r {D 123.333336; P 329.633026:0}
AY {D 123.333336; P 329.633026:0}
[[cmnt

syllable: AXmf note: F# (370.000488 Hz) duration: 0.45 seconds
]]AX {D 150.000000; P 370.000488:0}
m {D 150.000000; P 370.000488:0}
f {D 150.000000; P 370.000488:0}
% {D 480; P 349.234009:0}
[[cmnt

syllable: AYm note: A- (220.003799 Hz) duration: 0.13 seconds
]]AY {D 65.000000; P 220.003799:0}
m {D 65.000000; P 220.003799:0}
[[cmnt

syllable: mEYk note: G (392.001831 Hz) duration: 0.43 seconds
]]m {D 107.500000; P 392.001831:0}
E {D 107.500000; P 392.001831:0}
Y {D 107.500000; P 392.001831:0}
k {D 107.500000; P 392.001831:0}
[[cmnt

syllable: IHN note: F# (370.000488 Hz) duration: 0.18 seconds
]]IH {D 90.000000; P 370.000488:0}
N {D 90.000000; P 370.000488:0}
[[cmnt

syllable: AX note: E (329.633026 Hz) duration: 0.13 seconds
]]AX {D 130.000000; P 329.633026:0}
[[cmnt

syllable: nOWt note: E (329.633026 Hz) duration: 0.58 seconds
]]n {D 193.333328; P 329.633026:0}
OW {D 193.333328; P 329.633026:0}
t {D 193.333328; P 329.633026:0}
[[cmnt

syllable: hIYr note: F# (370.000488 Hz) duration: 0.26 seconds
]]h {D 86.666664; P 370.000488:0}
IY {D 86.666664; P 370.000488:0}
r {D 86.666664; P 370.000488:0}
% {D 480; P 349.234009:0}
[[cmnt

syllable: hyUWJ note: D (293.669708 Hz) duration: 0.37 seconds
]]h {D 92.500000; P 293.669708:0}
y {D 92.500000; P 293.669708:0}
UW {D 92.500000; P 293.669708:0}
J {D 92.500000; P 293.669708:0}
[[cmnt

syllable: sAXks note: E (329.633026 Hz) duration: 0.47 seconds
]]s {D 117.500000; P 329.633026:0}
AX {D 117.500000; P 329.633026:0}
k {D 117.500000; P 329.633026:0}
s {D 117.500000; P 329.633026:0}
[[cmnt

syllable: EHs note: A- (220.003799 Hz) duration: 0.28 seconds
]]EH {D 140.000000; P 220.003799:0}
s {D 140.000000; P 220.003799:0}
[[inpt TEXT]]

I actually wrote this to sing my Compact Muon Solenoid-themed parody of Still Alive, since I can’t sing, but once I’ve got all the notes and timings sorted out, it will be a couple of clicks to get it to sing anything that has the same tune.