Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: DUNA project. Add-on: Controlling Winamp via Midibox...

  1. #1

    DUNA project. Add-on: Controlling Winamp via Midibox...

    Hello M-I Friends!!! time to build a big one...

    ...Who works with A/V editing and mixing knows how annoying is to do it only with the mouse and keyboard. For a long time I've been trying to find a more professional solution for this type of application, the problem is that the digital mixers were and still are too expensive, so i knew the Emagics's MIDI controller : The
    Logic Control, which allows to 'talk' with the Logic Audio software in completely independent way of the mouse and keyboard, leaving them just for
    common tasks such as typing a text or select another application.
    Although it's quite attractive (both in price and in functionality), Logic Control still seemed too industry standard for me - You must agree that Modding it's a kind of 'curse' (for our luck), once modder, you won't never use things without turn it unique.
    I realize that to mod the Logic Control wouldn't be enough for me when I knew the famous DIY work of the brilliant German electronics engineer, Mr. Thorsten Klose: the So I decide to go beyond the modding, and create my own controller.

    Thorsten created a main circuit based on PIC called Core module) and some peripheral circuits. He also created an operating system all written in assembler to control the whole system, thus defining the MBHP (Midibox Hardware Platform) and MIOS (Midibox Operational System).

    The software architecture consists in 3 layers: Bootloader, the MIOS and the Application layer (where anyone can develop applications for that platform and upload them without the need to burn the PIC again, all by MIDI Sysex).

    With Midibox you can create synthesizers, mixing controllers, DJ controllers, etc .... you just must to get (or write) the perfect application, and the use of peripheral circuits best possible way.

    The main peripheral circuits (modules) of the hardware platform are: DIN (Digital Input), DOUT (Digital Output), AIN (Analog Input) , AOUT
    (Analog Output), MF
    (Motor Faders), SID
    (based on the famous sound chip of the Commodore 64), among others.

    To my luck, when I knew the Midibox
    , Thorsten had already created the LC
    application. The LC
    application is nothing more, nothing less than the emulator of the Logic Control
    , emulating 100% of the functionality of this protocol, really fantastic!

    For the LC application would be necessary, the Core module
    (the heart and brain of Midibox
    ) and some IN/OUT modules, they are:

    4 DIN modules (allowing implement 96 on/off switches and 9 rotary encoders)
    3 DOUT modules (allowing implement 96 leds and 12 more 7-segment displays)
    1 MF module (allowing implement 8 motor faders)
    1 Dot matrix LCD or two alpha LCDs

    That would be the classic vision of the LC
    implementing 100% of the features of Logic Control
    So when I decided to start it, my enthusiastic roots led me to a direction which I would not just create the controller, but an entire station with integrated hardware, watercooler, storage, etc. .... so came the Duna project

    In this version (Duna Classic
    ) I will implement the Logic Control
    standard (with 8 motor faders), but for the ModTV
    I reserve the Extreme version that will be equipped with 24 motor faders

    Being completely open source (both in schematics and software, including the MIOS and the bootloader) I had three options to start it:

    1 – Get the schematics, build the pcb from scratch in accordance with my needs;
    2 – Get the Eagle files and erode the plates at home;
    3 - Buy the PCBs;

    My decision was quick: 2 years ago, I would get the option 1! Few months ago I would be with the option 2, but now, married, working like a horse, the option 3 seemed the most plausible.
    So I bought all the little PCB from the website of the famous MidiBox guru and very very nice guy, Mr. Tim Allis aka SmashTV.

    It was a good deal, I got all the PCBS and the components, which in the end, were much cheaper than in Brazil.
    Note that in the three options above, I still would have to weld all the components…..guaranteed fun

    Ok, enough blah…let’s go to the project:

    Some elements of the Duna


    Many PCBs to weld:

    Several components (you must like it!! ^^ ):

    Faders, Encoders and Knobs:

    ALPS's Motor Fader (60mm) with knob:

    Encoders with knob:

    Blue SMD 7-seg displat (tiny):

    Let's assembly the Core
    module:" alt="" />

    SmashTV doesn't save resources! stylized label on PIC! :thumb:


    I Decided to use 2 alpha displays instead 1 dot matrix (because the layout, you will understand forward)

    Note that I will use VFD instead LCD, Noritake ensures that this model is a Drop In Replacement for LCD, in other words, no changes in the app (code), only noting correct wiring.

    Soldering pin headers:

    Making the cable:

    Let's turn it on:

    Ops....something worj!! the MIOS shows the 'Ready' when starts, but note the weird spacing between the characters:
    dibox/thumb/duna_midibox028.jpg" alt="" />

    The first thing I thought was 'Let update everything', both the bootload and the MIOS (SmashTV's PIC came with the version 1.9e, so I downloaded the 1.9f).

    To update the booloader you need to burn PIC with the PIC burner:

    Ok, Bootloader loaded, time to put the PIC back in the Core module and update the MIOS via SysEX (to do it I uses a Midibox win32 application called MIOS Studio):

    Roating my sound board with the Core module:

    Ok, MIOS loaded:

    Nothing, I used the MIOS LCD tool, to write the phrase 'Testing MIDIBOX' and still showing wierd spacing. Ok, It isn't a update problem, let's try another way:

    Reading the App Notes of the display, i noticed that it has a special init sequence:

    So I decided to change the MIOS's LCD driver, in a way which I could change this sequence. I used my old and good MPLABS e changed the sequence like this:

    movlw 260 ; 260 ms delay
    call MIOS_Delay

    movlw 0x38 ; select 8-bit interface
    rcall MIOS_CLCD_Cmd

    movlw 0x38 ; select 8-bit interface again
    rcall MIOS_CLCD_Cmd

    movlw 0x02 ; brightness 50%
    rcall MIOS_CLCD_Data

    movlw 0x08 ; Display Off
    rcall MIOS_CLCD_Cmd

    movlw 0x01 ; Clear Display
    call MIOS_CLCD_Cmd

    movlw 2 ; 2 ms delay
    call MIOS_Delay

    movlw 0x0c ; Display On
    rcall MIOS_CLCD_Cmd

    movlw 0x06 ; Entry Mode
    rcall MIOS_CLCD_Cmd

    Compiled, uploaded the modified MIOS via MIOS Studio, and nothing, still the same problem.

    In that point, I created a thread in the Midibox forums, and been attending its chat, where I 'knew' the Masters Midiboxer who helped me to solve this mistery.
    Well, summarizing the story, we discovered that the 'bridge' which I made I made to facilitate the connection between the two VFD's with the Core was causing the problem. It looks like the VFD didn't like this bridge, so, goodbye!!:

    Re-made the cabe without the bridge and......worked perfectly:


    Uploaded a LCD benchmark from Midibox tools page, according to the thread which shows many LCD benchmarks, this VFD is very fast...good!

    Time to turn on the two displays. Crimping tool really saves time (IDC connectors.....arghhh)

    Ok, the Core module is ready to 'talk' with the Logic Audio:

    Let's load the LC app via MIOS Studio (fingers crossed):

    ohhh, Hello LC protocol!!!!!

    When you starts the Logic Audio, it automatically Recognises the Core módule as a genuine Logic Control, really really nice!

    Already show the track names:

    When you mark a track to record it blinks 'R' in the relative position of the track:

    Track name changing, Instantly:

    Any msgbox on Logic Audio, it shows on the display:

    Song position, no delay:

    Some videos:

    Changing PAN:[/video]]

    Changing track name:[/video]]

    Song position:[/video]]


    What's next: DIN modules, to control 96 switches and 9 rotary encoders.... :wink:

  2. #2

    DUNA project. Add-on: Controlling Winamp via Midibox...

    Cool! I'd like to learn more about electrical engineering; I'll put it on my list.

  3. #3
    Master Modder
    Join Date
    Mar 2006

    DUNA project. Add-on: Controlling Winamp via Midibox...

    WOW, this is going to be awesome, I can't wait to see what the finished product is going to look like. Thanks for sharing with us and Happy Modding to ya.

  4. #4

    DUNA project. Add-on: Controlling Winamp via Midibox...

    This is going to be cool!!

  5. #5
    Wet Sanded XcaliburFX's Avatar
    Join Date
    Oct 2007
    Ga ... U.S.A.

    DUNA project. Add-on: Controlling Winamp via Midibox...

    This wil be an interesting build to say the least. And I can say without a doubt, it will take more brains than I have available. lol

  6. #6
    Master Modder
    Join Date
    Nov 2006

    DUNA project. Add-on: Controlling Winamp via Midibox...

    ooooo i wana keep and eye on dis hehe!

  7. #7

    DUNA project. Add-on: Controlling Winamp via Midibox...

    brightshininglights, em3bilko, Americanfreak, XcaliburFX, razer121: Thanks a lot you guys for the posts!!!


    Assembled the four input modules (DIN) and did some tests...

    Really love SIL!

    Ok, one done:

    Same work X 4!!


    Ok....'Little DIN train'...!! 96 switches + 8 rotary encoders, it you can call multiplexing!!

    I made a line of 8 switches and been shifting between the modules to test each funcionality:

    Some videos of the DIN modules working :

    Selecting tracks:[/video]]


    Track volume to Pan:[/video]]

    Next step... DOUT modules!

    See ya guys!!! :wink:

  8. #8
    Master Modder
    Join Date
    Mar 2006

    DUNA project. Add-on: Controlling Winamp via Midibox...

    This is going to be so awesome when you get it finished. I'll be hear waiting and watching. Happy Modding to ya.

  9. #9

    DUNA project. Add-on: Controlling Winamp via Midibox...

    wow... eventhough i don't quite get it for now i sure will understand what is this after you finish this one!!!


  10. #10

    DUNA project. Add-on: Controlling Winamp via Midibox...

    em3bilko and bluepencil: Thank you guys!!!!

    A little this video you can see the Rotary Encoder
    in action, Panning a track:[/video]]

    The last DIN module allows to conect 8 Rotary Encorders for track params (Pan, EQ, etc...) and 1 for Jogwheel.


Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Something what a G15/Winamp user MUST HAVE!!
    By Dex in forum Talk Freely
    Replies: 4
    Last Post: 02-18-2007, 05:22 AM
    By Guests in forum General Modding Talk
    Replies: 45
    Last Post: 02-11-2007, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts