Lexicon PCM80/81 Remote Control For ipad

Discussion in 'The Rack Space' started by ctreitzell, Jan 27, 2019.

  1. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    uh...yeah...23 years in Europe so far:thud
    honeymoon is deffo over!
    I sure am looking forward to visiting NorCal this autumn, tho!
     
  2. uraniumwilly

    uraniumwilly Member

    Messages:
    580
    Joined:
    May 26, 2016
    Location:
    Berkeley
    Oh wow, 23 years. Not to derail your thread but you witnessed a culinary revolution in the UK. Now it's respectable. But 23 years ago? :omg
     
  3. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    yeah, Mexican was the hardest to find back then. EVERYTHING used to have extra vinegar...that don't work for Mexican food IMO...as you know being in NorCal

    we started making our own refried beans back then and that is something we still do

    plus, compare food in the UK to France? OMG, everything in France tastes significantly better...kinda like the difference between Cali and Texas...literally worlds apart
     
    Not Orange likes this.
  4. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    sorry, man, all of May got completely derailed for me:facepalm
    I will PM you and get you the spreadsheet before the end of this week
     
  5. Not Orange

    Not Orange Supporting Member

    Messages:
    1,423
    Joined:
    Jul 25, 2016
    No hurry, I've got lots of other projects keeping me busy. :)
     
    ctreitzell likes this.
  6. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    OK, yeah, I've just got my feet back under the desk on this thing.

    That spreadsheet needs a lot of work...or does it... all algos' sysex on one page:confused:

    My first order of bidness is to figure out named ticks in MDP2 so values of control match PCM value
    ...which is where I left off end of feb

    let me know if you really want this spreadsheet, yo :)
     
    Not Orange likes this.
  7. Not Orange

    Not Orange Supporting Member

    Messages:
    1,423
    Joined:
    Jul 25, 2016
    Yes please.
     
  8. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    OK, so I am back at this PCM81 ipad remote after much previous distraction.
    I have found a way that others can contribute so the work could be divvied up if anyone is willing and able.
    I don't see how we could we on the UI together without being MDP2 coders with the SDK.

    What needs doing which would speed up the process:
    creating text documents of Named Ticks for Midi Designer Pro 2.
    This is easy, but very tedious!
    LFO Shape is easy, 5 ticks...piece of cake...done!
    LFO Rate otoh is 2500 Ticks :-/ I have started on this with 250 ticks at a 10th the resolution (native is 0.01Hz per ADJUST encoder notch).

    Delay Times are very high Tick count; the highest being M-Band+Rvb algorithm with a whopping 43690 Ticks! I don't know what kind of a memory hit on ipads loading the remote would be until I get something made up.
    I have started working on documenting Named Ticks parameter ranges and units, and this will take some serious time...unless someone here has already done it and is willing to share :)

    First port of call might be determining the needed different Numbers of Ticks. This is essentially the number in the "Max Value" column of the each algorithm in the Midi Implementation Details charts. Units, though, is a different matter and needs to confirmed.

    If anyone wants to read up on MDP2 Named Ticks have look at the end of this chapter in the User Manual.

    So, my plan of action is to start with a Universal remote control that which will work with all algorithms and grow the remote(s) from there.
    Sadly, only 16 parameters have identical SysEx IDs for all algos:
    Control Row:
    Mix
    Mod Row:
    LFO Rate
    LFO Shape
    LFO PW
    LFO Depth
    AR Env Attack
    AR Env Release
    AR Env Mode
    Env L Release
    Env R Release
    SW 1 Mode
    SW 1 Rate
    SW 1 P Width
    SW 2 Mode
    SW 2 Rate
    SW 2 P Width
     
    Not Orange, GadgetUK and teofilrocks like this.
  9. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    I don't think the PCM81 will chase the MIDI input unless the display is already set to view the parameter being controlled.
    Even if the PCM will chase the data input; maybe that is best not displayed as it could bring the unit to a grinding halt.
    It certainly would be nice for development and programming, though!
     
  10. teofilrocks

    teofilrocks Supporting Member

    Messages:
    3,121
    Joined:
    Oct 21, 2012
    Location:
    CT
    I'd like to help if possible. What formatting/naming are you looking for? Yea, units is kind of an important part to have determined up front as well.
     
    ctreitzell likes this.
  11. teofilrocks

    teofilrocks Supporting Member

    Messages:
    3,121
    Joined:
    Oct 21, 2012
    Location:
    CT
    Actually, not hard to do at all. Took me maybe 2 minutes to do 2,500 values for LFO Rate. Just using Excel, custom format, and Series Fill. Export to CSV and find/replace all commas with spaces. :D
     
    Not Orange and ctreitzell like this.
  12. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    cool, there's one :)

    my experiments this morning failed...
    wellllll, didn't fail completely
    a certain section of fader throw is working correctly
    I have a system for getting data in and out
    Listener and ipad bluetooth working simultaneously thanks to the UFX+

    when I figure it out exactly, I'll ask for the exact format.

    essentially, MDP2 Named Ticks are 3 column text separated by spaces
    col1 is midi number
    col2 is display number
    col3 is Named Tick (designated by a preceding "\" )

    "display" number only goes from -99 to 999 in MDP2...which is likely one of the problems.
    MDP2 appears to convert decimal numbers to SysEx hex easily, which is great.
    Named Tick is optional and if tied to the display value that might be throwing me.
    "Display" value can be omitted, I shall try that next...I think I have my MIDI values wrong
    which I realize now after writing this.

    MDP2 documentation isn't the best, IMHO (sorry Dan :hide)...takes some experimentation
    also, certain other MDP2 settings will rewrite the named ticks, which can be frustrating

    the units I refer to are from PCM... Hz, ms, cents, % etc
    which is more for display purposes; still, users are going to want to see the units of params displayed
    and those units need to be on the named ticks doc/ code to display
     
  13. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    indeed, how about the named ticks? I used a concatenate formula to append the units to the named tick "values". I was not able to retain the trailing zeroes converting number cell format to text format without a cheat.
    also, yes, there are ways to export text docs from excel. I didn't want to get hung up with more excel stuff at this point...trying to get MDP2 to send correct values before creating a workflow in excel.
     
  14. teofilrocks

    teofilrocks Supporting Member

    Messages:
    3,121
    Joined:
    Oct 21, 2012
    Location:
    CT
    I just use a custom number format for the Label row to add the suffix I want. For example:
    Code:
    0"Hz"
    After I add the second row values, I use the Series Fill and tell Excel how many rows to auto-fill. Say, 2,500. The result looks like this, as a plain txt file:
    Code:
    0 0 0Hz
    1 1 1Hz
    2 2 2Hz
    3 3 3Hz
    4 4 4Hz
    5 5 5Hz
    6 6 6Hz
    7 7 7Hz
    8 8 8Hz
    9 9 9Hz
    10 10 10Hz
    ...
    
    Although, it seems like there is only 1,000 values to work with? (or 1,100 going from -99 to 999). So that will be interesting with delay times..
     
    Not Orange and ctreitzell like this.
  15. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    OK, cool, yes...easily accomplished

    PCM81 format for LFO Rate Hz is to the hundredth:
    0.00 Hz
    ...
    3.47 Hz
    ...
    13.80 Hz
    ...
    16.00 Hz

    looks crap without the trailing zeroes, IMO
    that's why we need the units

    Dude, if you tackle these big value ranges, that would be exceptional =-D
     
  16. teofilrocks

    teofilrocks Supporting Member

    Messages:
    3,121
    Joined:
    Oct 21, 2012
    Location:
    CT
    Sure, I'll take a swing. Looks like I'll have to divide the 2,500 value range for LFO Rate into a 1,000 value range. Correct? And if I set all Display Values to 0, it will remain blank and you can just go by the labels.
     
    ctreitzell likes this.
  17. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    I think the Display column should be omitted rather than blanks

    it's just copy>paste columns no?

    Did you get MDP2 yet?
     
  18. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    Again, I was unable to retain trailing zeros in excel with number formatted cells
    I could only retain the trailing zeroes as text format
    I read about others having the same problem

    my cheat was to add a "0" to my concatenate...as text:
    simple as "0 Hz"
    except for x.00 which needed ".00 Hz"

    also, realize, my test case to do 250 Named Ticks (divide by 10) where every Tick ended in a "0"
     
    Last edited: Jun 12, 2019
  19. ctreitzell

    ctreitzell Member

    Messages:
    1,219
    Joined:
    Oct 26, 2017
    Location:
    France/ UK
    ugh, yeah...my test isn't working

    If I leave out the Display column, and use midi values for every 10 midi values, ie:
    0
    10
    20
    30
    40
    50
    60
    thru to...2500

    MDP2 creates Display values
    0
    1
    2
    3
    4
    5
    6
    thru to...251

    Sysex listening doesn't look right either :-/
     
  20. teofilrocks

    teofilrocks Supporting Member

    Messages:
    3,121
    Joined:
    Oct 21, 2012
    Location:
    CT
    I'm not having that issue. Guess that's a good thing. I set it to Number, and adjust the decimal places. Carries through to plain text export.

    That's why I think setting Display Value to 0 might be better? That way you don't have conflicting values on the control screen: Display Value and Tick Label.
     
    ctreitzell likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice