使用Windows Phone MediaElement音频失真并且难以理解吗? [英] Audio distored and incomprehensible using Windows Phone MediaElement?

查看:39
本文介绍了使用Windows Phone MediaElement音频失真并且难以理解吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天晚上,一个非常奇怪的事情是,我试图在Windows Phone游戏(Silverlight,不是XNA)中播放音频片段,并且有问题的MP3可以通过Windows Media Player或VLC完全正常播放,但是当我使用时即使使用XNA, MediaElement (Silverlight)或 Song SoundEffect 还是乱码,安静且难以理解吗?可能是什么原因造成的?

Incredibly strange one this evening, I am attempting to play an audio snippet in my Windows Phone game (Silverlight, not XNA), and the MP3 in question plays completely fine and clear through Windows Media Player or VLC, yet when I use the MediaElement (Silverlight) or Song or SoundEffect even using XNA it is garbled, quiet and incomprehensible? What could be the cause of this?

我什至尝试用Adobe Audition使用不同的比特率和其他多种方式重新保存它,但无济于事.

I even tried re-saving it with Adobe Audition using a different bitrate, and a bunch of other variations, but to no avail.

以下是有问题的MP3: http://goneale.com/files/SO/YouDidIt.mp3

Here is the culprit MP3 in question: http://goneale.com/files/SO/YouDidIt.mp3

如果您可以尝试将我的mp3与以下代码段一起使用,并确定可能发生的情况,那就太好了!

If you could try using my mp3 with below code snippet and could determine what might be going on, that would be fantastic!

SoundTrigger.Source = new Uri("YouDidIt.mp3", UriKind.Relative);
SoundTrigger.Play();

然后在XAML表面:

<MediaElement x:Name="SoundTrigger" />

如果有帮助,这个声音片段是在Mac上的Garage Band在家中录制的.

If it helps, this vocal snippet was recorded at home with Garage Band for mac.

令人惊讶的是,如果我拿一段音乐mp3并直接插入其中,我在mp3上的声音开始出现乱码,那么完美音乐会播放半秒钟,然后恢复乱码,这怎么可能?!

Something astonishing, and I just cannot believe it, is if I take a snippet of a music mp3 and insert it directly in the middle, the start of my voice on the mp3 is garbled, then the half second of perfect music plays, then resumes the garbled voice, how could this be?!

更新2012-11-1:好的,新的发现很奇怪,当我将耳机插入Lumia 710时,声音播放的很好吗?但是不是通过演讲者吗?扬声器只是嘶嘶声,远处的声音失真了,这是一部全新的手机,甚至还不到2周,因为我说过,它播放的其他所有东西都完美无瑕且清晰.可能会发生什么?

推荐答案

我已修复它!

这是因为我将平衡的Shure SM-58麦克风直接用于不平衡的输入中,并以立体声或其他方式录制,而这在我的手机上应该是单声道的.

It was all because I was using a balanced Shure SM-58 microphone straight into an unbalanced input and recording in stereo or something when it should have been mono for my phone.

这说明了为什么在插入耳机时正确插入,但没有通过电话的扬声器输出插入

That explains why it came through correctly when I plugged my headphones in but not through my phone's speaker output.

我不记得我曾经介绍过如何解决此问题的链接,但是基本上,如果您有这样的录音错误,请在Audacity中,单击曲目中的小下拉箭头,然后按将立体声拆分为单声道",然后您将获得两条轨道,突出显示一条,然后是文件"->导出选择".可以治疗了!

I can't remember the link I had which explained how to fix this, but basically if you have a recording faulting like this, in Audacity click the little drop down arrow in the track and press "Split Stereo To Mono", then you will get two tracks, highlight one, then File -> Export Selection. Works a treat!

有关菜单的更多信息,请参见此处: http://manual.audacityteam.org/man/Splitting_and_Joining_Stereo_Tracks

See here for more information on the menu: http://manual.audacityteam.org/man/Splitting_and_Joining_Stereo_Tracks

这篇关于使用Windows Phone MediaElement音频失真并且难以理解吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆