
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A tool to help you prepare samples for use with the Elektron Machinedrum UW, Octatrack and Rytm. It works on Mac and PC and presumably Linux as well.
For accuracy, sample triming/padding is calculated at the sample level rather than milliseconds.

Features for Octatrack users:
The time length of each slice is by default (sliceLength = 'auto') the length of the longest file. If you have a file with a lot of dead space at the end, this can inflate the size of your chain. Override it by setting sliceLength to a defined number of samples.
Eg, I see from Gtbg's output that a ride sample runs for 342,456 samples (7,770ms). Eyeballing the output chain file, it's clear that only half of that length is needed. I could then run:
gtbg chainOt --sliceLength=171228
Resuling in a trimmed-down chain file as each slice will be much shorter.
Features for Rytm users:
Features for Machinedrum UW users:
Gtbg is a simple wrapper around SoX, meaning audio processing is high quality, and you are able to do additional processing by specifing SoX parameters. When scanning directories, Gtbg filters out files that don't have WAV, AIFF or MP3 extensions.
Download and run the installer for your platform for your platform.
In the terminal/command prompt, run:
npm -g install gtbg
This will make the command gtbg available globally on your computer.
If you are on a Mac, I recommend installing Homebrew, a package manager to simplify installations. Once Homebrew is installed, you can install SoX with the simple command:
brew install sox
If you don't want to install it this way, please download and unzip SoX so it lives in your path.
If you are on Windows, I recommend using Chocolately, a package manager to simplify installations. Once Chocolately is installed, you can install SoX with the simple command:
choco install sox
If you don't want to install it this way, please download and unzip SoX so it lives in your path.
To start off, you can run gtbg in interactive mode, just by running 'gtbg'. You will be able to select from an available preset, choose your sample source directory and output directory.
Gtbg has a base configuration file (config.json) which stores global settings. There is also a presets file (presets.json) with groups of settings which override the base configuration file. You can also specify options on the command line which override both preset and globals.
Output files are by default placed in the "output" folder in the same place you run gtbg.
Example: produce a sample chain made from all the samples in a specified directory (producing "909kit.wav" in the process):
gtbg chainOt --samples "c:/samples/909kit/"
Example: process individual samples to be Octatrack-friendly, outputting to a specified location:
gtbg ot --samples "c:/samples/909kit/" --outputPath "c:/output/"
Example: process individual samples to be Machinedrum-friendly
gtbg md --samples "c:/samples/909kit/"
Example: convert each subdirectory of 'samples' to be its own sample chain for the Rytm
gtbg chainRytm --samples "c:/samples/"
Example: process individual samples to be Octatrack-friendly, overriding some options and using SoX-supplied reverb and reverse effects
gtbg ot --samples "c:/samples/909kit/"" --post="reverse reverb -w"
Example: Dump information on samples without doing any processing
gtbg info --samples "c:/samples/909kit/"
Example: if you have a directory 'samples', and with sub-folders for different kits, you use process them in one batch:
gtbg ot --samples "c:/samples/"
Gtbg has a set of global options which apply for all operations, and individual options for the chainOt, chainRytm, ot and ```md`` commands.
samples
overwrite
false to prevent output files being overwrittenshowSoxOpts
true to see what options are passed to SoXautoGain
true, chain will be auto-gained to maximise volume without clipping.sliceLength
sliceLengthMax
sliceLength = 'auto', this parameter, defined in audio samples, allows you to set an upper bound on the length of slices. Any file longer than the max will be truncated to fit.appendSliceCount
true, the count of slices in the chain is appended to its filename. This is handy so you know what sample start/end or slice settings you need on your machine.sampleRate
prefix
post
removeStereo
true sample is converted to monomd commandbitDepth
FAQs
Sample preparer for Elektron Octatrack, Rytm and Machinedrum
We found that gtbg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.