A sound is output by calculating a change in coordinate data as a vector
and generating sound data corresponding to the calculated vector, so that
sounds can be freely obtained without being limited by the size of or
positions on an input coordinate plane. A sound generating apparatus 10
includes a coordinate input device 12 for inputting coordinate data, a
main control device 14, an acoustic device 16, and a display device 18.
The main control device 14 includes: a motion calculation unit 20 that
calculates a vector between two successive sets of the coordinate data
input with a predetermined time interval; a sound data generating unit 22
that generates the sound data based on the calculated vector; a musical
instrument data generating unit and displayed-color data generating unit
24 that serves both functions of generating musical instrument data and
generating displayed-color data based on the coordinate data; a data
transfer and saving unit 26; and a MIDI sound source 28 controlled by the
sound data.