nuke Posted June 6, 2009 Report Share Posted June 6, 2009 ...when i got 16 step as length for a track , i can set the copyrange with the outer encoders...but when i set the length to 32 steps, the outer right encoder changes the first step range rather than the last step...is this a feature or a bug? Quote Link to comment Share on other sites More sharing options...
TK. Posted June 6, 2009 Report Share Posted June 6, 2009 Works fine at my side (end of range can be changed with rightmost encoder if track length is 32) - so what is different at your side?Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
nuke Posted June 6, 2009 Author Report Share Posted June 6, 2009 mmm...strange...when i´m in 16 step length, the leftmost changes the start from the copyrange, the rightmost changes the end...when i change the track to 32...the leftmost and the rightmost both changes only the start... ???...something must be wrong...or i don´t get it... Quote Link to comment Share on other sites More sharing options...
TK. Posted June 7, 2009 Report Share Posted June 7, 2009 I'm not able to reproduce this, but looked into the code and found some fancy calculations to determine which encoder modifies the begin and end position of the range.It could make sense to add an additional check for the rightmost encoder as a workaround for unexpected states.Due to a holiday trip I'm not able to test the modifications - so, if you are able to build a .hex file, open src/cs_m_utils.inc, search for CS_M_UTILS_GP_Callback_Copy ;; change copy offset and copy marker to begin/end range depending on encoder which has been moved movf MIOS_PARAMETER1, W bz CS_M_UTILS_GP_Callback_CopyB[/code] and replace it by: [code]CS_M_UTILS_GP_Callback_Copy ;; change copy offset and copy marker to begin/end range depending on encoder which has been moved movf MIOS_PARAMETER1, W bz CS_M_UTILS_GP_Callback_CopyB xorlw 15 ; check for rightmost encoder (counted from zero): always modifies end position bz CS_M_UTILS_GP_Callback_CopyE movf MIOS_PARAMETER1, W ; back to original valueIf you are not able to build a .hex file by yourself, please wait for ca. 1 week.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
nuke Posted June 8, 2009 Author Report Share Posted June 8, 2009 wow...nice...thank u very much...this did the trick...dunno why it was like that, ´cause i didn´t change anything in the "cs_m_utils.inc" before...only added a few button assignments......now i got a few other Qs , but starting a new thread... ;) 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.