xarolium Posted February 25, 2007 Report Share Posted February 25, 2007 HelloI would like to add velocity sensivity in this project: J5 Dout v1.3i want to set Pin 7 at 1 when the velocity is bigger than 100 on one of other pin to controle the accent in my rythm boxand set the Pin 7 at 0 when this note is offI think i must modifiy the prog in Main.inc but i don't know what i must addUSER_MPROC_NotifyFoundEvent ;; forward to J5_DOUT_PinSet function ;; it expects: number of pin (0-7) in WREG ;; value in MIOS_PARAMETER1 ;; store pin number movwf TMP1 ;; set the pin value depending on velocity: ;; - 0x00: set pin to 0V ;; - other values: set pin to 5V movf MIOS_PARAMETER3, W skpz movlw 0x01 movwf TMP2 ;; if the event was a note off event, zero value independent from velocity movf MIOS_PARAMETER1, W andlw 0xf0 xorlw 0x80 skpnz clrf TMP2Please can you help methank you Quote Link to comment Share on other sites More sharing options...
moxi Posted February 27, 2007 Report Share Posted February 27, 2007 ...maybe you have to ask your question in the "c programming" section... ;) Quote Link to comment Share on other sites More sharing options...
stryd_one Posted February 27, 2007 Report Share Posted February 27, 2007 Sorry mate... I have been meaning to reply to this ever since it hit RSS ... I thinx it's been sitting in a ficefox saved session over 5 reboots now hah....Answer coming soon, if nobody beats me to it ;) Quote Link to comment Share on other sites More sharing options...
Sebo Posted April 14, 2007 Report Share Posted April 14, 2007 Hi:I can't answer the question, but I was about to ask something similar.I'm building some drum modules too, and I was planing to trigger themwith the modified MIDIbox CV as stated here:http://www.midibox.org/dokuwiki/doku.php?id=how_to_use_midibox_cv_with_a_doutAs this configuration provides 32 triggers, I want to add more than oneaccent. At least 4, but could be one for every drum.My programming skills are very limited, so any help will be great.Thanks 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.