imaginarion Posted January 17, 2020 Report Share Posted January 17, 2020 Hello, guys! I need to change the function of the main encoder. I want the actions that occur when clicking on the encoder or with the encoder pressed, to perform another button. Is it possible? Regards, Pavel Quote Link to comment Share on other sites More sharing options...
TK. Posted January 17, 2020 Report Share Posted January 17, 2020 Hi Pavel, yes, this should be possible. In cs_menu_buttons.inc you've to define a new CS_MENU_BUTTON function, and program what you need. It has to be registered as a DIN_ENTRY in your setup_*.asm file Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
imaginarion Posted January 17, 2020 Author Report Share Posted January 17, 2020 (edited) Thorsten, thank you very much! Can you help me please ? I I bought sid from the previous owner and I do not have a strong skill for programming functions. I can read some of them in an inc file, but I lack knowledge. Now, if I press the red button, I’m going to the potentiometer assignment menu. I want to swap the function of pressing the encoder and pressing the red button. //I attached photos + files * asm and * inc if you have time.. https://drive.google.com/open?id=1OEeq3Xrfej7e_Voh2S405GJ03cNuVZ9Y Regards, Pavel Edited January 17, 2020 by imaginarion Quote Link to comment Share on other sites More sharing options...
imaginarion Posted January 21, 2020 Author Report Share Posted January 21, 2020 Which function is responsible for switching to the menu where i can assign functions to 5 potentiometers ? Regards, Pavel Quote Link to comment Share on other sites More sharing options...
TK. Posted January 26, 2020 Report Share Posted January 26, 2020 I can't access the files, could you please attach them to this posting? On 21.1.2020 at 0:33 PM, imaginarion said: Which function is responsible for switching to the menu where i can assign functions to 5 potentiometers ? I guess you mean CS_MENU_BUTTON_Knob Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
imaginarion Posted January 27, 2020 Author Report Share Posted January 27, 2020 (edited) Yes, of course! My config setup_6581 and functions setup_6581.asm cs_menu_buttons.inc Edited January 27, 2020 by imaginarion Quote Link to comment Share on other sites More sharing options...
imaginarion Posted January 27, 2020 Author Report Share Posted January 27, 2020 (edited) I solved the problem - it was necessary to swap the pin, CS_MENU_BUTTON_Exec with CS_MENU_BUTTON_Knob Now I have a different problem. I can’t understand why, when I spin the potentiometers that I assign to any parameters, the numbers on the display are updated once a second? For example, I assigned the 1st potentiometer to the filter cutoff frequency parameter. I play and rotate this potentiometer, I hear changes in sound synchronously with rotation, and the numbers on the display are updated once a second Thank you very much Pavel Edited January 27, 2020 by imaginarion Quote Link to comment Share on other sites More sharing options...
TK. Posted January 27, 2020 Report Share Posted January 27, 2020 Hi Pavel, the display could be immediately updated by adding following statement after "call CS_MENU_MS_SendKnob" in main.inc: bsf CS_STAT, CS_STAT_DISPLAY_UPDATE_REQ Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
imaginarion Posted January 28, 2020 Author Report Share Posted January 28, 2020 Thorsten, thank you very much! Now my sid working excellent! Best Regards, Pavel Quote Link to comment Share on other sites More sharing options...
imaginarion Posted January 31, 2020 Author Report Share Posted January 31, 2020 (edited) Hello again ! I come back with 3 questions )) My potentiomenets working perfectly, display updating very fast, but if i want to drive mod wheel on my midi keyboard, i have slow update again. Which function are responsible ? 2. For example, i assign on pot 1 volume. K#1 = volume. What i can do, that K#1-#5 automatically change header drom K#1 to parameter name ? 3. The internal sequencer does not play sounds smoothly. Ok, I understand that there is micro swing and it’s impossible to do exactly on the grid. But often what’s playing from the sid and what I hear in DAW - it's more like a very drunk dj. Is it feature ? Best Regards Pavel Edited February 1, 2020 by imaginarion Quote Link to comment Share on other sites More sharing options...
TK. Posted February 2, 2020 Report Share Posted February 2, 2020 Hi Pavel, to 1 and 2: add bsf CS_STAT, CS_STAT_DISPLAY_UPDATE_REQ under SID_KNOB_SetValue in sid_knob.inc To 3: MBSID has a pretty stable timing. I guess that you notice up to 30 mS lags due to the "well known" SID ADSR bug? See also http://www.ucapps.de/midibox_sid_manual_l.html and search for "ABW" There are two solutions: either set Attack/Decay/Release to 0, or enable the ADSR Bug Workaround (which will add a constant delay which has to be compensated in your DAW Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
imaginarion Posted February 2, 2020 Author Report Share Posted February 2, 2020 Thorsten, your support is fantastic! Thank you ! Another question, please: when i switch off SID, he dont memorized last preset. Is it amenable to adjustment? Best Regards, Pavel Quote Link to comment Share on other sites More sharing options...
jjonas Posted February 3, 2020 Report Share Posted February 3, 2020 If you want to change the code to effect this, I cannot help, but the patch that comes up after power-on is saved with the emsemble. Quote Link to comment Share on other sites More sharing options...
imaginarion Posted February 3, 2020 Author Report Share Posted February 3, 2020 I want that the patch that I last modified before power down, to start the next time it is power on. Quote Link to comment Share on other sites More sharing options...
imaginarion Posted February 6, 2020 Author Report Share Posted February 6, 2020 (edited) Hello! Now the rotation of the modulation wheel is correctly. But the headers of the assigned pots do not inherit the names of the parameters to which we assighn them. Its looking like this now: SID_KNOB_SetValue bsf CS_STAT, CS_STAT_DISPLAY_UPDATE_REQ SET_BSR SID_BASE movwf SID_KNOB_NUM, BANKED ; will be needed again later rcall SID_KNOB_GetPtr Best reagards Pavel Edited February 6, 2020 by imaginarion Quote Link to comment Share on other sites More sharing options...
TK. Posted February 9, 2020 Report Share Posted February 9, 2020 On 2.2.2020 at 11:03 PM, imaginarion said: Another question, please: when i switch off SID, he dont memorized last preset. Is it amenable to adjustment? This isn't possible (and firmware changes in this direction are not recommended): the only permanent storage is an EEPROM, and it 1) has limited write cycles and 2) causes some delay during write operations. On 6.2.2020 at 11:06 AM, imaginarion said: SID_KNOB_SetValue bsf CS_STAT, CS_STAT_DISPLAY_UPDATE_REQ SET_BSR SID_BASE movwf SID_KNOB_NUM, BANKED ; will be needed again later rcall SID_KNOB_GetPtr Are you using a 2x20 or 4x20 display? Parameter names are only displayed on a 4x20 LCD If this is the case, add: #if DEFAULT_LCD_LINES >= 3 ;; request printing label call CS_MENU_UpdateLabel #endif Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
imaginarion Posted February 10, 2020 Author Report Share Posted February 10, 2020 I have 2x20 display. When i switch to bass engine, i see presets for Knob's - Attack, delay, sustain, release... Ok, Thorsten, thank you very much! Best regards, Pavel Quote Link to comment Share on other sites More sharing options...
imaginarion Posted February 25, 2020 Author Report Share Posted February 25, 2020 (edited) Good day, Thorsten! Do you know, why the volume of SID getting down obout 5 dB, when activate filter section ? Best regards, Pavel Edited February 25, 2020 by imaginarion 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.