You are on page 1of 22

HHHHHHHHHHHIIII US005.

31306A
United States Patent (19. 11 Patent Number: 5,131,306
Yamamoto 45) Date of Patent: Jul. 21, 1992
(54) AUTOMATIC MUSIC PLAYING PIANO Primary Examiner-L. T. Hix
Assistant Examiner-Eddie C. Lee
75) Inventor: Jun Yamamoto, Hamamatsu, Japan Attorney, Agent, or Firm-Spensley Horn Jubas &
73) Assignee: Yamaha Corporation, Hamamatsu, Lubitz
Japan (57 ABSTRACT
(21) Appl. No.: 467,268 The present invention relates to a pedal movement
22 Filed: Jan. 18, 1990 control and recording apparatus for an automatic music
playing piano in which the pedal displacement corre
(30) Foreign Application Priority Data sponding to sequentially changing pedal control signals
Jan. 19, 1989 JP Japan .................................... 1-10176 is determined in order to generate a pedal position con
version table, and which provides means for generating
51) Int. Cl. ................................................ G10F 1/02 position data normalization tables and reverse normal
52 U.S. C. ........................................... 84/19; 84/462 ization tables, whereby music performed on one piano
58) Field of Search ................... 84/626, 627, 633, 13, can be replayed on a second automatic music playing
84/462, 463, 19 piano, correcting for the unique response characteristics
(56) References Cited of each piano, thereby preserving nuances of pedal
U.S. PATENT DOCUMENTS
movement during replay.
4,450,749 5/1984 Stahnke ................................. 84/462 24 Claims, 12 Drawing Sheets

N.

2O 3O 2b
U.S. Patent July 21, 1992 Sheet 1 of 12 5,131,306

2 pedal displacement
detection neans

COInVeSion
table
Creation
e3S

2 pedal displacement 4.
detection means

State
judgement
pedal e2S
drive
e2S

FG 2
U.S. Patent July 21, 1992 Sheet 2 of 12 5,131,306

GP

all
L | | ||

f
6; controller

F. G. 3
U.S. Patent July 21, 1992 Sheet 3 of 12 5,131,306
U.S. Patent July 21, 1992 Sheet 4 of 12 5,131,306
U.S. Patent July 21, 1992 Sheet 5 of 12 5,131,306

X.
7 downward
In Ovenient

upward
OVerent

O5
OO loud pedal
FIG. 6

downward
IOVelent :

upward
movement

O6
OO shift pedal 59 7F
PWM
F. G. B
U.S. Patent July 21, 1992 Sheet 6 of 12 5,131,306

(x)T -
actual
Xd

displacement
table
X

X
damper off region

half pedal region


--

-
i
X
nor Inalization
table

X
e

slack region
Xa

F. G. 9
1x.
(X)
T Xa
( x)
XT

actual --
displacement
table --
normalization
table

--

Xl
slack region
g X
FG 1 O
U.S. Patent July 21, 1992 Sheet 9 of 12 5,131,306

SPb

input pedal displacement

SPb2

convert displacement data


according to nor Inalization
conversion table
x -o- X.

SPb 3

write normalized position


data X, to floppy disk

RETURN

FG12

2 FD

SeSO nornalization
Conversion table
( I/O unit 6 ) (RAM)
F. G. 13
U.S. Patent July 21, 1992 Sheet 10 of 12 5,131,306

S T A RT
SPC

read in normalized position


data X, from floppy disk
SPC2

Supplementing process is carried out


on normalized position data
(6 level data ----> 128 level data)
SPC3
convert supplemented data according
to reverse normalization table
X; ---> x,
SPC4.

determine PWMs control code from X, data


using PWM <---> conversion table
SPC5

carry out calculations to determine PWM control code (Equ. l)


PWMs + Klx + K2x," + K3Ax + K4Ax + K5 Ax"---> PWM

output PWM control code SPC6

RETURN

FG 14.
U.S. Patent July 21, 1992 Sheet 12 of 12 5,131,306

uop?sd YOSUI@

[
8Z
I
9
<---
Ids 30
1.
5,131,306 2
music playing piano in which the relationship between
AUTOMATIC MUSIC PLAYING PANO pedal movements and the corresponding signals deliv
ered to the respective pedal solenoids can be automati
FIELD OF THE INVENTION cally determined, by which means the pedal effects of
The present invention relates to automatic music the original performance are faithfully reproduced on a
playing pianos and in particular relates to a pedal move piano other than the piano on which the music was
ment control apparatus for automatic music playing originally performed, and accordingly, by which means
pianos. the nuances of the original performance are faithfully
reproduced on a second instrument.
BACKGROUND ART O In order to achieve the above object, one aspect of
For automatic music playing pianos, in general, per the present invention provides a piano as shown in FIG.
formance data which has been recorded on a floppy 1, which includes a pedal P for control of the tone of
disk or similar type of data recording media is read out music played on the keyboard of the instrument. Addi
from the media, and according to the data thus read out, tionally, the piano includes a pedal drive means 1 for
key solenoids and pedal solenoids are activated. In the driving the above mentioned pedal P, a pedal displace
case of automatic playing pedal mechanisms in which ment detection means 2 for measuring displacement of
the pedals alternate between a fully depressed state and the pedal P, and a conversion table creation means 3 for
a fully released state, a pedal solenoid which can be creation of conversion tables by sequentially varying
controlled between an on state and an off state is ordi the signal supplied to the above mentioned pedal drive
narily sufficient. Thus, for recording performance data 20 means 1, and based on the relationship between the
for this type of 2 mode automatic pedal mechanism, it pedal displacement detected by the above mention
suffices to detect only the fully depressed and fully pedal displacement detection means 2 and the signal
released pedal states for the respective pedal. Similarly, supplied to the above mentioned pedal drive means 1,
during play back of the recorded data, it is sufficient for creating a table correlating the value of the signal Sup
the pedal to merely switch between on and off states 25 plied to the pedal drive means 1 and the amount of pedal
based on the recorded performance data. displacement.
In order to improve the music reproduction charac
teristics, it is necessary to be able to reproduce half entWith the automatic music playing piano of the pres
invention, the conversion table creation means 3
pedal states as well as the fully released and fully de
pressed states. In order to prepare performance data 30 supplies a drive signal to the pedal drive means 1,
which permits the replaying of half pedal states, it is displace athecorresponding
whereby pedal drive means causes the pedal P to
distance. As the pedal P
necessary to continuously detect pedal position during moves, the pedal displacement detection means detects
the recording of a performance. By so doing, during the amount of displacement, the result of which is out
automatic playing of a previously recorded perfor put from the pedal displacement detection means 2. The
mance, the respective pedal reacts only to the extent 35 above described result output from the pedal displace
indicated by the recorded performance data. ment detection means 2 is dependent on the response
With the type of prior art automatic playing pedal characteristics and other mechanical characteristics
mechanism described above, feed back control of the
electrical power supplied to the solenoids may be car peculiar to the pedal mechanism of the piano which is
ried out. In the case of such feed back control, pulse 40 being operated. Accordingly, based on the relationship
between the amount of pedal displacement detected by
width modulation (PWM) is often employed for the
solenoid control signals. Additionally, simple control of the above mention pedal displacement detection means
the voltage and/or current of the control signals is 2 and the signal supplied to the above mentioned pedal
sometimes employed. drive means 1, a table correlating the value of the signal
In regard to the object of control itself, the piano 45 supplied to the pedal drive means 1 and the amount of
pedal mechanisms, it is well known that the response pedal displacement is created which reflects the re
characteristics and other mechanical characteristics of sponse characteristics and other mechanical character
the respective pedal mechanisms vary widely from istics of the pedal mechanism of the piano for which the
piano to piano. Additionally, each piano has several conversion table is being generated.
different types of pedals (for example the loud pedal and 50 Another aspect of the present invention provides a
the shift pedal), each with different response character piano as shown in FIG. 2, which includes a pedal P for
istics and requirements as well. Furthermore, it is diffi control of the tone of music played on the keyboard of
cult to manufacture solenoids with uniform response the instrument. Additionally, the piano includes a pedal
characteristics. Additionally, the amount of displace drive means 1 for driving the above mentioned pedal P,
ment of solenoid plungers does not have a linear rela- 55 a pedal displacement detection means 2 for measuring
tionship with the supplied electrical power. displacement of the pedal P, and a state judgment means
Because of the above described properties, when a 4 for judging the state of the pedal, based on the rela
musical performance is recorded on one conventional tionship between the pedal displacement detected by
automatic music playing piano and replayed on another the above mention pedal displacement detection means
using the recorded performance data, faithful reproduc- 60 2 and the signal supplied to the above mentioned pedal
tion of the pedal effects of the original piano, and there drive means 1 while sequentially varying the signal
fore faithful reproduction of the original piano perfor supplied to the pedal drive means 1.
mance cannot be achieved. With the automatic music playing piano of the pres
SUMMARY OF THE INVENTION
ent invention, the above mentioned state judgment
65 means 4 supplies a drive signal to the pedal drive means
In light of the above described problems, it is an 1, whereby based on the relation of the result output
object of the present invention to provide a pedal move from the pedal displacement detection means 2 and the
ment control and recording apparatus for an automatic drive signal supplied to the pedal drive means 1, the
5,131,306 4.
3
state of the pedal is determined. This it is possible to DETAILED DESCRIPTION OF THE
determine position information for the various pedal PREFERRED EMBODIMENTS OF THE
states such as the half pedal state, or the slack state (state PRESENT INVENTION
during which initial movement of the pedal has no ef
fect on the tone due to mechanical free play in the pedal 5 A first preferred embodiment of the present invention
mechanism), by which means the response characteris will be described in the following section with reference
tics and other mechanical characteristics of the pedal to FIGS. 3-8.
mechanism of the operated piano are more accurately FIG. 3 is a block diagram of this first preferred em
captured and reproduced during replay, bodiment of the present invention. In FIG. 3, GP indi
O cates a piano which carries out automatic music perfor
BRIEF DESCRIPTION OF THE DRAWINGS mance controlled by and in response to performance
In the drawings: data delivered from controller 6. Furthermore, when
FIGS. 1 and 2 are block diagrams schematically rep the piano GP is played by a human performer, based on
resenting the fundamental operations of the automatic the human performance, control data is supplied from
music playing piano of the present invention. 5 the piano to the controller 6.
FIG. 3 is a block diagrams schematically representing FIG. 4 is a side view of piano GP which also shows
the overall layout of the automatic music playing piano the external appearance of a peripheral device. As
of a first preferred embodiment of the present invention. shown in the drawing, the controller 6 is mounted on
FIG. 4 is an exposed side view of the piano of the first the underside of the piano. As shown in FIG. 4, a cable
preferred embodiment of the present invention. 7 intervenes between the controller 6 and the peripheral
FIG. 5 is an exposed front view showing the pedal equipment which is provided on a cart 8, through
drive mechanisms and their relationship with the pedal which means the various types of control data are trans
drive solenoids. mitted between the controller 6 and the peripheral
FIG. 6 is a pedal characteristics chart for the loud equipment. The controller 6 is provided within a key
pedal showing the relationship between the drive signal 25 drive unit which is provided as part of the piano compo
and pedal displacement for the automatic music playing nent of the automatic music playing piano.
piano of the first preferred embodiment of the present The controller 6 is further partitioned into a control
invention. unit 6a and a I/O unit 6b. The control unit 6a is made up
of a CPU (central processing unit) 9 which controls
FIG. 7 is a schematic side of the loud pedal and asso 30 each part of the automatic music playing piano, ROM
ciated damper mechanism for the automatic music play (read only memory) 10 which contains a program for
ing piano of the first preferred embodiment of the pres use by CPU 9, and RAM (random access memory) 10
ent invention. wherein various types of data as well as a position table
FIG. 8 is a pedal characteristics chart for the shift to be described below are temporarily stored. Control
pedal showing the relationship between the drive signal 35 ler 6a is connected with the automatic music playing
and pedal displacement for the automatic music playing piano GP as well as floppy disk drive (hereafter referred
piano of the first preferred embodiment of the present to as FFD) 12 via I/O unit 6b and carries out the re
invention. cording as well as read-out of performance data.
FIG. 9 is a graph showing the relationship between The solenoid 20a shown in FIG. 5 from the rear
actual position data Xi and normalized position data Xi drives loud pedal 21a, As shown in FIG. 5, the end of
for the loud pedal for the automatic music playing piano loud pedal 21a is connected to the lower end of rod 22a
of the first preferred embodiment of the present inven which moves up and down freely, the connection being
tlOn. freely pivotable. The upper end of rod 22a is in turn
FIG. 10 is a graph showing the relationship between connected with the lower end of plunger 20ap of sole
actual position data xi and normalized position data Xi 45 noid 20a, again so as to be freely pivotable. The upper
for the shift pedal for the automatic music playing piano end of plunger 20ap is connected with rod 23a which is
of the first preferred embodiment of the present inven in turn connected with the damper drive mechanism
tion. within the piano. Solenoid 20b drives shift pedal 21b
FIGS. 11a and 11b are a flow chart showing the and in a fashion identical to that of the loud pedal 21a
various operations of the measurement process for the 50 side, is connected to rods 22a and 23a, thereby transmit
automatic music playing piano of the first preferred ting various driving forces to shift pedal 21b.
embodiment of the present invention. At the upper end of both solenoid 20a and 20b, sen
FIG. 12 is a flow chart showing the various opera sors 35a and 35b are respectively provided by which
tions of the recording process for the automatic music means the positions and movement of the loud pedal
playing piano of the first preferred embodiment of the 55 and the shift pedal are detected. Each sensor, sensor 35a
present invention. and 35b is made up of a grey scale (continuously vary
FIG. 13 is a recording process control block diagram ing optical density component) which moves in concert
for the first preferred embodiment of the present inven with its respective plunger 20ap or 20bp, a light source
tion. which illuminates the moving grey scale from the side
FIG. 14 is a flow chart showing the various opera at a fixed position, and a light intensity detector which
tions of the playback process for the first preferred measures the intensity of the light transmitted through
embodiment of the present invention. the moving grey scale at a fixed position. The above
FIG. 15 is a playback process control block diagram mentioned light source may be, for example, an LED
for the first preferred embodiment of the present inven (light emitting diode), solid state laser, or a conven
tlOn. 65 tional incandescent, fluorescent, or gas (e.g. neon) ill
FIG. 16 is a playback process control block diagram lumination producing element. Similarly, the light in
for the second preferred embodiment of the present tensity detector may be a photo-resistor, photo-transis
invention. tor, or similar light intensity measuring means. By
5,131,306
5 6
means of the output signals from the respective light The range of movement from when driving force is
intensity detectors of sensors 35a and 35b, the position first transmitted to damper head 46 until it is completely
and movement of loud pedal 21a and shift pedal 21b are Separated from the string 47 is the half pedal region
determined. mentioned above. In the half pedal region, even if the
Sustaining pedal 30 is provided between loud pedal value of the PWM signal delivered to the solenoid 20a
21a and shift pedal 21b and is connected to the lower is increased, the upward motion of plunger 20ap is rela
end of unitary rod 31 so as to be freely movable in an up tively small, as shown by the plateau region seen in
and down direction, Sensor 32 is connected to the upper FIG. 6.
end of rod 31, and has a function analogous to that of As shown by the initial plateau region in the graph in
sensors 20a and 20b. In the case of the sustaining pedal, 10 FIG. 6 for downward motion of the solenoid, as the
however, no solenoid is employed. value of the PWM signal is lowered from its maximum
In the following section, the operation of the first value, the downward movement of the plunger 20ap
preferred embodiment of the present invention will be and the associated drive mechanism from its maximum
described. In particular, the drawing up of a data con height is very small initially. After the above described
version table and output of control signals will be de 15 initial plateau region for downward movement, the
scribed along with data recording and read-out opera solenoid and connected drive mechanism and pedal
tions. move downward smoothly at a higher rate until the
First of all, the principles of pedal position and move pedal reaches its original position.
ment measurement will be described. A PWM (pulse In the present preferred embodiment of the present
width modulated) signal is applied to solenoid 20a. As 20 invention, CPU9 causes the value of the PWM signal to
the width of the pulses in the signal are successively increase in single increments, while at the same time, the
increased, the connection of loud pedal 21a and rod 22a displacement of plunger 20ap is determined based on
is drawn upward to its highest position through the the output of sensor 35a. Furthermore, pedal displace
action of the solenoid. After this point, the widths of the ment positions Xb and Xc are determined, corresponding
pulses are successively decreased and the connection of 25 to point Pb, where the rate of change of plunger eleva
loud pedal 21a and rod 22a reaches its lowermost posi tion decreases below a predetermined value and point
tion. The above described motion of the loud pedal and Pe where the rate of change of plunger elevation in
its relationship to pulse width in the PWM signal is creases above a predetermined value, respectively
shown in FIG. 6. In FIG. 6, the abscissa is inscribed (refer to FIG. 6). By means of the above described
with control codes ranging from 00 to 7F hexadecimal process, a slack region, half pedal region, and damper
which indicate greater width of the PWM signal pulses off region are determined and the process is thereby
as well as increasing displacement upward of the end of completed. The above mentioned slack region is de
the loud pedal joined with rod 22a. The above men fined as the interval from the onset of plunger elevation
tioned control codes are not limited to 00-7F hexadeci up to point Pb. The half pedal region is defined as the
mal, but rather, the range may be freely chosen as dic 35 interval between point Pb and point Pe. The damper off
tated by design considerations and preference. The region is defined as the interval from point Pe up to the
ordinate in FIG. 6 indicates loud pedal displacement, position of maximum plunger displacement.
This displacement of the loud pedal is converted into For the shift pedal 21b, the principles for measure
position signal values x of 128 levels (0-7F HEX) by an ment of movement and determination of specific posi
A/D converter from the signal output from detector tions is entirely analogous to that described for the loud
3Sa. pedal above. However in the case of the shift pedal 21b,
The characteristics of the relation between displace as shown in the upward movement portion of the graph
ment of the loud pedal and the PWM signal pulse width in FIG. 8, the upward displacement shows nearly linear
shown in FIG. 6 are governed by the elastic character characteristics. Accordingly, no half pedal region is
istics of the components of the pedal drive mechanism 45 determined as is for the loud pedal 21a.
assembly as well as play or mechanical slackness be In the following section, the data conversion tables
tween the individual components. In the graph of the will be described. In the present preferred embodiment
curve for the rising pedal, the initial portion is called the of the present invention, there are three different types
slack region and represents the period when play or of data conversion tables which will be described be
mechanical slackness between the components of the 50 low.
drive mechanism occur. The curve for the rising pedal The first type of data conversion table to be described
has an intermediate plateau portion following the slack is a position - PWM signal conversion table in which,
region which is the half pedal region and will be de based upon the results of the above described measure
scribed further below. ments, position data xi are converted to PWM signal
FIG. 7 is a schematic side view of the loud pedal 55 control codes. This position - PWM signal conversion
drive system. In the drawing, in response to the PWM table is used to convert position data read out from the
signal, current flows in the coil of solenoid 20a, and floppy disk at the time of automatic performance to
according to the value of the signal, the plunger 20ap PWM signal control codes. By using this position -
moves upward a corresponding displacement, being PWM signal conversion table, when performance data
drawn into the solenoid. As the plunger 20ap moves recorded on one piano is replayed on a different piano,
upward, lever 40 rotates about pivot point 41, and rod compensation for differences in the response character
42 is thereby pushed upward. As rod 42 pushes upward, istics of the pedal mechanisms between the two instru
lever 43 is caused to pivot about pivot point 44 and ments can be carried out. Furthermore, by regenerating
damper 45 is thereby pushed upward. As damper 45 is the position - PWM signal conversion table at suitable
pushed upward, the damper head 46 provided on its 65 interval, time change of the response characteristics of
upper end separates from string 47. The range of move the pedal mechanisms can be compensated for as neces
ment in which the damper head 46 is completely sepa sary over the years. When the position - PWM signal
rated from the string 47 is called the damper off region. conversion table is drawn up as described above, data
5,131,306
7 8
values in the table are corrected as necessary to correct and 10. Accordingly, this type of data conversion table
for non-linear characteristics of the solenoid. is referred to as an reverse normalization data conver
In the second type of data conversion table to be sion table. That is to say, the normalized data values Xi
described, the 128 level position data table is converted are converted to those values xi which reflect the unique
to one having 16 levels. When the table is so converted, 5 characteristics of the individual target piano. However,
the data is normalized to correct for characteristics of the input data for the reverse normalization data con
the pedal mechanism, version tables is divided among 128 levels, and the out
For example, as shown in FIG. 9 for the loud pedal put data is similarly divided among 128 levels. Accord
21a where values in the 128 levels position data table are ingly, for the actual conversion process, for the 16 level
represented by xi, the previously determined values for 10 normalized data Xi read from the recording media, a
the slack region, half pedal region and damper off re supplementing process is carried out by which means
gion are normalized for the characteristics of the instru the data is converted to 128 level normalized data Xi
ment, and furthermore, the data is compressed and al after which it is supplied to the reverse normalization
lotted to 16 levels, represented by Xi in the diagram. In data conversion table.
FIG. 9 xa, and accordingly Xa, represent the state in 15 In the following section, the numerical factors em
which no pressure is applied to the pedal, xi, and X, ployed in the automatic music regeneration process will
represent the onset of the half pedal state, x and Xe be discussed.
represent the onset of the damper off state, and xd and For the position data x obtained through application
Xd represents the condition when the foot pressure of of the above described reverse normalization data con
the player depresses the pedal to its lowest position. For 20 version table, the position dataxi is further converted to
the normalized values Xi, the half pedal region is allot PWM signal control codes (referred to as PWMs con
ted more values, and hence more finely subdivided than trol codes hereafter) by means of the above described
the slack region or the damper off region. This is be position - PWM signal conversion table. If the PWM
cause, in order to reproduce the fine nuances in a piano signals obtained according to the value of the above
performance, it is necessary to accurately control the 25 mentioned PWMs control codes are then supplied to
position of the loud pedal in the half pedal region. In the solenoids 20a and 20b, a pedal driving process can be
slack region or the damper off region there is no need carried out which is compensated for the individual
for this type of fine control. mechanical and structural characteristics of the piano
For the shift pedal 21b, as shown in FIG. 10, the on which it is performed, even if the play-back data was
normalized table is linearly allotted to 16 levels. This is 30 recorded on a different piano. As the pedals are driven
due to the fact, as previously mentioned, that in the case through the action of the PWM signals, sensors 35a and
of the shift pedal 21b, the upward displacement of the 35b simultaneously detect and output position data, on
pedal shows nearly linear characteristics, as is seen in the basis of which, feedback control of the plungers
the graph in FIG. 8. In FIG. 10, the normalized values 20ap and 20bp is carried out, by which means a certain
are represented by Xi as with the loud pedal 21a as 35 degree of improvement in the movement accuracy can
shown in FIG. 9. It can be seen that with the shift pedal be achieved.
21b, all of the values xi corresponding to the slack re As mentioned above, feedback control of the plung
gion correlate with one Xi value, Xa. ers 20ap and 20bp permits a certain degree of improve
The reason why the normalized position data is com ment accuracy. However, when pedal motion is occur
pressed into 16 levels will be described in the following. 40 ring at a high velocity, the feedback loop is unable to
First of all, when an attempt is made to record the keep up with pedal motion, for which reason pedal
position data in 128 levels for a song on a disk that position control becomes disordered. It has been con
would ordinarily allow 70 minutes of recording time, sidered to increase the gain of the feedback loop in
the position data corresponding to no more than 15 order to remedy this problem, but due to the fact that in
minutes of playing time can be recorded on the same 45 the present preferred embodiment, feedback control of
disk. For this reason, the position data is compressed to the plungers 20ap and 20bp is unidirectional, if the gain
16 levels. However, if the position data is merely com is increased, oscillation of the mechanism is likely to
pressed to 16 levels and recorded, when played on dif. occur. That is to say, the amount of outward thrusting
ferent pianos, due to the fact that the characteristics of of the plungers 20ap and 20bp can be controlled by the
the pedal mechanisms vary from piano to piano, the 50 PWM signals but due to gravitational forces and the
play-back of the pedal operation is likely to result in a like, if the gain is increased, over-shoot is likely to result
negative effect on the quality of the replayed music. For during the return phase. This cycle then occurs repeti
this reason, for each piano, the position data xi is indi tiously with oscillation resulting.
vidually determined and reflected in the data conver Because of the problem described above, in the pres
sion tables. Thus, the compressed 16 level position ta 55 ent preferred embodiment, the position signals xi output
bles for each piano reflect individualized, corrected from the reverse normalization data conversion table
position data compensating for variation in the response are differentiated with respect to time, by which means
and other characteristics of the respective piano. Fur velocity data xi are produced. The velocity data xi" are
thermore, in the case of the half pedal region for the then multiplied by a coefficient K1 to generate PWM1
loud pedal, where position errors during play-back 60 correction control codes, after which the multiplication
would be most noticeable and detrimental, the half results are added to the PWMs control codes, and the
pedal region is more finely divided, and therefore re resulting PWM control signals are supplied to solenoids
ceives a greater measure of the allotted 16 position data 20a and 20b. As thus described, the velocity data x' are
levels Xi. employed for "feed-forward" control, and the coeffici
In the following, the third type of data conversion 65 ent K1 is, in the case of "feed-forward' control, a con
table will be described. In the case of the present data trol coefficient. Thus, the velocity data xi are multi
conversion table, the data conversions carried out are plied by a fixed value K1 to obtain correction factors
the converse of those graphically indicated in FIGS. 9 which are added to the PWMs control code position
5,131,306
9 10
data, whereby the corrected PWM control signals are human operator, or on the basis of a previously decided
supplied to solenoids 20a and 20b. program.
Because velocity correction is carried out as de When loud pedal) is decided in step SP1, the follow
scribed above, even when the pedals are moving at a ing step is SP2. In step SP2, the control code is succes
high velocity, it is possible for the pedal control to sively increased from 00 to 7F. Through this effect, the
closely follow the movement of the pedals. However, PWM control unit included within I/O unit 6b outputs
for example at the onset of depression of the loud pedal PWM signals corresponding to the control codes to the
21a or the shift pedal 21b, even though the initial veloc solenoid 20a, thereby causing the plunger 20ap to rise,
ity is 0, driving force is being applied to the respective the movement of which is detected by sensor 35a and
pedal mechanism at that time. Similarly, when the pedal O output as position signals. The position signals output
first begins to move the change in velocity, i.e. accelera by sensor 35a are converted to digital position signals X
tion is marked. Thus, at the initiation of pedal depres by the A/D converter in control unit 6b. The digital
sion, there is a need to carry out pedal position control signals thereby produced are then supplied to CPU 9 as
for the sudden increase in velocity. However, because position data xi. Next, in step SP3, the CPU 9 creates a
the initial velocity is 0, correction cannot be carried out 15 position - PWM conversion table based on the relation
on the basis of velocity data, and accordingly, the con of the control code values and the position data Xi. The
trol mechanism cannot follow the rapid change in no position - PWM conversion table thereby created is
tion. This condition is not limited only to the onset of stored in RAM 11 and the process then proceeds to step
SP4. In step SP4, judgment is made as to whether the
pedal depression, but also occurs whenever accelera 20 rate of elevation of the position data (pedal stroke) Xi is
tion of the pedal mechanism is marked. less than a predetermined value a or not. For those
Because of the problem described above, in the pres position data values xi corresponding to when this judg
ent preferred embodiment, the position signals xi output ment becomes YES), the half pedal region (in FIG. 9,
from the reverse normalization data conversion table x - x) is established.
are differentiated with respect to time two times, by 25 Next, in step SP5, based on when the rate of change
which means acceleration data Xi' are produced. The of the position data values xi becomes less than a fixed
acceleration dataxi" are then multiplied by a coefficient value, the points when the pedal is released Xa and at
K2 to generate PWM2 correction control codes, after maximum displacement of the pedal xd (refer to FIG.9)
which the multiplication results are added to the above are determined and the process proceeds to step SP6. In
described addition result (PWMs--PWM1), the results 30 step SP6, the normalization data conversion table ac
of which are supplied to solenoids 20a and 20b. As thus cording to the conversion operation shown in FIG. 9 is
described, the acceleration data Xi' are employed for created. Then in step SP7, by the same kind of process,
"feed-forward' control. This coefficient K2 may be the reverse normalization data conversion table is cre
determined based on the acceleration data Xi' obtained ated.
when, for example, increasing PWM signals are applied 35 Next, in step SP8, PWM signals increasing at an ac
to the solenoids 20a, 20b so as to create a fixed accelera celerating rate are applied to solenoid 20a, or a fixed
tion of the respective pedal mechanism, or when a PWM signal is momentarily applied to the solenoid 20a,
PWM signal of fixed intensity is momentarily applied. and the position data Xi thereby obtained are twice dif
For feedback control, the signals output from sensors ferentiated to create acceleration data Xi'. From these
35a, 35b are compared with position data Xi and the acceleration data Xi' values, the coefficient K2 is deter
deviation is determined. The deviation values thus de mined. Next, in step SP9, a PWM signal increasing at a
termined are then multiplied by a coefficient K3 to fixed rate is supplied to the solenoid 20a, and the posi
generate PWM3 correction control codes, after which tion dataxi thereby obtained are differentiated to create
the multiplication results are added to the above de velocity data Xi. From these velocity dataxi values, the
scribed addition result (PWMs-- PWM1 --PWM2) to 45 coefficient K1 is determined. After completion of the
provide corrected control values. The above mentioned above described processes, the procedure returns to the
coefficient corresponds to the gain of the feedback loop. main routine (not shown in the diagram).
The value of K3 is experimentally determined so as to In step SP1 above, when shift pedal) is decided, the
provide a value which eliminates oscillation of the pedal processes in steps SP10 to SP16 are carried out. These
mechanism and provides for stability. 50 processes are similar to steps SP2 - SP9 above. How
Based on the above described correction factors, the ever, with the shift pedal 21b, because the half pedal
final control code PWM is given as shown below: region determination is not carried out, there is no step
corresponding to step SP4.
(Equ. 1) 55 In the following section, the operation of recording
PWM PWMs - PWM1 - PWM2 - PWM3 performance data will be explained. A flow chart for
PWMs -- K - x -- K2. xi" -- K3 . Ax the recording operation to be described is shown in
(Ax indicates the above mentioned deviation) FIG. 12. In FIG. 13, a recording control block diagram
is shown.
In the following section, the actual position data mea In step SPb1 shown in FIG. 12, the input process for
surement, creation of data conversion tables, and deter the position data Xi is shown. In this process, in response
mination of the coefficients will be described. The oper to the musical performance of the human performer,
ations to be described are carried out as shown in the sensors 35ba and 35b output position data to I/O unit 6b,
flow chart in FIGS. 11a and 11b. and the position data is converted to digital position
First of all, in step SP1 the type of pedal is judged. data x by the A/D converter. Next, in step SPb2, ac
That is to say, judgment is made as to whether the 65 cording to the normalization data conversion table
measurement operations will be carried out on the loud stored in RAM 11, the data is normalized for the regions
pedal 21a or the shift pedal 21b. Which pedal is to be the (slack, half pedal, damper off), and additionally, the
subject of the measurement operations can be chosen by data is compressed to the normalized 16 level position
5,131,306
11 12
dataxi previously described. The process then proceeds to the piano on which the music is performed. When the
to step SPb3 in which the normalized data is supplied to music is replayed, by employing the reverse normaliza
FDD 12 and there magnetically recorded on a floppy tion table, the recorded normalized position data Xi is .
disk. converted to position dataxi which reflects the response
As described above, by utilizing the normalization characteristics of the piano on which it is being re
data conversion table, the recording of performance played. Thus, regardless of the piano on which the
data is carried out so that the recorded data is normal music is recorded and regardless of the piano on which
ized for the unique characteristics of the piano on which the music is replayed, when the performance is played
the music is originally performed. again, the performance data is adjusted in take into the
In the following section, the operation of music play 10 response characteristics of the piano on which it is being
back will be explained. A flow chart for the play-back played. Accordingly, the nuances of the pedal action of
operation to be described is shown in FIG. 14. In FIG. the original performance are preserved.
15, a play-back control block diagram is shown. Further, by virtue of the data compression carried
First of all, in step SPc1, the previously recorded out on the position data xi, the recorded pedal move
normalized position data xi is read out from the floppy 15 ment data does not require an excessively large area of
disk in FDD 12 and supplied to CPU 9 via I/O unit 6b. the recording media, and thus, performances of a long
Then, in step SPc2, the supplementing process is carried duration may be recorded. Through the use of the nor
out in which the 16 level normalized data Xi is con malization and reverse normalization tables, even
verted to 128 level normalized data Xi after which it is though the data is compressed, there is no sacrifice in
supplied to the reverse normalization data conversion 20 the ability to reproduce the nuances of the original
table. In the following step SPc3, using the reverse performance.
normalization data conversion table previously stored Furthermore, the present invention performs not
in RAM 11, normalized position data x conforming to only normalization in terms of each piano's static (re
the unique characteristics of the piano on which the sponse) characteristics, but also performs normalization
music is replayed is produced. Furthermore, in the fol 25 in terms of the movement characteristics of each piano's
lowing SP.c4, using the position - PWM conversion pedal mechanisms through normalizing for velocity and
table previously stored in RAM 11, the position data xi acceleration. Through feedback control of the above
is converted to PWM codes. mentioned normalization for velocity and acceleration,
Next, the process in step SPc5 is carried out. In this exceedingly accurate reproduction of pedal movements
step, the CPU 9 differentiates the position data x 30 are possible, even at high pedal velocities.
thereby forming velocity data Xi, and this velocity data Furthermore, due to the fact that plungers 20ap and
xi' is then multiplied by coefficient K1, thereby forming 20bp of solenoids 20a and 20b connect directly with
control codes PWM1. The position data x is also twice rods 22a and 22b below which are in turn connected
differentiated, thereby forming acceleration data Xi', with loud pedal 21a and shift pedal 21b respectively,
and this acceleration dataxi" is then multiplied by coef. 35 and due to the fact that plungers 20ap and 20bp connect
ficient K2, thereby forming control codes PWM2. Fur directly with rods 23a and 23b above, extraneous noise
thermore, as shown in FIG. 15, the position signals from from the pedal mechanism during performance or re
the sensors 35a, 35b are converted to digital position play is minimized.
signals x via the A/D converter in I/O unit 6b, and In the following section, a second preferred embodi
these values are then compared with the position signals ment of the present invention will e described with
xi output from the reverse normalization data conver reference to FIG. 16. The automatic playing piano of
sion table to obtain deviation A values. These deviation the present embodiment is based on the automatic play
A values are then multiplied by the coefficient K3 to ing piano of the first preferred embodiment with further
obtain control codes PWM3. Afterwards, again as improvements included.
shown in FIG. 15, the performance calculations are 45 As is the case with the automatic music playing piano
carried out based on the control codes PWMs, PWM1, of the first preferred embodiment shown in FIG, 15, by
PWM2, and PWM3 (equation 1 above), thereby deter means of PWM1 and PWM2 control codes, feed for
mining the control code PWM values. ward control of the velocity and acceleration of the
Next, in step SPc6, the control codes PWM produced respective pedals is carried out in the present embodi
in the above described step SPc5 are supplied to the 50 ment. With such a piano, however, when a differential
PWM control unit as shown in FIG. 15. The PWM develops between the position data xi and and the posi
control unit is a circuit provided in I/O unit 6b where tion data x detected by sensor 35a or 35b, position feed
driving current corresponding to the supplied control back control employing the above described PWM3 is
codes PWM is generated and then sent to the solenoids insufficient to provide suitably rapid control of pedal
20a, 20b. After the completion of step SPc6, the process 55 response. If the gain of the PWM3 feedback loop is
returns to the main routine. increased, a more rapid response can be achieved, but
Based on the above described process, correction for then oscillation in the pedal mechanism is likely to arise,
the response and other mechanical characteristics of the as previously discussed. For these reasons, with the
pedal mechanisms can be carried out. Thus, through automatic playing piano of the present embodiment as
pedal velocity correction, pedal acceleration correc shown in FIG. 16, feedback control of pedal velocity
tion, as well as feed-back signal correction, the nuances and acceleration is also carried out. Thus when com
of the originally performed music are reproduced upon pared to the piano of the first preferred embodiment,
replay, even when carried out on a different piano. the piano of the present embodiment provides more
With the present preferred embodiment as described accurate high speed pedal control, and accordingly,
above, by employing the normalization table during the 65 provides for a more faithful reproduction of the pedal
recording of a performance, normalized data Xi is gener movements recorded during the original performance.
ated, that is, the actual position data x is normalized in As shown in FIG. 16, the differential of position data
terms of the individual response characteristics unique x with respect to time is determined, thereby generating
13
5,131,306 14
velocity data X (velocity feedback data). Similarly, the ship between the characteristics of said drive signal
differential of velocity data x' with respect to time is supplied to said pedal drive means and said pedal
determined, thereby generating acceleration data x' displacement detected by said pedal displacement
(acceleration feedback data). Then, the deviation be detection means, said conversion table creation
tween velocity data Xi and velocity data x' is deter means including means for determining a half pedal
mined to generate Ax", which is then multiplied by coef region in the range of displacement of the pedal
ficient K4 to provide control code PWM4. Similarly, corresponding to a change in pedal displacement
the deviation between acceleration data Xi'ad accelera characteristics; and
tion data x' is determined to generate Ax", which is control means for receiving recorded performance
then multiplied by coefficient K5 to provide control O data for said automatic music playing piano and
code PWM5. Finally, the control codes PWM4 and driving the pedal drive means in response to the
PWM5 thereby are added to the sum of control codes performance data and in accordance with the con
PWMs, PWM1, PWM2 and PWM3 as shown below in
Equ. 2, the result of which is supplied to control unit 6a. version table and said half pedal region.
15
2. A pedal movement control and recording appara
tus in accordance with claim 1 above further compris
PWM (Equ. 2)
ing a normalization table for use during a recording of a
PWMs - PWM - PWM2 - PWM3 -- performance, wherein a signal output from said pedal
PWM4 - PWMS displacement detection means during recording which
PWMs -- K1 . x + K2. xi" -- K3 . Ax + reflects individual characteristics of the automatic
music playing piano on which the performance is re
corded, is converted to normalized data by means of the
The values for K4 and K5 used in Equ. 2 above, are normalization table.
experimentally determines values, chosen so as to avoid 3. A pedal movement control and recording appara
oscillation of the pedal mechanisms and to provide 25 tus for an automatic music playing piano in accordance
stable operation. with claim 2 above in which the normalized data and
It is not necessary that coefficients K1-K5 be fixed the signal output from said pedal displacement detec
values. For example, a different set of the coefficients tion means each comprises a number of data bits and the
could be used for each of the slack region, the half pedal number of bits in the normalized data is less than the
region, and the damper off region, Similarly, different 30 number of bits in the signal output from said pedal dis
values could be use at the onset of pedal motion Xa, and placement detection means.
in the vicinity of termination of pedal motion Xd (refer to 4. A pedal movement control and recording appara
FIG. 9). Also, it is possible to use different values dur tus in accordance with claim 1 above further compris
ing pedal depression and during pedal elevation. Fur ing a memory means for storing performance data and a
thermore, the values of K1-K5 may be sequentially 35 drive signal supply means for supplying a drive signal to
varied in response to the values of Xi, X." and Xi'. When said pedal drive means, whereby during an automatic
the position is in the vicinity of points Xa, Xb, Xc or Xd performance, performance data is read out from said
(FIB. 9), because the change in pedal load is great, if the memory means and converted to pedal drive data by
values of K1-K5 are variable in the vicinity of points xa,
xb, xc or xd, then it becomes possible to achieve more means of said position data conversion table, thereby
accurate control. When it is desirable to simplify the forming a pedal drive signal which is supplied to said
circuitry, the acceleration component of the feedback, pedal drive means.
feed-forward control can be eliminated from Equ. 2 5. A pedal movement control and recording appara
above, thus giving Equ. 3 below. tus in accordance with claim 4 above further compris
45
ing a normalization table for use during a recording of a
PWM = PMs - PMI - PM3 - PM4 (Equ. 3) performance, wherein a signal output from said pedal
displacement detection means which reflects individual
PMs - K1 . x -- K3 . Ax -- K4 - Ax' characteristics of the automatic music playing piano on
which the performance is recorded, is converted to
The different ways to vary the values of K1-K5 as SO normalized data by means of the normalization table,
described above for the loud pedal are also applicable to further comprising a data writing means for writing
the shift pedal. Similarly, the above described pedal data to said memory means, whereby said normalized
mechanism features may be applied to an upright piano, data converted by said normalization table is written to
as well as a grand piano. said memory means.
What is claimed is:
1. A pedal movement control and recording appara 55 6. A pedal movement control and recording appara
tus for an automatic music playing piano comprising: tus for an automatic music playing piano in accordance
with claim 5 above in which the normalized data and
at least one pedal for musical tone control, said pedal the signal output from said pedal displacement detec
having a range of displacement;
a pedal drive means for driving said pedal; tion means each comprises a number of data bits and the
a pedal displacement detection means for determining number of bits in said normalized data is less than the
the displacement of said pedal; number of bits in the signal output from said pedal dis
a conversion table creation means for creating a con placement detection means.
version table, in which said conversion table cre 7. A pedal movement control and recording appara
ation means sequentially changes characteristics tus for an automatic music playing piano in accordance
for a drive signal supplied to said pedal drive means 65 with claim 5 above further comprising a reverse nor
while detecting pedal displacement with said pedal malization table by which means data read from said
displacement detection means, wherein a position memory means is converted to data which indicates
data conversion table is created based on a relation pedal displacement, and also comprising a means to
5,131,306
15 16
supply data converted by said reverse normalization ent to provide multiplication results, and the multiplica
table to said position data conversion table. tion results are summed whereby said pedal drive signal
8. A pedal movement control and recording appara is generated.
tus in accordance with claim 4 in which said pedal drive 13. A pedal movement control and recording appara
data is differentiated with respect to time to provide a 5 tus in for an automatic music playing piano comprising
result, and the result of said differentiation and said at least one pedal for musical tone control, a pedal drive
pedal drive data are each multiplied by a coefficient to means for driving said pedal, a pedal displacement de
provide results, and in which the results of said multipli tection means for determining the displacement of said
cations by said coefficients are summed, whereby said pedal, and a state judgment means for determining dif
pedal drive signal is generated. 10 ferent operating states of said pedal in which pedal
9. A pedal movement control and recording appara displacement characteristics are different in response to
tus in accordance with claim 4 in which said pedal drive the driving of the pedal, wherein said state judgment
data is differentiated with respect to time to provide means sequentially changes characteristics of a drive
first results and is twice differentiated with respect to signal supplied to said pedal drive means while detect
time to provide second results, and the first and second 5 ing pedal displacement with said pedal displacement
results and said pedal drive data are each multiplied by detection means, so as to determine the different pedal
a coefficient to provide results, and in which the results operating states.
of said multiplications by said coefficients are summed, 14. A pedal movement control and recording appara
whereby said pedal drive signal is generated. tus for an automatic music playing piano in accordance
10. A pedal movement control and recording appara 20
with claim 13 above in which said state judgment means
tus in accordance with claim 4 in which said pedal drive determines a half pedal state for a loud pedal.
data is differentiated with respect to time to provide 15. A pedal movement control and recording appara
first results and is twice differentiated with respect to tus for an automatic music playing piano in accordance
time to provide second results, said pedal drive data and with claim 13 above in which said state judgment means
the signal output from said pedal displacement means 25
determines a slack state for said at least one pedal.
are compared to provide deviation results, said pedal 16. A pedal movement control and recording appara
drive data, the first and second results and the deviation tus for an automatic music playing piano comprising:
results are each multiplied by a coefficient to provide at least one pedal for musical tone control,
multiplication results, and the multiplication results are a pedal drive means for driving said pedal,
summed, whereby said pedal drive signal is generated. 30
a pedal displacement detection means for determining
11. A pedal movement control and recording appara the displacement of said pedal,
tus in accordance with claim 4 in which said pedal drive a conversion table creation means for creating a con
data is differentiated with respect to time to provide version table, in which said conversion table cre
first differentiation results and is twice differentiated
with respect to time to provide second differentiation 35 ation means sequentially changes characteristics
results, said signal output from said pedal displacement for a drive signal supplied to said pedal drive means
detection means is differentiated with respect to time to while detecting pedal displacement between maxi
provide third differentiation results, said pedal drive mum and minimum values with said pedal displace
data and the signal output from said pedal displacement ment detection means, wherein a position data
detection means are compared to provide first deviation conversion table is created based on a relationship
results, said first differentiation results and said third between the characteristics of said drive signal
differentiation results are compared to provide second supplied to said pedal drive means and said pedal
deviation results, said pedal drive data, said first differ displacement detected by said pedal displacement
entiation results, said second differentiation results, said detection means, and said
first deviation results and said second deviation results 45 control means for receiving recorded performance
are each multiplied by a coefficient to provide multipli data for said automatic music playing piano includ
cation results, and the multiplication results are ing data representing commanded pedal position
summed, whereby said pedal drive signal is generated. with reference to normalized minimum and maxi
12. A pedal movement control and recording appara mum positions and for providing a drive signal to
tus in accordance with claim 4 in which said pedal drive 50 the pedal drive means in accordance with the com
data is differentiated with respect to time to provide manded pedal position and the conversion table.
first differentiation results and is twice differentiated 17. A pedal control apparatus for an automatic music
with respect to time to provide second differentiation playing piano having at least one pedal for a musical
results, said signal output from said pedal displacement tone control, comprising:
detection means is differentiated with respect to time to 55 a pedal drive means for driving said pedal;
provide third differentiation results and is twice differ a pedal displacement detection means for determining
entiated with respect to time to provide fourth differen the displacement of said pedal;
tiation results, said pedal drive data and the signal out characteristics determining means for determining
put from said pedal displacement detection means are. drive value versus displacement characteristics for
compared to provide first deviation results, said first said pedal; and
differentiation results and said third differentiation re control means for receiving normalized pedal perfor
sults are compared to provide second deviation results, mance data representing desired pedal position
said second differentiation results and said fourth differ between minimum and maximum displacement and
entiation results are compared to provide third devia converting the normalized data to drive data for
tion results, said pedal drive data, said first differentia 65 said pedal drive means in accordance with the
tion results, said second differentiation results, said first characteristics determined by the characteristics
deviation results, said second deviation results and said determining means.
third deviation results are each multiplied by a coeffici 18. A pedal control apparatus as in claim 17 wherein:
5,131,306
17 18
the characteristics determining neans includes means ence to the determined slack range or half pedal
for determining a half pedal range of displacement range so that particular pedal displacement values
of the pedal; and in the normalized recording positively represent
the control means receives normalized pedal perfor desired slack range or half pedal range operation
mance data including data corresponding to de during reproduction of the normalized recording.
sired pedal displacement within the half pedal 21. A piano system as in claim 20 wherein the con
range and converts the normalized data to drive verting means includes means for compressing the re
data for the pedal drive means in accordance with corded pedal displacement to correspond to a predeter
determined drive value versus displacement char mined plurality of possible normalized values between
acteristics and in accordance with the determined 10 minimum and maximum pedal displacement.
half pedal range. 22. A piano system as in claim 21 wherein the range
19. A pedal control apparatus as in claim 18 wherein determined is the half pedal range and wherein the
the performance data is compressed data representing a means for compressing provides a greater number of
predetermined number of possible normalized pedal possible normalized values per given amount of pedal
displacement values between minimum and maximum displacement within the half pedal range than outside of
displacement, wherein possible displacement values the half pedal range, thereby providing high resolution
within a normalized half pedal range represent smaller in the half pedal range despite compression.
displacement increments than possible displacement 23. A piano system as in claim 22 wherein the piano is
values outside the half pedal range, and wherein the an automatic music playing piano, the system further
control means includes means for converting data comprising:
within the normalized half pedal range into drive sig pedal drive means for driving the pedal; and
nals for the half pedal range of said pedal, whereby high control means for reading a normalized recording in
resolution is obtained in the half pedal range despite the which particular pedal displacement values posi
use of compressed data. tively represent desired half pedal range operation
20. A piano system for producing recordings for 25 and converting the normalized recording into
automatic music playing pianos, comprising: pedal drive signals with reference to the deter
a piano having at least one pedal for musical tone mined half pedal range for the pedal so that the
control; pedal is accurately driven in its half pedal range in
pedal displacement detection means for determining response to reading of normalized displacement
displacement of the pedal; values representing desired half pedal range opera
pedal characteristics determining means for deter 1O.
mining pedal displacement values of the detection 24. A piano system as in claim 23 wherein the pedal
means which correspond to at least one of a slack characteristics determining means determines pedal
range or a half pedal range of the pedal; displacement values corresponding to the half pedal
recording means for recording a musical performance 35 range by causing the drive means to sequentially gener
on the piano including means coupled to the detec ate drive signals to drive the pedal, determining a drive
tion means for recording pedal displacement dur signal versus pedal displacement relationship and de
ing the musical performance; and tecting changes in the drive signal characteristics with
converting means for converting the recorded pedal displacement.
displacement to a normalized recording with refer 40 k k k : k

45

SO

55

65

You might also like