AN EFFECTS DEVICE FOR A MUSICAL INSTRUMENT AND A METHOD FOR PRODUCING THE EFFECTS
20190266986 ยท 2019-08-29
Inventors
Cpc classification
G10H2250/641
PHYSICS
G10H2250/035
PHYSICS
G10H1/0033
PHYSICS
G10H2250/101
PHYSICS
G10H2250/631
PHYSICS
G10H2250/235
PHYSICS
G10H1/02
PHYSICS
International classification
Abstract
An effects device for a musical instrument, comprising: an input (18) for receiving a signal from a musical instrument; a control input (7) for receiving a control signal; an output (8, 9) for connecting the device to a sound reproduction device; a memory (30) configured to record the input signal; and a processor (29) configured, upon receiving a control signal, to select a section of the recorded input signal from the memory (30) and to loop it, wherein the processor (29) is configured to overlap a start and end regions of the selected section when looping. A method is also provided for producing an effect for a musical instrument, comprising the steps: a) recording an input signal from a musical instrument into memory (30), b) selecting a section of the recorded input signal and looping it, wherein a start and end regions of the selected segment are overlapping when looping.
Claims
1. An effects device for a musical instrument, comprising: an input for receiving a signal from a musical instrument; a control input for receiving a control signal; an output for connecting the device to a sound reproduction device; a memory configured to record the input signal; and a processor configured, upon receiving a control signal, to select a section of the recorded input signal from the memory and to loop it, wherein the processor is configured to overlap a start and end regions of the selected section when looping.
2. The device according to claim 1, wherein the processor is further configured to choose the overlapping start and end regions based on the regions similarity.
3. The device according to claim 2, wherein the regions similarity is determined by calculating correlation between the regions.
4. The device according to claim 1, wherein the processor is configured to cross-fade the overlapping start and end regions of the selected section when looping.
5. The device according to claim 1, wherein the processor is further configured to choose from the memory the section containing the longest possible portion of the recorded input signal suitable for looping.
6. The device according to claim 5, wherein the processor is configured to determine and select the longest signal portion where variance of signal is the steadiest.
7. The device according to claim 1, wherein the processor is configured to filter the selected section of the recorded input signal.
8. The device according to claim 7, wherein the filtering of the selected section is done by applying an adaptive parametric equalizer which normalizes the harmonic content between loop end-points so that the produced sound is even.
9. The device according to claim 1, wherein the processor is configured to dynamically compress the selected section so that the whole section sounds even.
10. The device according to claim 1, wherein the device has an additional control input that allows modifying the decay length of the looped signal.
11. The device according to claim 1 wherein the processor is configured to filter the looped signal so that higher harmonics decay faster than lower harmonics while the most significant harmonic is gradually enhanced to resemble a particular guitar's signal.
12. A method for producing an effect for a musical instrument, comprising the steps: a) recording an input signal from a musical instrument into memory; and b) selecting a section of the recorded input signal and looping it, wherein a start and end regions of the selected segment are overlapping when looping.
13. The method according to claim 12, wherein the selected section contains the longest possible portion of the input signal showing the steadiest signal variance.
14. The method according to claim 12 wherein the overlapping start and end regions are selected based on the regions similarity.
15. The method according to claim 12, wherein the overlapping start and end regions of the selected section are cross-faded.
16. The method according to claim 12, wherein the selected section is filtering by applying an adaptive parametric equalizer that normalizes the harmonic content of the signal thus ensuring an even sound for the whole section.
17. The method according to claim 12, wherein the selected section is dynamically compressed to ensure that the total section sounds even.
18. The method according to claim 12, further comprising the step of modifying the length of decay of the looped playback.
19. The method according to claim 12, further comprising the step of filtering the looped playback so that higher harmonics decays faster than lower harmonics thus the most significant harmonic is gradually enhanced to resample a typical guitar signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
DETAILED DESCRIPTION
[0074] The following provides clarification of certain recurring terminology used in this document.
[0075] Dry signalanalog audio signal coming from a musical instrument (via pick-up systems, microphones, etc.).
[0076] Musical eventAny separate chord, note or interval performed on a musical instrument.
[0077] Complex audio signalas opposed to oscillator-generated tones or audio output from single-strings, complex audio signal may consist of multiple main harmonics (polyphony) and an array of overtones, as well as leaking frequencies from microphones or pick-up systems.
[0078] Attackthe initial impulse of a musical event,for example the moment of strumming or plucking of a set of strings, first contact when blowing into a wind instrument's mouthpiece, etc.usually the loudest part of the musical event, with a percussive nature.
[0079] Decaythe main part of the musical event following the attackfor example the gradual decay of a ringing set of strings, sustained wind instrument note, etc.
[0080] Releasethe abrupt cessation of a musical event, such as lifting fingers away from a guitar's stringsusually considered as noise.
[0081] SampleThe isolated decay part of a given musical event, suitable for looping for cross-fading and looping.
[0082] Looped sampleSample, played in a circular loop, forming an even continuous sustained tone.
[0083] Wet signalLooped sample with all necessary post-effects added, such as time-varying EQ, volume fade, Rise and Tail regions, and other. The wet signal is considered the end-product of the current invention/method.
External Parts, Features
[0084] The following description relates to the preferred embodiment of the invention (
[0085] The device in the preferred embodiment is contained within a rigid metallic body 1 (
[0086] In the current preferred embodiment, four external rotary potentiometers 3, 4, 5, 6 (
[0091] The preferred embodiment also offers two internal potentiometers 15, 16 (
[0092] Currently the wet signal's fade-in speed (RISE) and fade-out length (TAIL) are determined automatically in relation to the value of the TIME potentiometer 4, but user may extend or shorten the ratio by removing a special protective rubber cover 17 (
[0093] The number of potentiometers offered by the device, their specific names, purposes and configuration may change in future versions of the device.
[0094] Dry audio signal from instruments is received by the device via one standard inch jack input 7 (
[0095] Musicians are encouraged to use the device in tandem with other external effects units (pedals, sequencers, etc.). In the preferred embodiment, the device offers two inch jack outputs 8, 9 (
[0096] The device can be powered via a standardized 9V DC power supply input 11such power sources are the most widely used among musicians. Due to the relatively high power consumption of the proposed device, there will likely be no attempt to include a 9V PP3 battery slot in the device (which is the industry standard for similar effects units). Future versions of the device may offer a separate rechargeable battery pack, designed specifically for this invention.
[0097] The device in its current embodiment does not provide a separate ON/OFF switchthe device will switch ON as soon as the appropriate 9V DC power supply is connected to the power supply input 11 and a jack is plugged into the output 8. The device's ON state may be indicated by an indication LED 14 (
Signal Path and Main Electronic Blocks
[0098] The main functional electronics blocks, indicated in
[0099] The proposed device receives analog signal from audio input 18 which then passes through an audio buffer 19. In the preferred embodiment, the device is capable of receiving analog audio signal from sound-sources and splitting it into two pathsdry and wet 20, 21.
[0100] Dry Signal
[0101] The dry signal may be amplified by a designated DRIVE circuit 22 and sent towards the signal mixer circuit BLEND 23, where it is combined with the wet signal. If both output jacks 8, 9 (
[0102] Further embodiments of the invention may offer a different number of analog outputs and alternative methods of separating or combining the dry and wet signals.
[0103] It may be desirable to have a temporary increase of the dry signal's gain and/or volume levels during the time when wet signal is being generated. In the preferred embodiment an analog DRIVE circuit 22 begins affecting the dry signalsending it into a soft-clipping stage. The currently preferred diode-based DRIVE circuit 22 is only activated by a designated analog switch 39 when a control signal 28 from the MCU 29 is being receivedwhen the foot-pedal 2 (
[0104] Other analog or digital effects may be added to the dry signal path 20 in future iterations of the invention, such as compression, EQ, and so on.
[0105] Wet Signal
[0106] The wet signal is produced digitally by the MCU 29, out of a small portion of the audio signal recorded in real-time and stored in the device's memory unit 30.
[0107] Regarding the wet signal path 21, it is necessary to convert the analog audio signal from an instrument, for example, a guitar's pickup (magnetic, piezo, etc.) or an instrument microphone, into a digital signal. Before being digitized by an ADC-DAC codec 31, the signal passes through an analog buffer 19, pre-amp 32 and an anti-alias filter 33. In the preferred embodiment the analog signal is being digitized by a lossless audio codec 31 at a 64 kHz sample-rate; however other devices with a different sample-rate may be used.
[0108] The MCU 29 constantly stores the digitized signal from the audio codec 31 in a memory device 30. In the preferred embodiment, a 64 Megabit RAM is used, configured to continuously rewrite onto itself and to hold the last few seconds of audio, but other types of memory devices may be used in future embodiments. Upon receiving the main control signal 34 (pedal 2 pressed down), the MCU 29 will access the audio signal stored in the memory device 30, analyze it and choose a suitable note-decay portion (hereinafteraudio sample) of the most recent musical event (chord, note, etc.). See SEC 8.3 for a detailed description of how the sample suitable for looping is chosen and prepared for looping. This sample is used to form a continuous loop (looped sample) (block F3), which is then adjusted in block F4 and to produce the wet signal.
[0109] The formed digital wet signal is passed from the MCU 29 through a DAC audio codec 31, which converts it back into analog signal and sends it to the mixer circuit (BLEND) 23. Both of the device's outputs 35, 36 are buffered through analog output buffers 37, 38 and the wet signal produced by the device will always be sent to OUT 1 35. The volume balance between the wet and dry signal in OUT 1 35 may be adjusted by the user with the BLEND potentiometer 3 (
Adaptive Real-Time Audio Sampling and Looping Method
[0110] As stated in previous sections, the aim of the proposed device is to give musicians the opportunity of prolonging the decay portion of any complex musical sound, such as a strummed chord, a single note, etc., while preserving most of the natural characteristics of each particular instrument and/or of each particular musical event (attack, volume, vibrato etc.). It is also stated in the summary of this document that the sound synthesis method used in this device, referred to in this document as adaptive real-time audio sampling and looping, is different from oscillator-based synthesizers, because it is not able to generate new musical sounds autonomously, and always requires a previous audio source-signal (musical event) which is used for sampling and synthesizing sound (wet signal). The resulting output is therefore pre-determined in tonality, note composition and timbre by its respective source-sound (musical-event). The following section aims to clarify and illustrate the full process of producing the Sostenuto effect (wet signal).
[0111]
[0112] Processing Block F2 is where the signal from the memory unit 30 is analyzed, and where a suitable audio sample from the source-event is selected and adjusted (EQ & compression). Looping Block F3 is where a continuous circular playback loop is formed (looped sample). Post FX Block F4 controls the signal's dynamics, decay length, responsiveness, etc., and may add various embellishments (filters, EQ, etc.) to the looped samplethus producing wet signal.
[0113] F2 is the main software Block of the device, and it is where the Adaptive Real-Time sampling and looping of audio signal is performedthe audio processing method which is the key distinguishing factor of the proposed invention.
Block F2.1
[0114] Upon receiving the control signal 34 (
[0115] In order to choose a sample best suitable for synthesizing the wet signal the most recently recorded musical event must be identified from the CAB and it must be analyzed in order to detect the musical event's attack, decay and release portions (see clarification of terms above).
Block F2.2
[0116] As soon as the main control signal 34 is received, Block F2.2 proceeds to analyze the audio signal stored in the memory device's 30 CAB at that moment (
[0117] Raw audio signal may be simplified in a number of mathematical and statistical methods, thus producing a smooth audio curve representing the signal's dynamic and/or spectral properties as shown in
[0118] One of the methods that may be used by the device is based on calculating the signal's variance over time, and then applying a sliding average function to even out the variance's raw results.
[0119] First the signal is split into small segments and Var(X) is calculated in each segment:
where: [0120] Xsignal portion analyzed, [0121] Xsegment's mean value, [0122] X[k]k.sup.th point of the segment and [0123] Klength of the segment.
[0124] As variance values throughout the whole CAB are obtained, a sliding average function may be used to obtain a smoother, more even audio signal curve:
where:
[0125] Llength of the sliding average (number of points per calculationtypically 3, 5, 7.) [0126] Xvariance function to even out [0127] SA(x)x.sup.th point of Sliding Average result [0128] ksummation index
[0129] An alternative method of simplifying the audio signal is performing a series of spectral centroid calculations at various points throughout the length of the CAB. The raw signal is split into small segments and FFT analysis is performed for each segment. The FFT values are multiplied by their respective FFT frequency bins kthe sum of these results are used to form a spectral centroid of that particular segment. As centroid values throughout the whole CAB are obtained, a curve representing the audio signal's spectral and dynamic properties over time is formed.
where: [0130] F[k]k.sup.th point of FFT result [0131] kFFT frequency bin [0132] NFFTlength of FFT analysis window
[0133] The resulting evened out audio signal curve (
[0134] If the main-control signal 34 has been received during the decay portion of a ringing chord/note etc., it is expected that the first series of segments will show a continuous positive tendency when analyzed in the method described above (from point B () towards point A (beginning of CAB)), indicating a gradual dynamic or spectral decay of the signal. As soon as the tendency of the signal curve turns negative, as highlighted in region X,
Block F2.3
[0135] As discussed above, it is assumed that each musical event consists of an attack, decay and release part. The most recent musical event (
[0136]
[0137] Firstly, the audio signal curve's peak value within region C-B is established (point D,
[0138] The (y) difference between n-m is calculated and region d is established (d=nm). If d is smaller than a pre-determined constant a then the whole section E-B is selected for further processing (case demonstrated in
[0139] If d is larger than the given constant a (case demonstrated in
[0140] The resulting portion of audio signal, indicated in
[0141] Other methods for separating the note/chord's gradual decay periods may be used in further embodiments of the invention. For example, a musical event's attack portion may be determined based on certain spectral changes, characteristic to the attack period of a note/chord, such as a rapid increase and decrease (peak) in higher frequency bands (typically above 2 Khz).
[0142] When the musical event's (chord/note) decay period is established, (usually with a length between 0.1 and 1 seconds) (K-L,
[0143] The proposed device's ability to autonomously detect a musical event's decay periodsample (with a unique-length each time (between 0.1-1 sec), depending on the particular musical event) is its main distinguishing feature from looper and delay devices described in the summary of this document, where a time-interval for looping or performing repeated playback must be pre-selected manually.
[0144] All processes described further in this document, including the filtration, compression, cross-fading, looping and playback of the sample can be performed within the MCU 29, while all new incoming audio signal is being constantly stored on the external memory 30 and readily accessible for processing at any time.
[0145] This ensures that the pedal 2 for inputting the main control signal 34 may be pressed rapidly, and a new sample may be selected and instantly formed into wet signal at any time, even while the previous wet signal is still fading out (TAIL).
Block F2.4
[0146] Even though the chosen sampleshown in
[0147] This is because any audio sample produced from analog instruments is likely to fluctuate and change over timemost notably there is an overall change in volume (amplitude) within each the sample, due to the natural gradual decay of musical sounds such as the case with plucked strings, bells, percussion etc., or other dynamics irregularities that may occur when playing wind and bowed instruments.
[0148] Also, in the case of every individual musical event (depending on its tonality, the instrument's timbre, attack, etc.), different harmonic components will decay at different rates over timetypically higher frequencies will decay more rapidly than lower frequencies (
[0149] Block F2.4 (
Blocks F2.4.1-F2.4.7 (FIG. 16):
[0150] Before looping the sample FFT analysis at the sample's start region is performed, and its most significant frequency bands are identified, based on a threshold set by a conventional peak-detection algorithm. As a resulta certain number of frequency bands are identified as the signal's extremes (
[0151] Block F2.4.8 uses the spectral information gathered during FFT analysis in the previous Blocks (F2.4.3-F2.4.7) to generate the parameters for a time-varying parametric EQ, in order to compensate for the changes in the sample's most significant harmonics (
[0152] The aim is to preserve these frequency bands throughout the sample at the same level as in the start region (
[0153] Only one such set of points is illustrated in
[0154] Based on the spectrum peak values at points a1-a4, b1-b4 and c1-c4a corresponding time-varying band-pass filter EQ may be generated and gradually applied to the sample. The sample is filtered gradually in small segments, with a different set of EQ parameters for each segment.
[0155] As a resultwhen playing the selected sample in a looped cycle the audible difference between the sample's start and end points becomes less obvious, meanwhile preserving the instrument's or particular musical event's distinguishing spectral properties (
[0156] Further embodiments of the invention may use more complex methods for equalizing spectral content of a given sample, for example, perform FFT analysis for each segment and generating a more detailed set of parameters without the use of interpolation. Another embodiment may apply a set of Goertzel filters using the frequencies detected during FFT analysis of the sample's start region in order to measure changes of the most significant harmonic components throughout the sample for each segment.
[0157] In block F2.5 the sample's overall volume change (caused by natural note-decay or other factors) is evened-out, by using dynamic range compression (
[0158] The particular type of compression, as well as its variable parameters (knee, ratio, attack speed etc.) may be adjusted differently in various embodiments of the device, but fundamentallythe use of a compressor (dynamic range limiter) is instrumental for synthesizing a continuous, even musical sound from portions of audio signal, recorded in real-time and stored on the device's Memory unit 30.
[0159] The current order of events (adaptive EQ.Math.compression.Math.) may be altered, interchanged or supplemented with additional steps in order to achieve the desirable effect. Other embodiments/methods may combine the equalization and compression blocks in a single process, based on either a specifically designed multiband compression system or, alternatively, use a more detailed equalization system.
[0160] Even after the previous steps (EQ (F2.4) and compression (F2.5)) any complex/polyphonic audio sample, when played in a circular way may still produce audible clicks or noises at its connection points if no cross-fading region is established (
[0161] In block F2.6 the sample's precise positions for cross-fading (
[0162]
[0163] To find the best overlapping positions the information within regions A and B is down-sampled in order to decrease the computation time, and similarities within both regions are compared by using a Squared Difference Function (SDF).
where: [0164] SDF[k]squared difference function [0165] Nlength of region A [0166] kindex of SDF function [0 . . . length of SDF result]. [0167] nindex of regions A and B [0 . . . N] [0168] A[ ]region A [0169] B[ ]region B [0170] Additional conditions:
n+klength(B).
[0171] As shown in (
[0172] Other methods, such as cross-correlation, may be used to determine matching regions suitable for overlapping.
[0173] Block F2.7 creates a cross-fade between the overlapping regions in order to avoid a volume increase due to the summing of two signal parts FI and FO where the length of FI is the difference between L and E (FI=FO=LE) (
[0174] Different types of cross-fading may be used;
[0175] The volume fade-out and fade-in is then applied permanently to the audio sample in regions FI and FO according to the cross-fading parameters determined in the previous block F2.7 thus forming the adjusted sample (
[0176] Adjusted samplean audio sample chosen from the most recent musical event, adjusted by the Adaptive Parametric EQ, dynamic range compressor and with volume decreases at cross-fading regions FI and FO.
Looping the Adjusted Sample and Producing the Final WET Signal
[0177] The adjusted sample may now be sent to block F3, where it is played back circularly, as shown in
[0178] The resulting output signal from block F3 is a maximally even continuous musical signal generated from a complex audio sample which, in the opinion of the inventors and many musicians, is a more realistic synthesized signal than those synthesized by envelope/oscillator-based units etc.
[0179] The continuously looped sample (as shown in
[0180]
[0181] The band-pass filter F.4.2 is used to apply a gradual boost to the looped sample's dominant frequency band. The change in time of the transfer function K.sub.BPF is shown in
[0182] Additionally in the preferred embodiment, the user may manually control the signal's overall decay length by adjusting the TIME potentiometer 4 (
[0183] A specific LED 12 may be installed, indicating when the device is in the INFINITE decay mode (max TIME setting in
[0184] The resulting signal, consisting of a sample (determined and adjusted in Block F2) looped circularly (in block F3) adjusted by a time-varying low-pass filter and gradual volume decrease (Post FX Block F4) is considered the completed wet signal.
[0185] The wet signal can also be faded out of the mix rapidly by releasing the foot-pedal 2 (control signal is interrupted). The exact speed of the fade-out region (Tail reg. in
[0186] The preferred embodiment is designed and adjusted for achieving a controllable wet signal which is maximally realistic to the natural decay-sound of any source instrument or musical event.
[0187] However, it may be desirable for some users to produce a distorted, unrealistic choppy wet signal where the samples are looped inaccurately. A dedicated GLITCH potentiometer 6 (
[0188] In further embodiments, other effects may be added in the POST-FX block F4, in order to alter the properties of the wet signal, including classic digital effects, such as delay, reverb, tremolo, chorus, dynamic compression etc.
[0189] After the finished wet signal has been produced and all desired effects have been added to it, it is sent to the DAC (digital-analog converter) 31, then to F5 BLEND BLOCK (see 23,
[0190] The produced wet analog signal can be routed to one or multiple outputs. In the preferred embodiment, the invention offers a two- jack output system 35, 36 with three possible output configurations, controlled by a two-position switch 10 labeled SPLIT (
[0191] As mentioned before, the wet signal and the dry signal may be mixed together and sent to one output 35. The mixing ratio between the wet and dry signals is adjustable by an analog potentiometer labeled BLEND 3 (
[0192] By adjusting the TIME potentiometer 4, the user may control the length and behavior of the wet signal over time, according to needs;
[0193] The method and device proposed is designed to produce the claimed Sostenuto wet signal and send it to the analog outputs with a minimal, humanly-inaudible time delay between pressing the pedal 2 and receiving the wet signal in the devices output/s. In practice, however, it may be desirable to have the wet signal gradually fade-in as indicated in
[0194] As mentioned in the summary of this document - the method and device proposed is not able to generate new tonal content autonomously, and always requires a previous source-audio signal (most recent musical event) for sampling and synthesizing the wet signal. Therefore the success of the method depends on the precise input of the Main Control signal 34, which has to always follow the musical event.
[0195] In case if a faulty main control signal 34 is received (before or during the attack period of a musical event) and no clear sample may be selected, a basic reverb or delay setting may be applied to the audio signal to produce a substitute for the expected wet signal.
[0196] The current device's preferred method of inputting the main control signal 34 (manualvia pressing the foot-pedal 2) may be altered. It must be noted that other types of switches, buttons or external controllers may also be used for inputting the main control signal 34. Future versions of the device may also be able to generate the main control signal 34 automatically based on audio signal analysis, thus avoiding the need for any switches, buttons, pedals, etc., or any other means for inputting the main control signal 34. For example, the main control signal 34 may be generated automatically, as soon as the release part of a musical event is detected, thus beginning the formation of the wet signal immediately after the release of a note/chord.
[0197] One practical application of such a method is the possibility of synthesizing wet signal from multiple musical events simultaneously, for exampleduring the time when the device is engaged, each new detected musical event may trigger its own main control signal 34, as described above, be looped and sent to the BLEND circuit 23. Such an approach would allow the musician to play a succession of notes/chords (musical events) and have each one of them ring out (simultaneous looped playback) for as long as necessarybased, for example on the TIME potentiometer's 4 setting.
REFERENCE NUMBERS
[0198]
TABLE-US-00001 1 body 2 pedal 3 BLEND potentiometer 4 TIME potentiometer 5 GAIN potentiometer 6 GLITCH potentiometer 7 jack input 8 jack output 1 9 jack output 2 10 SPLIT switch 11 DC power supply input 12 LED for indication 13 two-positional switch 14 power LED 15 RISE internal potentiometer 16 TAIL internal potentiometer 17 protective rubber cover 18 audio input 19 input buffer 20 DRY signal path 21 WET signal path 22 DRIVE circuit 23 BLEND circuit 24 sensor for output 2 25 control signal (output 2) 26 analog switch 27 split switch 28 DRIVE control signal 29 MCU 30 memory unit 31 DAC-ADC codec 32 pre-amp 33 anti-alias filter 34 main control signal 35 output 1 36 output 2 37 output buffer (out 1) 38 output buffer (out 2) 39 DRIVE circuit switch