You are not logged in.

#1 2025-07-07 08:21:11

jebez
Member
From: France
Registered: 2025-01-15
Posts: 165

[SO]Route the MIDI output of a video game to the input of a VST plugin

I googled "route midi video game to vst", I only found that https://www.vdrums.com/forum/performanc … into-a-vst ...

The video game: EDuke32 https://aur.archlinux.org/packages/eduke32 with the data /home/username/.config/eduke32/duke3d.grp , Duke Nukem 3D has MIDI musics.
VSTHost https://www.hermannseib.com/english/vsthost.htm , https://www.hermannseib.com/programs/vsthostx64.zip .
Roland Sound Canvas VA MIDI VST plugin https://archive.org/download/roland-sound-canvas-va , Sound Canvas VA v1.1.6 (64-bit).7z , Setup SOUND Canvas VA v1.1.6.exe (Official: https://www.roland.com/us/products/rc_sound_canvas_va/ ), installed via Steam, Proton Experimental.

I wanna:
route the MIDI output of EDuke32 to the MIDI input of VSTHost with Sound Canvas VA (on Steam, Proton Experimental), playing the MIDI musics of Duke Nukem 3D.

I did:

sudo modprobe snd-virmidi
SDL_VIDEODRIVER=x11 eduke32

OPTIONS, SOUND SETUP, DEVICE CONFIGURATION, MIDI DRIVER: ALSA MIDI, APPLY CHANGES, back to SOUND SETUP
Steam, PLAY vsthost.exe
Devices, MIDI..., MIDI Input Devices, EDuke32 - output, OK
File, New Plugin..., C:\Program Files\Steinberg\VSTPlugins\Roland VS\SOUNDS Canvas VA.dll, Open
DEVICE CONFIGURATION, DEVICE: WINE ALSA INPUT, APPLY CHANGES

But it not works, no MIDI music played...

On Windows 11 it's worst: no MIDI DRIVER: "something MIDI" nor EDuke32 - output...

Last edited by jebez (2025-07-11 15:58:19)

Offline

#2 2025-07-07 10:56:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,361

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

Please provide details of your sound setup.

Does your sound hardware have a hw midi synthesizer or are you using a software midi synthesizer ?

Are you using pipewire, pulseaudio, jack , pure alsa , none of the above ?

Is there a hardware DAW in your setup ?

Last edited by Lone_Wolf (2025-07-07 10:59:02)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2025-07-07 15:44:16

jebez
Member
From: France
Registered: 2025-01-15
Posts: 165

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

Isn't clear?

Hardware:
a PC (see my signature, my config)

Softwares:
EDuke32 with the data /home/username/.config/eduke32/duke3d.grp
Steam with Proton Experimental
Roland Sound Canvas VA MIDI VST plugin
VSTHost (a VST plugin host...)

As my signature I'm on Arch Linux KDE, KDE uses PipeWire.

Last edited by jebez (2025-07-07 19:59:02)

Offline

#4 2025-07-07 15:53:07

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,684

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

Isn't clear?

No because it doesn't say if you have configured your Arch system to play midi files. All the links you mentioned are for Windows.
https://wiki.archlinux.org/title/MIDI

Offline

#5 2025-07-07 16:01:04

jebez
Member
From: France
Registered: 2025-01-15
Posts: 165

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

d_fajardo wrote:

No because it doesn't say if you have configured your Arch system to play midi files.

Oof, Roland Sound Canvas VA MIDI VST plugin ???

https://github.com/ValveSoftware/Proton ...

Offline

#6 2025-07-07 19:19:52

unixman
Member
Registered: 2015-03-12
Posts: 181

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

Why use ancient windows craps on linux side via emulator(wine)?
there is midi players/converters/libs in the repo.
Cant you done same job with native apps by other means?

Offline

#7 2025-07-07 21:15:45

jebez
Member
From: France
Registered: 2025-01-15
Posts: 165

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

Offline

#8 2025-07-11 15:57:40

jebez
Member
From: France
Registered: 2025-01-15
Posts: 165

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

Done! See https://www.rncbc.org/drupal/node/2805 .

Nice the limited title, I can't add [SOLVED]...

Last edited by jebez (2025-07-11 15:59:13)

Offline

#9 2025-07-12 10:11:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,361

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

Your title has 2 instances of 'the' and 2 of 'a' . Removing those will decrease the title length with 16 characters.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2025-07-12 11:32:53

jebez
Member
From: France
Registered: 2025-01-15
Posts: 165

Re: [SO]Route the MIDI output of a video game to the input of a VST plugin

LMFAO, or why not remove that limit?

Play a .mid file by Sound Canvas VA:

Roland Sound Canvas VA MIDI VST plugin https://archive.org/download/roland-sound-canvas-va , Sound Canvas VA v1.1.6 (64-bit).7z , Setup SOUND Canvas VA v1.1.6.exe (Official: https://www.roland.com/us/products/rc_sound_canvas_va/ ), installed via Steam, Proton Experimental.
Qtractor https://archlinux.org/packages/extra/x86_64/qtractor/
yabridge https://archlinux.org/packages/multilib … /yabridge/
yabridgectl https://archlinux.org/packages/multilib … bridgectl/

Qtractor, View, Buses..., Master - MIDI bus, Output Plugins, Add..., SOUND Canvas VA, OK
Track, Import Tracks, MIDI..., a .mid file

I recommend:
the window of SOUND Canvas VA, All, right arrow for SC-55.

It works like a charm for my .mid files, e.g.
https://www.vgmpf.com/Wiki/index.php/DX-Ball_(W32) , https://www.vgmpf.com/Wiki/images/6/68/ … W32%29.zip .

yabridge using Proton instead of Wine https://github.com/robbert-vdh/yabridge … 3057161320
Route the MIDI output of a video game to the input of a VST plugin https://www.rncbc.org/drupal/comment/11 … ment-11876
Trying Audacity https://forum.audacityteam.org/t/mid-fi … ork/144539
The default Windows MIDI soundfont C:\Windows\System32\drivers\gm.dls on Linux https://musical-artifacts.com/artifacts/713 .

Last edited by jebez (2025-07-18 07:14:33)

Offline

Board footer

Powered by FluxBB