Author Topic: MIDI on / off issues (1.61) [fixed in 1.70]  (Read 18954 times)

fidgit

  • Team member
  • *
  • Posts: 2
    • View Profile
MIDI on / off issues (1.61) [fixed in 1.70]
« on: April 17, 2012, 08:13:32 AM »
first of all: merci beaucoup for the nice and very comprehensible kit, xavier!  :)

i built it yesterday with quite some experience in soldering kit assembling. as the subject says, i'm having issues with MIDI. some MIDI notes are simply ignored, when they still get triggered, they usually last for ever, ie no MIDI note off is received. besides this phenomenon everything seems fine.

i did check other forum entries on that topic and did what was recommended. yes, the optocoupler is correct, yes, i did try another MIDI cable, yes, i made sure that the MIDI settings are correct, yes, i'm using a very simple MIDI keyboard which is attached directly to the preenFM. no drivers, no USB interfaces and such.

in a post, i found that:
> . On the attached picture, I've colored all the connections involved in the Midi input.

however, i wasn't able to find this picture mentioned above. could you / somebody please repost it?

merci & meilleurs salutations
« Last Edit: May 29, 2012, 10:41:21 PM by Xavier »

6581punk

  • Team Member
  • ***
  • Posts: 110
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #1 on: April 17, 2012, 09:07:16 AM »
I would check the resistor values around the MIDI in. Too big a value and the input won't work. Always check for soldering issues too :)

fidgit

  • Team member
  • *
  • Posts: 2
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #2 on: April 17, 2012, 09:36:12 AM »
yes, thank you.
i'll dig into it at the end of the week.

6581punk

  • Team Member
  • ***
  • Posts: 110
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #3 on: April 17, 2012, 12:30:47 PM »
I had a similar issue on the MIDIBox project I built, I had put the wrong resistor (too much resistance) in the MIDI input and as a result the signal was at too low a level.

I suspect in your case it could be an intermittent issue as well. Which may explain why it receives some data some of the time.

When you play a note on the keyboard it sends a note on and a note off value, the note will continue if it doesn't ever receive the note off value.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #4 on: April 17, 2012, 10:17:33 PM »
6581, this resistance thing is very interesting.

Fidgit, the picture is attached at the bottom of the message.
You can see/download it ony when you're logged in.

Let me know if you can see it,
(i'm in vacation with limited conectivity, sorry in advance if i cannot answer quickly)

Xavier

6581punk

  • Team Member
  • ***
  • Posts: 110
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #5 on: April 17, 2012, 10:24:29 PM »
6581, this resistance thing is very interesting.


Well an opto isolator is basically an LED and a phototransistor, so if you use too big a resistor this limits the brightness of the LED too much nothing gets received the other side?

funkyfli

  • Team Member
  • ***
  • Posts: 108
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #6 on: May 07, 2012, 06:53:17 PM »
I noticed on my UM880 a quick succession of midi messages would not work.  This might be due to the fact that it sends out 4 Active Sensing messages a minute... continuously.  And, this may be bogging down the PreenFM?  I have not noticed an issue on my MOTU 828mk2.  Maybe, I should compare the voltage output between the 2.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #7 on: May 10, 2012, 02:37:21 PM »

Any adidional information by people who have note on/off problem are welcome.

It's always difficult to know who's fault it is.

Funkyfli do you mean it does no work you UM880.
Doe you have other sound module that work with it ?
What do you mean by "This might be due to the fact that it sends out 4 Active Sensing messages a minute... continuously."


funkyfli

  • Team Member
  • ***
  • Posts: 108
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #8 on: May 10, 2012, 05:06:29 PM »
With the Edirol UM880: It does not receive all note on / note off messages.  It seems I need to hold a note for a decent amount of time to get a 'note off' received.  It also receives only a small amount of NRPN messages when using the VST.  All my other synths work fine with it... Nord Lead 2, Micro Q, Evolver, Tetra, Shruthi.  I cannot, however, send OS updates to the Tetra which I put down to the 'Active Sensing' messages... I could be wrong.

Active Sensing - System Realtime Message: 11111110  http://www.midi.org/techspecs/midimessages.php
A good explanation... in English:  http://www.planetoftunes.com/sequence/activesense.html

If you have any ideas of what to test for I am happy to help.

Martin.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #9 on: May 13, 2012, 10:49:41 PM »
Thanks for the info and the URL.

I give a look at the code and i think that the 'active sensing' message cannot cause a problem. They are simply ignored.
To be 100%sure, can you disable 'active sensing' on your EMU880 and check if that change something ?
Or do you know a sequencer that can send this midi messages ?

I use the same 6n137 based midi schema as the shruti-1 so i don't think it's a hardware problem.

Le me know if you find something, i'll continue investigating,

Xavier





funkyfli

  • Team Member
  • ***
  • Posts: 108
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #10 on: May 15, 2012, 06:03:22 AM »
Well, I found a way to filter out 'System Realtime' messages from one channel of the um880...  This did not solve the problem:(   So, I guess this wasn't the issue.  Sorry.  I'm stumped.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #11 on: May 15, 2012, 09:13:08 AM »
Thanks for having checked... that's really usefull...
If we eliminates the possibilities one by one, we're going to find a solution  ;)

6581punk

  • Team Member
  • ***
  • Posts: 110
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #12 on: May 19, 2012, 10:52:44 PM »
Can you use the MIDI thru port on one of your devices to send the output to your preen?

funkyfli

  • Team Member
  • ***
  • Posts: 108
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #13 on: May 20, 2012, 06:58:41 PM »
Good idea.  Same results unfortunately.  MicroQ works correctly while the PreenFM does not.  Two adjacent messages (Note off, Note on) kill each other.  It might be something to do with the maple's tolerances for high and low values on the receive pin?  I measured the voltage output from the Edirol UM880 at 5.1V and the MOTU828mk2 at 4.98 V   I'm not sure if this means anything at all  :-\

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: MIDI on / off issues (1.61)
« Reply #14 on: May 20, 2012, 09:28:12 PM »
Two adjacent messages (Note off, Note on) kill each other.

I'd love to understand that... what do you mean exactly ?
What do you see and what do you hear ?


It might be something to do with the maple's tolerances for high and low values on the receive pin?

Midi is slow. I'm sure the 72Mhz maple can handle it  ;)


I measured the voltage output from the Edirol UM880 at 5.1V and the MOTU828mk2 at 4.98 V   I'm not sure if this means anything at all  :-\

Thanks a lot for testing it... at least the voltage is very close.

Xavier