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.
FMX labelled as a Effect module?
- NightRadio
- Site Admin
- Posts: 3955
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: FMX labelled as a Effect module?
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.
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.
Re: FMX labelled as a Effect module?
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.
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.