How do I add the midi format to player(gstplayer?) in kivy?

39 views
Skip to first unread message

Jungkyu

unread,
Jan 18, 2018, 7:29:49 PM1/18/18
to kivy-...@googlegroups.com
Hello,

I try to make midi sound player in kivy

Kivy soundLoader can import the midi file and play

However, it dosen't control the play, e.g. sound.length, sound.get_pos function.

I opened the players in audio package and cannot find player to play .mid file

I attempt to add the 'mid' in gstplayer but it refused.


class SoundGstplayer(Sound):

@staticmethod
def extensions():
return ('wav', 'ogg', 'mp3', 'm4a', 'flac', 'mp4') <--- attempt to add 'mid'

def __init__(self, **kwargs):
self.player = None
super(SoundGstplayer, self).__init__(**kwargs)



How do I make the midi control?

Do I change package?
Reply all
Reply to author
Forward
0 new messages