mp3

Get Relative Loudness of Song, Javascript

*爱你&永不变心* 提交于 2020-02-03 09:52:06
问题 I'm trying to build an mp3 player for my site using JavaScript (and any plugins/frameworks(jQuery)/libraries that are relevant) & html5. So I built the player (more accurately, I implemented jPlayer), and now I want to make a visualizer. Ok maybe it's not a visualizer (all the names for ways to visualize sound always confused me), I guess what I want is something like this: (source: anthonymattox.com) Or just something that graphs the amplitude (loudness) of an MP3. So to start, does anyone

taglib : how to edit Album Artist?

你离开我真会死。 提交于 2020-02-02 13:36:48
问题 How to modify the "Album Artist" field of a MP3 file with the library TagLib ? Is there something similar to : f.tag()->setArtist("blabla"); ? 回答1: ID3v2 doesn't actually support a field called "album artist". iTunes uses the TPE2 frame, which is supposed to be: TPE2 The 'Band/Orchestra/Accompaniment' frame is used for additional information about the performers in the recording. For a complete list of frames see http://id3.org/id3v2.3.0#Declared_ID3v2_frames. To write that with TagLib, this

taglib : how to edit Album Artist?

限于喜欢 提交于 2020-02-02 13:36:25
问题 How to modify the "Album Artist" field of a MP3 file with the library TagLib ? Is there something similar to : f.tag()->setArtist("blabla"); ? 回答1: ID3v2 doesn't actually support a field called "album artist". iTunes uses the TPE2 frame, which is supposed to be: TPE2 The 'Band/Orchestra/Accompaniment' frame is used for additional information about the performers in the recording. For a complete list of frames see http://id3.org/id3v2.3.0#Declared_ID3v2_frames. To write that with TagLib, this

ExoPlayer and start / pause / seekTo commands

此生再无相见时 提交于 2020-01-28 18:12:30
问题 I am trying to use ExoPlayer , as opposed to MediaPlayer and I can't seem to figure it out... MediaPlayer has .start() / .pause() commands... and I can just seekTo(1287) and it automatically starts playing... How do I do this with ExoPlayer ? I have tried to do seekTo(1287) but it doesn't start playing after... I have also added .setPlayWhenReady(true) after that, and still no luck... I am able to .stop() ... but I can't get it to start playing again after that unless I .prepare() again...

how to trim header and side information of mp3 frame using Naudio and c#

冷暖自知 提交于 2020-01-25 11:51:15
问题 My Problem is to get ACTUAL DATA of a mp3 frame. For this I have used NAudio and get RawData but I think in the RawData property, it returns all the bytes of the frame including header and side information. Code is given below: private void button1_Click(object sender, EventArgs e) { Mp3FileReader reader = new Mp3FileReader("file.mp3"); Mp3Frame mp3Frame = reader.ReadNextFrame(); byte [] FrameByteArray = mp3Frame.RawData; BitArray bits = new BitArray(FrameByteArray); Console.Write(mp3Frame

jQuery Audio Stop once Link is clicked

試著忘記壹切 提交于 2020-01-25 07:36:07
问题 I have two jQuery scripts running: one for an audio mp3 player, and another to display a YouTube video in a LightBox. Right now, if someone clicks an audio file to play, it continues to play even if the link for the video is clicked. I would like for the audio to stop playing, so that when the LightBox opens, I can autoplay the video and the user can watch that. Audio player implementation: <head> <link rel="stylesheet" href="libs/css/styles.css" /> <script src="libs/jquery/jquery.js"><

Save MP3 file from URL in VB.NET

做~自己de王妃 提交于 2020-01-24 00:25:08
问题 I'm attempting to download an .mp3 file from my server, and save it locally, in VB.NET. However, when I do so, the saved file is corrupt , as the contents contain multiple lines of things like below, with a ton of random/weird characters below them (I'm assuming the building blocks of the audio file). Here's what I am seeing: http://i.troll.ws/11d37d00.png date = "20130811_18:22:58.466"; host = "DC3APS421"; kbps = "48"; khz = "22050"; When I attempt to play the .mp3 file in WMP, it also says

Flash streaming player: shoutcast (mp3/aacplus), windows media audio

吃可爱长大的小学妹 提交于 2020-01-23 16:49:45
问题 Is there a flash player that could handle all of the formats mentioned above. Or different players that could handle it? 回答1: http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player.html explains Flash 9's h.264 and aac support. Presumably Flash can play aac audio without h.264 video. Someone wrote an ogg vorbis player in Flash (http://drawlogic.com/2008/10/04/as3-fvorbis-flash-ogg-vorbis-player/) and the performance was acceptable. It's not written in ActionScript. It's

How to convert .opus file to .mp3/.m4a/.aac in iOS swift?

风格不统一 提交于 2020-01-23 15:51:06
问题 I want to play .opus file using AVAudioPlayer, since AVAudioPlayer doesn't support .opus file, I am trying to find a way to convert .opus to any other audio format so that I can play using AVAudioPlayer . Could anyone help me on this? Thank you 回答1: You could use libopus or libopusfile C libraries to dynamically decode Opus files to raw PCM audio and feed that to a memory buffer that AVAudioPlayer could decode. You would most likely need to prepend the memory buffer with AIFF/WAV/RIFF header

How can I export a AVPlayer audio mp3 file using AVAssetExportSession?

痞子三分冷 提交于 2020-01-22 15:34:05
问题 I am now trying to export an mp3 file that has been player using AVPlayer (using an url) so it doesn't have to be downloaded twice. This is my sample code: I've tried every outputFileType... self.exporter = [[AVAssetExportSession alloc] initWithAsset:self.asset presetName:AVAssetExportPresetPassthrough]; } NSError *error; NSLog(@"export.supportedFileTypes : %@",self.exporter.supportedFileTypes); // "com.apple.quicktime-movie", // "com.apple.m4a-audio", // "public.mpeg-4", // "com.apple.m4v