by
BEB » Sat Jan 25, 2020 9:51 pm
dj-pixus wrote: ↑Fri Jan 24, 2020 4:06 pm
Hi, everyone! I need some advice in using hardware synths with LMMS. Usually, I do everything in-the-box but there are cases when computer-generated sounds are not authentic enough so i MUST use some "real" thing. I normally do this by making a placeholder sound in software and when the song is near-complete i play the track out to midi and record the audio using Audacity. I can't work with midi I/O in real-time because the audio buffer is a lot longer than midi latency. Is it possible to set an artificial midi latency so that it gets in sync with audio? And the second question is how to make a midi-only or "dummy" track manually like the one LMMS creates if it cannot load an instrument?
Hi Pixus,
I am using LMMS along with my "physical" synthesizers, connected via MIDI, I suppose this is what you want to achieve too.
About the latency, I have found that I was able to get something almost acceptable on Windows if I reduce the buffer size to the minimum (64 samples). I was expecting to get better results using WDM-KS, but for some unknown reasons, the software keeps failing when I want to use this kind of driver.
So for now, I use WASAPI interface layer, and this works not too bad. I just avoid to mix drums on hardware synths and drums on LMMS plugins, since the delay is clearly audible. But for sounds like strings, layers, pads, result is OK. And even for bass lines, the slight delay can lead to interesting results (depends on what you want to achieve)
For the "MIDI only" tracks, I found a simple and easy solution : I just use place a SF2 player without bank loaded. The engine then takes almost no CPU power (for 10 tracks used as "MIDI ONLY", I saw just something like 1 to 2% CPU load raise because of the unused SF2 engines). Apparently, SF2 player only takes CPU power in that case to fill audio buffers with silence, that's why there is just a small CPU load (also for mixing the buffer with silence). Not the best solution, as CPU is wasted for some silence mixing, but the side effect is acceptable
Benoit