User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - ‘-1 means use Input field value’ »
Welcome, Guest. Please Login or Register.
May 3rd, 2025, 5:20pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   ‘-1 means use Input field value’
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: ‘-1 means use Input field value’  (Read 1107 times)
not2good2c
Member
**





   


Gender: male
Posts: 46
‘-1 means use Input field value’
« on: Aug 19th, 2002, 6:26pm »
Quote Quote Modify Modify

Try this map:
 
* NoteOn * *     1 111 | * * * *   10 127
* NoteOn * * 112 127 | * * * * 127  *
 
e.g. velocity 108 is mapped to 124 all right, but everything beginning from 112 remains the same… terrible.
 
This map works:
 
* NoteOn * *     1 111 | * * * *   10 127
* NoteOn * * 112 127 | * * * * 127 127
 
I’m beginning to understand that (maybe) the two values actually define the one value that you mean… in that case you should change the misleading line ‘-1 means use Input field value’ to ‘-1s mean use Input field value’.
 
[Later] Maybe that’s just as misleading actually… I’m almost certain that you can think out something better.
« Last Edit: Aug 20th, 2002, 9:36pm by not2good2c » IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: ‘-1 means use Input field value’
« Reply #1 on: Aug 21st, 2002, 6:57pm »
Quote Quote Modify Modify

I suppose I should not take anything for granted  Smiley  The Min and Max fields for a value function as a Pair: if one of them is set to -1 (*) then both of them need to be set to -1 (*).  Conversely, if one of them is associated  whith a real positive value, then the other one needs to be set to either the same value or another positive value (thus defining a range).  It just seemed obvious to me that it would work this way.
 
The situation you describe where the Min is set to 127 and the Max is set to -1, is not really an error, but the result is undefined.  At some point maybe this can make it into the help file.
« Last Edit: Aug 21st, 2002, 6:57pm by Jamie OConnell » IP Logged

--Jamie
Music is its own reward.

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.