when play a Midi the Sound some times is dropout and continue inmediatly

All about the development and use of SynthFont2
Post Reply
asolares
Posts: 1
Joined: Tue Dec 22, 2015 3:04 am

when play a Midi the Sound some times is dropout and continue inmediatly

Post by asolares » Thu May 18, 2017 2:46 am

I have i7 proccesor msi qe62 6qd 16 GB RAM
when play a Midi the Sound some times is dropout and continue inmediatly
the cpu use show at 7 or 8 percent

previous versions Did not happen.

Thank you.

Admin
Site Admin
Posts: 346
Joined: Tue Mar 17, 2015 9:22 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Admin » Fri May 19, 2017 8:21 am

Yes, I have been informed of this issue and also sometimes noticed it myself. I am trying to find the reason for it but it seems to be very difficult because it doesn't always happen and it seems to be quite random.

Bkuuzin
Posts: 5
Joined: Wed Nov 02, 2016 12:43 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Bkuuzin » Fri Oct 12, 2018 4:40 am

I just recently started experiencing this bug too. It started almost a month ago after I tried to close out of Synthfont2 and the program locked up. The notes will drop out on some MIDIs, but on others the sound is fine. This happens regardless of whether I use GMGsX or any other soundfont. I tested to see if the bug would be present in an MP3, so I used Play to File and the bug is still noticeable in the MP3. The MIDIs always sound fine when I play them with Windows Media Player. I'm using Synthfont 2 version 2.1.0.0. This bug seems to occur no matter how long or short the MIDI is. I don't know if the number of tracks or channel has anything to do with it.

Admin
Site Admin
Posts: 346
Joined: Tue Mar 17, 2015 9:22 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Admin » Fri Oct 12, 2018 6:08 am

My first questions are: is this reproducible? So, If you play a particular midi file, does the same notes drop out, always? Or is it random? Does it seem to be related to the midi file? I am pretty sure it is not related to the SoundFont. If you find a midi file that drops notes on a regular basis, then please send it (them) to me for analysis.

Bkuuzin
Posts: 5
Joined: Wed Nov 02, 2016 12:43 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Bkuuzin » Sat Oct 13, 2018 5:02 pm

This bug consistently occurs with the same MIDIs on the same notes every time I open that file in Synthfont 2. I also tried to reinstall Synthfont, but that didn't fix it.

One of the MIDIs that has this problem is found here: http://midkar.com/original/original_01.html

The MIDI is called 3PO on that site. I tried downloading a new copy of it, but that MIDI still has the same issue. The note dropout occurs after the 50 second mark.

Admin
Site Admin
Posts: 346
Joined: Tue Mar 17, 2015 9:22 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Admin » Sun Oct 14, 2018 5:32 pm

It could be this thing:
Track 7 (Warm Pad) has a strange use of the Channel Pressure value, which is set to 0 immediately after the notes have been "pressed" (with value 75). 0 basically means "key not pressed" which means ... silence. See lines "19" and "20" below.
14 |0035:004:000317 | 67037 | 0 | 5 | 36 | 11 |controller-> | Expression (coarse) = 36|
15 |0035:004:000343 | 67063 | 0 | 5 | 9 | 11 |controller-> | Expression (coarse) = 9|
16 |0037:002:000091 | 69691 | 18430 | 5 |102 | 65 |note on |
17 |0037:002:000092 | 69692 | 18475 | 5 | 93 | 72 |note on |
18 |0037:002:000095 | 69695 | 18444 | 5 |100 | 64 |note on |
19 |0037:002:000107 | 69707 | 0 | 5 | 0 | 75 |chnl pressure|
20 |0037:002:000133 | 69733 | 0 | 5 | 0 | 0 |chnl pressure|
21 |0038:004:000196 | 72676 | 0 | 5 | 1 | 11 |controller-> | Expression (coarse) = 1|
22 |0038:004:000251 | 72731 | 0 | 5 | 3 | 11 |controller-> | Expression (coarse) = 3|
Removing the 0 value lets the notes play. Here is a fixed version of the file:
https://www.dropbox.com/s/klj6kjgxvacij ... x.mid?dl=0

Admin
Site Admin
Posts: 346
Joined: Tue Mar 17, 2015 9:22 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Admin » Mon Oct 15, 2018 7:14 am

But there is a "bug" (well, almost). In track 9 (slap) there are numerous "All Notes Off" messages (a Continuous Controller). This message is dangerous. The MIDI specs says this about it:
Turns off all notes that were turned on by received Note On messages, and which haven't yet been turned off by respective Note Off messages. This message is not supposed to turn off any notes that the musician is playing on the local keyboard. So, if a device can't distinguish between notes played via its MIDI IN and notes played on the local keyboard, it should not implement All Notes Off. Furthermore, if a device is in Omni On state, it should ignore this message on any channel.
I have removed all of them from track 9:
https://www.dropbox.com/s/yn6s7tgejd1ya ... x.mid?dl=0

As SynthFont basically always is in "Omni On" state (playing all MIDI channels) this message should not be interpreted at all. I will change it in the new release.

Admin
Site Admin
Posts: 346
Joined: Tue Mar 17, 2015 9:22 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Admin » Tue Oct 16, 2018 9:58 am

A new official version, 2.2.0.0, is now available. Among other things, the behavior of the "All Notes Off" message has been changed.
Read more here: http://www.synthfont.com/SynthFont2_news.html

Bkuuzin
Posts: 5
Joined: Wed Nov 02, 2016 12:43 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Bkuuzin » Tue Oct 16, 2018 2:40 pm

Those MIDI files and the latest update worked, thank you!

Admin
Site Admin
Posts: 346
Joined: Tue Mar 17, 2015 9:22 am

Re: when play a Midi the Sound some times is dropout and continue inmediatly

Post by Admin » Wed Oct 17, 2018 6:01 am

Thank YOU for pointing this problem out for me.

Post Reply