Jump to content

TK.

Administrators
  • Posts

    15,205
  • Joined

Everything posted by TK.

  1. Ja, einfach die Pin-Zuweisungen um eins erhoehen, das invertiert automatisch den Incrementer. Bspw. in diesem Tutorial: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Ftutorials%2F014_enc_relative%2Fapp.c enc_config.cfg.pos = pin_pos + 1; // swap pins Gruss, Thorsten.
  2. 5k is perfect (actually I would even prefer such faders instead of 10k due to the better signal/noise ratio!) No changes are required. Best Regards, Thorsten.
  3. Could you please try following version: http://www.ucapps.de/mios32/midibox_ng_v1_030_pre2.zip It supports the new "ain_mode=Switch", which should work much better: o added ain_mode=Switch for AIN and AINSER events. Can be used if buttons are connected to analog inputs. The event will send the min value if a 30% threshold is reached, and the max value if a 70% threshold is reached. Schematic: Ground |----o Button o-----> analog input + 10k Pull-Up resistor to 3.3V (AIN) resp. 5V (AINSER) No .NGR hack required anymore :) I tested this with: EVENT_AINSER id= 1 type=CC ain_mode=Switch chn= 1 cc= 16 range= 0:127 offset= 0 ports=1000100000001000 lcd_pos=1:1:1 label="^std_aser" Best Regards, Thorsten.
  4. Please try following version: http://www.ucapps.de/mios32/midibox_ng_v1_030_pre2.zip o added new meta events to control the internal MIDI clock generator: MClkPlay, MClkStop, MClkPlayStop, MClkPause, MClkDecTempo, MClkIncTempo, MClkSetTempo. Example can be found under cfg/test/midiclk.ngc o added new string formatting items: %t to display MIDI clock state (Play/Stop) %T to display tempo (BPM) o added new MClk menu page to SCS to control the tempo w/o dedicated controllers Best Regards, Thorsten.
  5. Please try this version: http://www.ucapps.de/mios32/midibox_ng_v1_030_pre2.zip The "silent set" can now be done with: change Button:123 ^value and the reason for 2) was, that the button will always send the "max" value of the specified range (0:127 by default). The new: set_max Button:123 ^value command will allow you to change the range Best Regards, Thorsten.
  6. TK.

    AINSER MIDI Noise

    Evtl. falsch verdrahtet. Mach' mal ein Foto! Gruss, Thorsten.
  7. You could try if it works better for you if you invert the "fast" function selected with the SHIFT button. For this, open src/cs_menu.inc, search for btfss CS_MENU_MODE, CS_MENU_MODE_SHIFT_PRESSED replace "btfss" by "btfsc" Thereafter build a new .hex file (see also the Wiki for more infos on the toolchain) Alternatively it should also be possible to set a specific speed for the cutoff encoder in the CS_MENU_EncSpeedSet function if you prefer this (but I would have to test the code before providing it) Best Regards, Thorsten.
  8. TK.

    AINSER MIDI Noise

    Servus, welchen Widerstandswert haben denn die Schieberegler? Und haben sie (hoffentlich) eine lineare, oder eine logarthmische Kennlinie? (das koenntest Du mit einem Ohmmeter ueberpruefen) Falls das nicht weiterhilft, wuerde ich empfehlen, die Fader abzustoepseln, und temporaer die Eingaenge auf Masse zu haengen. Jittert es dann immer noch? Wenn ja: Loetfehler! ja, kein problem. Gruss, Thorsten.
  9. Works at my side: svn co svn://svnmios.midibox.org/mios32 A mios32/trunk A mios32/trunk/tools ... Best Regards, Thorsten.
  10. Yes, it's possible to run multiple instances. There are two solutions: 1) just duplicate the MIOS_Studio.app, and call it "MIOS_Studio Second.app" 2) call the application from the command line (I prefer this way). E.g. added following aliases to my ~/.batch_profile alias ms='/Applications/MIOS_Studio.app/Contents/MacOS/MIOS_Studio' alias ms_batch='/Applications/MIOS_Studio.app/Contents/MacOS/MIOS_Studio --batch' Whenever I need an additional session, I enter: Or whenever I want to upload a .hex file from the terminal, I use ms_batch Enter ms_batch --help for additional informations. Best Regards, Thorsten.
  11. The implementation shouldn't be a big task, I added this to the Wishlist Best Regards, Thorsten.
  12. By default following stack size is used (see programming_models/traditional/FreeRTOSConfig.h): #ifndef MIOS32_MINIMAL_STACK_SIZE #define MIOS32_MINIMAL_STACK_SIZE 1024 #endif ... #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) (MIOS32_MINIMAL_STACK_SIZE/4) ) as you can see, the byte size has to be divided by 4, because FreeRTOS counts the memory word-wise Which means, that you tried to allocate 24580 bytes - which fails (for obvious reasons). Note that programming_models/traditional/main.c creates two additional tasks for MIDI and other purposes, which need memory from the heap as well (1024 bytes per task as defined with MIOS32_MINIMAL_STACK_SIZE) Best Regards, Thorsten.
  13. to 1) I added the following to the wishlist: - "silent set value" (don't send MIDI event when value is changed) to 2) you've specified "nrpn_format=MsbOnly" - could this be the reason? Best Regards, Thorsten.
  14. Yes, an external PSU should help to get exactly 5V at the 7805 output. Best Regards, Thorsten.
  15. How do you update the application? It should be done via MIOS Studio: http://www.ucapps.de/mios_studio.html If you flash the complete binary instead, the bootloader configuration section will be overwritten, this would explain the problem. Best Regards, Thorsten.
  16. This is actually the best description which is suitable for most users ;-) Best Regards, Thorsten.
  17. The SCS encoder configuration is well hidden in the scs.c module You can overrule it from mios32_config.h with: But actually this is the default value anyhow, it won't make a difference. The problem must be somewhere else (wrong pin connections?) Best Regards, Thorsten.
  18. Since STM32F4 outputs the MIDI Tx signals in open drain mode, it makes sense to add a 1k pull-up resistor to this pin. Not relevant for the Tx output of LPC17, since there it's configured in push-pull mode (due to a hardware imperfection) Best Regards, Thorsten.
  19. Yes, the Ctrlr build requires MacOS 10.6 or higher :-/ Best Regards, Thorsten.
  20. I added a "threshold" function to the wish list, so that this function could be configured without such a hack Best Regards, Thorsten.
  21. Hi, unfortunately I can't support this. A SR which is serviced by the matrix code will always be fully allocated, otherwise very time consuming read-modify-write operations on the DOUT array would be required (32 times due to the dim feature!), which affects the overall performance of the application dramatically. Best Regards, Thorsten.
  22. Hi Chris, what they call "GND1/2/3/4" are actually the selection lines, provided by a DOUT SR which has been assigned with sr_dout_sel1=<number> The other side of the switches will be connected to a single DIN input. Best Regards, Thorsten.
  23. TK.

    Fatar. Nothing?

    The configuration looks fine. I guess that you added an EVENT_KB as well, right? -> see this example: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fkb_1.ngc You could check if any MIDI events are generated without the Fatar keyboard by connecting a DOUT pin to a DIN pin with a short cable on the MBHP_DIO_MATRIX module. Best Regards, Thorsten.
  24. :thumbsup: Best Regards, Thorsten.
×
×
  • Create New...