xoooox Posted October 10, 2006 Report Share Posted October 10, 2006 Hello,i have download this software:ActivePerl-5.8.8.819-MSWin32-x86-267479.msigputils-0.13.4-1.exesdcc-2.6.0-setup.exeand:MIOSStudio_beta7_4.jarsdcc_skeleton_v1_9a.zipWhen i make the main.c (skeleton example file) the SDCC create a project.hex :)I load this file in MIOS Studio (MIOS Hex File Upload 1 -> Hex File)When i press the start button, in the Midi monitor Out write: ???timestamp [unknown] | Sysex message: F0 00 00 7E 40 00 02 0C 00 00 20 43 7B 63 1F 04 37 5E 19 78 24 7D 71 4F 42 45 6F 0C 7C 14 3E 78 67 61 29 77 46 3E 0E 2F 3C 33 70 7A 3B 63 1F 06 57 5E 19 78 37 3D 71 4F 40 07 6F 0D 3C 19 5E 78 67 61 47 77 46 3E 0A 7F 3C 33 70 5D 3B 63 1F 04 03 5E 19 78 20 3D 71 4F 42 05 6F 0C 7C 10 3E 78 67 61 54 77 46 3E 0D 1F 3C 33 70 42 3B 63 1F 04 17 5E 19 78 21 5D 71 4F 40 24 00 00 00 02 20 00 00 00 12 00 00 00 01 10 00 00 00 09 00 00 00 00 48 00 00 00 04 40 00 00 00 24 00 00 00 1F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 78 20 F7Is correct this condition ? ???You can help me for send the "C note" ON and OFF (for example) ? 8)Thanksxoooox Quote Link to comment Share on other sites More sharing options...
bill Posted October 10, 2006 Report Share Posted October 10, 2006 // NOTE ON MIOS_MIDI_TxBufferPut(0x90); // Note Event at channel #1 MIOS_MIDI_TxBufferPut(48); // Note number (0..127) MIOS_MIDI_TxBufferPut(0x7f); // Velocity = (0..127)// NOTE OFF MIOS_MIDI_TxBufferPut(0x90); // Note Event at channel #1 MIOS_MIDI_TxBufferPut(48); // Note number (0..127) MIOS_MIDI_TxBufferPut(0x00); // Velocity = (0..127) Quote Link to comment Share on other sites More sharing options...
xoooox Posted October 10, 2006 Author Report Share Posted October 10, 2006 Hi,if i write "MIOS_MIDI_TxBufferPut... (NOTE ON)" in the function "Init(void)" and press Start Button (MIOS Hex File Upload)In the "Midi monitor out" is alike at previous post (Posted on: Today at 09:18) :'(Why ??? :-[Where i error ? :-\Thanksxoooox Quote Link to comment Share on other sites More sharing options...
audiocommander Posted October 10, 2006 Report Share Posted October 10, 2006 Hello xoooox,it is quite normal, that you see your program when you upload it.I mean, I'm no binary talking computer, but this looks like a small MIOS-application.Now wait until MIOS restarts the box and your Init() function should be processed.If not, then check if you're uploading the right file.Maybe connect also an LCD. With MIOS_Print_...() you can see what's going on and don't have to peek in the Midi Monitor.If you're looking for more examples, see this page:http://www.ucapps.de/mios_c.html(scroll down to the bottom of this page and you'll find a bunch of C-Examples!)regards,AC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.