MPC X, MPC Live, MPC One & MPC Key 61 Forum: Support and discussion for the MPC X, MPC Live, MPC Live II, MPC One & MPC Key 61; Akai's current generation of standalone MPCs.
By fccoelho Tue Mar 07, 2023 12:53 pm
Hi, I decided to give it a try on creating keygroups to bring a VST instrument into the MPC-One.

Since it was a piano VST, I wanted the samples to be velocity sensitive, and thus I sampled with 4 layers per note so to have separate samples for different velocities for each note.

After sampling the intrument, the keygroup is very laggy to play, making it useless if you want to play a reasonably fast melodic line.

Is this related to the 4 layers being too slow to load from the SD-card? When I play the builtin plugins, such as Hype, for instance, I experience no lag, even when using an external Keyboard controller but the keygroup I created is useless.
User avatar
By MPC-Tutor Tue Mar 07, 2023 1:35 pm
I've never experienced lag in any keygroup program, 4 layers, 8 layers, with up to 300 samples inside, 4 FX inserts. It's not related to your sd card as once loaded into memory the SD card is not used, there is no disk streaming on the MPC.

All I can think is you have nearly maxed out the memory or CPU and the MPC is struggling. How big, in MB, is the instrument and have you added excess FX or warping? For example, adding FX to each individual keygroup is a no-no, you should add FX across the program instead. What % memory and CPU is used (tap on the resources icon, top right of the screen - for CPU usage make sure you are playing the instrument so you can see it spiking).
User avatar
By Lampdog Tue Mar 07, 2023 2:56 pm
I was also thinking waveform start.
Sometimes after auto-sampling I’ll leave the lag in front because it “feels” like when I use to sample into ASR-10. It was never waveform zero-crosspoint perfection, the millisecond inconsistencies had a GREAT feel when beats were banged out.
By fccoelho Sun Mar 12, 2023 12:29 pm
HouseWithoutMouse wrote:Could there be silence in the beginning of every sample? Look at the waveforms in the sample editor.


There was indeed some silence in the beginning of the samples which I have fixed by changing the beginning of the samples, using the very useful feature of editing all samples at the same time. It improved things a bit, which led me to other aspects of the autosampling that could be optimized (more on this on the replies to the other comments)
By fccoelho Sun Mar 12, 2023 12:47 pm
MPC-Tutor wrote:I've never experienced lag in any keygroup program, 4 layers, 8 layers, with up to 300 samples inside, 4 FX inserts. It's not related to your sd card as once loaded into memory the SD card is not used, there is no disk streaming on the MPC.

All I can think is you have nearly maxed out the memory or CPU and the MPC is struggling. How big, in MB, is the instrument and have you added excess FX or warping? For example, adding FX to each individual keygroup is a no-no, you should add FX across the program instead. What % memory and CPU is used (tap on the resources icon, top right of the screen - for CPU usage make sure you are playing the instrument so you can see it spiking).


Thanks for the info.
I had checked the memory and CPU usage and they are fine.
One thing that caught my attention after I fixed the bit of silence at the beginning of the samples was how the 4 layers (one for each of 4 velocity ranges) were being switched by a velocity sensitive controller, be it the MPC pads or my Arturia Keylab. These controllers have typically 128 velocity levels, and the switch between the 4 samples per note, is not smooth at all. This becomes very annoying when you play a chord on your keyboard. If all of your fingers don't press the keys with the same force (the same velocity range), some notes will be much louder than others. So it is basically impossible to take advantage of all the velocity levels of your controller.

So, IMHO the way around this may be (haven't tested it yet) to sample with a single velocity layer, and let the MPC software map the velocity information from the controller to the volume of each note played.
User avatar
By Telefunky Sun Mar 12, 2023 3:40 pm
You may have underestimated the amount of work a properly tuned multisample instrument takes. :wink:
It‘s not a job done between teatime and lunch...
(when I 1st peeked at the dtetails of some EMU instruments, I immediately decided I‘d NEVER try anything like that on my own) :Sigh:
By HouseWithoutMouse Sun Mar 12, 2023 5:55 pm
fccoelho wrote:
One thing that caught my attention after I fixed the bit of silence at the beginning of the samples was how the 4 layers (one for each of 4 velocity ranges) were being switched by a velocity sensitive controller, be it the MPC pads or my Arturia Keylab. These controllers have typically 128 velocity levels, and the switch between the 4 samples per note, is not smooth at all. This becomes very annoying when you play a chord on your keyboard. If all of your fingers don't press the keys with the same force (the same velocity range), some notes will be much louder than others. So it is basically impossible to take advantage of all the velocity levels of your controller.


Getting a good and continuous-feeling response across multiple velocity layers isn't trivial, it's more like an art. How to do it depends on your sampler's facilities, your sample content, and what kind of feeling you want to achieve - there's no one single right answer. Even with just one sample layer, it's somewhat up to taste and preference, how to map velocity levels to audio levels. (See below for Ableton vs MPC Beats) How wide a dB range do you want to cover, and with what kind of a curve? Or, do you even want velocity to drive "volume" like RMS power levels at all, or do you want it to control the timbre more than volume? Add more layers with samples having different timbres and levels, and the question becomes quite non-trivial.

I recommend making a test sequence for tuning your sample programs, something like this

Image

It's a series of MIDI notes with velocities 0-127. (Why is velocity 0 even allowed, and why does it make a sound - that's "note off" in MIDI)

If you set the velocity to AMP (amplification) response to zero, all notes produce the same thing: (audio rendered from MPC Beats)

Image

If you set the AMP response to 100, now you get velocity response: (audio rendered from MPC Beats)

Image

Then let's add another sample layer, with a sample that's 10 dB quieter than the first one. The first sample handles velocity values 64-127, and the quieter one does 0-63. What happens now is, you get a volume jump between the layers. (audio rendered from MPC Beats)

Image

You can compensate for that by adjusting the level of the loud sample layer. Level setting 41 seems to be somewhere around -10 dB.

Image

And now you get a continuous response, the jump is gone: (audio rendered from MPC Beats)

Image

But now you'll have to boost the whole thing to make up for the lost volume. The keygroup global LEVEL control gives you +6 dB, but no more.

Image

Ideally, you'd like to automate the process, with some kind of normalization. But which part of the sample should you look at for the normalization, and how? You can't rely on peaks, which can be somewhat random relative to perceived loudness, so it'll have to be "RMS normalization" of some kind. If it's something like a piano you're sampling, maybe you want to take a peak RMS level from within the first 1000 ms of each sample. Or maybe an average sound energy figure?

Here's some reading on mapping MIDI velocity to volume levels/gains. https://www.cs.cmu.edu/~rbd/papers/velo ... mc2006.pdf (The Interpretation of MIDI Velocity by Roger B. Dannenberg, School of Computer Science, Carnegie Mellon University)

BTW, FWIW, Ableton Sampler's 100 % velocity-to-volume mapping looks like this in Audacity - quite different from MPC Beats.

Image
By fccoelho Tue Mar 28, 2023 12:40 pm
Thanks for the great answers, I certainly underestimated the complexity of the task.

It's unfortunate the autosampler tool is not really usable by an amateur (outside of a few very simple applications), but on the bright side, there's plenty of room for AKAI to continue improving it.