User Tools

Site Tools


en:wiki:funktionen:td-functions:phase_extraction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:wiki:funktionen:td-functions:phase_extraction [23/06/2016 11:01] – created ulien:wiki:funktionen:td-functions:phase_extraction [30/06/2016 18:22] (current) hamish
Line 1: Line 1:
- +====== Phase Extraction ======
- +
- **This page is not fully translated, yet. Please help completing the translation.** \\ +
-//(remove this paragraph once the translation is finished)// +
-====== Phase-Extraction ======+
  
 {{:bilder_funktionen:td_phase_extraction.png?nolink&}} {{:bilder_funktionen:td_phase_extraction.png?nolink&}}
  
 \\ \\
-**Beschreibung:** \\ +**Description:** \\ 
-Am Anfang und am Ende der angegebenen Frequenz wird der Frequenzgang der geladenen Kurve begradigt.+Below the lower limit and above the upper limit specified frequency, the frequency response of the loaded curve is made flat.
  
 \\ \\
-**Optionen:** \\ +**Options: **
-//Minimum phase:// \\ +
-//Linear phase:// \\ +
-//Excess phase:// \\ +
-//Advanced mixed phase://+
  
-\\ +   * //Minimum phase: //This option is used to calculate the unique impulse which has the specifed frequency response and is Minimum Phase. A minimum phase filter has the smallest possible group delay at any given frequency (consistent with producing the required overall frequency response), and hence the smallest signal latency, but the group delay may not be constant at all relevant frequencies. The minimum phase impulse has no pre-ringing but may have post-ringing. The location of the pulse peak is usually at or near the first sample of the filter. 
-**Verwendung:** \\ +  * //Linear phase: //This option is used to calculate a filter (impulse) which has the specified frequency response with a constant group delay at all frequencies. The price for a constant group delay is that the absolute group delay is large. The large constant delay may not matter if listening to audio, but needs to be taken into account if audio is live or needs to be synchronized with video. The impulse is symmetric, with the pulse peak located in the center of the filter. Accordingly, the delay is equal to half the filter length / sampling rate (for a filter 65536 samples long at 44100 Hz, the delay is 32768/44100 or about 0.74 seconds). The build up of the pulse before the pulse peak is called "pre-ringing" which in some cases may cause audible artifacts. 
-Soll nur ein Teil der Information aus einem Frequenzgang für eine Korrektur verwendet werden kann mit dieser Funktion der Rest oberoder unterhalb des gewählten Spektrums verworfen, bzwbegradigt werdenDiese Funktion wird z.Bbenötigt um mit den Informationen einer Nahfeldmessung [[:wiki:anhang:anleitungen:linearisierung_von_frequenzweichen|digitale Frequenzweichen zu linearisieren]]Es ist aber die Erstellung eines Korrekturfilters möglich, der nur bis zu einer gewünschten Frequenz den Frequenzgang des Lautsprechers korrigiert:+  * //Excess phase: //This option calculates a filter with constant 0 dB frequency response but which incorporates any group delay in the input curve in excess of that which the minimum phase component of that curve would produce. Because of the flat amplitude response, such a filter is often called an "All Pass" filter. A typical impulse response can be separated into the minimum phase component and the excess phase component. Convolving the two components reproduces the original pulse. 
 +  * //Advanced mixed phase: //With this option, while maintaining the frequency response, any phase curve between minimum phase (0), Linear Phase (1) and maximum phase (2) are calculated. The parameter can also be in between, for example, 0.159. Possible application: a steep low pass filter can be created between minimum phase (only post-ringing) and linear phase (same pre- and post-oscillation) can be set, with some pre-ringing but more post-ringing. (There is no free lunch: zero ringing is unachievable with systems of finite frequency response!) 
 + \\ **Use:** \\ The choice of correction filter for a mixed-pulse response may be due principally to the amount of acceptabe delayFor pure audio reproduction this usually does not matterIn the case of video or live music, a large delay may not be acceptableHere the shortest lead time is achieved with a minimum phase correction filterBut no excess phase is corrected.
  
-\\ +A limited band of frequency response can be used for a correction with this function with the frequency response information discarded above or below the selected spectrum (that isthe frequency response output of this funtion is a horizontal straight line below the lower limit and above the higher limit)This function is required, for example to use a near-field recording of frequency response of a speaker driver [[:wiki:anhang:anleitungen:linearisierung_von_frequenzweichen|to linearize digital crossovers]]. It allows the creation of a correction filter to correct the frequency response of the speaker driver only within a desired frequency band.
-**Beispiel:** \\ +
-In folgendem Beispiel soll ein Korrekturfilter erstellt werdender nur den Bassbereich bis etwa 150Hz korrigiertDazu werden [[:wiki:funktionen:room:room|Room Macro 1 3]] durchgearbeitet, um die Inversen zu erhalten, aus denen die Korrekturfilter erstellt werden. Die Inversen wurden durch [[:wiki:funktionen:room:room_macro_3|Room Macro 3]] im Arbeitsverzeichnis unter den Dateinamen Pulse48Linv.dbl bzwPulse48Rinv.dbl gespeichert. Nach der Ausführung von Macro 3 löscht man alle Kurven aus der Ansicht, lädt die beiden Inversen in Kurve 1 und 2 und zoomt in den relevanten Frequenzbereich:+
  
-\\ + \\ **Example:** \\ In the following example, a correction filter is desired which corrects only the bass up to about 150Hz. For this purpose [[:wiki:funktionen:room:room|Room Macro 1-3]] are used to obtain the inverse of the pulse responses from which the correction filters are createdThe inverse pulse responses are saved by [[:wiki:funktionen:room:room_macro_3|Room Macro 3]] in the working directory under the file name Pulse48Linv.dbl or Pulse48Rinv.dbl. After execution of Macro 3 to delete all curves from the view, load the two inverse curves in curve 1 and curve 2, and zoom in on the relevant frequency range:
-\\ +
-{{:bilder_funktionen:funkt_bsp_phase-extraction_01.png?nolink&}}+
  
-Für den nächsten Schritt bestehen zwei Möglichkeiten: Entweder man sucht sich Schnittpunkte der beiden Kurven (Blaue Kreise), welche möglichst nahe an der gewünschten Frequenz liegen.\\ + \\  \\ {{:bilder_funktionen:funkt_bsp_phase-extraction_01.png?nolink&}}
-\\ +
-{{:bilder_funktionen:funkt_bsp_phase-extraction_02.png?nolink&}}\\ +
-\\ +
-Sind dort keine Schnittpunkte zu finden kann man auch einen waagrechten Bereich suchen, und für beide Kurven eine etwas andere Trennfrequenz im nächsten Schritt eingeben. Wichtig ist dabei nur, dass die beiden Signalstärken am späteren Schnittpunkt identisch sind. (Sonst wäre der unkorrigierte Frequenzbereich einer Seite lauter)+
  
-\\ +In this case it is important that the uncorrected range of frequencies above approximately 150hz have the same gain applied by the filter, otherwise it will affect the balance of the channels. So for the next step there are two possibilities: either you find an intersection of the two curves around 150hz, or you set slightly different high frequency limits for the correction in the two channels in order to get the same gain. What matters is that the two amplitudes are equal at the high limit of correction. \\  \\ {{:bilder_funktionen:funkt_bsp_phase-extraction_02.png?nolink&}} \\  \\ {{:bilder_funktionen:funkt_bsp_phase-extraction_03.png?nolink&}} \\  \\ In this example, we have zoomed into the intersection at about 150HZ and clicked the exact point of intersection with the left mouse buttonThen you get on the right side of the program windowthe frequency at which the mark has been set. \\  \\  \\  \\  \\  \\ {{:bilder_funktionen:funkt_bsp_phase-extraction_04.png?nolink&}}
-{{:bilder_funktionen:funkt_bsp_phase-extraction_03.png?nolink&}}\\ +
-\\ +
-In diesem Beispiel wurde in den Schnittpunkt bei etwa 150HZ gezoomt und der genaue Schnittpunkt mit der linken Maustaste angeklicktDanach erhält man auf der rechten seite des Programmfensters die Frequenzbei der die Markierung gesetzt wurde.\\ +
-\\ +
-\\ +
-\\ +
-\\ +
-\\ +
-{{:bilder_funktionen:funkt_bsp_phase-extraction_04.png?nolink&}}+
  
-Nun die Kurve am Radiobutton aktivieren und TD Functions > Phase Extraction wählenDer Frequenzverlauf soll ab 159Hz begradigt werdenals Ziel Kurve WählenMit der Kurve 2 ebenso verfahrenZiel Kurve 4. +Now activate the curve on the radio button and select TD Functions> Phase Extraction. Select Minimum Phase as Room Macro 4 will be used later to correct excess phase. The frequency response is to be straightened from 159Hz, and the result is loaded into curve 3. Similarlythe result of Phase Extraction of curve 2 is loaded into curve 4. \\  \\ {{:bilder_funktionen:funkt_bsp_phase-extraction_05.png?nolink&}} \\  \\ After deleting the original curves you get the following pictureThe two new files still must be saved with the name of the old inverse (or Pulse48Linv.dbl Pulse48Rinv.dbl). After that you can create a filter with Room Macro 4.
- +
-\\ +
-\\ +
-{{:bilder_funktionen:funkt_bsp_phase-extraction_05.png?nolink&}}\\ +
-\\ +
-Nach löschen der Original Inversen aus dem Kurvenfenster erhält man folgendes BildDie beiden neuen Dateien müssen noch mit dem Namen der alten Inversen (Pulse48Linv.dbl bzw. Pulse48Rinv.dbl) gespeichert werdenDanach können mit Room Macro 4 die Filter erstellt werden.+
  
  
en/wiki/funktionen/td-functions/phase_extraction.txt · Last modified: 30/06/2016 18:22 by hamish

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki