Closed jens-r closed 3 years ago
It happens with Reaper as well.
I'll look into it, it could be due to Wine.
New SINE Player version (1.0.2) just released: https://orchestraltools.helpscoutdocs.com/article/366-sine-player-changelog
Some of my test Ardour sessions work now. Others do not work. I'll test more later.
Test with Ardour 5.12, SINE Player 1.0.2, Wine 5.4-staging and LinVst (latest from git):
One empty SINE Player track: I can open it every time.
Two empty SINE Player tracks: Crash.
It seems to be a Wine problem and/or a bug in the plugin.
Airwave gives the same results for the plugin, one plugin is ok, 2 plugins crash Airwave.
Thanks for the help and thanks for LinVst! I'm pretty used to debugging in Windows and Linux (even in Wine). But with this problem, I don't even know where to start...
Wine can get some things wrong but there is also the case that Wine can get some things too right, and bugs in a Windows app might still result in it running ok on Windows but the bug causes problems with Wine.
Windows seems to have some workarounds for some common Windows apps bugs but Wine doesn't have all of those workarounds built in, so a bug might be ok with Windows but not with Wine.
For instance, the Waves plugins (and some other plugins) had a paint bug that would lock up Wine but the paint bug was ok on Windows.
Seeing that the programmers just test the Windows code using Windows, some bugs can get left in if it happens to work ok on Windows.
@osxmidi Also, theoretically it is possible that it's purely plugin fault, same case as it was for anything made with SynthEdit prior to some really early version...
It had exactly same bug, where you can run single instance of same plugin perfectly fine, but in order to use multiple the only way was to rename .dll and load it separately for new instance :sweat_smile:
@jens-r
I have noticed Version: Windows 10
. can you please try to run it in Win 7 mode (which is generally recommended) and see if it helps?
Win 10 can be quite messy and introduce additional bugs with some Wine software.
@keybreak Thanks for the suggestion. I'm going to use Windows 7 by default. Unfortunately, that didn't solve the problem with SINE Player. I've also tested with Wine 5.5-staging.
SINE Player works better with LinVst-X. This is my solution in CentOS 8 (I've only been testing for a few hours today):
yum install https://download.teknik.tv/pub/eldaw/eldaw-release-latest-8.noarch.rpm
yum install linvst-x ardour5 wine
Install SINE Player and copy .so file.
cp /usr/share/linvst-x/linvstx.so ".wine/drive_c/Program Files/VstPlugins/SINE Player.so"
Preload the LinVst-X server.
wine /usr/bin/lin-vst-server-x.exe.so
Start Ardour, add multiple SINE Player tracks, save session, open session...
Thanks so much, @osxmidi 👍 🌼
For me, SINE Player from Orchestral Tools works really well in Wine 5.4-staging. I can use all functions without problems.
SINE Player works well with LinVst and Ardour 5.12. I have tested several tracks with different instruments and MIDI functions.
However, if I save an Ardour session with two SINE Player tracks, it will not open again.
Steps to reproduce:
Can I do something to help?
Update: The same error can happen with only one, empty, SINE Player track.