C
C#14mo 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
Pobiega14mo ago
yes NAudio is a common way to do this
F
FOP14mo 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
Pobiega14mo ago
google "NAudio" and I'm sure you'll find the github page for that library and there you can find instructions
F
FOP14mo 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
Murten14mo ago
If you're making a game you can also try using a framework like monogame which already handles audio for you.
Accord
Accord14mo 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.
Want results from more Discord servers?
Add your server