ComfyUI > Nodes > ComfyUI Signal Processing > (SP) PitchShift

ComfyUI Node: (SP) PitchShift

Class Name

SignalProcessingPitchShifter

Category
Signal Processing
Author
c0ffymachyne (Account age: 5179days)
Extension
ComfyUI Signal Processing
Latest Updated
2025-05-14
Github Stars
0.02K

How to Install ComfyUI Signal Processing

Install this extension via the ComfyUI Manager by searching for ComfyUI Signal Processing
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Signal Processing in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

(SP) PitchShift Description

Modifies audio pitch without changing duration, ideal for creative sound design and music production.

(SP) PitchShift:

The SignalProcessingPitchShifter node is designed to modify the pitch of an audio signal without altering its duration, making it a powerful tool for audio manipulation in creative projects. This node is particularly useful for artists and sound designers who wish to experiment with different tonal qualities or harmonics of an audio piece. By adjusting the pitch, you can create unique soundscapes, harmonize tracks, or even correct pitch inaccuracies in recordings. The node leverages advanced signal processing techniques to ensure that the pitch-shifted audio maintains its original quality and loudness, providing a seamless and natural-sounding result. This capability is essential for applications ranging from music production to sound design in multimedia projects.

(SP) PitchShift Input Parameters:

audio_input

The audio_input parameter is the primary audio data that you wish to process. It accepts audio signals in a format compatible with the node's processing capabilities, typically represented as a tensor. This input serves as the foundation for the pitch-shifting operation, and its quality and characteristics will directly influence the output. Ensure that the audio is clear and free from unwanted noise to achieve the best results.

pitch_shift_factor

The pitch_shift_factor parameter determines the degree to which the pitch of the audio input will be shifted. It is an integer value that can range from -48 to 48, with a default value of 2. This range allows for a wide variety of pitch adjustments, from lowering the pitch significantly to raising it by several octaves. A positive value will increase the pitch, making the audio sound higher, while a negative value will decrease the pitch, resulting in a deeper sound. The step size of 1 allows for precise control over the pitch adjustment, enabling subtle or dramatic changes as desired.

(SP) PitchShift Output Parameters:

output_audio

The output_audio parameter is the result of the pitch-shifting process. It provides the modified audio signal, which has been adjusted according to the specified pitch_shift_factor. This output retains the original audio's quality and loudness, ensuring that the pitch change does not introduce unwanted artifacts or distortions. The output is typically in the same format as the input, making it easy to integrate into further processing or playback systems.

(SP) PitchShift Usage Tips:

  • Experiment with different pitch_shift_factor values to explore a wide range of tonal possibilities. Small adjustments can create subtle harmonies, while larger shifts can transform the audio entirely.
  • Use the node in conjunction with other audio processing nodes, such as equalizers or reverb effects, to enhance the creative potential of your sound design projects.

(SP) PitchShift Common Errors and Solutions:

Output file was not created

  • Explanation: This error indicates that the processed audio file was not successfully saved to the specified location.
  • Solution: Ensure that the output directory exists and that you have the necessary permissions to write files to it. Check the file path for any typos or incorrect directory structures.

Processed audio output is None

  • Explanation: This error suggests that the node did not produce any output, possibly due to an issue with the input parameters or processing logic.
  • Solution: Verify that the audio_input is correctly formatted and contains valid audio data. Double-check the pitch_shift_factor to ensure it is within the acceptable range. If the problem persists, review the node's configuration and input data for any inconsistencies.

(SP) PitchShift Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Signal Processing
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.