The present disclosure relates to acoustic sensors and, more particularly, to a contactless acoustic sensor that senses characteristics of a vibrating portion of a percussion instrument without contacting the vibrating portion.
Musicians may use acoustic sensors attached to their percussion instruments for a plurality of different reasons. For example, an acoustic sensor can be used to sense characteristics of a percussion strike, record a digital signal corresponding to the percussion strike, trigger other devices, and/or the like. However, existing acoustic sensors contact the portion of the percussion instrument that is struck (e.g., a drum head, a tambourine membrane, etc.), which can affect the sound generated by the percussion instrument.
In one embodiment, a trigger device includes an optical sensor positioned a distance from the vibratory membrane and a processing device. The optical sensor includes an emitter that emits modulated light towards the vibratory membrane and a receiver that receives the modulated light that has reflected off the vibratory membrane and generates an electrical signal corresponding to the received modulated light. The electrical signal includes a peak corresponding to a detected strike on the vibratory membrane. The processing device isolates the peak from the electrical signal and generates one or more of a signal and data corresponding to the electrical signal.
In another embodiment, a non-contact trigger device for sensing a strike on a vibratory membrane includes an optical sensor, a processing device communicatively coupled to the optical sensor, and a non-transitory, processor-readable storage medium coupled to the processing device. The non-transitory, processor-readable storage medium includes one or more programming instructions that, when executed, cause the processing device to receive a current from the optical sensor, the current corresponding to detected light, convert the current into a voltage signal, pass the voltage signal through a bandpass filter to remove noise present in the voltage signal to obtain a filtered voltage signal, isolate a high frequency signal from the filtered voltage signal, and extract a peak from the high frequency signal, where the peak corresponds to the strike on the vibratory membrane.
In yet another embodiment, system includes a drum with a drum head having a vibratory membrane and a trigger device for sensing a strike on the drum head that causes the vibratory membrane to vibrate. The trigger device includes an infrared optical sensor positioned a distance from the vibratory membrane, the optical sensor having an emitter that emits modulated light towards the vibratory membrane and a receiver that receives the modulated light that has reflected off the vibratory membrane and generates an electrical signal corresponding to the received modulated light. The electrical signal includes a peak corresponding to a detected strike on the vibratory membrane. The trigger device further includes a processing device that isolates the peak from the electrical signal and generates one or more of a signal and data corresponding to the electrical signal, a user interface that provides information to a user of the trigger device and receives one or more inputs from the user of the trigger device, and one or more trigger pads that receive a strike and generate a signal corresponding to the strike.
These and additional features provided by the embodiments of the present disclosure will be more fully understood in view of the following detailed description, in conjunction with the drawings.
The embodiments set forth in the drawings are illustrative and exemplary in nature and not intended to limit the disclosure. The following detailed description of the illustrative embodiments can be understood when read in conjunction with the following drawings, where like structure is indicated with like reference numerals and in which:
The embodiments described herein are generally related to a device that utilizes non-contact means of detecting vibration on a surface of a percussion instrument (e.g., a drum head, tambourine membrane, etc.). The device can also output a signal, data, and/or the like as a result of the detected vibration and the characteristics thereof. The device may be attached to a removable or a fixed mount or bracket, and may incorporate an optical contactless vibration sensor to sense vibrations on the percussion instrument to which it is attached. In various embodiments, the device may not require the use of an interface or computer to function, as all trigger functions are self-contained. In some embodiments, the device may function as a Musical Instrument Digital Interface (MIDI) device connected to a computer, and may use MIDI functions to play sounds like many other MIDI instruments.
Acoustic sensors are electronic transducers that can be attached to any percussion instrument, including drums, cymbals, tambourines, xylophones, and/or the like. The acoustic sensors function by sensing vibrations of percussion instruments when struck (e.g., drum head vibrations) and generate signals that correspond to those vibrations. The generated signals are then transmitted to a computing device for further processing. Existing acoustic sensors utilize a piezoelectric sensor that is placed in physical contact with the vibrating portion of the percussion instrument (e.g. a drum head) such that changes in pressure, acceleration, temperature, strain, force, or the like are sensed when the instrument vibrates. The piezoelectric sensor then generates an electrical charge from the sensed changes, which is transmitted to a computing device for conversion into a digital signal.
Existing acoustic sensors have certain drawbacks, however. For example, an acoustic sensor that utilizes piezoelectric sensors must physically contact the vibrating component of the percussion instrument. This physical contact inherently changes the amount of surface area that vibrates, which, as a result, alters the various characteristics of the vibration that the piezoelectric sensor senses, as well as the frequency of the sound caused by the vibration. Accordingly, the electrical signals generated by the piezoelectric sensor do not truly represent the characteristics of the vibrating portion of the percussion instrument and alter the intended sound generated by the percussion instrument. Certain acoustic sensors and/or instruments may be configured or programmed to account for this issue, but generally require additional components that add to the cost of the sensor and still suffer from accuracy issues. Various embodiments of the present disclosure overcome this obstacle by utilizing components that do not physically contact the vibrating component of the percussion instrument.
Other acoustic transducers may utilize an electromagnetic transducer that senses a magnetic component or the like affixed to the vibrating component to sense the various properties of the vibration. Similar to the drawbacks of the piezoelectric sensors, electromagnetic transducers also require physical contact with the vibrating portion. In addition, electromagnetic transducers require additional parts (e.g., the magnetic component) and must be particularly aligned for accurate sensing (e.g., the transducer must be aligned with the magnetic component). Various embodiments of the present disclosure overcome this obstacle by eliminating the need for physical contact and accurate alignment.
In another example, an acoustic sensor typically only has circuitry for generating signals from the vibrations. Additional components must be used for additional processing (e.g., a central computing device coupled to the acoustic sensor, a processing module coupled to the acoustic sensor, and/or the like). In addition, existing sensors do not integrate additional features that may be desirable to musicians, such as touch sensitive trigger pads or the like. Rather, a separate component must be utilized, which limits the amount of available space in an area around the percussion instrument. Various embodiments of the present disclosure overcome these obstacles by integrating the components into a single device.
As used herein, the term “vibratory membrane” refers to a membrane that is capable of vibrating when contacted, moved, adjusted, and/or the like. For example, a vibratory membrane may vibrate when struck, rubbed, and/or the like. Illustrative examples of instruments that have a vibratory membrane include, but are not limited to, tubular drums, kazoos, cylindrical drums (e.g., bass drums, tom-tom drums, etc.), conical drums (e.g., timbals), barrel drums (e.g., Indian dhol), hourglass drums (e.g., African talking drum), goblet drums (e.g., African djembe), footed drums, long drums, kettle drums (e.g., timpani), frame drums (e.g., tambourines), friction drums (e.g., Brazilian cuíca), and the like. Other instruments that incorporate a vibratory membrane should generally be understood and are included within the scope of the present disclosure.
In various embodiments, the percussion instrument 110 may include a plurality of components including, but not limited to, a vibratory membrane 112 that is stretched and held in place by a rim 114. The rim 114 may be held to other components of the percussion instrument 110 by a plurality of lugs 116. The lugs 116 may be a component of a tension rod 118 that can be configured to adjust a tension of the vibratory membrane 112. Additional features and functionality of the lugs 116 and the tension rod 118 should generally be understood and are not discussed in further detail herein. Additionally, it should be understood that the various components described with respect to the percussion instrument 110 are merely illustrative. Accordingly, the percussion instrument 110 may include additional components, fewer components, alternative components, and/or the like without departing from the scope of the present disclosure.
The trigger device 120 is generally coupled to the percussion instrument 110 in such a manner that no portion of the trigger device 120 contacts the vibratory membrane 112. For example, the trigger device 120 may be supported by one or more of the rim 114, the lugs 116, and the tension rod 118. In another example, the trigger device 120 may be supported by one or more other components of the percussion instrument 110, such as a floor stand, an accessory stand, or the like. In yet another example, the trigger device 120 may be supported independently of the percussion instrument 110 (e.g., supported by a floor stand that is separate from the percussion instrument 110). As described in greater detail herein, the present disclosure is generally related to a trigger device 120 that is coupled to the percussion instrument via one or more of the rim 114, the lugs 116, and the tension rod 118, but it should be understood that this is merely illustrative and nonlimiting.
Referring now to
The upper surface 122 of the trigger device 120 may generally refer to any surface of the trigger device 120 that does not face the vibratory membrane 112 of the percussion instrument 110 (
In some embodiments, the upper surface 122 may support one or more trigger pads 123a, 123b thereon. The one or more trigger pads 123a, 123b are generally touch sensitive devices that sense a strike (i.e., sense when a user hits the trigger pad) and generate a corresponding signal. The one or more trigger pads 123a, 123b may incorporate sensing devices such as piezoelectric sensors, force-sensitive resistors (FSRs), and/or the like to sense a strike, as described in greater detail hereinbelow. While
The lower surface 124 of the trigger device 120 may generally refer to any surface of the trigger device 120 that faces the vibratory membrane 112 of the percussion instrument 110 (
As previously described herein, the plurality of sidewalls 126 may generally extend between the upper surface 122 and the lower surface 124 of the trigger device 120. For example, each of the plurality of sidewalls 126 may generally extend in the +y/−y directions of the coordinate axes of
In some embodiments, one or more of the plurality of sidewalls 126 may include a user interface 132. For example,
Referring now to
Still referring to
The support arm 142 may generally be one or more pieces of material that extend between the percussion instrument 110 (or a portion thereof) and the trigger device 120 such that the trigger device 120 is coupled to the percussion instrument 110 (or a portion thereof) via the support arm 142. For example, as shown in
In some embodiments, the first portion 142a may include an opening therein for receiving a portion of the percussion instrument. For example, as shown in
The fastener 144 may be a thumbscrew, rivet, bolt, button, a clamp, a clip, and/or the like that couples the trigger device to the support arm 142. In some embodiments, the fastener 144 may fix the trigger device 120 to the support arm 142 such that the trigger device 120 is not movable relative to the support arm 142. In other embodiments, the fastener 144 may allow for the trigger device 120 to be movable relative to the support arm 142 so as to allow the positioning of the trigger device 120 to be adjusted. For example, the fastener 144 may pass through an opening in the support arm 142 (e.g., the third portion 142c of the support arm 142) into a receptacle in the trigger device (e.g., a screw hole or the like). In some embodiments, the opening in the support arm 142 may be larger than a portion of the fastener 144 that passes therethrough, so as to allow the positioning of the trigger device to be adjusted (e.g., to move the trigger device up and down in the +y/−y directions of the coordinate axes of
Referring to
Referring again to
Referring also to
Referring again to
Referring now to
The processing device 205, such as a computer processing unit (CPU), may be the central processing unit of the trigger device 120, performing calculations and logic operations to execute a program. The processing device 205, alone or in conjunction with the other components, is an illustrative processing device, computing device, processor, or combination thereof. The processing device 205 may include any processing component configured to receive and execute instructions (such as from the RAM 228, the ROM 230, and/or the data storage device 235).
The optical sensors 210 may generally be hardware components that optically sense an area, such as, for example, the vibratory membrane 112 of the percussion instrument 110 (
The emitter 212 is not limited by this disclosure, and may generally be any light emitting device, particularly a light emitting device that emits modulated light in the infrared (IR) spectrum. That is, the emitter 212 may emit modulated light having a wavelength of about 700 nanometers (nm) to about 1 millimeter (mm). In some embodiments, the emitter 212 may be capable of emitting light at a plurality of different frequencies. As such, the emitter 212 may be modulated to ensure a particular frequency is emitted at a particular time, thereby ensuring the emitted light is at a particular wavelength. In other embodiments, the emitter 212 may be configured to emit only a particular wavelength of light. An illustrative example of an emitter 212 may be a light emitting diode (LED) that emits light having a wavelength of about 940 nm.
Similarly, the receiver 214 is not limited by this disclosure, and may generally be any light receiving device that is capable of receiving reflected light in the IR spectrum. That is, the receiver 214 may receive modulated light having a wavelength of about 700 nm to about 1 mm. An illustrative example of a receiver 214 may be an IR receiver (e.g., a photodiode) that is bandpass filtered at about 40 kilohertz (kHz).
The optical sensors 210 may further be particular configured to emit modulated light towards the vibratory membrane 112 (
The I/O devices 215 may communicate information between the local interface 200 and one or more external components. For example, the I/O devices 215 may act as an interface between the trigger device 120 and other components that are coupled (either via wires or wirelessly), such as an external computing device, an external hub, one or more additional trigger devices, and/or the like. That is, the I/O devices may function in conjunction with the digital data port 136 and/or the analog audio port 138 (
In some embodiments, the I/O devices 215 may include network interface hardware. The network interface hardware may include any wired or wireless networking hardware, such as a modem, a LAN port, a wireless fidelity (Wi-Fi) card, a WiMax card, a Long Term Evolution (LTE) card, mobile communications hardware, and/or other hardware for communicating with other networks and/or devices.
The user interface devices 220 may include various hardware components for communicating with a user, such as, for example, input hardware and display hardware. For example, the user interface devices 220 may include the plurality of buttons 132a, 132b, 132c, 132d and/or the display 134 (
The memory component 225 may be configured as a volatile and/or a nonvolatile computer-readable medium and, as such, may include the RAM 228 (including SRAM, DRAM, and/or other types of random access memory), the ROM 230, flash memory, registers, compact discs (CD), digital versatile discs (DVD), Blu-Ray discs, and/or other types of storage components. The memory component 225 may include one or more programming instructions thereon that, when executed by the processing device 205, cause the processing device 205 to complete various processes, such as the processes described herein with respect to
The data storage device 235, which may generally be a storage medium, may contain one or more data repositories for storing data that is received and/or generated. The data storage device 235 may be any physical storage medium, including, but not limited to, a hard disk drive (HDD), memory, removable storage, and/or the like. While the data storage device 235 is depicted as a local device, it should be understood that the data storage device 235 may be a remote storage device, such as, for example, a server computing device or the like that is communicatively coupled to the trigger device 120. Illustrative data that may be contained within the data storage device 235 is described below with respect to
The other sensors 240 are generally sensors that sense other information in an area surrounding the trigger device 120. For example, the other sensors 240 may be touch sensitive sensors that sense a change in pressure when a user contacts one or more of the trigger pads 123a, 123b (
In some embodiments, the other sensors 240 may also be used to sense other characteristics or information around the trigger device 120, such as a location of the trigger device 120, a positioning of the trigger device, and/or the like. In some embodiments, the other sensors 240 may include a microphone or the like to detect sounds, which may be used, for example, to amplify the detected sounds, calibrate the trigger device 120, and/or the like.
In some embodiments, the program instructions contained on the memory component 225 may be embodied as a plurality of software modules, where each module provides programming instructions for completing one or more tasks. For example,
It should be understood that the components illustrated in
As mentioned above, the various components described with respect to
Referring now to
At block 305, a lug may be removed from a tension rod at a location where the trigger device is to be located. Then the opening of the support arm may be placed over the tension rod at block 310 and the trigger device may be adjusted such that it is positioned over the membrane at block 315. At block 320, the lug may be replaced on the tension rod over the mounting piece and the rim to secure the trigger device to the percussion instrument.
At block 325, a determination may be made as to whether the device is still properly positioned over the membrane. That is, if a user notices that the device was moved out of a general position over the vibratory membrane while tightening the lug, the determination may be that the device is not still properly positioned, and the process may proceed to block 330. If the device is still generally properly positioned, the process may proceed to block 345.
At block 330, the lug may be loosened slightly so that the trigger device can be repositioned relative to the percussion instrument and/or the vibratory membrane thereof at block 335. Then the lug may be retightened at block 340 and the process may return to block 315.
At block 345, a user may provide, via a user interface, an input to the trigger device. Such an input may be, for example, to direct the trigger device to begin a calibration process to ensure that the trigger device is positioned at a particular distance over the vibratory membrane, as described in greater detail herein.
As a result of the calibration process, it may be necessary to adjust the distance between the trigger device and the vibratory membrane. Accordingly, a decision may be made at block 350 as to whether directions have been received from the trigger device to adjust the trigger device. If directions have been received, the process may proceed to block 355. If directions have not been received, the process may proceed to block 360.
At block 355, the height of the trigger device may be adjusted. Such an adjustment may be made, for example, by twisting a thumbscrew coupled to the support arm and/or the trigger device to adjust the height of the trigger device. The process may then return to block 345 whereby an input is provided to indicate that the height of the device has been adjusted. In some embodiments, no input may be provided; rather, the calibration process may automatically sense a change in the height and provide an indication to the user accordingly (e.g., display a message on a display, emit an audio tone, and/or the like). In such embodiments, the process may return to block 350 instead.
At block 360, a determination may be made as to whether the trigger device has been appropriately calibrated such that the distance between the trigger device (particularly the sensors thereof) and the vibratory membrane is known so that accurate measurements can be subsequently obtained. If the device is not appropriately calibrated (i.e., either because of an error or because the calibration process is still running), the process may return to block 350 until the calibration process is complete. When the calibration process is complete, the method 300 may end.
Calibration may be necessary to ensure that the trigger device is appropriately placed with respect to the target surfaced to be measured (e.g., the vibratory membrane). That is, if the trigger device is placed too far away from the target surface, it may not detect certain strikes on the target surface. In addition, if the trigger device is placed too close to the target surface, it may detect excessive noise, such as resonant noise that occurs after a strike on the target surface. In addition, calibration may be necessary to account for movement of the trigger device when it is used. For example, if a user strikes the trigger pads on the trigger device, such a strike may cause the trigger device to move slightly with respect to the target surface. In another example, movement of the percussion instrument while it is being played may cause the trigger device to move. Calibration accounts for these movements to ensure that detection of properties of the target surface remains accurate.
Still referring to
At block 374, the emitter may be directed to emit light, and at block 376, the receiver may be directed to receive the reflected light. As a result, the light emitted by the emitter is reflected off the surface of the vibratory membrane and received by the receiver, which then provides a signal corresponding to the reflected light at block 378.
At block 380, a determination may be made, based on the signal provided by the receiver, whether the signal is within an acceptable range for measuring the vibrations of the vibratory membrane. The acceptable range may vary depending on the type of sensor and/or other hardware used in the trigger device. Accordingly, it should be understood that an acceptable range may be empirically derived based on numbers used for calibration and inferred from circuit parameters. If the signal is within range, the process may end, as the device is calibrated. If the signal is not within range, the process may proceed to block 382.
At block 382, a determination may be made as to whether the signal outputted by the receiver is higher or lower than the acceptable range. If the signal is higher than the acceptable range, the process may proceed to block 384. If the signal is lower than the acceptable range, the process may proceed to block 386.
At block 384, a user of the trigger device may be directed to increase the distance between the trigger device and the target surface (e.g., the vibratory membrane). Such a direction may generally be provided via the user interface. For example, a command may be displayed on the display, an audible instruction may be emitted, and/or the like. In some embodiments, the direction according to block 384 may provide the user with guidance as to how much the trigger device has to be moved. The user may proceed to adjust the distance between the trigger device and the target surface upon receipt of the directions. For example, the user may twist the thumbscrew to move the trigger device farther away from the target surface. Once the user has moved the trigger device, the process may move to block 388.
At block 386, a user of the trigger device may be directed to decrease the distance between the trigger device and the target surface (e.g., the vibratory membrane). Such a direction may generally be provided via the user interface. For example, a command may be displayed on the display, an audible instruction may be emitted, and/or the like. In some embodiments, the direction according to block 386 may provide the user with guidance as to how much the trigger device has to be moved. The user may proceed to adjust the distance between the trigger device and the target surface upon receipt of the directions. For example, the user may twist the thumbscrew to move the trigger device closer to the target surface. Once the user has moved the trigger device, the process may move to block 388.
At block 388, an input may be received, the input indicating that the distance between the trigger device and the target surface has changed. In some embodiments, such an input may be received from the user via the user interface. In other embodiments, such an input may be received from one of the components of the trigger device that senses a change in the distance. For example, the receiver may provide a signal that is indicative of a change in the reflected light, which also would indicate a change in the distance. In some embodiments, once such an input has been received, the process may return to block 374. In embodiments where the emitter and receiver are continuously operating (i.e., continuously emitting light, receiving reflected light, and providing a corresponding signal), the process may return to block 380.
It should be understood that data relating to the calibration may be stored in a memory or storage device for future access. For example, if a user is playing the drums for a plurality of different songs and wishes to adjust the sensitivity between each song, the user may select a desired saved calibration from the user interface and then proceed to calibrate the trigger device for that saved calibration.
Referring now to
In some embodiments, it may be necessary to adjust the sensitivity of the trigger device and/or one or more components thereof to ensure the method 400 is appropriately carried out. Accordingly, an automatic gain adjustment to account for different types of target surfaces (e.g., drum heads/vibratory membranes made of various different materials) may be completed. Such a gain adjustment would adjust the drive of the emitter, which, in turn, alters the received signal strength of the light received by the receiver, which may be based on the levels that are received during voltage signal conversion as described hereinbelow. This may ensure that, regardless of the reflectivity of the material of the target surface, the signal level will be optimized.
At block 405, the emitter may be directed to emit light. For example, a signal may be delivered to the emitter to cause the emitter to emit light. In another example, electrical power may be supplied to the emitter, thereby causing the emitter to activate and begin emitting light. As previously described herein, the emitter may be positioned such that the emitted light is directed toward a target surface, such as the vibratory membrane.
In embodiments where the emitter is capable of emitting light at a plurality of different frequencies, it may be necessary to modulate the light to ensure a particular frequency is emitted and detected so as to accurately sense the properties of the target object. In such embodiments, the processes described with respect to blocks 410 and 415 may be completed. If the emitter is only capable of emitting a particular wavelength of light, the processes described with respect to blocks 410 and 415 may be omitted and the process may proceed to block 420.
At block 410, a determination may be made as to whether the emitter is emitting light at the correct frequency so as to produce light that has a particular wavelength. Such a determination may be made, for example, by measuring the reflected light by the receiver, receiving a signal from the emitter that corresponds to the characteristics of the light that is being emitted, confirming that the frequency corresponds to the specifications provided by the manufacturer of the emitter, and/or the like. If the frequency is not correct, it may be modulated at block 415. Modulating may include transmitting a signal or the like to the emitter to direct the emitter to emit a particular frequency. Modulating may also include bandpass filtering the light such that only a particular wavelength is emitted. Other methods of modulating the light should generally be understood and are not described in further detail herein. After the frequency has been modulated, the process may return to block 410.
If the frequency is correct, the light emitted by the emitter may reflect off the membrane at block 420 and be received by the receiver at block 425. When the drum head is struck, this reflected light will generally correspond to clusters of activity that begin with an initial peak that is larger than subsequent peaks (as the membrane continues to vibrate as it is struck), as described in greater detail herein. As previously described herein, the receiver may be configured to convert the received light into a voltage signal, which is completed at block 430. That is, the received light may be converted from a miniscule current (e.g., <1 μA) to a voltage.
An illustrative screenshot of an oscilloscope output after the process at block 430 is completed is depicted in
Referring again to
Referring again to
Referring again to
In some embodiments, the signal is further converted to a digital signal at block 460 and transmitted at block 465. For example, the signal may be digitally converted via an analog-to-digital converter and transmitted to an external device, as described in greater detail herein.
In some embodiments, the signal can be transmitted to the processing device of the trigger device for application of a hit detection algorithm. The hit detection algorithm may analyze the signal to detect a strike and an amplitude of the strike on the target object.
The hits may be transmitted as MIDI signals to one or more external devices (e.g., computing devices, MIDI devices, other trigger devices, etc.). The transmitted MIDI signal may be used, for example, to play a sound that corresponds to the detected hit.
The end goal of this investigation is to find a suitable measurement technique for triggering an electronic device from the hit of a drum. The latency from drum hit to detection should be minimized, and the relative amplitude of the hit shall be quantized so that a playback event can reflect the relative volume of the drum hit.
The first step taken was to get a recording of a hit with a precision measurement microphone. This measurement gives a baseline to compare all other measurements to, and is depicted, for example, in
In order to get sufficient data to determine if a trigger has taken place, the signal must be sampled at a minimum of two times the fundamental frequency. In actuality, data taken at a sample rate of two times the fundamental frequency does not provide nearly enough information to process reliably, and the data must be sampled significantly faster. In order to accommodate drums with higher fundamental frequencies with sufficient time resolution, a sample rate of about 4 kHz to about 8 kHz may be used.
In order to capture data with sufficient resolution to accurately process, the sample rate that data is recorded must be taken into account. At a bare minimum, the sample rate must be 2 times the highest frequency of interest. Typical drums may have fundamental frequencies of about 80 Hz to about 200 Hz, but there are harmonics present at significantly higher frequencies that are important to catch as well. The plots depicted in
When viewing
The first part of the investigation utilized a laser distance measurement sensor and conditioner. This sensor accurately measures the distance to a surface to 1 micrometer. The sample rate of the sensor was set to the maximum value of 1 kHz. The analog output from this sensor was connected to the microphone input on a PC and recorded at a sample rate of 44.1 kHz.
Relative changes can be measured in a much simpler (and cheaper) manner by using an infrared LED and detector pair placed immediately above the drum head. When the drum head vibrates, the magnitude of infrared light that is reflected back to the sensor changes by a small amount. This signal can be amplified, filtered, and processed in order to determine when a hit occurs and the amplitude of the hit. In order to reduce the effects of ambient lighting fluctuations and stray IR sources, the IR emitter will need to be modulated. This adds some complexity to the receiver circuit, but provides a much more robust method of detecting a strike.
A simplified circuit was built in order to test the effectiveness of using an IR LED+IR Phototransistor as the sensing element. A drum strike was recorded on a USB audio interface with the input source being the amplified photodiode signal. This recording is a direct translation from the mechanical motion of the drum head to an audio file that may be played back as if it were recorded from a microphone. The results indicated that the IR LED and phototransistor do work well to pick up vibrations on the drum head and will provide enough data to give the desired results (trigger+amplitude).
As described in Example 1 above, a microphone was used to provide the input signal for initial algorithm development. The microphone provides a much more ‘detailed’ signal than the infrared emitter/detector described herein, but starting with a worst-case signal during development helps to ensure that the algorithm is robust. Once the algorithm is relatively robust with the microphone signal, it can be dialed in further using signals from the actual infrared sensor. In order to simulate the smoother signal which will be obtained from the infrared sensor, a low pass filter was applied to the microphone signal on some measurements. When doing this, the algorithm became more robust because high amplitude peaks at frequencies higher than the drum's fundamental frequency were filtered out.
The first step in getting reliable detection is to condition the incoming signal. This eliminates narrow bandwidth peaks that do not contain any useful information. This was implemented using a smoothing filter in which the current value is based on the current measured input as well as an average of the past inputs. This smooths out high frequency spikes while maintaining the signal integrity of the incoming data. From this incoming data, peaks are detected by using the current value and the past two values. If the last value is greater than the current value and also greater than two values ago, a peak has occurred. If this peak has an amplitude above a certain threshold, it shows up in the turquoise trace in the above images.
If each peak detected was considered a drum strike, there would be multiple events per hit of the drum head. What is really desired is that the first positive peak is considered a hit, and then subsequent peaks are evaluated to see if another strike has taken place. When the first peak occurs, an event may be triggered. The amplitude of the event is stored on the device, and decays exponentially (to mimic the lossy resonation of the drum). If at any point another peak exceeds this decaying threshold, a new event is triggered. An example of this algorithm can be seen
It should now be understood that the devices, systems, and methods described herein may generally detect vibration on a vibratory membrane such as a drum head and accurately determine characteristics of strikes that caused the vibrations. As such, data and/or signals can be triggered based upon corresponding vibration frequencies. The devices, systems, and methods described herein include a processing device that processes the received data corresponding to membrane strikes into signals, data, and/or the like (e.g., MIDI signals, synthesized sound, and/or audio files) that can be stored in memory. In addition, the devices, systems, and methods described herein can further detect strikes on trigger pads and generate signals, data, and/or the like that corresponds to such strikes.
While particular embodiments have been illustrated and described herein, it should be understood that various other changes and modifications may be made without departing from the spirit and scope of the claimed subject matter. Moreover, although various aspects of the claimed subject matter have been described herein, such aspects need not be utilized in combination. It is therefore intended that the appended claims cover all such changes and modifications that are within the scope of the claimed subject matter.
The present application claims priority to U.S. Provisional Patent Application Ser. No. 62/442,131, filed Jan. 4, 2017 and entitled “DIGITAL ACOUSTIC DRUM TRIGGER,” which is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
62442131 | Jan 2017 | US |