Jump to content

totoRaymond

Members
  • Posts

    52
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by totoRaymond

  1. Hi,

    Actually no, the command should be something like:

     

    LCD "@(1:1:1)LFO Freq %3d"


    but i think it would then display the value sent when script session is called, there might be a way to display another value, but i dont' know how.

     

    Alternatively you could use the TRIGGER EVENT function. It should update the display according to your EVENT label settings but also send the associated MIDI message.

     

    Bests,

     

    Thomas

  2. On 3/14/2022 at 1:23 PM, Therezin said:

    That looks the business, well done.

    What's the deal with the upside-down monitor?

    Hi Therezin,

     

    I mounted the monitor upside-down because of the viewing angle.

    This specific monitor has been designed to be looked at from above. It's actually pretty good from around 10° to 90°, but from 95° to 180°, the visibility is very bad. Therefore i had to reverse it so when i seat behind my desk, i'm in the good range.

    Let me know if this explanation is not clear enough, it's pretty hard to describe in a foreign language.

     

    Thomas

     

    • Like 1
  3. So 16 banks in total, right?

    I'll will try something...

     

    After a bit of head scratching and a few glasses of rhums, here you go:


     

    first the .ngc :
    
    EVENT_BUTTON id= 1  type= Meta meta= DecBank meta= RunSection:1 button_mode= OnOnly   #Bank decrease
    EVENT_BUTTON id= 2  type= Meta meta= IncBank meta= RunSection:1 button_mode= OnOnly   #Bank increase
    
    EVENT_LED id= 1 range= 1:1 radio_group= 1 #bank1
    
    EVENT_LED id= 2 range= 2:2 radio_group= 1 #bank2
    
    EVENT_LED id= 3 range= 3:3 radio_group= 1 #bank3
    
    EVENT_LED id= 4 range= 4:4 radio_group= 4 #bank4

     

    now for the .ngr :
     

    ####### Section 0 #######
    
      if ^section == 0
    
        log "running section0"
    
        #initialize all banks to 1
    
        log "call bank 1 for all parameters"
        set ^bank 1
    
    
        exit
      endif
    #########################
    
    
    ########## Section 1 ###########
      #tests for the current bank and lights the corresponding LED
    
    
      if ^section == 1
        if ^bank == 1
          log "bank 1 selected"
          set LED:1 1
          
        elseif ^bank == 2
          log "bank 2 selected"
          set LED:2 2
          
        elseif ^bank == 3
          log "bank 3 selected"
          set LED:3 3
          
        elseif ^bank == 4
          log "bank 4 selected"
          set LED:4 4
          
        endif
        exit
      endif
    ################################

     

    I hope it works for you, at least, it behaves as wanted here.

     

     

     

    • Like 1
  4. 3 minutes ago, ssp said:

    Can you have more than one meta event mapped to a button press at the same time?

    yes, as many as you need, until you reach the 1000 maximum character for a single line. then you can use .ngr script, EVENT_SENDER or EVENT_anything really to trigger even more things.

    • Like 1
  5. Hi ssp,

     

    Two things:

    First, you need to change the id of the second controller:
     

    # Bank 1
    EVENT_AINSER id=1 hw_id =1 bank=1 fwd_to_lcd=1 type=CC chn=1 cc=16 range=0:127 offset=0 lcd_pos=2:1:1 label="FDR1 #%3i %3d@(2:1:2)%B"
    
    #Bank 2
    EVENT_AINSER id=1001 hw_id =1 bank=2 fwd_to_lcd=1 type=CC chn=1 cc=17 range=0:127 offset=0 lcd_pos=2:1:1 label="FDR2 #%3i %3d@(2:1:2)%B"

    Otherwise, Midibox might get confused, all EVENT_xxx must have a unique id. Unless they are of different types.

    for example you can have EVENT_LED id=1 and EVENT_AINSER id=1

     

    Second:

    To light an led for each bank you need the button that sets the bank to forward info to the respective LED.

    for example:
     

    # select Bank1 directly
    EVENT_BUTTON id=1 fwd_id= LED:1 type=Meta meta=SetBank button_mode=OnOnly range=1:1
    
    # select Bank2 directly
    EVENT_BUTTON id=2 fwd_id= LED:2 type=Meta meta=SetBank button_mode=OnOnly range=2:2
    
    #LEDS EVENTS
    
    EVENT_LED id= 1 range= 1:1 radio_group= 1
    
    EVENT_LED id= 2 range= 2:2 radio_group=1 

     

    The radio group makes sure only one LED turns on I also put the switches in the same radio_group on my config, but i'm not certain it's mandatory.

    now, i didn't use cycle_bank, inc_bank or dec_bank

     

    but you can take a look at those examples config to see if you find something interesting:

    https://github.com/midibox/mios32/tree/master/apps/controllers/midibox_ng_v1/cfg/tests

     

    And also, i found usefull to add

     

    #initialize all banks to 1
    
        log "call bank 1 for all parameters"
        set ^bank 1

     

    to the section 0 of my .ngr script. this ensure that all parameters are set to bank 1 at startup.

     

    • Like 1
  6. Hi everyone!

    Quick update here.

     

    I finally finished my controller and installed it in my small control-room. Here it is.

     

    Console_in_place.resized.thumb.jpg.67e49965407f3fbbac4d812786d2bc03.jpg

     

    close-up.resized.thumb.jpg.c438af2d23545b59d7da18691f382c2e.jpg

     

    I really like the way it turned out, i'm working with it since 2 weeks now, and it's a real bonus to the ergonomics.

    It still have room for improvements but that was expected and i will continue to work on it in the next future.

     

    I'd like to thank everyone on this forum who helped me build this and a BIG thanks to TK and all the midibox team. Without this place I would have never been able to even start this project.

     

    Cheers,

     

    Thomas

    • Like 1
  7. Lemur does listen to port 8000 and only port 8000.

     

    8001 is used for Lemur to communicate with offline editor.

     

    Making network connections work reliably can sometimes be quite quircky.

    My instance of Lemur is hosted on a Odroid XU4 running Lineage OS, therefore no wifi but ethernet. The ethernet driver must have problems since whenever i try to configure a static Ip address, my odroid lose its network connection after a couple reboots. :shock:

    I ended up setting a permanent DHCP, but i need to remember that every time my ISP annoys me enough for me to change.:angry:

     

    Well, glad you got your config back together and working. :cheers:

     

    Cheers,

     

    Thomas

  8. 7 minutes ago, ssp said:

    Yes i understand the "bank" setup and hw id's, it was just finding an example of setting up the fader on j5a as the only other time i have used it is with an ainser64 and i dont need one of those right now.  sat going through the ngc info again to see whats what, there is so much missing info wise that was never added along with the solution to having multiple ssd1306 but it still refers to j28 on the lpc pcb and nothing for the stfm pcbs. it would be good to get some of these updated as others have had to edit mios rather than configuring the ngc which is easier for users.

    I feel what you say.

    Documentation on the midibox NG is sometimes wonky (some description are wrong case wise, I've lost nights chasing case sensitive statements) but the software is so good....

     

    I'd like to be able to correct things on the documentation sometimes.... or just add comments so people after resolve same problems faster.

     

    still, MidiBox is an awesome project. It deserves to be supported by a lot more people. I'd like to become part of the team though i don't feel worthy of it.

     

    Cheers,

    Thomas

     

  9. Hi ssp,

     

    I never used it but yes, it seems that if you connect a fader or pot to J5A, you need to use AIN statement first to describe the physical thing.

     

    then use EVENT_AIN to describe the behavior of said event.

    If you'll use bank on that parameter, you need to use different "id" for each bank but they should all refer to the same "hw_id"

     

    I hope it's clear enough, sometimes i find it difficult to explain such things in human language. (plus english is not my mother tongue)

     

    Cheers,

     

    Thomas

  10. Hi again,

     

    If you're thinking about 2 buttons, then there is the "meta= IncBank" and "meta= DecBank"  options. having the effect of increasing bank and decreasing bank respectively.

     

    AND (i just checked the manual), you can also specify the hw_id on which you want to change bank with "meta= IncBankOfHwId" and "meta= DecBankOfHwId" options.

    advantage being:  i doesn't change ALL parameters banks but only the specified ones (you can specify any number of hw_id)

     

    Hope this helps.

     

    Thomas

     

  11. Hi,

     

    About your LCDs, i was going to advise to check your voltages, too much of a voltage drop on a long run can give weird behaviours, especially on proto boards.

    But anyway, you figured that out.

     

    About your second question, there are multiple ways of achieving this. What is it you really want? One single button to cycle through a number of banks?

    You can use meta= CycleBank for that. i didn't use it myself, so you might want to make some tests.

     

    But basically, you have multiple events, with unique ids, but same hw_id, and unique bank#.

    you button should be set to event= Meta meta= CycleBank mode= OnOnly i guess

     

    This should get you started. but be aware that this will cycle the bank for ALL parameters with bank ids available.

     

    Thomas

  12. HI Everyone,

    Just a quick update, it's been a while since last one but Covid plus a child got in the way :rolleyes:.

    I also had to rebuild my CNC router from scratch last winter in order to make the front panels.

     

    So, the front panels are slowly getting done, and i can finally add thing to the mock-up chassis i made a year ago. (Pictures attached)

     

    I hope all the front panels will be finished next week so i'll be able to start debugging the config files.

     

    I also still need to find a way to properly label my buttons caps.

     

    Cheers,

     

    Thomas

     

     

     

    20210910_084821.resized.jpg

    20210910_084842.resized.jpg

  13. HI!

    It's time for a quick update!

    I'm in the process of building the console frame right now. Mostly because 90% of the pcb assemblies are done and because i need a way to wire everything together without becoming too messy (I fried 2 stm32 Discovery so far due to bad wiring).

    So I assembled a model today and it came out great!

    20200914_165514.resized.thumb.jpg.3f6de120200914_165442.resized.thumb.jpg.6f209b

     

    I'm really pleased with the dimensions and the sloping of the frame right now, but some dimensions are too tight to fit everything together, so i'll have to redo everything (thankfully it's made out of scrap wood).

    To give an idea of the finished console, the bottom will hold 24 faders on the left plus a master section (transport, jog, switches, surround panner) on the right.

    the middle will be 24 encoders plus Oleds, and a few switches.

    and the top will be a 19" 4U Rack on the left, a 15" Touchscreen on the centre, and 12 Encoders plus monitoring controls on the right.

     

    Cheers,

    Thomas

    • Like 1
  14. Hi,

    I don't think the built in fonts have special characters available.

     

    I remember reading a thread about creating you're own custom fonts, but it involved recompiling the MB_NG firmware.

     

    Search the forum, you light be lucky :happy:

     

    Thomas

     

    Edit: I found it! it was in the wiki page:

    http://wiki.midibox.org/doku.php?id=how_to_create_custom_glcd_fonts_icons_bars_for_midibox_ng

     

  15. Hi,

     

    Yes, you can chain up to 4 of these boards together. You need to change the #id of at least one of the controllers to be able to use them with MIOS studio.

    I've not done it myself everything is ecplained in this thread:

    You should read the whole thread, it's full of good info on how to setup the board properly.

     

    Are you using a core module to interface with the MF_NG? Or do you want to connect them directly to the computer?

     

    Cheers,

     

    Thomas

  16. HI Zeke and thanks for the advice!

    I'm building a DAW controller, basically i'll emulate 3 Mackie Control Units plus a "generic remote" to control Nuendo. In the end, i hope to get 25 faders plus a bunch of stuff (including a touch screen with a lemur patch). I reported my progress in this thread (not updated very often though) :

    Right now i have only fader attached to the board. The wiring with this board is a bit of a mess so i'm currently making a new pcb with one connector for each fader to keep things tidy.

    I'll definitely try with 8 faders connected, but in the near future i have to build a prototype enclosure (made of MDF i have lying around) so i can start to assemble everything properly (and stop killing board with shorted wires).

    All the fine tuning will be done once I gathered all the parts.

     

    Cheers,

    Thomas

×
×
  • Create New...