Rewrite of Ninjas, a sample slicer audio plugin. This plugin uses the DPF for the creation of audio plugins in lv2 and vst2 formats. A stand alone jack app is also compiled
Goal:
Easy to use sample slicer, quick slicing of sample and mapping slices to midi note numbers. The target platform is Linux.
Intended usage:
Primarily targeted at chopping up loops or short ( ≈ 10 - 20 seconds) samples. Think drum loops, vocal chops etc. Currently there’s no limit on imported sample lenght. User can play the slices using midi notes and change the pitch with midi pitchbend.
Features:
Implemented:
load samples in audio formats as provided by libsndfile
load mp3
highlight slice when midi note is received
maximum of 128 slices
slices 0 to 67 are mapped to midi note 60 to 127
slices 68 to 127 are mapped to midi note 0 to 58
slices can me snapped to onsets as detected by aubio
each slice has ADSR
each slice has 4 playmodes :
one shot forward
one shot reverse
loop forward
loop reverse
pitching of samples (+/- 12 semitones) via midi pitchbend
user editable slice start and end points
note : slices can not overlap
dragging the top marker edits both start and end point, keeping the slices continious
dragging the bottom markers edits the the start or end point of a slice.
programs : store and retrieve up to 16 configurations of slices
normal click restores state
shift click copies current state to new location
play marker in waveform display
add/remove slices in waveform display : double click within 10 px of slice start/end to add or remove slice
Build instructions
Dependencies
libgl1-mesa-dev
libx11-dev
libsndfile1-dev
libsamplerate0-dev
If you want a standalone jack binary install either libjack-dev or libjack-jackd2-dev
git clone --recursive https://github.com/rghvdberg/ninjas2.git
cd ninjas2
make
There is no make install, binaries will appear in /path/to/ninjas2/bin/ , just copy the binaries to a appropiate location.
Yes! Ninjas2 rocks! Also the first free slicer lv2 out there as far as I know! I have used it in many jungle tunes now, a couple of which I’ve even released in here.
This is indeed a clean plugin. It has mass potential. MIDI file export or drag & drop for use with loops would be killer. In the meantime, it works great for chopping. Very MPC-esque. I look forward to seeing the evolution of this plugin. Thumbs up.
Drag and drop is currently not possible because of the toolkit. It uses pugl, which has no drag and drop, sadly.
For midi file export, imho that’s really more an application workflow.
The inspiration for this plugin came from Shuriken beat slicer (get it? Ninja… Shuriken) and I think that would be a better solution.
make clean
make WIN32=true CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
64 bit
make clean
make WIN32=true CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
The make clean part must delete all build artifacts, otherwise the newly built plugin may not work. For a while I had trouble with the 32-bit windows version because when I was trying to build it there were build artifacts left over from the 64-bit windows version.
@seablade pointed this thread out to me, and the screenshots/description looks great but I’m having a little bit of trouble getting this going. The plugin showed up in Mixbus, and I was able to create a MIDI track with Ninja2 as the VST, but the mixer channel strip doesn’t show Ninja where I can double click and pull up the window for it. I thought the issue was Mixbus so I booted up Ardour 5.12 and same deal. Can you give me a 3 sentence quick start guide? Looks promising!
So I believe I am trying the lv2…? I downloaded the ubuntu18.04 tar.gz and saved it to /usr/lib/lv2/ which is where I put my Harrison plugins that are working fine. I then unpacked the tarball to that same directory, and both DAWs see the VST. Again, I am able to create a MIDI channel and select Ninja2 as the instrument but beyond that… it doesn’t show up in the processor box. Is there a simple step I am missing?? I can add samplv1 and whatever other VST to that channel, just not Ninja