Add Batch Size Argument for EmptyLatentAudio and WAV File Format Option for SaveAudio
This merge request introduces two new features for the audio tools:
-
Batch Size Argument for
EmptyLatentAudio:
This feature allows users to specify the batch size when creating empty latent audio with theEmptyLatentAudionode. Can be used for making one-shot (drum) samples. -
WAV File Format Option for
SaveAudio:
A new option to save audio files in WAV format has been added to theSaveAudionode. This change enables users to save audio files in the widely used WAV format, making integration with other audio tools easier, instead of relying only on FLAC.
Changes
- Added a
batch_sizeargument to theEmptyLatentAudionode. - Updated the
SaveAudionode to support saving audio files in WAV format.
Benefits
-
Improved flexibility and scalability:
The batch size argument allows users to create larger batch sizes to be used to create one-shot samples or more variations. -
Broader file format support:
The WAV format is commonly used in many audio processing workflows and has better support in DAWs. Adding support for it helps increase compatibility with various applications and use cases.
Testing
- Both features have been tested to ensure they work as expected, and no existing functionality was affected.
Please review and let me know if any additional changes are needed. Thank you!
Adding batch size is good but I think the wav saving should be a different node because different file formats can have different options.
Could you please separate the two parts of this PR into two separate PRs?