Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6822

Is there a way to play multiple Songs at the same time (and still use .OGG) ?

$
0
0

@McSora wrote:

Hey guys!

I am using Monogame and Monogame.Extended for an own game-project and I'm impressed of how much has changed since when i was first trying out Monogame years ago. It helps me a lot especially if it comes to map-rendering.
The Audio-Library on the other hand makes me worry a little bit that I may have to think of an own concept. So I thought I be on the safe side if I asked the community first!

For my background musik i thought of a dynamically changing soundtrack. You can think of it as Sound-Layers that come together randomely or as a reaction to ingame events.

So i did a little bit of recon and got to the point where the Media Player is only able to play one song at a time and
I could use the SoundEffects, for they'd be able to play all at the same time, but they only support .WAV files.
The downside there is that my soundlayers would all in all take about 300mb of Wave files ... when they could also be like.... 20-30 mb when handled as .OGG.
Sure, i know why the sound effects dont support .OGG, because of the decompression and all...

So I ... kind of desperately ask you guys if one has any idea how to accomplish playing multiple .OGG files at the same time!

I'd be very gratefull for an answer :slightly_smiling:

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6822

Trending Articles