Sign in

Allow changing frequency

Category: Feature requests
  • PG 9 1
    Currently Polyphone does not allow changing frequency of the samples. Adding a feature allowing changing frequency would allow changing the pitch of the sample, for example a 33792Hz sample of a square wave of period 128, being a C note, can be duplicated, and then the new sample can have the frequency 42240Hz (not equal temperament) which would be the note E.
  • 37 9
    Message from tahutoa on
    Well, that would definitely be convenient, since then we'd be able to forgo having to do such an operation in Audacity and then re-importing the sample
  • 408 0
    Message from Davy on
    The tool "Transpose" is made for this:
    https://www.polyphone.io/o/documentation…r/tools/sample-tools

    You don't need to compute the difference in terms of sampling rate. Just selected the increase / decrease in semi-tones (cents are of course allowed for a fine tuning).
  • PG 9 1
    Davy on -
    The tool "Transpose" is made for this:
    https://www.polyphone.io/o/documentation…r/tools/sample-tools

    You don't need to compute the difference in terms of sampling rate. Just selected the increase / decrease in semi-tones (cents are of course allowed for a fine tuning).
    "The tool asks for a shift in semitones and then re-samples the sound to change the pitch."

    Now think about what this will do to a looping sample. Loop points (the portals of audio) are restricted to integers in time. This won't really give a real fine-tuning of a sound and will distort the sound at the loop points.

    Changing the frequency on the other hand is a lossless pitch shift operation as the audio data itself isn't changed.
  • 408 0
    Message from Davy on
    You are right!

    You may have your reasons but why don't you just change the rootkey at the sample or at the instrument level? The result is exactly the same at the end: at will be resampled anyway to fit the sample rate of the audio backend. The method I suggest is to ALWAYS specify at the sample level the exact tune of the sample, see this page:
    https://www.polyphone.io/o/documentation…-to-prepare-a-sample

    Then, if you need to transpose at the instrument level, use the parameter "overriding root key" and / or the fine tuning. This this a more "natural" way to transpose and as I said, the resampling will be the same compared to a weird sample rate at the sample level.

Sign in or register to take part in discussions.

Polyphone needs you!

Polyphone is free but there are costs associated with its website and development. A small donation will help a lot.

Donate
Learn the basics Try a tutorial
Scroll to
top