Jump to content

norbim1

Programmer
  • Posts

    77
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by norbim1

  1. Hi TK, I found the answer, so its not a problem for me anymore. I'm using Midi port 4 as a HW loopback (a small jumper does the job on the LPC core). In that way I can send the seq output to multiple ports via midi routing. The sysex file sending doesn't work well in this way, but I can select the direct output port on the sysex menu page which is more than enough for me. Thanks, and do not bother with my last question.
  2. Hi TK, Thanks for the Bank change before PC implementation, it was my wish also for a while :smile: When I started to use it, I ran into an other problem with sysex file sending. (My approach is sending sysex banks for my sound module, and select with bank change + program change) When I try to send a syx file it only sends the first two sysex messages. As a check I sended the file via MIOS Studio and it works without problem. I didn't use the syx file sending for a while, so I don't know if this issue was there in the earlier releases. Attached one sample file.QS_VINT3.zip
  3. Just a short note about 12mm vs 16mm encoders. Take care with 12mm types, because most of them use different pinouts than 16 mm ones. - 16mm types: A B Common (this is what the CS was prepared for) - 12mm types: A Common B So I'm afraid it's not enough to bend it, they need different connection. Norbert
  4. Hi, there is a new version on my playground. - WAV file support Format: pcm, mono or stereo, 16bit, 44.1 kHz sample rate, so called "canonical wav" files. For other details see my earlier post. - Sustain pedal support Have fun!
  5. Hi Roel, You made a really cool module! It can be changed in the code. The current code was made for max 64 samples, each sample index occupies a certain amount in memory, regardless of the actually loaded sample number. Theoretically if You only use max. 2 samples, the longest possible sample length can be at least 32 times longer. There are other possibility to save memory in that case, so I think it can be even longer. I'll make some tests, and try the longest possible sample length with only two samples. Currently I'm working on a new version, that can read wav files too. Format: pcm, mono or stereo, 16bit, 44.1 kHz sample rate, so called "canonical wav" files. The wav format allows to read the channel number from the header, and the player works with both the mono and stereo wav files! (Last but not least it's more easier to make such files than raw ones.) By analysing the header - if it's a wav file in correct format, plays as a wav format. - if it's a wav file but incorrect format, doesn't play it. - if it's not a wav file, plays as 1 channel raw file (like the original version). Norbert
  6. I think this schematic will help you: http://ucapps.de/midio128/midio128_v3_dio_scanmatrix.pdf
  7. My proposal for the solution: If the last 2 CC-s in a mixer-map are Bank_Select_MSB and Bank_Select_LSB, it'll only send these CCs before sending PC. Possible code change in SEQ_MIXER_Send: switch( par ) { case SEQ_MIXER_PAR_PRG: if (SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC3_NUM)==0) //Bank_Select_MSB MIOS32_MIDI_SendCC(midi_port, midi_chn, 0, SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC3)-1); if (SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC4_NUM)==32) //Bank_Select_LSB MIOS32_MIDI_SendCC(midi_port, midi_chn, 32, SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC4)-1); return value == 0 ? 0 : MIOS32_MIDI_SendProgramChange(midi_port, midi_chn, value-1); . . case SEQ_MIXER_PAR_CC3: if (SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC3_NUM)!=0) // do not send Bank_Select_MSB return value == 0 ? 0 : MIOS32_MIDI_SendCC(midi_port, midi_chn, SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC3_NUM), value-1); case SEQ_MIXER_PAR_CC4: if (SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC4_NUM)!=32) // do not send Bank_Select_LSB return value == 0 ? 0 : MIOS32_MIDI_SendCC(midi_port, midi_chn, SEQ_MIXER_Get(chn, SEQ_MIXER_PAR_CC4_NUM), value-1); Only a sketch, not tested. I wonder if it can be a good solution.
  8. http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Fplayground%2Fnorbim1%2FSD+card+sample+player%2F&# Have fun!
  9. Hi, I got this after upgrading from V4L.075: [45666.754] Init DHCP [45666.854] [network_device_init] PHY initialized [45667.756] [MIOS32_MIDI_Receive_Handler] Timeout on port 0x22 [45669.953] Loading session DEF_V4L [45670.070] Hard Fault PC = 0000fba2 without SD it boots OK, but plugging the card gives the same fault. Should I change something in the session files? Downgrading to 075 works again with the SD card. Thanks
  10. My version was added to the repo "playground". Many thanks TK for the access. In the mean time I've noticed a small pitch mismatch on the played sounds (STM32F4Discovery). The pitch was approx a half note lower than it should be. It was due to the stm32F4 not correct I2S PLL divider settings. I corrected it also for the 44.1kHz sample rate.
  11. Actually I made a separate app for stereo samples, so all the voice files must be stereo in this case, they can not be both. The raw format is the same except that this is stereo, so two times 16 bit for every sample. This gets to an other limitation: because of the file size limit the max voice length is smaller.
  12. Hi guys, I played with my newly arrived STM32F4DISCOVERY board, the sample player is the ideal app, because it doesn't need any external component. I also noticed the distorted tails and even the "pops" when changing notes or retrigger them. So I made some changes in the app, and I hope it was worst for the work. - I relocated the "decay" routine to the buffer filling function, modifying each sample volume to smooth the envelope - added a small release phase to the 0 release value voices also, to eliminate the pops - modified the retrigger behavior, so when you retrigger an already played note, it restrats after a small release phase As I tested after the above mods all the distorts was gone! I also made it work with stereo samples! The only drawback is that I had to set back the polyphony to 7, but it works good. It would be glad, if somebody could test my changes. TK, is it OK to post hex files here, or there are other rules?
  13. Hi TK, Just to strengthen the following question: I wish the same feature. Currently I should make 2 consecutive dump to make the correct Bank Change and Program Change commands. Regards, Norbim
  14. SysEx file sending seems working fine now. Thanks a lot TK!
  15. Hi TK, I've just finish my SeqV4 and really like playing with it. One thing that I couldn't manage sending Sysex files to my XG sound module. As I checked it with a midi monitor, it sends only the first or some other sysex message from the file, but the most commands are missing. After playing some track, it sends midi messages (note on-off) also with the one or few sysex-s. It seams like a buffer garbage from the last played track. I use the newest SEQ V4.078 FW and didn't try with earlier.
  16. Thanks a lot TK! I hadn't got enough time to try, but I'm sure it will.
  17. Hey Louis, It seems, that you are still using wrong cable between Core:J19 and AIN:J2. In most FPC connectors you should see a small triangle, which shows the pin No1 of the connector. You should orient the cable with red side at this triangle on both end. It doesn't matter which way goes the cable to the connector, but the red wire and triangle matching is important. Hope this helps.
  18. Thanks a lot! I confused myself also, so before somebody complain about this, yes StudioOne accepts CC-s for faders. I actually configured my box for 3 purposes Tractor, StudioOne and GMA controller. It is GrandMa that accepts only Note events for faders. I made the selection via Bank select, holding down two buttons and select the current config with tree other buttons. In this way all the buttons available for the controllers also. I thought I couldn't been able to do this without NGR script! You are amazing TK, especially NG configuration freedom is my favourite. Regards Norbert
  19. Hey TK, o AIN and AINSER events, which are assigned to Note events, send velocity 0 before a new Note is sent with velocity > 0 to avoid hanging notes. Could it be somehow switchable? I would use it for StudioOne, wich accept only Note events for faders, but this behaviour confuses the DAW. The encoders with Note events are still working OK. Thanks
  20. Quote from the DB50 doc: Up to 32 Voices created by the QS300 can be saved in the DB50XG’s User Memory by bulk dump messages. (Effective only when the XG mode is active.) QS300 User Voices are stored in Bank MSB = 63, LSB = 00. Program Change numbers for User Voices are 1 – 32. I used MIDI-OX. First you should switch the DB to XG mode (MIDI-OX menu: Actions/Send/XG on). Next send one of the QS bank midi file to the DB. I use the MIDI-OX MIDIBar player (Actions/Play MIDI...). The 32 voices are now available in Bank MSB = 63, Bank LSB = 00. PC = 1 – 32. (you can set it with MIDI-OX Control Panel) qs300_voices_e.zip
  21. Hi sompost, I made a box for my db60 clone (), based on MB64E with lot of code customization, so the PIC18 is sufficient, but it needs a lot of ASM work. I'll take some pictures at the weekend. My NEC clone works fine with QS voices! Just upload the voices simply via midi.
×
×
  • Create New...