C
C#17mo ago
F

❔ Is it possible to have sound/music playing in .Net/c#?

Im working on a basic RPG game and music is a great element when it comes to that kind of thing. so my first question is can you play music/sound through a basic .NET project?
6 Replies
Pobiega
Pobiega17mo ago
yes NAudio is a common way to do this
F
FOP17mo ago
Hmmm how would i go about that? i decided to experiment with ChatGPT and it talked about that in Particular. But no matter what i do the sound doesnt run. perhaps my pathing is incorrect
Pobiega
Pobiega17mo ago
google "NAudio" and I'm sure you'll find the github page for that library and there you can find instructions
F
FOP17mo ago
I'll try, thanks a lot mate. You're the MVP. Helped me a lot to get through Programmering 1 last semester x)
Murten
Murten17mo ago
If you're making a game you can also try using a framework like monogame which already handles audio for you.
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?