Page 1 of 1

Finding Volume Level in Piano Roll

Posted: October 17th, 2019, 2:01 pm
by SGC
How can I find out the volume value of a note in Piano Roll without altering it?
If I click on the volume bar, its length changes so that its vertical length stops at the point where I clicked, and shows me that point's volume value. Too late to retrieve the original, it's gone!

Heisenberg rules OK!

SGC/.

Re: Finding Volume Level in Piano Roll

Posted: October 17th, 2019, 3:24 pm
by Mr_LMMS_user
It is not 100 % accurate but if you place your mouse pointer to the same height of the volume level and left click beside the volume level (not on it) you can get the approximate level number.

Re: Finding Volume Level in Piano Roll

Posted: October 17th, 2019, 8:33 pm
by Gps
SGC wrote:
October 17th, 2019, 2:01 pm
Heisenberg rules OK!

SGC/.
LMAO

No solution for this as far as I know though.

Re: Finding Volume Level in Piano Roll

Posted: October 18th, 2019, 1:40 pm
by musikbear
SGC wrote:
October 17th, 2019, 2:01 pm
How can I find out the volume value of a note in Piano Roll without altering it?
wellll... 8]
You need to go geek
If you know, that you wont be comfortable with reading code, then there is nothing to do
If code is ok, then you can do this:
  • Name the note-block you want to study. If you dont you wont find it..
  • Save project as MMP
  • Open MMP in a code-editor, you can use notepad, but it looks plain
  • Use the search file feature and find your named note-block
Then you have something like this:

Code: Select all

<pattern steps="16" muted="0" type="1" name="NamedTrack" pos="0" len="960">
          <note pan="0" key="50" vol="80" pos="0" len="48"/>
          <note pan="0" key="52" vol="100" pos="48" len="48"/>
          <note pan="0" key="54" vol="70" pos="888" len="48"/>
        </pattern>
The value you are looking for is vol
You can count your notes in lmms and then f.i. readout that 3. note in the block, has a vol value of 70

Dont alter anything unless you understand XML

Re: Finding Volume Level in Piano Roll

Posted: October 31st, 2019, 3:10 pm
by SGC
Thanks MusikBear, you are indeed the source of all knowledge.

I'm glad to say that i have no problem with reading code:- I wrote my first program in assembly - none of this fancy stuff of using meaningful (or semi-meaningful) words ;-) - in 1960, and have been programming in various languages and dialects ever since.

I successfully achieved my required objective using your method.

Thanks again
SGC/.

Re: Finding Volume Level in Piano Roll

Posted: November 1st, 2019, 3:03 pm
by musikbear
SGC wrote:
October 31st, 2019, 3:10 pm
have been programming in various languages and dialects ever since.
Interesting!
How would you like to join the devs of LMMS?
I always ask everyone that talks about code experiences to join the LMMS project, because we need coders!
Read all about how to join and participate here:
https://github.com/LMMS/lmms/wiki/Becoming-a-coder