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

Change the speed at which audio loaded without the content manager plays

$
0
0

@NetherGranite wrote:

I'm looking to load a song from a file whose location isn't known at build time and play it at a certain speed.

The two classes for loading and playing sounds, Song and SoundEffect, seem to only be capable of one of those things each:

  • Song instances can be loaded using Song.FromUri, but I can't seem to find a way to set the speed at which that song plays.
  • SoundEffect instances seem to have a way to configure playback speed by setting pitch, but I couldn't find a method like SoundEffect.FromUri.

What is the recommended way to go about this?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles