
dizzu
Members-
Posts
23 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Blogs
Gallery
Everything posted by dizzu
-
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 -
just built midibox64... how to connect with ableton?...
dizzu replied to dizzu's topic in MIDIbox HUIs
Ok will test and let you know. Thanks -
Built core, wired lcd, burnt and flashed, uploaded midi64, wired some buttons all seem working great. Now i'd like to test with ableton live 6, what should I select as a controller?? I tried mackie but nothing happened. Is there any file I should upload to the core, or any settings I should do... pls help Thanks
-
yes, that works perfectly. I am now trying to use rs232 ltc module. I installed roland driver. But mios not showing anything. Any settings?
-
Is there anyway I can use the LTC module with rs232 of PC in MIOS studio? My gameport is either not working, or giving big probs.
-
No I don't have the cable for the audigy. I tried using midi out only of midi core but never received an upload request alone. Only like this now; 00000000063074 ms | [FC] Stop 00000000063075 ms | [80 00 00] Channel 1: Note Off C-1 velocity: 0 00000000072091 ms | [FD] Undefined 00000000072098 ms | [A0 40 00] Channel 1: Aftertouch E4 pressure: 0 00000000074292 ms | [A0 0E 14] Channel 1: Aftertouch D0 pressure: 20 00000000074293 ms | [FC] Stop 00000000080339 ms | [FB] Continue 00000000074294 ms | [bF 01 00] Channel 16: CC Modulation Wheel value: 0 00000000080339 ms | [A0 00 40] Channel 1: Aftertouch C-1 pressure: 64 00000000102148 ms | [FF] System Reset 00000000102153 ms | [A0 7F 40] Channel 1: Aftertouch G9 pressure: 64 00000000102154 ms | [FF] System Reset 00000000104044 ms | [FF] System Reset 00000000102153 ms | [A0 00 0A] Channel 1: Aftertouch C-1 pressure: 10 00000000104049 ms | [90 68 28] Channel 1: Note On G#7 velocity: 40 00000000104050 ms | [E8 00 00] Channel 9: Pitch Bend value: 0 00000000104052 ms | [A0 01 05] Channel 1: Aftertouch C#-1 pressure: 5 00000000105945 ms | [FF] System Reset 00000000105947 ms | [87 78 40] Channel 8: Note Off C9 velocity: 64 00000000105965 ms | [87 68 28] Channel 8: Note Off G#7 velocity: 40 00000000105966 ms | [E8 00 00] Channel 9: Pitch Bend value: 0 00000000105967 ms | [bF 00 00] Channel 16: CC Bank Select value: 0 00000000105968 ms | [A0 0A 78] Channel 1: Aftertouch A#-1 pressure: 120 00000000107862 ms | [F8] Timing clock 00000000107861 ms | [E8 00 00] Channel 9: Pitch Bend value: 0 00000000107863 ms | [E8 7E 40] Channel 9: Pitch Bend value: 8318 00000000107863 ms | [E8 00 0F] Channel 9: Pitch Bend value: 1920 00000000107880 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000107881 ms | [80 0E 14] Channel 1: Note Off D0 velocity: 20 00000000107882 ms | [FC] Stop 00000000107883 ms | [bF 00 00] Channel 16: CC Bank Select value: 0 00000000107884 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000109776 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000109777 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000109779 ms | [87 01 00] Channel 8: Note Off C#-1 velocity: 0 00000000109797 ms | [80 0E 1C] Channel 1: Note Off D0 velocity: 28 00000000109799 ms | [FF] System Reset 00000000111693 ms | [A0 1F 1F] Channel 1: Aftertouch G1 pressure: 31 00000000111694 ms | [A0 30 00] Channel 1: Aftertouch C3 pressure: 0 00000000111694 ms | [90 00 00] Channel 1: Note On C-1 velocity: 0 00000000111695 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000111695 ms | [80 7E 40] Channel 1: Note Off F#9 velocity: 64 00000000111713 ms | [80 00 0F] Channel 1: Note Off C-1 velocity: 15 00000000111713 ms | [A1 00 00] Channel 2: Aftertouch C-1 pressure: 0 00000000111714 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000111715 ms | [FF] System Reset 00000000111715 ms | [80 3E 20] Channel 1: Note Off D4 velocity: 32 00000000111733 ms | [80 20 01] Channel 1: Note Off G#1 velocity: 1 00000000111734 ms | [80 00 00] Channel 1: Note Off C-1 velocity: 0 00000000113625 ms | [FF] System Reset 00000000111734 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000113628 ms | [A0 00 0F] Channel 1: Aftertouch C-1 pressure: 15 00000000113629 ms | [A0 0B 01] Channel 1: Aftertouch B-1 pressure: 1 It happens like this all the time; quite strange is that when I put an led on midi out of core it flashes every 2 sec. I will test a midi cable soon as I said in my last post. Any idea from where I can buy the AUD_EXT cable/adaptor for audigy? Thanks
-
I tried on batt, AC psu, DC 12V, DC 18V... same probs. I also tried shorter cable and thicker. My prob is not power, I think it's either the midi cable or the PC!!!. Cause I tried 2 soundcards Audigy and MPU 401. Exactly same probs. I am wiring midi out directly through a 220R into midi in and vice versa. I am ordered a new midi in - midi out cable hopefully receiving it by end of this week. I will post results.
-
I never tried anything else with this gameport. Can it be cable length? I am using 1mtr 4 core shielded. I am using a separate PSU, I checked voltage and it is exactly 5Vdc.
-
I wired core 1:1 to gameport using an already programmed PIC 18f452. I set up sound card ( midi port shows as MPU 401 ). When I turn on the core very strange things are shown on MIOS studio; 00000000655621 ms | [FF] System Reset 00000000655622 ms | [FD] Undefined 00000000655622 ms | [FF] System Reset 00000000655622 ms | [FF] System Reset 00000000655623 ms | [FF] System Reset 00000000655631 ms | [FF] System Reset 00000000655631 ms | [FF] System Reset 00000000655632 ms | [EF 00 00] Channel 16: Pitch Bend value: 0 00000000655632 ms | [FF] System Reset 00000000655633 ms | [FF] System Reset 00000000655632 ms | [bD 7F 00] Channel 14: CC Poly Mode On value: 0 00000000655636 ms | [F2 01 01] Song Position: 129 00000000655638 ms | [bA 00 00] Channel 11: CC Bank Select value: 0 00000000655640 ms | [FF] System Reset 00000000655641 ms | [FF] System Reset 00000000655642 ms | [FF] System Reset 00000000655642 ms | [FF] System Reset 00000000655642 ms | [FF] System Reset 00000000655643 ms | [FF] System Reset 00000000655651 ms | [FF] System Reset 00000000655651 ms | [FF] System Reset 00000000655652 ms | [FF] System Reset 00000000655652 ms | [FF] System Reset 00000000655652 ms | [FF] System Reset 00000000655653 ms | [FF] System Reset 00000000655641 ms | [DF 00 00] Channel 16: Channel Pressure value: 0 00000000655653 ms | [FF] System Reset 00000000655653 ms | [DF 7C 00] Channel 16: Channel Pressure value: 124 00000000655657 ms | [C0 00 00] Channel 1: Program Change no: 0 00000000655657 ms | [80 00 00] Channel 1: Note Off C-1 velocity: 0 00000000655657 ms | [bF 00 00] Channel 16: CC Bank Select value: 0 00000000655658 ms | [A0 00 00] Channel 1: Aftertouch C-1 pressure: 0 00000000655658 ms | [80 01 F7] Channel 1: Note Off C#-1 velocity: 247 00000000657550 ms | [FF] System Reset 00000000657550 ms | [FF] System Reset 00000000657551 ms | [FD] Undefined 00000000657551 ms | [FD] Undefined 00000000657552 ms | [FF] System Reset 00000000657550 ms | [DF 01 00] Channel 16: Channel Pressure value: 1 00000000657555 ms | [DF 01 00] Channel 16: Channel Pressure value: 1 00000000657556 ms | [DF 05 00] Channel 16: Channel Pressure value: 5 00000000657556 ms | [FD] Undefined 00000000657560 ms | [FF] System Reset 00000000657560 ms | [FD] Undefined 00000000657560 ms | [FF] System Reset 00000000657561 ms | [FF] System Reset 00000000657561 ms | [FF] System Reset 00000000657569 ms | [FF] System Reset 00000000657570 ms | [FF] System Reset 00000000657570 ms | [EF 00 00] Channel 16: Pitch Bend value: 0 00000000657571 ms | [FF] System Reset 00000000657571 ms | [FF] System Reset 00000000657571 ms | [bD 7F 01] Channel 14: CC Poly Mode On value: 1 00000000657576 ms | [bD 01 39] Channel 14: CC Modulation Wheel value: 57 00000000657576 ms | [bD 7F 0A] Channel 14: CC Poly Mode On value: 10 00000000657577 ms | [bA 00 00] Channel 11: CC Bank Select value: 0 00000000658256 ms | [FF] System Reset Once in a while I get Sysex message: F0 00 00 7E 40 00 01 F7, but this is very rare. I checked all voltages, installed another new PIC that I programmed myself but still nothing. Also when I connect test led with midi pins it flickers every 2 seconds. I tried uploading MIOS but still nothing is working. PLEASE HELP