Karaoke, midi not sound good, kar sound good
#1
Hi,

using the future karaoke, i have a problem with sound quality on midi file extension, instead the kar file extension are playing with good sound (all instrument are used).

This is the log playing the midi file:

23:30:09 T:3078461312 M:1584242688 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-i486-linux.so)
23:30:09 T:3078461312 M:1584242688 DEBUG: Unloading: ImageLib-i486-linux.so
23:30:09 T:3078461312 M:1584242688 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
23:30:09 T:3078461312 M:1584242688 DEBUG: OnKey: 61453 pressed, action is Select
23:30:09 T:3078461312 M:1584242688 DEBUG: Adding file /home/xbmc/Musica/karaoke/A/ANGELO BRANDUARDI/Alla fiera dell'est.mid to music playlist
23:30:10 T:3078461312 M:1584242688 DEBUG: new file set audiostream:0
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers(/home/xbmc/Musica/karaoke/A/ANGELO BRANDUARDI/Alla fiera dell'est.mid)
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
23:30:10 T:3078461312 M:1584242688 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
23:30:10 T:3078461312 M:1584242688 DEBUG: SECTION:LoadDLL(libmodplug.so.0)
23:30:10 T:3078461312 M:1584242688 DEBUG: Loading: libmodplug.so.0
23:30:14 T:3078461312 M:1581309952 INFO: PAPlayer: Playing /home/xbmc/Musica/karaoke/A/ANGELO BRANDUARDI/Alla fiera dell'est.mid
23:30:14 T:3078461312 M:1581309952 DEBUG: PAPlayer: Creating new audio renderer
23:30:14 T:3078461312 M:1581309952 DEBUG: PulseAudio: Opening Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - Codec - IsMusic true - IsPassthrough false - device: alsa_output.pci-0000_00_08.0.hdmi-stereo@default
23:30:14 T:3078461312 M:1581309952 DEBUG: RemoveActiveDevice - Removing device 1
23:30:14 T:3078461312 M:1581309952 DEBUG: CGUIAudioManager:Big GrineInitialize
23:30:16 T:3078461312 M:1581318144 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
23:30:16 T:3078461312 M:1581318144 DEBUG: RemoveActiveDevice - Removing device 0


This the log playing the kar file:

23:30:29 T:3078461312 M:1578512384 DEBUG: Adding file /home/xbmc/Musica/karaoke/A/ANGELO BRANDUARDI/canzone delle colombe.kar to music playlist
23:30:29 T:3078461312 M:1578512384 DEBUG: new file set audiostream:0
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers(/home/xbmc/Musica/karaoke/A/ANGELO BRANDUARDI/canzone delle colombe.kar)
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
23:30:29 T:3078461312 M:1578512384 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
23:30:29 T:3078461312 M:1578811392 DEBUG: Loading: /home/xbmc/.xbmc/temp/libtimidity-012.so
23:30:31 T:3078461312 M:1552572416 INFO: PAPlayer: Playing /home/xbmc/Musica/karaoke/A/ANGELO BRANDUARDI/canzone delle colombe.kar
23:30:31 T:3078461312 M:1552572416 DEBUG: PAPlayer: Creating new audio renderer
23:30:31 T:3078461312 M:1552572416 DEBUG: PulseAudio: Opening Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - Codec - IsMusic true - IsPassthrough false - device: alsa_output.pci-0000_00_08.0.hdmi-stereo@default
23:30:31 T:3078461312 M:1552572416 DEBUG: RemoveActiveDevice - Removing device 1
23:30:31 T:3078461312 M:1552572416 DEBUG: CGUIAudioManager:Big GrineInitialize
23:30:34 T:3078461312 M:1552560128 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
23:30:34 T:3078461312 M:1552560128 DEBUG: RemoveActiveDevice - Removing device 0
23:30:34 T:3078461312 M:1552060416 DEBUG: PulseAudio: Context authorizing
23:30:34 T:3078461312 M:1552060416 DEBUG: PulseAudio: Context setting name
23:30:34 T:3078461312 M:1552060416 DEBUG: PulseAudio: Context ready
23:30:34 T:3078461312 M:1552060416 DEBUG: PulseAudio: Stream ready
23:30:34 T:3078461312 M:1552060416 DEBUG: PulseAudio: Default buffer attributes, maxlength=4194304, tlength=48000, prebuf=44164, minreq=3840
23:30:34 T:3078461312 M:1552060416 DEBUG: PulseAudio: Choosen buffer attributes, maxlength=4194304, tlength=48000, prebuf=38400, minreq=3840
23:30:34 T:2885663600 M:1552060416 DEBUG: thread start, auto delete: 0
23:30:34 T:2885663600 M:1552060416 DEBUG: PAPlayer: Thread started

I'm note difference in :

midi file:
Loading: libmodplug.so.0

kar file:
Loading: /home/xbmc/.xbmc/temp/libtimidity-012.so

Note that the midi file is playing good using Totem

SO Ubuntu lucid
XBMC 9.10 pre (same problem with karmic and xbmc 9.04)

Any suggestion?

Thanks

Rolleyes
Reply
#2
The first MID file is actually a MOD file (libmodplug).

KAR and MID are exactly the same type of file, just different extension. Historically KAR was a MIDI file which had lyrics added as text event, but it is not enforced. XBMC plays both KAR and MID using the same engine.
Reply

Logout Mark Read Team Forum Stats Members Help
Karaoke, midi not sound good, kar sound good0