oggvorbis

How can I play compressed sound files in C# in a portable way?

Is there a portable, not patent-restricted way to play compressed sound files in C# / .Net? I want to play short "jingle" sounds on various events occuring in the program. System.Media.SoundPlayer can handle only WAV, but those are typically to big to embed in a downloadable apllication. MP3 is protected with patents, so even if there w...

How to decode wav, mp3, and/or ogg in .Net/Mono?

I am looking for a cross-platform (.Net and Mono on Windows, MacOSX, and Linux) way to decode wav, mp3, or ogg files such that I can then play the decoded streams through DirectSound or OpenAL as desired. A solution that can decode either mp3 or ogg would be sufficient -- decoding both is not necessary. If it (or another solution) can d...

How to encode the real time audio?

I am on creating voice report. The user has to submit his voice report and it should simultaneously encode the audio data using Vorbis encoder. Its working fine but encoding will start after the recording is over. But I should have to employ the Vorbis encoder on the fly. Please share any sample code it would be much helpful. ...

Reading tag data for Ogg/Flac files.

I'm working on a C library that reads tag information from music files. I've already got ID3v2 taken care of, but I can't figure out how Ogg files are structured. I opened a .ogg file in a hexeditor and I could find the tag data because that was all human readable. But everything from the beginning of the file to the tag data looked l...

How do I play an ogg vorbis file in Silverlight?

I'd like to play back ogg vorbis audio from http in Silverlight. What do I need to make this happen? ...

Is there anyway to get ID3 metadata from an MP3 or Vorbis comments from Ogg via the HTML5 audio element?

Mozilla Developer Center's HTML5 media guide describes an event for audio and video elements called "loadedmetadata". Is there anyway to get the metadata for files? I am writing an HTML5 extension for Google Chrome and I don't know what the metadata for the audio files I'm creating a player for beforehand. Edit: This question seems to ...

PulpCore music playback - loop sound and animate volume

I have been experimenting with PulpCore, trying to create my own tower defence game (not-playable yet), and I am enjoying it very much I ran into a problem that I can't quite figure out. I extended PulpCore with the JOrbis thing to allow OGG files to be played. Works fine. However, pulpCore seems to have a problem with looping the sound ...

Stream Ogg File

Does anyone know how to stream Ogg files without fully downloading them first over a Socket(in byte[] format). I am trying to create a music streaming application and I managed to do it with MP3's but I understand there's licensing issues invovled after certain limit hence why I want to use OGG(Vorbis). I maanged to find this C# Vorbis ...

Mixing multiple audio channels in Flex. Using Ogg with Alchemy.

I'm using Alchemy in Flex to play some ogg vorbis. Works great, but I can only get one stream to play at a time. When I start a second stream it just sounds all glitched and you can only hear the second stream. Anyway to mix (mux) more than one stream together, and then possibly have separate volume controls for each, so the user can m...

Error while linking libvorbisfile.dylib into Mac application

I'm working on a program that loads sounds from Ogg Vorbis files, but whatever I do, the XCode project just doesn't seem to want to link libvorbisfile.a into my program. I keep getting linking errors: "_ov_read", referenced from: GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound...

Loop streaming .ogg audio - OpenAL

Dear all, I have problem looping a streamed ogg vorbis file. This is the code : fslStream_OGG::fslStream_OGG() { className = "fslSound"; iMemSize = 0; iLength = 0; bSourceRelative = false; bIsLooping = false; bForceStop = false; bActive = false; source = buffer = 0; current_gain = 1.0f; outer_gain = 0; snd_info.uiChannels =...

Looping OGG files with Adobe Alchemy

I'm trying to use Adobe's OggVorbis library. But I can't seem to get the Sound object to loop. I even tried looping the _sound object inside the AudioDecoder.as in the "com.automatastudios.audio.audiodecoder" package. Do you really have to reload the file and stream it over and over? ...

Minimizing latency in streaming audio with html 5

I'm trying to listen to a live audio stream on a webpage with a latency of less than 3 seconds. So far with ogg vorbis streams generated using ices & icecast, I've been unable to get latencies less than 7 seconds. All players I've used so far (html5 audio tag in Firefox, Opera, Safari; VLC as well) seem to introduce similar delays. It's ...

How can I mix a melody track over the top of my background track?

For simplicity, let's say I have 3 tracks. One always plays, then occaisionally one of the others will also play: [----------Background track----x------] [------------"Good" track------x------] [------------"Evil" track------x------] So at time "x" you will be hearing background+(good/evil), depending on what the player is doing. The ...

Python ogg vorbis encoder on Windows

I want to use Python to convert a wav file to ogg vorbis format, so it can be streamed to a browser for playback. I've been able to use PyMedia 1.3.7.3 to encode to mp3 format, but when I set the output stream type to 'ogg', I get the error: oggvorbis_encode_init: init_encoder failed and the script dies. Perhaps I don't have the right ...

How can I decode ogg vorbis data from a ByteBuffer ?

The libraries I founded so far only have methods to decode from a file or InputStream, I have a ByteBuffer with ogg vorbis data and I need it decoded to PCM without having to write it to a file first. ...