<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://projectmallard.org/1.0/"
    xmlns:its="http://www.w3.org/2005/11/its" type="guide" id="pitch">
    <info>
        <link type="guide" xref="index#plugins" />
    </info>
    <title>Pitch</title>
    <p> Pitch shifting is a technique used to change the original frequency (pitch) of a sound, either raising or lowering it. In EasyEffects, pitch shifting is implemented using the <strong>SoundTouch</strong> library. </p>
    <section>
        <title>Quality Settings</title>
        <terms> </terms>
        <terms>
            <item>
                <title>
                    <em style="strong" its:withinText="nested">Quick Seek</em>
                </title>
                <p>Enables a fast-seeking algorithm that improves performance at the cost of slightly reduced audio quality. Useful for real-time processing when CPU resources are limited.</p>
            </item>
            <item>
                <title>
                    <em style="strong" its:withinText="nested">Anti-Aliasing</em>
                </title>
                <p>Activates filtering to suppress aliasing artifacts that can occur during pitch shifting. Recommended for preserving sound clarity.</p>
            </item>
            <item>
                <title>
                    <em style="strong" its:withinText="nested">Sequence Length (ms)</em>
                </title>
                <p>Sets the length of the analysis window. A longer window improves low-frequency resolution but adds processing delay.</p>
            </item>
            <item>
                <title>
                    <em style="strong" its:withinText="nested">Overlap Length (ms)</em>
                </title>
                <p> Determines how much adjacent audio frames overlap. More overlap results in smoother transitions and reduces artifacts between frames.</p>
            </item>
        </terms>
    </section>
    <section>
        <title>Pitch Settings</title>
        <terms> </terms>
        <terms>
            <item>
                <title>
                    <em style="strong" its:withinText="nested">Semitone</em>
                </title>
                <p>Adjusts the pitch up or down in semitone steps. One octave equals 12 semitones. Positive values raise the pitch, negative values lower it.</p>
            </item>
            <item>
                <title>
                    <em style="strong" its:withinText="nested">Tempo Difference (%)</em>
                </title>
                <p>Changes the playback speed (tempo) without affecting the pitch. 100% is the original speed; higher values increase tempo, lower values slow it down.</p>
            </item>
            <item>
                <title>
                    <em style="strong" its:withinText="nested">Rate Difference (%)</em>
                </title>
                <p>Alters both the pitch and speed proportionally, similar to speeding up or slowing down an analog tape.</p>
            </item>
        </terms>
    </section>
    <section>
        <title>References</title>
        <list>
            <item>
                <p>
                    <link href="https://en.wikipedia.org/wiki/Pitch_shift" its:translate="no">Wikipedia Pitch Shift</link>
                </p>
            </item>
            <item>
                <p>
                    <link href="https://www.surina.net/soundtouch/" its:translate="no">SoundTouch Audio Time Stretcher Library - Attractive Features</link>
                </p>
            </item>
        </list>
    </section>
</page>