ModPlug Central

Community => General Chatter => Topic started by: inemuri1985 on December 28, 2014, 11:49:58

Title: mouse scroll for volume changes?
Post by: inemuri1985 on December 28, 2014, 11:49:58
hi there. why is it that in some instances i can change volume of notes by clicking the v , holding ctrl and scrolling. and in some instances i can not do this ?
Title: Re: mouse scroll for volume changes?
Post by: Saga Musix on December 28, 2014, 12:55:31
If the volume is shown with a semi-transparent color, it means that it's the default volume of the instrument and is just displayed for your convenience to know at which volume the note will be playing. There is, however, no actual volume command in the pattern data and thus it cannot be modified using data entry shortcuts. Might be possible to implement, though..
Title: Re: mouse scroll for volume changes?
Post by: inemuri1985 on December 28, 2014, 14:46:01
ok, i was able to do this with some of the sounds. adjusting volume on some but not all of the samples or instruments. is there a distinction between samples and instruments? when this works it is really convenient for "messing up" sequences

so i guess im wondering why some samples volume are not semi transparent and can be changed?  :)
Title: Re: mouse scroll for volume changes?
Post by: Saga Musix on December 28, 2014, 19:06:38
The differnce between semi-transparent volume commands and completely visible commands is, as said, that the semi-transparent ones are default sample volumes. You have to consider them to not actually exist in the pattern data (and in case it's confusing, they can be turned off in the settings). The ones that are not transparent are actual volume commands that override the default volume and which you have entered / recorded in the pattern.
Title: Re: mouse scroll for volume changes?
Post by: inemuri1985 on December 28, 2014, 20:08:49
ok i got it. but i also found out that once i had edited a volume parameter (by typing in values) in the pattern editor, i could afterwards edit the volume with ctrl and the mouse scroll. so it seems it was activated once i have edited it once.

if i turn off the semi transparent volume commands, will i be able to directly use the scroll function before manually typing values?

thanks for all the tips.
Title: Re: mouse scroll for volume changes?
Post by: Saga Musix on December 29, 2014, 19:27:36
Okay, you basically just asked the same question again, so let me try to rephrase the answer one more time:
Using the scroll wheel modifies the pattern data as-is. If there is a "1" in the pattern and you scroll up, it becomes a "2". If there is no command in the actual pattern data, nothing happens.
The semi-transparent volume commands are not actually there in the pattern, they just visualize the default volume of a sample to remember you of it. As such, they are not affected by the scroll wheel data entry. Whether that's logical or not, I'm not sure, but I will think about taking default volumes also into account when doing data entry that way.
Title: Re: mouse scroll for volume changes?
Post by: inemuri1985 on December 31, 2014, 07:39:18
lol. sorry about that. thanks for the help.

i dont know what is the most common thing for people to use in this column, but being able to use the scroll wheel to select either volume or effects in a highlighted area would be cool.
Title: Re: mouse scroll for volume changes?
Post by: Saga Musix on December 31, 2014, 13:45:43
Well, as said, that works without problems if there actually is a volume command - however, I have now changed the code so that it automatically inserts a volume command next to a note if there isn't one already. You may grab an updated build (http://buildbot.openmpt.org/builds/) and see how it works for you.
Title: Re: mouse scroll for volume changes?
Post by: inemuri1985 on January 01, 2015, 19:03:51
thats awesome ! thanks  ;D