-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring back Portaudio (WASAPI) #4465
Comments
We can bring it back, but there were so many problems with it that I'm surprised it actually worked. Did you have a hacked DLL or using it "vanilla" as bundled? Related #1173, #4315, #4405, #3889. Marking for 1.2.0, @Umcaruje I'm putting you on this one because you turned it off. 🤣 |
The detuning bugs were fixed in de427bb. @jibin1573 can you test RC7 to make sure this is the case? |
First of all Kudos to @DomClark for his awesome work! Thanks a lot! The following VST instruments work fine at sample rates higher than 44000hz:
PROBLEMS:
[I'll keep reporting if I find any problems } |
I can reproduce the broken notes, but they also occur with Traktion and Reaper as hosts so I think this is a Helm bug. You can report it here: https://github.com/mtytel/helm
I can't reproduce this, but we can discuss this more in #4479 so we don't derail this issue. Thank you for testing this. |
Oh okay! Sorry, I didn't know that it was Helm's problem. |
IIRC one of the portaudio issues was actually with fluidsynth and it's been fixed. Can we just reinstate portaudio as it was and warn the user if they select it? |
If I'm reading that issue correctly, it looks like the bug wasn't with FluidSynth, rather they were suffering from the same issue as us. They suggest the PortAudio crashes are down to buggy soundcard drivers, and their fix was not to initialise PortAudio unless it was requested. Currently, if LMMS has PortAudio support compiled in, we initialise it whenever the setup dialog is opened in order to fill out the PortAudio setup widget, so a warning upon selection would be insufficient. Some possible approaches:
Ideas/thoughts? |
WASAPI is Vista and higher. |
I think this but bumping it to 1.3 is OK with me. |
ASIO4ALL support was possible in PortAudio, but afaik only with libportaudio-2.dll, from JACK. Does anyone know a way to support ASIO4ALL? |
Moving the calls to PortAudio out of |
I agree. My issue with PortAudio was that it simply never worked on any of my systems. I'd be happy to re-test but if we have documented evidence that it works, we can simply turn it back on. The fact that SDL is default is the major advantage here as it historically provides a better experience (higher rate of working out of the box) for the average user. |
In that case I will go ahead and make the changes. |
I was using LMMS 1.2.0 RC4 on Windows 10 Home, version:1709, OS build: 16299.402.
I used a USB MIDI keyboard. And my buffer size was 192 frames and latency was 4ms. I tested both SDL and Port Audio (WASAPI) at 140bpm with Piano One vsti, and found that WASAPI was better than SDL, in terms of latency.
I also found that, while exporting the songs at a sample rate higher than 44100hz, some tracks would get detuned (or their volume would decrease), while using SDL. But, no such problems were found in Port audio (WASAPI), while exporting at sample rates higher than 44100hz.
Then later I tried the SDL on 1.2.0 RC6, (on Windows 10 version 1804) and it's SDL has the same problems.
Please consider bringing back Port Audio option. I think WASAPI is getting better.
Thank you.
The text was updated successfully, but these errors were encountered: