mp3

flac: “ERROR: input file has an ID3v2 tag” (it doesn't)

心已入冬 提交于 2019-12-11 08:09:45
问题 I'm trying to build a rather longwinded chain of programs and libraries that culminates in using a speech-to-text API to run an mp3 file into human-readable text. I was surprised to find very few APIs that do this online - the only working thing I found was the speech2text project: https://github.com/taf2/speech2text which hooks into Google's unofficial Speech-To-Text API. This actually worked at first. I did a few manual conversions and was pleased with the results. However, since attempting

MediaEngine audio playback on WinRT

扶醉桌前 提交于 2019-12-11 07:18:58
问题 I'm trying to add music to my game that runs on WinRT. The music should be in an encoded format (mp3, ogg, etc.) and should be streamable and be decoded by the hardware (for performance reasons). I've looked through the samples, and found out that MediaEngine can do something like this (I hope). However, I'm having problems making it work. I keep getting ComExceptions everytime I try to create IMFByteStream from IRandomAccessStream via MFCreateMFByteStreamOnStreamEx() . It might be that I'm

How to read MP3 in MATLAB

喜欢而已 提交于 2019-12-11 06:29:05
问题 I am currently working on watermarking audio files in Matlab for a mathematics research project. So far I have been able to read wav files using wavread in Matlab. However, because wav files are very large, the resulting data is also large. Therefore, in order to simplify this I would like to know how I would be able to read an mp3 file in Matlab. So far I have only tried to read an mp3 by using dsp.AudioFileReader. However, the resulting data only contains 0's and a few other numbers, which

PHP how to stream a mp3 stream again

泪湿孤枕 提交于 2019-12-11 06:28:35
问题 I´m trying to get data from a radio stream (MP3) from http and want to stream it out in https. this is what I tried: <?php define(URL, 'Mymp3stream.com'); $ch = curl_init(URL); curl_setopt_array($ch, array( CURLOPT_CONNECTTIMEOUT => 60, CURLOPT_FOLLOWLOCATION => TRUE, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HEADER => TRUE )); curl_exec($ch); how can I get it streamed ? the browser doesn´t start any audio output. Even with Headers header('Content-type: audio/mpeg'); header("Content-Transfer

NAudio select the proper frame for AcmMp3FrameDecompressor

拥有回忆 提交于 2019-12-11 05:54:57
问题 I'm working on streaming mp3 player. Initialy when creating AcmMp3FrameDecompressor I used the first frame to determine wave format as the demo shows. Then I realized that some files play at the wrong speed (usually slower). I looked at the implementation of Mp3FileReader and found that it decides between the first and the second frames. // workaround for a longstanding issue with some files failing to load // because they report a spurious sample rate change var secondFrame = Mp3Frame

Extract Album Art from mp3 and display in an Image with Delphi?

拥有回忆 提交于 2019-12-11 05:37:57
问题 I want to do this and I don't want to have an external DLL file used. Album Art is a picture which is stored in a for example MP3 file. I want to get it out and display it. I searched the net but I couldn't find a source file. Thanks in advance 回答1: Album Art in MP3 is supported in ID3v2 tags. The first Experts Exhange hit on this search answers how to do that in Delphi. ID3 has a list of implementations, including Delphi implementations. --jeroen 来源: https://stackoverflow.com/questions

MP3 Duration Java

孤街浪徒 提交于 2019-12-11 05:04:58
问题 Having an awful time trying to get the accurate time for a set of MP3s. I have these following properties that are generated using the MP3SPI 1.9.5 library. // mp3.crc=true // mp3.copyright=true // mp3.padding=false // mp3.channels=1 // mp3.version.mpeg=2.5 // mp3.length.bytes=6425480 // mp3.framerate.fps=27.777779 // mp3.framesize.bytes=140 // duration=1606356000 // mp3.version.layer=3 // mp3.length.frames=44621 // mp3.frequency.hz=8000 // mp3.header.pos=0 // mp3.bitrate.nominal.bps=16000 //

Open Windows Media Player via html

喜你入骨 提交于 2019-12-11 04:44:52
问题 How can I open windows media player and play a mp3 file via a html file? I don't want to embed the mp3 with <embed src="mp3.mp3" autostart="true" loop="true" hidden="true"> I want the program windows media player to pop up and play the mp3. How can I do that? Maybe with Java script? If so how? Thanks! 回答1: You can create hidden frame for this, note that only in IE browser it will actually cause WMP to pop up and play it, other browsers will play it "internally". In the example the code will

Recording with arecord stops after 1h 33m Under Fedora 23

ぐ巨炮叔叔 提交于 2019-12-11 04:42:53
问题 I'm using this command to record audio in Linux Fedora 23 /usr/bin/arecord -d 11400 -D hw:1,0 -f S32_LE -c2 -r48000 -t wav | lame -b 192 - longrec.mp3 >> output.txt 2>&1 & echo $! Basically I want an mp3 record of 3 hours and 10 minutes (11400 seconds) from the input soundcard. Everything works fine when started, but it always stops after 1h33m12s. File output.txt shows nothing of any interest: LAME 3.99.5 64bits (http://lame.sf.net) Using polyphase lowpass filter, transition band: 18774 Hz -

Programatically Set Custom Notification Ringtone (Choose from AUDIO files in Mobile) for App

℡╲_俬逩灬. 提交于 2019-12-11 04:09:52
问题 I want to list all the available AUDIO (.mp3) files in Mobile device. User can select any Audio file from list and can set as a Notification Tone for this App. I worked out many sources and none of them satisfiable. Thank you. 回答1: First get all the available mp3 files and retreive their names using the code below do whatever u want with the retreived data for eg u can set up to a list view or showing them in a dialog etc. String extPath = getSecondaryStorage(); if (extPath != null) { mySongs