problem with MultiSynth module: transpose controller

Pixilang programming language
Post Reply
rototom
Posts: 24
Joined: Mon Mar 14, 2022 4:12 pm

problem with MultiSynth module: transpose controller

Post by rototom »

hi,
the MultiSynth module seems not to like controller 01 (transpose) messages?!
i send a range of 0 to 32768. to get the -128 0 128, but it does nothing.
when initialized it shows a value of 16384, which should translate to 0 transposition.
...
any idea? @nightradio?
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: problem with MultiSynth module: transpose controller

Post by NightRadio »

Hi!

Some controllers (like 01.Transpose) do not scale in the 0...0x8000 range for a pattern. See the value in brackets in SunVox. For the controller 01, the range is: 0...256 (128 is the center value, zero).

But seems the sv_get_module_ctl_value() has a bug in handling the "scaled" parameter. It must be ignored for the MultiSynth 01 ctl.
I will fix it in the next library update.
Now just use scaled=0 for this controller.
rototom
Posts: 24
Joined: Mon Mar 14, 2022 4:12 pm

Re: problem with MultiSynth module: transpose controller

Post by rototom »

thank you very much for your help.
now it's working.:)

btw. i still don't fully understand the module controller value range thing...
Post Reply