FMX labelled as a Effect module?

Multi-platform modular music creation studio
Post Reply
maks
Posts: 43
Joined: Sat Mar 26, 2022 4:28 am

FMX labelled as a Effect module?

Post by maks »

Hi,
I was trying to filter lists of "instrument" modules from effects using libsunvox with the default sunvox file and using _sunvox.sv_get_module_flags() and checking for SV_MODULE_FLAG_EFFECT seemed to be working but then I noticed that the FMX module has the flag set.

@NightRadio is that intentional or just a bug in the current version of libsunvox or maybe I'm not doing this the correct way?
Any guidance would be most appreciated.
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: FMX labelled as a Effect module?

Post by NightRadio »

Hi!
SV_MODULE_FLAG_EFFECT means that the module has both input and audio for the sound.
FMX uses the sound input port for the "Input -> ..." controllers
In this case, we need additional flags to correctly classify the module. I will try to add this in the update.
maks
Posts: 43
Joined: Sat Mar 26, 2022 4:28 am

Re: FMX labelled as a Effect module?

Post by maks »

Ah right, thanks! Yes that makes sense.
For now I've just hardcoded a work around, but having more flags for this in the next update would be great! Thanks again @NightRadio!

I'll try to do a small demo soon of the project I'm working on at the moment where I'm using libsunvox.
Post Reply