Skip to content

Conversation

@MuziekMagie
Copy link

This PR adds a bit_depth input to the SaveAudio node, allowing users to choose between 16-bit and 24-bit FLAC output.

Why this is useful:

24-bit audio provides higher dynamic range and better fidelity, which can be helpful for audio processing, editing, or mastering workflows. This gives users more control over audio quality when needed.

Changes:

  • Added bit_depth input (16 or 24) to the node
  • Passed bits_per_sample to torchaudio.save() accordingly
  • Default is 16-bit to match previous behavior

No breaking changes—existing setups will continue to work as before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant