
dizzu
Members-
Posts
23 -
Joined
-
Last visited
Never
About dizzu
- Birthday 01/01/1
Profile Information
-
Gender
Not Telling
dizzu's Achievements

MIDIbox Newbie (1/4)
0
Reputation
-
Yes I am reading some tutorials now. I am testing notes from midi keyboard on MIOS Studio. Till now only with velocity I managed to trigger led's. I ask a question; My final project is to build a 12 core system all with different addresses (electronic pyro firing system), so that I can use/write a software that will send specified notes from a cue list so that I turn on for ex: led 13 on core address 6; at least that's what I intend to do. Do you think midi is the way, or is there a more reliable protocol? Thanks
-
My DOUT is wired to core J8, correct? tried evnt0, evnt1, evnt2 but all i can get is velocity to trigger led's This code turns ON led 0 and OFF // a note event provides 128 different note values (0..127) // in this simple example, each note sets an individual pin // for DOUT pin numbers, see also this documentation: // http://www.ucapps.de/mios/mios_pin_list.txt if( evnt0 == 0x80 || evnt0 == 0x90 ) { // 90 xx 00 is the same like a note off event! // (-> http://www.borg.com/~jglatt/tech/midispec.htm) if( evnt0 == 0x80 || evnt2 == 0x00 ) { // Note Off MIOS_DOUT_PinSet0(evnt0); } else { // Note On MIOS_DOUT_PinSet1(evnt0); } } } and this turns ON but never OFF the corresponding led with velocity... // Note Off MIOS_DOUT_PinSet0(evnt2); } else { // Note On MIOS_DOUT_PinSet1(evnt2);
-
THANKS stryd_one... I got something working at last!!!!! Now the led's are following the velocity setting. Now I need to set them to turn off and not stay ON. I will do as you're suggesting and read more in detail. Somehow my final project is to connect 12 cores with 128leds each at a distance between them so that I could fire a show. You think that's possible? THANKS, thanks
-
When trying to code this ' Controlling 128 LEDs VIA midi ' example ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS after startup to initialize the // application ///////////////////////////////////////////////////////////////////////////// void Init(void) __wparam { // set shift register update frequency MIOS_SRIO_UpdateFrqSet(1); // ms // only one DOUTX4 module is connected // the maximum value is 16 (-> 128 digital outputs) MIOS_SRIO_NumberSet(16); } ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a complete MIDI event has been received ///////////////////////////////////////////////////////////////////////////// void MPROC_NotifyReceivedEvnt( unsigned char evnt0, unsigned char evnt1, unsigned char evnt2) __wparam { // a note event provides 128 different note values (0..127) // in this simple example, each note sets an individual pin // for DOUT pin numbers, see also this documentation: // http://www.ucapps.de/mios/mios_pin_list.txt if( evnt0 == 0x80 || evnt0 == 0x90 ) { // 90 xx 00 is the same like a note off event! // (-> http://www.borg.com/~jglatt/tech/midispec.htm) if( evnt0 == 0x80 || evnt2 == 0x00 ) { // Note Off MIOS_DOUT_PinSet(pin, 0); } else { // Note On MIOS_DOUT_PinSet(pin, 1); } } } I get main.c:83: error 20: Undefined identifier 'pin' main.c:83: error 20: Undefined identifier 'pin' main.c:88: error 20: Undefined identifier 'pin' main.c:88: error 20: Undefined identifier 'pin' Thanks
-
When I program this line MIOS_DOUT_PinSet(pin, 0); exactly as in the programming example it gives an error when compiling. Is the programming example incomplete? or am I missing something? I will try to modify ain64_din128_dout128 as someone posted in this thread [tt]http://www.midibox.org/forum/index.php?topic=5034.15[/tt] Will let you know Thanks
-
sorry about posting.. i deleted it. Yes I already tried hardcoding before like this // Note Off MIOS_DOUT_PinSet(2, 0); } else { // Note On MIOS_DOUT_PinSet(2, 1); It works when I send a midi note, turns on led 3 and off straightaway. I am sending midi notes from the keyboard on MIOS studio, that's ok to test?
-
not working............ now no led's light if( evnt0 == 0x80 || evnt0 == 0x90 ) { // 90 xx 00 is the same like a note off event! // (-> http://www.borg.com/~jglatt/tech/midispec.htm) if( evnt0 == 0x80 || evnt2 == 0x00 ) { // Note Off MIOS_DOUT_PinSet(evnt1, 0); } else { // Note On MIOS_DOUT_PinSet(evnt1, 1); No idea how or what's happening :-(
-
most probably i need to write code for each led to correspond to each note. Still got no idea haw to do it, but will try. Thanks
-
thanks, working nearly as i want it but.... I wrote the following; ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS after startup to initialize the // application ///////////////////////////////////////////////////////////////////////////// void Init(void) __wparam { // set shift register update frequency MIOS_SRIO_UpdateFrqSet(1); // ms // only one DOUTX4 module is connected // the maximum value is 16 (-> 128 digital outputs) MIOS_SRIO_NumberSet(16); } ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a complete MIDI event has been received ///////////////////////////////////////////////////////////////////////////// void MPROC_NotifyReceivedEvnt( unsigned char evnt0, unsigned char evnt1, unsigned char evnt2, unsigned char pin, unsigned char value) __wparam { // a note event provides 128 different note values (0..127) // in this simple example, each note sets an individual pin // for DOUT pin numbers, see also this documentation: // http://www.ucapps.de/mios/mios_pin_list.txt if( evnt0 == 0x80 || evnt0 == 0x90 ) { // 90 xx 00 is the same like a note off event! // (-> http://www.borg.com/~jglatt/tech/midispec.htm) if( evnt0 == 0x80 || evnt2 == 0x00 ) { // Note Off MIOS_DOUT_PinSet(pin, 0); } else { // Note On MIOS_DOUT_PinSet(pin, 1); } } } and every note I send I get the same first led to light only. Can I modify the code so that each led corresponds to a different note? Thanks
-
How should i program the leds so that for each different midi note coming from the pc a different led lights? I have 128 leds connected to core. I tested ain64_din128_dout128 and works fine, so I would like to do the same from the pc now Basically i want to build a software ( hope that I find one free :-) ), to trigger an led according to outputs selected, from 0-127 Thanks a lot
-
pyromusical... possible to daisy chain 12 or more cores?; at what distance?
dizzu replied to dizzu's topic in MIDIbox HUIs
So, that's great. I assume that the modules needs to be preprogrammed and cannot be done from lcd, right? Also is there a way that I can monitor the outputs if shorted to ground from the pc? Which software is ideal to address and output? thankx -
pyromusical... possible to daisy chain 12 or more cores?; at what distance?
dizzu replied to dizzu's topic in MIDIbox HUIs
Can I connect 12 cores with a different address each. I am under the impression that the max is 8 cores. Am i right? What about the coregraphy software? Thanks -
I am working on something slightly different from what a midibox is supposed to do. I am building a firing system that will be able to trigger several outputs at different times all operated from a PC over a long distance. This will trigger a max of 1000+ outputs in 12 different locations. (12 cores daisy chained, max 128 o/p each core) I would like to know what is the max distance possible between one core and another, or if it can be converted to rs485. I am also looking for a software that will be able to program firing cues and output midi notes at programmed times to trigger outputs. A long time ago I met something similar on the net, with the only difference that it was a musical fountain. Thanks a lot
-
just built midibox64... how to connect with ableton?...
dizzu replied to dizzu's topic in MIDIbox HUIs
Thanks -
just built midibox64... how to connect with ableton?...
dizzu replied to dizzu's topic in MIDIbox HUIs
seems that all is working fine... even with ableton. Another question; Can I connect 64 knobs/faders, 64 buttons and 28 leds on 1 core??? Thanks