Embodiments presented in this disclosure generally relate to the tuning of musical instruments. More specifically, embodiments pertain to techniques for compromise tuning of musical instruments.
Musical instruments are tuned by adjusting the pitch of notes to desired standards. The physics of some instruments make it impossible for all notes on those instruments to be in tune at once. In brass instruments in particular, multiple notes can share a common resonant path such that the lowest and highest notes cannot be in tune at the same time. Traditional automated tuning devices that allow a note frequency to be exactly matched to a known correct frequency (e.g., by displaying an indication to the musician when the correct frequency is attained) cannot be used to tune brass instruments, because the notes that share a common resonant path cannot all be matched to correct frequencies at the same time and matching one of the notes will invariably change frequencies of the other notes to be out of tune. Instead, a musician tuning a brass instrument manually makes a compromise to find a balance in which some notes are slightly sharp while other notes are slightly flat. Such a tuning process can be lengthy and tedious, as the musician typically has to switch back and forth between notes continuously until the compromise is found.
One embodiment described herein provides a computer-implemented method for tuning a musical instrument. The method includes determining initial frequencies of a plurality of notes played on the musical instrument, where the plurality of notes share a resonant path, and determining changes in frequency of one of the plurality of notes resulting from tuning adjustments made to the musical instrument. The method further includes determining changes in frequencies of other notes in the plurality of notes based on the changes in frequency of the one of the plurality of notes and the initial frequencies of the other notes, and determining changed frequencies of the plurality of notes based on the initial frequency of each of the notes and the determined change in frequency of the same note. In addition, the method includes determining, via one or more processors, a first tuning adjustment of the musical instrument that minimizes a sum of differences between the changed frequency of each note in the plurality of notes and a predefined frequency of the note or a frequency to which the note has previously been tuned, and either indicating to a user to stop or automatically stopping the tuning adjustments from being made to the musical instrument when the first tuning adjustment that minimizes the sum of the differences is achieved.
Additional embodiments include a computer-readable storage medium storing an application, which, when executed on a processor, performs the above recited method as well as a system having a processor and a memory storing an application which, when executed on the processor, performs the above recited method.
So that the manner in which the above recited embodiments are attained and can be understood in detail, a more particular description of aspects of this disclosure, briefly summarized above, may be had by reference to the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. It is contemplated that elements and features of one embodiment may be beneficially incorporated in other embodiments without further recitation.
Embodiments disclosed herein provide techniques for automatically tuning musical instruments as well as embodiments that assist a musician during a manual tuning process. Brass instruments are used as a reference example of musical instruments in which all notes cannot be in tune at once, requiring compromises in the tuning process. However, techniques disclosed herein may also be applied to tune other types of instruments, such as guitars, for which compromise tuning is required. In one embodiment, a tuning application determines frequencies of a series of notes played on a horn of a brass instrument, either with open tuning or with a valve pressed. Then, as a musician holds a last note in the series and an appropriate tuning or valve slide is moved, the tuning application determines a change in frequency of the last note, and based on this change in frequency and the measured frequencies of other notes in the series, the tuning application determines changes in frequencies of the other notes. That is, the tuning application samples all the notes in the series and then focuses on the last note and determines, based on the frequency change of the last note and the frequency “checkpoints” created from listening through the entire range of notes, the frequency changes of the other notes in the series. The tuning application then determines an optimal compromise tuning that minimizes the total deviation between the current frequencies of the notes in the series and known note frequencies in a frequency table or previously tuned frequencies, if any of the notes have been tuned before (e.g., on another horn of the instrument). When the optimal compromise tuning is reached, the tuning application indicates to the musician to stop moving the tuning or valve slide. Alternatively, if the tuning or valve slide is being controlled to move automatically via, e.g., an actuator, the tuning application may send a control signal to the actuator to stop moving the tuning or valve slide. In addition, the musician may be asked to play the series of notes again so that the tuning application can check that the notes have been properly tuned. This process may be repeated to tune other tuning or valve slides of the instrument, if any, until all notes of the instrument have been tuned.
In the following, reference is made to embodiments of the invention. However, it should be understood that the invention is not limited to specific described embodiments. Instead, any combination of the following features and elements, whether related to different embodiments or not, is contemplated to implement and practice the invention. Furthermore, although embodiments of the invention may achieve advantages over other possible solutions and/or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the invention. Thus, the following aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s). Likewise, reference to “the invention” shall not be construed as a generalization of any inventive subject matter disclosed herein and shall not be considered to be an element or limitation of the appended claims except where explicitly recited in a claim(s).
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device. Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
With reference now to
Brass instruments are tuned by adjusting tuning and/or valve slide(s), such as the tuning sides 110 and valve slides 120 of the French horn 100. Adjusting the tuning slides 110 or the valve slides 120 in or out changes the length of the horn, and the horn may be tuned such that an antinode of the standing sound wave (and its harmonics) produced by the musician blowing into the mouthpiece 130 is created at the bell flair 140 of the instrument 100. Such tuning creates less pressure on the musician's lips when blowing into the mouthpiece 130, making the instrument easier to play, and the instrument also produces a better tone when in tune. Brass instruments often have three valves with respective valve slides, and the valve slides of an instrument may provide finer tuning adjustments than its tuning slides. For example, the main tuning slides 110 of the French horn 100 may be adjusted for coarse tuning correction, while individual valve slides 120 may be adjusted for finer pitch correction. It should be understood that some brass instruments such as the trumpet and the trombone only have a single tuning slide, while other brass instruments such as the French horn have multiple tuning slides. The French horn in particular has a tuning slide for the F-pitch and another slide for the B flat-pitch. In addition, some brass instruments, such as the bugle, do not have valve slides, and such instruments may be tuned by adjusting their tuning slide(s) alone.
As shown in panel B, the musician continues to hold the last note during the tuning process, while simultaneously moving one of the tuning slides 110 associated with the horn being played. The tuning application then determines new frequencies of the last note as the tuning slide is moved. It should be understood that French horns can include multiple horns, with newer designs having up to three horns, and one horn may be played at a time when tuning such instruments. Illustratively, the tuning application measures the frequency of the last and lowest note C4 that is being held while the musician moves the tuning slide associated with the B flat horn. The tuning application then determines the change in frequency of the other notes in the series based on the change in frequency of the last note C4. As discussed, multiple notes in a series can share a common resonant path in brass instruments, so changing the frequency of one note during tuning will affect all of the other notes in the series. Generally, moving a tuning (or valve) slide will affect each note in the series differently due to a nonlinear relationship between note frequencies. In one embodiment, the tuning application determines the change in frequency of the last note in cents, the logarithmic unit of measurement for musical intervals, and uses this change in cents of the last note to calculate the change in frequencies of the other notes in the series.
Note frequency and cents are generally related logarithmically, such that moving the tuning slide will change the frequency of a lower note less than it will change the frequency of a higher note, as shown in panel B. In particular, the number of cents is related to note frequencies by:
where a is a first note frequency, b is a second note frequency, and n is a number of cents. Using equation (1), the tuning application may find the number n of cents by plugging in the measured initial and current note frequencies of the last note C4 (i.e., a and b) as the tuning slide is being moved. Equation (1) may also be reformulated to give the relationship between two note frequencies:
b=a×2n/1200. (2)
Using equation (2), the tuning application may determine a new frequency b of one of the other notes in the series by plugging in the initial measured frequency a of that note and the number n of cents determined based on the change of the frequencies of the last note C4. An example of the changed frequencies of the series of notes after the tuning slide is moved is shown in panel B.
As shown in panel C, the tuning application finds a compromise tuning that minimizes the difference between the correct note frequencies in the frequency table, or previously tuned frequencies if any of the notes have been tuned before, and the current note frequencies. The correct note frequencies in the frequency table may be known harmonic frequencies for the notes at which the instrument resonates best. However, previously tuned note frequencies, if any, are used in lieu of such correct frequencies (i.e., the desired note frequency in panel C may be slightly altered to match a previously tuned note rather than the ideal frequency for that note), as some brass instruments have multiple horns and valves and notes played with the instrument's various horns and with valves pressed (and not pressed) should be in tune with each other so that a listener cannot tell the difference when the musician switches between them, i.e., the instrument should to be in tune with itself. Illustratively, such a compromise tuning may be found while the musician holds the last note C4 and moves the tuning slide, and the tuning application may then indicate (e.g., via an LED or a sound command) that open tuning of the current horn is done. Illustratively, the C4 and G5 notes are slightly flat in the final compromise tuning, while the C5 and C6 notes are slightly sharp. Such a comprise is intentionally made to leave the C4 note slightly flat, while the musician holds C4 and moves the tuning slide, so that a greater number of notes across the series are in tune.
It should be understood that, in the compromise tuning, each of the notes in the series may end up being slightly sharp or flat, as it is impossible for all notes in the series to be in tune at once. Attempting to place one of the notes perfectly in tune will, as shown in panel D, cause the other notes to be sharp or flat. Illustratively, the tuning slide has been adjusted such that the C4 note is perfectly tuned to the correct note frequency. However, as a result, the other notes are very sharp. Further, this tuning is not optimal, as the total difference between the in-tune C4 note and the other sharp notes and their correct note frequencies is greater than the total difference of the series of notes in panel C from the correct note frequencies. That is, the optimal compromise tuning in panel C permits all notes in the series of notes to be as close to being in tune as possible across the greatest range of notes, even if some notes are slightly flat or sharp. This is generally preferable to the tuning in panel D in which the C4 note is perfectly in tune but the other notes are very sharp.
Although
The linear actuator 320 is configured to adjust the tuning slide 340 in response to a control signal from a processor 313 in the body 310 of the tuning apparatus 300. In one embodiment, the linear actuator 320 may be capable of making fine adjustments that would be difficult to make manually.
The body 310 of the tuning apparatus 300 includes the processor 313, a vibration sensor 312, a memory 314 (which includes a tuning application 315), a battery 317, and an indicator 316 which may, e.g., an LED that shows tuning status (e.g., in tune, not tuned, and etc.). The vibration sensor 312 may be used to measure vibrations at any point that air passes through on the instrument independent of the note being played, such as at the lead pipe 330 close to the tuning slide 340. Measuring vibrations is useful for tuning instruments, as such tuning can be performed in a noisy environment.
The Processor 313 processes vibration measurement data obtained with the vibration sensor 312 and translates such data to note frequencies through known methods. In one embodiment, the processor 313 is configured to execute a tuning application 315 stored in the memory 314 to tune the instrument 301. In operation, the tuning application 315 determines the frequencies of a series of notes being played by a musician (e.g., in response to an indication displayed via the indicator 316 or some other means); determines the change in frequency of a last note in the series as the musician holds the last note and moves the tuning slide 340; determines the change in frequency of other notes in the series based on the change in frequency of the last note and the initial frequencies of the other notes; determines whether the tuning slide is in an optimal compromise position that minimizes a difference between the current frequencies of the notes in the series and desired note frequencies, which may include the known frequencies in a frequency table and/or previously tuned note frequencies; and, when the tuning slide is in the optimal compromise position, stops the actuator 320 from moving the tuning slide and indicates to the musician to switch to a next horn to be tuned, as discussed in greater detail below. Although shown being included in the body 310 of the tuning apparatus 300, it should be understood that the processor 313 running the tuning application may also be located elsewhere in other embodiments. For example, the processor that runs the tuning application may be off-board and may push control signals needed to adjust the tuning slide 340 to the tuning apparatus 300. Further, it should be understood that the actuator 320 is optional and, in an alternative embodiment, the musician may manually adjust the tuning slide in response to the processor 313 running the tuning application and indicating via the indicator 316 where the musician should move the tuning slide 340.
Although shown with respect to a single tuning apparatus 300 and tuning slide 340 in
In yet other embodiments, the frequency of notes being played may be determined in other ways, such as using a microphone on the tuning apparatus 300 or 400 or the separate device 450 to capture the note being played and analyzing the captured waveform to determine the frequency of the note, using microphones placed throughout the room and communicating wirelessly with the tuning apparatus 300 or 400 so that instrument can be tuned to sound best in a majority of the room, using an optical sensor and receiver such as those used in strobe tuners, or the like.
At step 510, the tuning application determines a distance that each note is away from a correct frequency in a frequency table or from a previously tuned note frequency. As discussed, the frequency table stores correct note frequencies which may be known harmonic frequencies at which the instrument resonates best. However, if any note on the instrument has previously been tuned to a particular frequency, the previously tuned note frequency may be used in lieu of the correct frequency in the frequency table so that the note is always tuned to the same frequency on the instrument.
At step 515, the tuning application determines the change in frequency of a last note in the series of notes as the musician holds the last note and a tuning slide is moved. The last note may be the lowest note in one embodiment. For example, on the French horn, the last note may be C4 for both the F and B flat horns, and this note may be held while the tuning slide is moved. In one embodiment, the tuning application may indicate (e.g., via an LED or sound commands) to the musician to continue holding the last note and to manually move the tuning slide. In an alternative embodiment, the tuning application may send a control signal to an actuator, such as the actuator 320 or 420, to automatically move the tuning slide. The tuning application may then receive and process data, similar to the step 505 discussed above, to determine the frequency of the last note as the tuning slide is being moved. The change in frequency of the last note is then the difference between this determined frequency as the tuning slide is being moved and the initial frequency of the last note.
At step 520, the tuning application determines the change in frequency of other notes in the series of notes based on the change in frequency of the last note determined at step 515 and the initial frequencies of the other notes. As discussed, note frequency and cents are related logarithmically according to equation (1) above, and, using equation (1), the tuning application may find the number of cents that the initial and current note frequencies of the last note differ by as the tuning slide is being moved. In addition, by plugging in the determined number of cents and the initial frequency of another note in the series as measured at step 505 into equation (2), the tuning application may determine the new frequency of the other note. As a result, the tuning application is able to determine the change in frequency of all of the other notes in the series based on the change in frequency of the last note.
At step 525, the tuning application determines whether the tuning slide is in an optimal compromise position. The optimal compromise position is a position in which the total (i.e., the sum) difference between the current and the desired frequencies of the notes in the note series is minimized, i.e., the notes in the series are best in tune as a group. Such a compromise is made so that all notes in the series are as close to being in tune as possible, even if some notes are slightly flat or sharp, which is preferable to having one note perfectly in tune while other notes are very flat or sharp. As discussed, notes on the instrument that can be played in different ways may be tuned to the same frequency, so the desired frequencies of the notes used in determining the optimal compromise position are the previously tuned frequencies of the notes, if any, and the correct note frequencies from a frequency table for notes that have not been previously tuned. The difference between such desired note frequencies and the initial note frequencies was determined at step 510, and the change in frequency of the notes determined at step 515 and 520 may be used to update this difference to determine the current difference between the note frequencies and the desired frequencies. For example, assume the C6, C5, G5, and C4 notes of the B flat horn shown in
Δf1=Δf1,1+Δf1,2+Δf1,3+Δf1,4 (3)
The optimal compromise position that the slide should be placed in may then be calculated by minimizing Δf1. For example, the tuning application may determine that, by moving all of the notes by a certain number of cents, Δf1 is at its minimum, and moving away increases Δf1 again.
If the tuning application determines at step 525 that the tuning slide is not in the optimal compromise position, then the method 500 returns to step 515, where the tuning application continues determining the change in frequency of the last note as the tuning slide is moved. Continuing the example from above of tuning the B flat horn, the tuning application may determine that the tuning slide is in the compromise position when the note frequency has changed by the certain number of cents determined to minimize Δf1.
On the other hand, if the tuning application determines at step 525 that the tuning slide is in the optimal compromise position, then the method 500 continues to step 530, where the tuning application indicates to the musician to stop moving the tuning slide or, alternatively, sends a control signal to the actuator to stop moving the tuning slide. In addition, the tuning application may calculate the frequencies of all other notes in the series as the tuning slide is moved in case the last note is not stopped in the exact position calculated. For example, the musician may move the tuning slide to a position that correlates to a change in the last note of 101 cents due to human error/actuator accuracy when the optimal compromise position requires a change of 104 cents. The tuning application may then determine the frequencies of the notes in the series based on the change of 101 cents.
At step 535, the tuning application determines the frequencies of the same series of notes as the musician plays them again, similar to the step 505 discussed above. Continuing the example from above, when the series of notes in the B flat horn is played again, assume the frequency of the C6 note is measured at 1080 Hz, whereas C6 moving by 101 cents should correlate to, e.g., 1060 Hz (and other notes in the series may show minor differences as well). This error could be due to imperfections in the instrument during the manufacturing of the instrument, small dents, etc., and can be accounted for in another iteration of the method 500.
At step 540, the tuning application determines whether the tuning slide position needs further adjustment. As discussed, further adjustment may be required, e.g., to account for imperfections in the instrument. If the tuning application determines at step 540 that the tuning slide position needs further adjustment, then the method 500 returns to step 505, where the tuning application determines the frequencies of the series of notes as those notes are played again by the musician with an open instrument. That is, the tuning application again determines a summation of the differences of each note of the series from their desired frequencies, e.g., Δf2=Δf2,1+Δf2,2+Δf2,3+Δf2,4, and each iteration will reduce the sum of the differences from the desired frequencies. In one embodiment, the tuning application may compute a delta of the frequency difference (e.g., ΔF=Δf1−Δf2) and use this delta to determine how much improvement has been made between iterations. In such a case, the tuning application may determine that the tuning slide position needs further adjustment at step 540 if the delta ΔF is greater than a threshold value and that the tuning slide position does not need further adjustment if the delta ΔF is less than the threshold (i.e., that less progress is made than the threshold). In addition, if the threshold is never reached, the tuning application may select an optimal position from the previous iterations that have been performed after, e.g., a predefined maximum number of iterations. In an alternative embodiment, the tuning application may simply perform a predetermined number of tuning iterations, and the tuning application may determine whether the tuning slide position needs further adjustment at step 540 based on whether the predefined number of iterations have been performed. For example, experience has shown that three iterations is sufficiently accurate in a majority of cases.
If the tuning application determines at step 540 that the tuning slide position does not need further adjustment, then the method 500 continues to step 545, where the tuning application determines whether all tuning slides have been tuned. If not all of the tuning slides have been tuned, then the tuning application indicates to the musician (e.g., via an LED or sound command) to switch to a next horn at step 550, and the method 500 then returns to step 505, where the tuning application determines the frequencies of a series of notes that have open tunings on the next horn and are played by a musician in succession with an open instrument. For example, on the French horn, the musician may switch to the F horn after the B flat horn has been tuned. If, however, all of the tuning slides have been tuned, then the method 500 continues to step 555, where the tuning application determines if the musician wished to tune any valve slides, and if so, the method 500 proceeds to step 605 of a method 600 for tuning valve slides.
At step 610, the tuning application determines the frequencies of a series of notes on the brass instrument that are played by the musician in succession, with a valve of the instrument depressed. At step 615, the tuning application determines a distance that each note is away from a correct frequency in a frequency table or from the frequency of the previously tuned note determined at step 607 for any notes that can be played with previously tuned tuning slides or valve slides.
At step 620, the tuning application determines the change in frequency of a last note in the series of notes as the musician holds the last note and a valve slide is moved, either manually by the musician or automatically by an actuator. Then, at step 625, the tuning application determines the change in frequencies of other notes in the series of notes based on the change in frequency of the last note determined at step 620 and the initial frequencies of the other notes determined at step 610. Similar to the step 520 discussed above, the change in frequencies of the other notes may be determined using equations (1) and (2).
At step 630, the tuning application determines, similar to step 525, whether the valve slide is in an optimal compromise position that minimizes a total difference between the current and the desired frequencies of the notes in the note series, which may be the correct frequencies in the frequency table and/or the frequencies that the notes have previously been tuned to. For example, for the first valve on the French horn, notes may be played with open tuning on both the F and B flat horns, i.e., any octave of F on the B flat horn may be played with open tuning, and then the tuned note frequencies may be compared with the same octave of F on the F horn played with the first valve depressed. Similarly for the second valve of the French horn, notes may first be played with open tuning on the F and B flat horns and/or the first valve, and so forth for all other valves.
If the tuning application determines at step 630 that the valve slide is not in the optimal compromise position, then the method 600 returns to step 620, where the tuning application continues determining the change in frequency of the last note as the valve slide is moved. On the other hand, if the tuning application determines at step 630 that the valve slide is in the optimal compromise position, then the method 600 continues to step 635, where the tuning application indicates to the musician to stop moving the valve slide or sends a control signal to the actuator to stop moving the valve slide, similar to step 530.
At step 640, the tuning application determines the frequencies of the same series of notes as the musician plays them again, similar to step 535. Then, at step 645, the tuning application determines whether the valve slide position needs further adjustment based on the series of notes played at step 640, similar to step 540. If the tuning application determines at step 645 that the valve slide position needs further adjustment, then the method 600 returns to step 605, where the tuning application determines the frequencies of the series of notes as those notes are played again by the musician in succession with the same valve of the instrument depressed. If, on the other hand, the tuning application determines at step 645 that the valve slide position does not need further adjustment, then the method 600 continues to step 650, where the tuning application determines whether all valve slides have been tuned.
If not all of the valve slides have been tuned, then at step 655 the tuning application indicates to the musician to switch to a next valve, and the method 600 then returns to step 605, where the tuning application determines, for another valve slide, whether notes playable with the valve slide can be played with previously tuned tuning or valve slides. If, however, all of the valve slides have been tuned, then the method 600 continues to step 660, where the tuning application determines the frequencies of a series of notes in a scale played by a musician on the brass instrument. The scale that is played should include notes that require the musician to depress all of the valves at some point or another (but not at the same time unless that happens to be a note in the scale) as well as open tuned notes. At step 665, the tuning application determines, based on the frequencies of the notes in the scale determined at step 660, whether another tuning iteration is necessary. If another tuning iteration is necessary, then the method 600 returns to step 505 of the method 500 and the tuning slides of the brass instrument are tuned again. If another iteration is not needed, the method 600 ends with the instrument in tune.
The CPU 710 retrieves and executes programming instructions stored in the memory 760. Similarly, the CPU 710 stores and retrieves application data residing in the memory 760. The interconnect 715 facilitates transmission, such as of programming instructions and application data, between the CPU 710, I/O device interface 740, storage 720, network interface 730, and memory 760. The CPU 710 is representative of one or more of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and the like. And the memory 760 is generally included to be representative of a random access memory. The storage 720 may be a flash drive or a disk drive storage device. Although shown as a single unit, the storage 720 may be a combination of fixed or removable storage devices, such as fixed disc drives, flash drives, removable memory cards or optical storage, network attached storage (NAS), or a storage area-network (SAN). The network interface 730 may include a wireless communication transceiver for transmitting and receiving tuned note frequencies to/from other tuning devices, if any. Further, the system 700 is included to be representative of a physical computing system, such as a mobile phone or tablet or a tuning apparatus, as well as virtual machine instances hosted on a set of underlying physical computing systems. Further still, although shown as a single computing system, one of ordinary skill in the art will recognized that the components of the system 700 shown in
As shown, the memory 760 includes an operating system 761 and a tuning application 762. The tuning application 762 in particular is configured to automatically determine compromise tunings in musical instruments. In one embodiment, the tuning application 762 may tune tuning slides of a brass instrument by determining the frequencies of a series of notes that have open tunings on a horn of a brass instrument and that are played by a musician in succession with an “open” instrument; determining a distance that each note is away from a correct frequency in a frequency table 721 or from a previously tuned note frequency 722; determining the change in frequency of a last note in the series of notes as the musician holds the last note and a tuning slide is moved; determining the change in frequency of other notes in the series of notes based on the change in frequency of the last note and the initial frequencies of the other notes; determining whether the tuning slide is in an optimal compromise position; if the tuning slide is in the optimal compromise position, indicating to the musician to stop moving the tuning slide or, alternatively, sending a control signal to an actuator to stop moving the tuning slide; determining the frequencies of the same series of notes as the musician plays them again; and, if the tuning slide position does not need further adjustment, assisting in tuning other tuning slides or valve slides, according to the method 500 discussed above with respect to
Advantageously, techniques disclosed herein permit the tuning of musical instruments in which multiple notes share a common resonant path and all notes cannot be in tune simultaneously. This improves over traditional automated tuning devices that only allowed a note frequency to be exactly matched to a known correct frequency, which cannot effectively be used to tune musical instruments in which notes sharing a common resonant path cannot all be in tune at the same time. In one embodiment, a tuning application determines a compromise tuning so that the greatest number of notes is as close as possible to their correct frequencies in a frequency table and so that the instrument is in tune with itself. The tuning is performed on a range of notes rather than a single note at a time, and the compromising tuning is found automatically so that the musician does not need to change back and forth between notes continuously in a lengthy and tedious manual tuning process in which the optimal compromise is approximated through guesswork. In addition, the tuning application may indicate the determined compromise tuning to the musician who manually adjusts (e.g., the tuning or valve slides of) the instrument, or the tuning application may send a control signal to control one or multiple actuators that adjust the instrument to bring it into tune.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Number | Name | Date | Kind |
---|---|---|---|
1171647 | Reynolds | Feb 1916 | A |
1662076 | Newman | Mar 1928 | A |
2485021 | Strupe | Oct 1949 | A |
2734417 | Hindsley | Feb 1956 | A |
2738696 | Ritterbach | Mar 1956 | A |
2802387 | Bushnell | Aug 1957 | A |
3433114 | Seme | Mar 1969 | A |
3861264 | Matsumoto | Jan 1975 | A |
4276804 | Holland | Jul 1981 | A |
4512233 | Holland | Apr 1985 | A |
4714001 | Kergomard | Dec 1987 | A |
4803908 | Skinn et al. | Feb 1989 | A |
4909126 | Skinn et al. | Mar 1990 | A |
5063818 | Salazar | Nov 1991 | A |
5249499 | Goldstein | Oct 1993 | A |
5375499 | Leonard | Dec 1994 | A |
5404783 | Feiten | Apr 1995 | A |
5435222 | Leonard | Jul 1995 | A |
5600079 | Feiten | Feb 1997 | A |
5668340 | Hashizume et al. | Sep 1997 | A |
5728956 | Feiten | Mar 1998 | A |
5814745 | Feiten | Sep 1998 | A |
6087572 | Dillon | Jul 2000 | A |
6433264 | Gimpel | Aug 2002 | B1 |
7148411 | Hsieh | Dec 2006 | B2 |
7402738 | Sawada | Jul 2008 | B2 |
7655851 | Nagakura | Feb 2010 | B2 |
7705228 | Hilliard | Apr 2010 | B2 |
7795517 | Miller | Sep 2010 | B2 |
7851686 | Davidson | Dec 2010 | B1 |
8283540 | Slater | Oct 2012 | B2 |
8461439 | Rashleigh | Jun 2013 | B2 |
8569605 | Grace | Oct 2013 | B2 |
8927838 | Jalgha | Jan 2015 | B2 |
20050076769 | Singer | Apr 2005 | A1 |
20050211064 | Chiba | Sep 2005 | A1 |
20080105107 | Adams | May 2008 | A1 |
20170213528 | Meehan | Jul 2017 | A1 |
20180144726 | Catalano | May 2018 | A1 |
Number | Date | Country |
---|---|---|
101392182 | May 2014 | KR |
Number | Date | Country | |
---|---|---|---|
20180144726 A1 | May 2018 | US |