Package Information
Documentation
n8n-nodes-splitaudio
This is an n8n community node that lets you split audio files into smaller chunks in your n8n workflows.
The Split Audio node is a powerful utility that breaks large audio files into smaller segments of a specified size, which is useful for processing, analyzing, or uploading large audio files in manageable chunks.
n8n is a fair-code licensed workflow automation platform.
Table of Contents
Installation
Follow the installation guide in the n8n community nodes documentation.
Dependencies
This node requires FFmpeg to be installed on your system. Please make sure FFmpeg is installed and available in your system's PATH.
- For Windows: You can download FFmpeg from their official website or install it via Chocolatey with
choco install ffmpeg
- For macOS: You can install FFmpeg using Homebrew with
brew install ffmpeg
- For Linux: You can install FFmpeg using your distribution's package manager, e.g.,
apt install ffmpeg
for Debian/Ubuntu
Operations
The Split Audio node supports the following operation:
- Split Audio: Divides an audio file into multiple chunks of a specified size
Split Audio Options
- Input Type: Choose between binary data or file path input
- Chunk Size: Size of each audio chunk in MB
- Output Prefix: Prefix for chunk filenames
- Output Format: Format for output chunks (Same as Input, MP3, M4A, WAV)
- Memory Management: Standard or Low Memory mode for handling large files
- Delete Original: Option to delete the original file after processing (when using file path input)
Compatibility
This node has been tested with n8n version 1.90.2 and above.
Usage
Basic Usage
- Add the Split Audio node to your workflow.
- Connect it to a node that provides an audio file (e.g., HTTP Request, Read Binary Files).
- Configure the chunk size and other parameters.
- The node will output multiple items, each containing a chunk of the original audio file.
Example with Binary Files
- Add a Read/Write Files from Disk node to read an audio file.
- Connect the Split Audio node after it.
- Set the Input Type to "Binary Data".
- Configure the chunk size (e.g., 10 MB).
- Run the workflow to split the audio file.
You can also use any node that provides binary data as output, such as the Google Drive node or the HTTP Request node.
Example with File Path
- Add a Read/Write Files from Disk node to get the file path.
- Connect the Split Audio node after it.
- Set the Input Type to "File Path".
- Set the File Path Field to the expression
{{ $json.directory }}/{{ $json.fileName }}
. - Configure the chunk size and other options.
- Run the workflow to split the audio file.
Example Workflow
A typical workflow using the Split Audio node might look like:
- Trigger Node → 2. Read Audio File → 3. Split Audio Node → 4. Process Individual Chunks
Resources
Support
If you have any questions or issues with this node, please:
- Check the n8n community forum
- Open an issue on the GitHub repository