Abstract:
A piano is equipped with electromechanical actuators which are individually associated with and operate the keys to reproduce a piano performance. The actuators are selectively energized according to the notes to be played to recreate a piano performance. When an actuator is energized, individual pulses of uniform width are selected from a pulse train and applied to the actuator, with the number of selected pulses varying the overall drive energy supplied to the actuator to closely approximate a desired drive or note intensity.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates generally to improvements in playing piano music electromechanically, and more particularly to an improved method and apparatus for producing variable intensity in a piano performance to create expression effects. 
     It has been known for many years that a piano performance can be recreated by moving the keys and pedals mechanically. In earlier versions, a perforated paper roll was the recording medium, and actuation of the keys and pedals in response to perforations in the roll was achieved by pneumatic means. More recently, magnetic and optical recording media such as magnetic tape and/or magnetic or optical disks are used as the recording media, with solenoids or other electromagnetic devices being used as actuators for the keys and pedals. 
     When a performance is to be recorded, the piano is played by a musician, and sensors detect the timing and velocity with which the keys are depressed and the hammers associated with the keys are moved. This information is stored digitally on a recording medium such as magnetic tape. When the performance is to be recreated, the digital information is retrieved from the magnetic tape and converted to control signals that energize solenoid actuators to move the keys in the same order and with the same intensities as in the original performance. 
     To a large degree, the unique and satisfying aspects of a musical performance played on a piano are related to the intensities of the individual notes that comprise the performance. If the intensities of the individual notes are correct, the overall effect will be that of a pleasing musical whole, with each note playing its role in the larger musical structure. However, if the intensities of the individual notes are incorrect, the resulting performance will have an unmusical quality. It is due to such incorrect intensity control that performances recreated by inferior instruments are often dismissed as being &#34;mechanical&#34; and therefore undesirable. 
     Basically, in a reproducing piano, note intensity control is achieved by varying the drive applied to the key actuators. The actuators are typically large and consequently relatively slow, so that the desired drive may be approximated by rapidly alternating between full drive and no drive. The delay inherent in the actuators tends to smooth the rapidly alternating applied drive, and to a first approximation the actuators respond only to the average value of the applied drive. 
     In U.S Pat. No. 4,132,141, such alternating applied drive is achieved by creating a sequence of pulses of substantially fixed repetition rate, and varying the width of the pulses such that the average drive voltage specified by the pulses corresponds to the desired drive voltage. While this approach controls the drive, it suffers from several deficiencies that make it unattractive for use in a high-performance, low-cost instrument. One deficiency derives from the fact that the pulse width is modulated according to the desired drive. In order for the average drive to be controlled in this way, the height of the pulses must be uniform. Since the height of the pulses mirrors the actuator supply voltage, this supply voltage must remain constant for proper control to be achieved. A single unregulated supply is normally used for all of the actuators in the interest of economy, and its output voltage drops when many notes are played concurrently. As a result, a regulated power supply would be required to achieve the desired control, but this approach would add unnecessary cost to the instrument. 
     Another deficiency encountered in pulse width control schemes appears during soft play, which requires the application of a relatively low average drive voltage. The accuracy of control for soft play is compromised by the very narrow pulses that occur when low drive is required. For such very narrow pulses, the switching times constitute a significant fraction of the pulse width, resulting in unpredictable behavior. 
     A still further deficiency of pulse width control schemes arises from the fact that pulse width modulators are complex and therefore expensive. Ideally, there should be individual control of the drive voltage applied to each note solenoid. While this can be done with pulse-width modulation, the provision of one pulse-width modulator per note results in a system that is unnecessarily complex and expensive. 
     Accordingly, there has been a need for a novel method and apparatus of simplified and relatively inexpensive construction for producing variable intensity in a piano performance. Such an apparatus and method are needed which yield excellent drive control even at very low drive levels, individually control the drive to each note solenoid, and compensate for supply voltage variations. The present invention achieves these needs and provides other related advantages. 
     SUMMARY OF THE INVENTION 
     The present invention comprises a method and apparatus for controlling the intensity of the notes in a reproducing piano performance in a manner that results in a simpler and more economical mechanism than can be achieved by conventional systems presently available. More particularly, a recording of a musical performance is used in conjunction with control circuit means that includes a train of pulses of essentially uniform width. According to the recorded signal which represents the intensity of a specific note to be played, selected pulses from the pulse train are applied to a note actuator to play the note, with the number of selected pulses defining the average drive voltage supplied to the actuator, thereby controlling the intensity of the note. 
     In the preferred form, the intensity or loudness of the musical note is controlled by regulating the average drive voltage applied to a solenoid actuator. The solenoid actuator is situated to activate a key so that an associated hammer strikes a string of a musical instrument, such as a piano or the like. The intensity or mechanical force with which the string is struck will be proportional to the voltage level applied to the solenoid. 
     In accordance with the basic method of the invention, a single train of pulses of preferably uniform width is produced for use with all of the piano keys. When a particular note is to be played with a given intensity, pulses are selected from the pulse train, and the selected pulses are applied to the solenoid actuator. The specific number of selected pulses is proportional to the desired note intensity such that a summation of the selected pulses closely approximates a desired input drive energy level for driving the solenoid actuator to achieve the desired note intensity. 
     Pulse selection proceeds by integrating the difference between a reference drive signal and a desired drive signal representing the desired note intensity. This integrated value, referred to as the drive error variable, is examined at the onset of each pulse in the pulse train. In general terms, when the drive error variable indicates that the average drive voltage to be applied to the associated solenoid actuator is below the level required to achieve the desired note intensity, the pulse is selected. Alternately, when the drive error variable indicates that the average drive voltage exceeds the level required to achieve the desired note intensity, the pulse is not selected. In this manner, the average drive voltage required to provide a desired note intensity is closely approximated. Conveniently, the drive error variable reflects the cumulative difference between the reference drive signal and the desired drive signal, including the effect of pulse height variation, such that the selection procedure compensates automatically for variations in pulse height. 
     Integration may proceed continuously (at every instant in time) or discretely (once for each pulse in the pulse train). If the discrete approach is adopted, one pulse selecting circuit capable of operation at a high rate may be used repeatedly for each note played. This produces individual control of each note with a minimum of complexity. 
     Other features and advantages of the present invention will become apparent from the following more detailed description, taken in conjunction with the accompanying drawings which illustrate, by way of example, the principles of the invention. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The accompanying drawings illustrate the invention. In such drawings: 
     FIG. 1 is a fragmentary perspective view, schematic in nature, illustrating basic piano components in combination with electromechanical actuators and related control means in accordance with the present invention; 
     FIG. 2 is a block diagram representing the apparatus and method of this invention; 
     FIG. 3 is an schematic diagram of an exemplary analog control circuit for controlling actuation of a solenoid actuator associated with a particular note; 
     FIG. 4 is a timing diagram depicting operation of the control circuit of FIG. 3; and 
     FIG. 5 is a flow diagram depicting the operation of an equivalent digital control circuit. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     As shown in the drawings for purposes of illustration, the present invention relates to a method and apparatus for producing variable note intensity in a musical performance, particularly in connection with a reproducing piano. The invention comprises a control circuit referred to generally in FIGS. 1 and 2 by the reference numeral 10 for selectively energizing a plurality of note actuators 12 associated individually with a corresponding plurality of tone producing mechanisms in a musical instrument, such as the keys 14 (FIG. 1) of a piano. The control circuit 10 responds to a recording medium 13 (FIG. 2) containing a representation of a musical performance, including information representing the notes to be played and their intensities, to operate the note actuators 12 in a manner closely representing the recorded performance. 
     FIG. 1 illustrates the control circuit 10 in schematic relation to one of the note actuators 12 associated with one key 14 of a piano. As is known in the art, the illustrative piano key 14 is pivotally mounted for normal manual depression of an outboard end 14, thereof when it is desired to play the note associated with the key. Such depression of the key outboard end correspondingly lifts an inboard end 14&#34; of the key which acts through the piano action 16 to pivot a hammer 18 into striking one or more associated piano strings 20 to play the note. Concurrently with such operation of the hammer 18, the inboard end 14&#34; of the key 14 also engages and lifts a damper lifter 22 mounted pivotally onto the piano frame 24 to lift a string damper 26 from the strings 20 substantially immediately before the hammer 18 impacts the string or strings. The manual force used to depress the key 14 is directly proportional to the intensity or volume of the note which is played, and the duration of the note is controlled by the time span during which the key is held in a depressed position. 
     The note actuator 12 shown in FIG. 1 comprises a solenoid mounted onto the piano frame in a suitable manner at a position generally adjacent to the inboard end 14&#34; of the piano key 14. The solenoid has a conventional construction and operation to include an elongated plunger 28 which is normally returned by gravity into a solenoid housing 30, but which is thrust outwardly from the housing when the solenoid is energized. The solenoid is mounted such that a pusher tip 32 or the plunger 28 contacts and lifts the inboard end 14&#34; of the key 14 when the actuator is energized, thereby displacing the key in the manner required to play a note, as described above. Further description of the piano mechanism can be found in U.S Pat. No. 4,450,749 which is incorporated by reference herein. 
     While FIG. 1 illustrates a single note actuator 12 in association with one key 14 and the related strings 20 of a piano, it will be understood that there are a plurality of note actuators 12 associated individually with multiple and preferably all of the keys of the piano. FIG. 2 shows this control circuit connection with multiple note actuators &#34;1&#34; through &#34;N&#34;, said control circuit in FIG. 2 representing collectively the control circuit of FIG. 3 for each of the keys of the piano. By controlling the average drive voltage supplied to each note actuator, the control circuit can effectively operate the actuators in a manner to play a desired musical performance on the piano with individual intensity expressive effects applicable to each note when played. 
     FIG. 3 illustrates the control circuit 10 in association with a selected one of the note actuators 12, with FIG. 4 including a schematic representation of signal waveforms used in the control scheme. More particularly, the circuit control includes a pulse generator 40 that continuously provides a pulse train output. It is generally desirable, although not necessary, for these pulses to have a uniform width. V IN  constitutes a signal derived from the recording medium 13 (FIG. 2) and applicable to the specific note associated with the actuator 12 shown in FIG. 3, wherein the V IN  signal represents the presence of this note and a desired intensity level for the note in the reproduction of a musical performance. In general terms, the V IN  signal is employed by the control circuit 10 to select a number of pulses from the pulse train and to supply the selected pulses to the note actuator 12 to play the note when desired at the desired intensity level. The total number of pulses selected to play the note over a given period of time represents the average drive voltage supplied to the actuator, and thereby controls the note intensity. 
     The V IN  signal is connected to an operational amplifier 42 of an integrator circuit 44, along with a ground signal or a reference signal V supply . At any given moment, either the ground signal or the reference signal V supply  is connected to the amplifier 42 through an electronic switch 60 and an input resistor 46. The differential amplifier 42 has associated with it a feedback capacitor 48, such that the integrator circuit 44 integrates the difference between the ground signal or the reference signal V supply  (as the case may be) and V IN , resulting in an output referred to herein as the &#34;integrator output signal&#34; or alternatively as the &#34;drive error variable&#34; and as illustrated in FIG. 4. 
     A comparator 50 compares the magnitude of the drive error variable with a reference point shown in FIG. 3 as a grounded reference. Accordingly, whenever the comparator 50 recognizes the drive error variable (i.e. the integrator output signal) to be greater than or equal to zero (the grounded reference), the output signal 52 of the comparator 50 is in the &#34;on&#34; state. This comparator output signal 52 continues in the &#34;on&#34; state until the drive error variable becomes less than zero, when it switches to the &#34;off&#34; state. In this regard, the integrator output signal representing the drive error variable initially has a negative value by appropriate selection of the magnitude of V supply , and increases over time to a positive value representing a need for the drive voltage supplied to the actuator 12 to be increased in order to maintain desired note drive. The positive integrator output results in generation of the comparator output pulse 52 used to select and send one or more of the clock pulses to the note actuator. 
     The comparator output signal 52 is supplied to one input terminal of a flipflop 54, in parallel with the clock pulses from the pulse generator 40. When the flipflop 54 receives an indication of an &#34;on&#34; state from the comparator 50 coincident with a leading edge of a clock pulse, the flipflop switches to an &#34;on&#34; state and generates an output pulse 56 supplied to an AND gate 58. The AND gate 58 remains open for the duration of the clock pulse. 
     The AND gate 58 also receives the train of clock pulses from the pulse generator 40. Thus, for the duration of a single clock pulse, the AND gate passes a clock pulse to the note actuator 12. In addition, the pulse passed to the actuator is also connected to a suitable electronic switch 60 which disconnects ground from the integrator circuit 44 and reconnects the corresponding integrator terminal to V supply  for the duration of the pulse. As a result, the output of the integrator circuit ramps in the negative direction to reset the control circuit. 
     In operation, the value of the drive error variable represents the drive required to operate the note actuator 12 to achieve the desired drive intensity. When the integrator output signal is positive, the average drive voltage is instantaneously below that required to drive the solenoid, and the next pulse in sequence is thus selected and supplied to the solenoid to increase the average drive voltage. The drive error variable thereupon ramps negatively to indicate that the average drive voltage momentarily exceeds the energy required to achieve the desired intensity. By appropriately selecting the clock pulse frequency, preferably on the order of 50,000 pulses per second, the average drive energy actually supplied to the note actuator, as represented by a summation of the selected pulses, represents an extremely close approximation to the actual drive energy required to achieve a particular note intensity level. 
     The drive error variable is thus always in flux, moving positively if its value was negative at the beginning of the current interval, or negatively if its value was positive. Thus, the average applied solenoid drive fluctuates about the desired drive, never coming to rest, and achieving the desired drive only at those instants for which the drive error variable is equal to zero. However, it is to be appreciated that the difference between the desired drive and the actual drive is small, and that moreover the average difference is zero. Thus, the method and apparatus of the present invention provides an accurate replication of an original performance in terms of note intensity level to achieve expressive effects in a reproducing piano. Moreover, by comparing the desired drive signal V IN  with the reference signal V supply , inherent fluctuations in power supply voltages are offset and do not impact reproduction of the piano performance. 
     FIG. 5 is a flow diagram representing a digital embodiment of the control circuit as described above and shown in analog form in FIGS. 3 and 4. At the onset of each pulse, the sign of the drive error variable is examined. The current pulse is selected if the sign of the drive error variable indicates that the actual average energy has fallen below a level required to achieve the desired note intensity. Conversely, if the actual average energy exceeds the level needed to achieve desired note intensity, the pulse is omitted. 
     Although particular embodiments of the invention have been described in detail for purposes of illustration, various modifications may be made without departing from the spirit and scope of the invention. Accordingly, the invention is not to be limited, except as by the appended claims.