• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About dreamgame

  • Rank
    MIDIbox Newbie
  1. HUI Protools Transport control

    Hello. First of all i am an spanish speaker with some knowledge of English, but is not one of my best abilities. Forgive me if i can express my self correcly in English. I will try to do my best.   I'm making a transport control for my studio, on where i use Protools 9 & 10. I want a little box with the Play, Record... controls.   Some time ago, i build my self one midibox LC, and with that experience in mind, Tryed to use with protools with no luck, because as you may know, Protools only likes HUI.   Searching a solution for this, founded another midibox project called mm, a motormix emulator that uses HUI, you can found here:    http://www.ucapps.de/mios/midibox_mm_v2_0e.zip   It seems that the forum topic of this old project, was deleted, because the link will take you to an error page.  http://midibox.org/forums/forum/index.php?topic=4839.0   Navigating throught the code, founded where i can change my setup. Only one Shift Register, no motor fader, no ring lights, no encoders. Easy to do on "main.h" file.   I also mapped the corrects ID to the first shift register on "mm_dio_table.c". But i am not getting nothing on the shift register. On my oscilloscope i can see the 8 bits the core is sending, eight 1's. And this byte never changes.    The protools is recognizing correctly the motormix because, is pinging back to all requests of ping that protools makes.    At the end of "main.h" file can found this piece of code: ///////////////////////////////////////////////////////////////////////////// // Global Types ///////////////////////////////////////////////////////////////////////////// // status of MM emulation typedef union { struct { unsigned ALL:8; }; struct { unsigned PRINT_POINTERS:1; // if set: pointers are displayed at second LCD line // if cleared: lower part of message is displayed at second LCD line unsigned LAYER_SEL:1; // if cleared: button/led layer 0 active // if set: button/led layer 1 active unsigned GPC_SEL:1; // if cleared: motormix emulation mode // if set: general purpose controller mode unsigned MSG_UPDATE_REQ:1; // if set, host/GPC message will be updated unsigned DISPLAY_INIT_REQ:1; // if set, the display will be completely initialized unsigned LED_UPDATE_REQ:1; // if set, the LEDs will be updated unsigned :1; unsigned :1; }; } mm_flags_t;  The comment of GPC_SEL:1;     Says if set: general purpose controller mode. And i think, i need motormix emulation mode wich says if cleared. If put a 0 there, won't compile. Maybe is not my primary problem, because that GPC_SEL declaration will be on another file. Where can i set motormix emulation mode?   Even tryed to upload the predompiled hex that goes in the zip. But without luck also. I can see on the scope 16 bytes, but they are always 1's. They don't change. The first shift register in the precompiled hex is mapped to ID_REC_READY_X. But they don't change when you press on the rec ready on the pro tools.   I am almost lost, because my knowledge in C is also limited, and i can't see where is the failure.   My goal is to make a HUI transport control, maybe is there another project better for my needs? I have the HUI protocol, but i don't even know where to start, moreover if i can make run a code that is already made. At least if i can make run a code that works, can try to modify things. But if i can't run the compiled code as it is on the zip package. I can't start to modify things inside, to fit my needs.   My circuit with a Lc firmware works like a charm with logic. But i can't make work with any HUI firmware available.   Can some one help me. Please.    
  2. Building a LC box. Some questions.

    Thank you for your reply. Can you post the dimensions of your lcds, or brand and model? And what separation are you using for the faders? I am looking this 2x 40 lcd. Datasheet Don't you think that is a bit long?
  3. Hello everybody, this is my first post, and i want to salute everybody. I am here reading for months, and looking the projects made by others. I am building an LC and i have some questions. I am doing one like the Axel's one, Axel in his design, use one 2 x 20 LCD for 4 channels. I want use 2 x 40 LCD like the D2K ones (because is 2 x 40, right?). The 2 x 40 LCD that i found is 154mm Width. With this width i can cover the eight channels, if each channel is 20mm 20 x 80 = 160mm. The lcd is a bit short, but i see on other pics, that other users, uses an lcd a little bit longer than 4 channels, and uses 2 2 x 40 lcd for the eight channels. Like this. http://midibox.org/forums/index.php?showtopic=2715 I am right? This LC is using 2 2x40 lcd? Any one can post dimensions from his screen? And the width of the channels separation? Im a little confused. Thank you. EDIT Lorcan wrote few months ago. Ok, i understand the better configuration is 2 2x40. How i can align the faders with the channel names? Do you refer that i need align the lcd in the code? I still dont know how is the better width separation for each channel, for two 2x40 LCD. LCD = 154 mm / 4 channels = 38.5 mm separation 4 cm fader separation for cover the whole LCD. Its a lot, and i don't see this separation on other LC boxes. Anyone can show me the light please.