A simple CLI for slicing long samples into Ableton Note / Ableton Move presets
- Prepare an audio sample containing up to 16 parts (e.g., a sample with 16 equal-length slices).
- Open Terminal (macOS) or Command Prompt (Windows).
- Run the Move Tool command:
- For macOS:
./move-tool slice -i /path/to/your/sample.wav -n 16 -o /Users/your-username/Desktop
- For Windows:
move-tool.exe slice -i C:\path\to\your\sample.wav -n 16 -o C:\Users\YourUsername\Desktop
- For macOS:
- Move Tool will slice the original sample into 16 pieces and create a Move/Note preset with a random name in the specified output directory.
- If you find this tool helpful, please star the repository!
- Download the latest macOS version of Move Tool for Apple Silicon (M chips) or Intel
- Open Finder and navigate to your Downloads folder.
- Double-click the downloaded file (it should be named something like
move-tool-macos.zip
) to unzip it. - Open Terminal (you can find it by pressing Cmd + Space and typing "Terminal").
- In Terminal, type
cd
(with a space after it), then drag the folder containing the unzippedmove-tool
into the Terminal window. Press Enter.
-
Note: The Move Tool CLI is not signed, which means macOS may prevent it from running due to security measures. To run the tool, you'll need to follow these additional steps:
-
Right-click on the
move-tool
executable and select "Open" from the context menu. You'll see a security warning. Click "Open" to run the tool for the first time. -
If the above method doesn't work, you can try the following:
- Open "System Preferences" > "Security & Privacy" > "General" tab.
- Look for a message about
move-tool
being blocked and click "Open Anyway".
-
If you're comfortable using the Terminal, you can remove the quarantine attribute:
xattr -r -d com.apple.quarantine ./move-tool
This command removes the quarantine flag, allowing the tool to run.
-
-
Before using the tool, ensure it has the correct permissions. Run the following command in the Terminal:
chmod +x ./move-tool
This sets the executable permission on the file, allowing you to run it from the command line. The
chmod +x
command is crucial as it grants execute permissions to the file, which is necessary for running command-line tools.
- Now you can use Move Tool. For example, to slice a sample, type:
Replace
./move-tool slice -i /path/to/your/sample.wav -n 16 -o /Users/your-username/Desktop
/path/to/your/sample.wav
with the actual path to your audio file, and/Users/your-username/Desktop
with where you want to save the output.
- Download the latest Windows version of Move Tool for Intel/AMD processors or ARM
- Open File Explorer and navigate to your Downloads folder.
- Right-click the downloaded file (it should be named something like
move-tool-windows.zip
) and select "Extract All". Choose a location to extract the files. - Open Command Prompt (you can find it by pressing Win + R, typing "cmd", and pressing Enter).
- In Command Prompt, type
cd
(with a space after it), then type the path to the folder where you extracted Move Tool. For example:cd C:\Users\YourUsername\Downloads\move-tool
- Now you can use Move Tool. For example, to slice a sample, type:
Replace
move-tool.exe slice -i C:\path\to\your\sample.wav -n 16 -o C:\Users\YourUsername\Desktop
C:\path\to\your\sample.wav
with the actual path to your audio file, andC:\Users\YourUsername\Desktop
with where you want to save the output.
- You know what to do folks. Welcome home.
-
Ensure that you have Go 1.22 installed.
-
Clone the repo:
git clone https://github.com/alexfedosov/move-tool.git
-
Navigate to the project directory:
cd move-tool
-
Install dependencies:
go mod tidy
go run . slice -i <file path> -n <number of samples> -o <output directory>
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.