Skip to content
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

Linux + WineHQ + yabrige -> no audio #392

Open
crasse2 opened this issue Jan 17, 2025 · 1 comment
Open

Linux + WineHQ + yabrige -> no audio #392

crasse2 opened this issue Jan 17, 2025 · 1 comment

Comments

@crasse2
Copy link

crasse2 commented Jan 17, 2025

Hi there !

I"m trying to use pedalboard in a jupyter notebook on Ubuntu 22.04 LTS

in order to load some vst3 from windows I installed WineHQ and yabridge, setted up everything.
I'm testing with Pigments from Arturia,
loading the standalone version with wine works almost perfectly (some vst GUI dropdown menus does not show correctly, it seems a displaying problem but that won't cause problem for what I intend to do)
the instrument works, make sound and so on.

However if I load it through pedalboard in a notebook, it loads correctly and shows up using the show_editor() function, but it doesn't produce any sound.
Same thing if I try to write an audio file with midi note to the instrument, the audio file is written, correct duration but no sound.

does somebody know if vst3 loaded in a notebook on Ubuntu (using wine + yabridge) should work ?

here is my code (working) :


expaudio_file = some_wav_path
vst_pigment = pigments_path.vst3

pigment = load_plugin(vst_pigment)
print(pigment.parameters.keys())
pigment.show_editor()
sample_rate = 44100

audio = pigment([Message("note_on", note=60), Message("note_off", note=60, time=5)], duration=5, sample_rate=sample_rate,)

with AudioFile(expaudio_file, "w", 44100, audio.shape[0]) as f:
    f.write(audio)

and the output log (without the parameters, it was for testing, and vst parameters are also correctly gathered.


13:28:59 [Pigments-GKWXbfor] [Wine STDERR] 02e8:fixme:ole:CoInitializeSecurity 0000000000000000, -1, 0000000000000000, 0000000000000000, 0, 3, 0000000000000000, 0, 0000000000000000 stub
13:28:59 [Pigments-GKWXbfor] [Wine STDERR] 02e8:fixme:wbemprox:client_security_SetBlanket 00006FFFF9100E80, 0000000021F371B0, 10, 0, (null), 3, 3, 0000000000000000, 0
13:28:59 [Pigments-GKWXbfor] [Wine STDERR] 02e8:fixme:wbemprox:client_security_Release 00006FFFF9100E80
@crasse2
Copy link
Author

crasse2 commented Jan 17, 2025

Hi ! re !

just to add that opening the vst3 in Reaper works (so the vst3 through yabridge + WineHQ set-up seems to work ok here)

EDIT : I tried another Synth (Dexed) and it works, it seems the problem come with Pigments somewhat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant