Jump to content

ganchan

Programmer
  • Posts

    473
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by ganchan

  1. wtf i'm so stupid ;D CS_MENU_BUTTON_Exec_NoStartup ;; activate/deactivate menu button function bcf CS_MENU_MODE, CS_MENU_MODE_MENU_PRESSED btfss MIOS_PARAMETER2, 0; if button is pressed bsf CS_MENU_MODE, CS_MENU_MODE_MENU_PRESSED ;;*************************************************************************** ;; ganchan's addon: new menu button functions combined with select buttons or main menu ;;*************************************************************************** ;; special condition if main menu displayed and menu button pressed, go to shif function btfsc CS_MENU, 7 goto CS_MENU_BUTTON_Shift ;;*************************************************************************** ;; do nothing if button has been depressed btfsc MIOS_PARAMETER2, 0 return CS_MENU_Exec ;; exit if SID not available btfss CS_STAT, CS_STAT_SID_AVAILABLE return ;; clear CS_SELECT_CTR (so that new message appears immediately) clrf CS_SELECT_CTR ;; clear refresh item counter --- ensures that the whole display will be refreshed clrf CS_MENU_REFRESH_ITEM_CTR ;;*************************************************************************** ;; ganchan's addon: comment this lines to avoid conflict with shift function on menu button ;;*************************************************************************** ;; exit if we are in main menu ;; btfsc CS_MENU, 7 ;; return ;;*************************************************************************** done. -edit- this way slow encoder movement don't work on shift (menu) pressed :-\
  2. +5v. the only pins are +5v, ground, Sc Sd.
  3. ;; -------------------------------------------------------------------------- ;; called by cs_menu_buttons.inc when the exec button has been pressed ;; -------------------------------------------------------------------------- CS_MENU_Exec ;; exit if SID not available btfss CS_STAT, CS_STAT_SID_AVAILABLE return ;; clear CS_SELECT_CTR (so that new message appears immediately) clrf CS_SELECT_CTR ;; clear refresh item counter --- ensures that the whole display will be refreshed clrf CS_MENU_REFRESH_ITEM_CTR ;; call shift function if we are in main menu (was: exit if we are in main menu) btfsc CS_MENU, 7 goto CS_MENU_BUTTON_Shift ;; execute function ;; calc pointer to function: CS_MENU_TABLES + (CS_MENU*CS_MENU_T_ENTRY_LEN) + CS_MENU_ENTRY_EXEC_OFFSET movlw CS_MENU_T_ENTRY_EXEC_OFFSET call CS_MENU_GetMenuTablesPtr goto MIOS_HLP_IndirectJump different code but same problem. don't return to main menu on button depressed. i think because of this in CS_MENU_BUTTON_Exec ;; do nothing if button has been depressed btfsc MIOS_PARAMETER2, 0 return this is not the right way. too many crossed problems through functions. encoder speed is setting in slow after 1 push. i think i can wrote a new exec function under cs_menu_exec.inc..
  4. well i think that i must modify CS_MENU_BUTTON_Exec inserting the code of CS_MENU_BUTTON_Shift or just recall the Shift function right? i must control that i am in the main menu first, something like btfsc CS_MENU, CS_MENU_MAIN goto CS_MENU_BUTTON_Shift and i must use an #if #endif. don't kill me for that horrible, i know there is something wrong about last significant bit -edit- ok ;; new: shif function activated on MENU button if MAIN MENU dispayed #if 2 movf CS_MENU_MAIN, W btfss CS_MENU, W goto CS_MENU_BUTTON_Shift #endif in this way the screen remain in SHIFT mode.. :-\
  5. thankyou for input, i'm trying to do this and understanding how can i do a toggle button to toggle my 3 new windows, but for me, i must say, it's not so simple. i had thought to do all by myself but i think a little help it's necessary.. :P i will paste my work at this point, to have some help :) tnx in advice. p.s. nILS i've read all your wiki obviously. all my code born from that ones! pp.ss. i think i must start from here and here
  6. i'm searching for.
  7. it's the fkn simbol of PADANIA, LUBARD', LEGA NORD.. the north of italy want became indipendent. they say, roma big thief, roma ladrona. instead the have the biggest evasion tax of entire EU states in ex, they have take their trash, and send to the south, for 40 years, paying camorra, mafia etc. they hate immigrations, but all them industries are full of them. yes friends, we are the spaghetti country, and i don't feel part of this state. except for girls.. and food.
  8. t/relivig/sion
  9. i've good source for quite all parts but are sellers all over the world. PM me if you are interested.
  10. yes, tk, you means, select the Pa1 with select button, and it jump to the full text windows? it work fine too. another little question, i know on changing patch the system it's reinitialize, so all sequences stop. than you need to send a note on event to start the sequences of new patch. since i've not a seq, i would play bassline alone, receiving only midi sync/clock from a master (my friends powerbook) and start the sequences from the select button. it would be possible? i've see that sequences start on clock start from midi master on SID CLK master, slave and auto too. -edit- CS_MENU_BUTTON_Exec ;; new: play note/start sequencer function if SID buttons are pressed" i think this is the function that i means. but i haven't SID buttons, so i must code it to another button :) -edit- CS_MENU_MS_PlayNote that's it! tnx G.
  11. the man of the nothing. the country of the nothing.
  12. yes it's useful just for that menu that required a change in window during setup, using the menu encoder, not during playing.
  13. yes! perfect it work!.. thankyou. this is because i don't know nothing about programming.. i know stupid question. ;; -------------------------------------------------------------------------- ;; This function returns the CS_MENU_x_xxx ID depending on selected engine ;; -------------------------------------------------------------------------- CS_MENU_GetMenuID_OSC movlw 0*4 rgoto CS_MENU_GetMenuID_Cont CS_MENU_GetMenuID_FIL movlw 1*4 rgoto CS_MENU_GetMenuID_Cont CS_MENU_GetMenuID_LFO movlw 2*4 rgoto CS_MENU_GetMenuID_Cont CS_MENU_GetMenuID_ENV movlw 3*4 rgoto CS_MENU_GetMenuID_Cont CS_MENU_GetMenuID_MOD movlw 4*4 rgoto CS_MENU_GetMenuID_Cont CS_MENU_GetMenuID_KNB movlw 5*4 rgoto CS_MENU_GetMenuID_Cont CS_MENU_GetMenuID_SAV movlw 6*4 rgoto CS_MENU_GetMenuID_Cont CS_MENU_GetMenuID_GNC movlw 7*4 ;; rgoto CS_MENU_GetMenuID_Cont nILS, in your tutorial layering the ui this step it's not present. i think it would be useful for people like me, that cook better than programming. ;) tnx
  14. i've make my own menu GNC, just in BassLine Menu, at the end, after SAV. (just 1 for test, soon will be 3 or 6 toggled by 1 button) it work fine, and i've change the "jump to menu" encoder movement to my own menu page ..ok. now i'm trying layering this page but during make it say: Symbol not previously defined (CS_MENU_GetMenuID_GNC). cs_menu_button.inc CS_MENU_BUTTON_Layer ;; do nothing if button has been depressed btfsc MIOS_PARAMETER2, 0 return call CS_MENU_GetMenuID_GNC ; goto GNC menu page goto CS_MENU_BUTTON_Hlp_MenuChange movlw 0x00 ; put 0 (layer number) in the WREG movwf CS_MENU_LAYER ; write it into the variable return It do not recognize my menu that is in cs_menu_tables.inc cs_menu_table.inc CS_MENU_TABLES_IDS ;; lead bassline drum multi db CS_MENU_ROOT, CS_MENU_B_GNC, CS_MENU_ROOT, CS_MENU_ROOT CS_MENU_TABLES_B ;; pointer to table par. button pressed exec button pressed page name var max print CS_MENU_T_ENTRY CS_MENU_TABLE_B_GNC, CS_MENU_Page_Parameters, CS_MENU_EXEC_GoToRoot, "GNC", 0, 0x00, PRINT_NOP CS_MENU_B_GNC EQU 0x0d CS_MENU_TABLE_B_ROOT ;; Register (00=dummy) |<->| max print ix exec ix parameter transfer CS_MENU_ENTRY CS_MENU_B_GNC, "GNC", 0x000, PRINT_NOP, EXEC_MENU, R2PP2R_NOP ; ========================================================================== ; The BassLine Ganchan Menu (ACh LR, Seq °/*, Seq 1-8, Cut, Res) ; ========================================================================== CS_MENU_TABLE_B_GNC db (CS_MENU_TABLE_B_GNC_End-CS_MENU_TABLE_B_GNC)/CS_MENU_ENTRY_LEN, 0x00 ;; Register (00=dummy) |<->| max print ix exec ix parameter transfer CS_MENU_ENTRY CS_MENU_SELECTED_SID_LR, "ACh", 0x002, PRINT_VAR_LR, EXEC_TOGPAR, R2PP2R_VAR_SIDLR CS_MENU_ENTRY SID_Ix_B_Vx_FLAGS2, "On ", 0x001, PRINT_M_Vx_WTO, EXEC_TOGPAR, R2PP2R_B_Vx_MODE CS_MENU_ENTRY SID_Ix_B_Vx_SEQ_NUM, "Seq", 0x008, PRINT_SEQ_NUM, EXEC_SELPAR, R2PP2R_Vx CS_MENU_ENTRY SID_Ix_L_Fx_CUTOFF_L, "Cut", 0xfff, PRINT_Fx_CUTOFF, EXEC_SELPAR, R2PP2R_Fx_CUTOFF CS_MENU_ENTRY SID_Ix_L_Fx_RESONANCE, "Res", 0x0ff, PRINT_Fx_RESON, EXEC_SELPAR, R2PP2R_Fx_RESON CS_MENU_TABLE_B_GNC_End what i've leave out? uhm..
  15. make a donation for Sasha, how much does it cost a panel for the test?
  16. ehehe not :) i mean that in that case of Pa1 Pa2, the first step of menu encoder, after pushing the select button, do not increment the value, in ex. 97 (CutOff BL Cur), but only show the full menu "Parameter Assign". Instead now it show the full menu and increase or decrease the value, 98 or 96. But as i had say, this is not fundamental and i don't want to boring whit this. :P
  17. hi tk, yes i know peek function, but i think that i had explain not so good. :) this will be useful just for Menu encoder, that is quite always detented, and just when Pa1 jump to the 'Parameter Assign' menu. When you change that parameter you always do just 1 enc step, to change the menu, and see witch parameter it's assigned. Instead the value jump to next one, than you must turn 1 step down. i know, it's not so important. hope this time i had explain better. 8)
  18. BassLine Engine it's too magic for me. i'm playing from 8am.. now are 20.25pm! I've try to wrote a mail to you, TK, but my smtp server it's fkn lagging. I've noticed that in ENV menu, Cur & CAs afflict only the L SID if LR are selected in ACh. 8) what can i say.. .. i come back to play! i would suggest a useful select mode, but it is used few times. when you turn the menu knob to change a parameter, KNB menu in ex, Pa1 jump to the Parameter Assign menu, and change the parameter of 1 step. would be good if the first step do not affect the value + or -, so you can read the actual parameter, and than change it, or leave it. mmhhh, hope you understad. =)
  19. well, here i am. i've not absolutely programming skill but i'm studying. my sid have a control surface step A like the V1 had. 5select b, 1edit b, 1 rotary; 2 rotary for CS and 1 button layer. (i must program this last one too). since i want to 'shift' between lead and bassline engine, i can do that only with a shift button. but i haven't. so it would be usefull if the edit button, during Main screen, instead 'no function' will have 'shift function', not? i don't know if it's hard to program, for now i can't realize, i will try.. 8)
  20. If you have this problem: Exception in thread "main" java.lang.UnsatisfiedLinkError: init_[...] user@COMPUTER:~$/home/MIOS/MIOS Studio$ java -jar MIOS*.jar Open terminal than type: sudo apt-get update sudo apt-get install sun-java6-bin sun-java6-jre sudo apt-get install sun-java6-jdk sudo update-alternatives --config java (type 2 for kubuntu) sudo apt-get install sun-java6-plugin (for firefox plugin) Now type in terminal: java -version it must show java version "1.6.0" Java SE Runtime Environment (build 1.6.0-b105) Java HotSpot Client VM (build 1.6.0-b105, mixed mode, sharing) than enter in the MIOS Studio dir and type java -jar MIOS*.jar than MIOS Studio start if java -version instead show java version "1.4.2" gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubuntu5) Copyright © 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. or if typing java -jar MIOS*.jar you see The program 'java' can be found in the following packages: * cacao * j2re1.4 * kaffe * jamvm * java-gcj-compat * gij-4.1 * gij-4.2 * sablevm Try: sudo apt-get install <selected package> bash: java: command not found than type sudo update-java-alternatives --set java-6-sun now go to MIOS Studio dir and type again java -jar MIOS*.jar than MIOS Studio start
  21. nice green pled, it's the one from ebay?
  22. i love this solution. can i ask you witch is the risk to brake the screw lines of panel turning the screw too much? aluminium it's not so strong in this way. i like this photo too! http://4colors.free.fr/midibox/demos/seq_2u/photos/SEQ2U%20-%2017.jpg seems like a good tekno console. p.s. where you have bought that case?
  23. https://bugs.launchpad.net/inkscape/+bug/170347/+viewstatus http://wiki.inkscape.org/wiki/index.php/Feature_Requests
×
×
  • Create New...