Jump to content

TK.

Administrators
  • Posts

    15,246
  • Joined

Everything posted by TK.

  1. I appreciate this project a lot - finally a standardized controller surface :smile: Please add more buttons and LEDs, you can never have enough to switch between different functions on your synth, to trigger something (like a .NGR script), or whatever. I don't see a way for MBCV V2 support, but I also don't find it necessary. I think it's better to work on a dedicated solution for MBCV V2 instead. MBCV V2 uses a special LCD driver mode which allows to access a 2x20 CLCD and 4 OLEDs from the same core. This is a dedicated hack and neither universal (e.g. it isn't supported by MBNG) nor scalable (1 CLCD and 4 OLEDs is the limit for MBCV V2, and the OLEDs can only be used as scopes) Best Regards, Thorsten.
  2. If you send me the OLED displays, I can analyse the problem at my side and ensure future compatibility. Of course, I will send them back after testing/troubleshooting. Best Regards, Thorsten.
  3. Looks like this could work. Only the BLM port is problematic, because actually this is one of the MIDI IO ports for which you've already 2 MBHP_MIDI_IO boards. Best Regards, Thorsten.
  4. Unter http://www.ucapps.de/mios32_download.html gibt es eine iic_midi Test-Applikation, die evtl. weiterhilft (siehe README) Gruss, Thorsten.
  5. I guess that the chips expects the MSB first, which means that the byte has to be mirrored. Please try: MIOS32_SPI_TransferByte(2, mios32_dout_reverse_tab[Sendbyte]) this should do the trick that's the normal shift register behaviour, it can't shift out the value which is currently shifted in. It will be shifted out with the next transaction. Best Regards, Thorsten.
  6. You shouldn't change anything in the mios32_midi.h file! And please never start such modifications outside your own application to prevent a big disaster ;-) The "midi_package.chn == 9" is part of your own code. I'm surprised that you can't find it there - just search this keyword in your initial posting. It's even part of the subject. I proposed that you replace the 9 by Chn10 to improve the readability, nothing else. Just try it out - it works! :smile: Best Regards, Thorsten. P.S.: I will avoid to give you background informations in future, they confuse you too much.
  7. It should be possible to disable SysEx in the Virus TI configuration. See also http://www.peter.boda.sk/download/Virus_TI_Manual.pdf Page 131, "MIDI Control" - keyword SysEx Best Regards, Thorsten.
  8. See http://www.ucapps.de/midibox_ng_manual_fs.html Please read everything from the top to the "Remote me" topic; these are important background informations. Instead of the "EVENT_BUTTON ... fwd_id=LED:1" configuration you could directly specify EVENT_LED of course (like in the "Dim me" example, just without "dimmed=1" Best Regards, Thorsten.
  9. Powerful! :) Best Regards, Thorsten.
  10. The router doesn't support more sophisticated filter functions. I've no simple solution for this yet. Best Regards, Thorsten.
  11. Search for mios32_midi_chn_t in this file (CTRL+F, then enter this keyword into the search mask of your web browser) Again: this file is included by default (via mios.h), you can just use the enum as shown in my example. Btw.: you don't need to copy&paste such code into the posting, please reference it with the SVN link: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Finclude%2Fmios32%2Fmios32_midi.h Best Regards, Thorsten.
  12. I don't know a good reference for such topics, I just observe and decide, and if I'm unsure, I measure ;-) After a successful build you will find an assembler listing under project_build/project.lss which gives some useful information, e.g. how many assembly instructions are generated by a C construct. Makes sense to check this file from time to time... Cortex-M has special instructions for these math operations, therefore no need to be worried about this. Depends on the implementation and available alternative methods. E.g. sooner or later I will optimize the large switch statements in seq_cc.c by a lookup table. I did something similar in MBCV V2 (-> http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fprocessing%2Fmidibox_cv_v2%2Fsrc%2Fcomponents%2FMbCv.cpp ) with great success. But it's not worth the effort for switch statements below 30..40 items, and I don't think that you've to consider this in your code domain... If I see something "which hurts", I will optimize it sooner or later and show you the improved version. Best Regards, Thorsten.
  13. Very nice! Sounds like you had a lot of fun! :phone:
  14. :thumbsup:
  15. Die Belegung fuer F1..F4 ist schon sehr individual, das musst Du selbst herausfinden. ;-) Ich verwende SCRUB sehr haeufig - nicht fuer die SCRUB Funktion selbst, sondern vor allem die MENU+SCRUB Funktion, mit der man den Loop-Modus umschalten kann. Gruss, Thorsten.
  16. Fine! :) Best Regards, Thorsten.
  17. MIDI Channels are counted from 0 If you don't like this, you could use the mios32_midi_chn_t based enums (which are defined in mios32_midi.h) in your code. They are available by default, just try it out: replace if( midi_package.chn == 9){ by: if( midi_package.chn == Chn10){ Best Regards, Thorsten.
  18. Cool, thanks for the changes! :smile: First of all: I gave you access to the (hidden) Programmers Lounge. Here are the informations about SVN write access to the repository: It makes sense that you upload your changes directly to the repository - I can always switch back to an earlier version if I'm not happy with the changes. ;-) I also added a new type in seq_robotize.h which simplifies the access to robotizer flags: typedef union { u8 ALL; struct { u8 SUSTAIN:1; u8 NOFX:1; u8 ECHO:1; u8 DUPLICATE:1; }; } seq_robotize_flags_t; Sustain: search for tcc->mode.SUSTAIN, just OR this flag with the robotizer flag: (tcc->mode.SUSTAIN || robotizer_flags.SUSTAIN) Don't put temporary flags into the CC array, it's better to keep them in the local stack like it's currently done. From time to time it makes sense to check the performance impact of your code. Go to the INFO page (Main menu, GP#16), the Stopwatch will display the consumed time for each SEQ_CORE_Tick() The maximum value will be captured and can be cleared by pressing GP9 button in this page. Currently the function consumes +30 uS on a STM32F1 if a single track is playing. It could be improved. E.g. I noticed that you reverted an important change that I made: you are writing for example: if( ( (s16)SEQ_RANDOM_Gen_Range(0, 31 * 31) <= tcc->robotize_oct_probability * roboprob ) && robooct ) { // Octave Event but it's better to write: if( robooct && ( (s16)SEQ_RANDOM_Gen_Range(0, 31 * 31) <= tcc->robotize_oct_probability * roboprob ) ) { // Octave Event so that SEQ_RANDOM_Gen_Range() won't be called if robooct isn't activated Same for robonote, robovel, robolen The copy of tcc-> variables into local variables isn't really necessary: roboprob = tcc->robotize_probability; robovel = tcc->robotize_vel; robolen = tcc->robotize_len; robonote = tcc->robotize_note; robooct = tcc->robotize_oct; roboskip = tcc->robotize_skip_probability; robosustain = tcc->robotize_sustain_probability; robonofx = tcc->robotize_nofx_probability; roboecho = tcc->robotize_echo_probability; roboduplicate = tcc->robotize_duplicate_probability; because the impact of indirect addressing isn't so high compared to other things (such as function calls) I would remove this - it makes the code more difficult to maintain. Best Regards, Thorsten.
  19. Are the MUTE# and ZCEN inputs really unconnected? Both should be connected to VD+ Best Regards, Thorsten.
  20. It works at my side. Are you really using the latest lemur panel from http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fprocessing%2Fmidibox_cv_v2%2Flemur%2F&rev=2084# ? And are you able to update to a newer Lemur version? I'm using Lemur 5.2 Best Regards, Thorsten.
  21. As far as I remember, the registration has to be done somewhere in the tool (but I don't remember where exactly) Best Regards, Thorsten.
  22. From the documentation: The Error Codes (0E) ~~~~~~~~~~~~~~~~~~~~ Structure: F0 00 00 7E 40 <device-id> 0E <error code> <additional information> F7 <device-id>: the MIOS device ID from 00 to 7F <error code>: see below <additional information>: for internal use, ignore it Error Code | Description -----------+--------------------------------------------------------------- 0x01 | Less bytes than expected have been received 0x02 | More bytes than expected have been received 0x03 | Checksum mismatch 0x04 | Write failed (verify error or invalid address) 0x05 | Write access failed (invalid address range) - | used by 1st level bsl 0x06 | MIDI Time Out 0x07 | Wrong Debug Command 0x08 | 2nd level bsl: Read/Write command tried to access an invalid | address range 0x09 | 2nd level bsl: Read/Write address not correctly aligned 0x0a | BankStick not available 0x0b | MIDI IN Overrun (CPU load too high) 0x0c | MIDI IN Frame Error (Bad signal/Optocoupler) You got 0xc -> bad signal or optocoupler. If the resistor values are ok now, try another 6N138 Best Regards, Thorsten.
  23. Hi Tim, no, this display won't work. It has no backlight anyhow -> no fun Best Regards, Thorsten.
  24. Click on http://www.ucapps.de/midibox_seq_manual_blm.html Search for "MIOS Terminal" Best Regards, Thorsten.
  25. Ok, I will check this tomorrow. Best Regards, Thorsten.
×
×
  • Create New...