Musics!
Moderator: Moderators
Musics!
I know this is teh uber MTR, but I want to know if we are any closer at all to getting music in spring. I dont mean like a soundtrack, I mean a proper music player in spring. I little birdie told me that spring's LUA can play ogg's in the latest version, so thats why Im posting this in theLUA scripts forum, I have no idea if its true or not. So is anyone working on this?
Re: Musics!
From the changelog:
PlaySoundStream("file.ogg" [, volume, x, y, z]) -> nil).
(They live in the LuaUI Spring table, the format for Play is- Added PlaySoundStream and StopSoundStream for OggVorbis audio.
PlaySoundStream("file.ogg" [, volume, x, y, z]) -> nil).
Re: Musics!
So it can be done. Now I wish I knew LUA
Re: Musics!
Does an ogg vorbis soundstream update volume and balance based on its position?
Re: Musics!
No, the position parameters are always ignored (their
presence is a leftover from my original intent to make
handling of .wav's and .ogg's transparent).
presence is a leftover from my original intent to make
handling of .wav's and .ogg's transparent).
Re: Musics!
Wait. You mean it's not played in worldspace at all? So any unit sounds still have to be massive .wav files?Kloot wrote:No, the position parameters are always ignored (their
presence is a leftover from my original intent to make
handling of .wav's and .ogg's transparent).
Re: Musics!
You don't want more than one OGG running at a time anyway, decoding takes some CPU.
Re: Musics!
But my only question is...
WHO IS UP FOR THE EPIC CHALLENGE OF PUTTING MUSIC IN SPRING?!!!!!!
Creator of dynamic music widget gets free pie for life.
WHO IS UP FOR THE EPIC CHALLENGE OF PUTTING MUSIC IN SPRING?!!!!!!
Creator of dynamic music widget gets free pie for life.
- clumsy_culhane
- Posts: 370
- Joined: 30 Jul 2007, 10:27
Re: Musics!
there is already one, i cbf finding it. but there is one.. do a search
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Musics!
Auswaschbar's guide to listen to music in spring:LOrDo wrote:
WHO IS UP FOR THE EPIC CHALLENGE OF PUTTING MUSIC IN SPRING?!!!!!!
1. Start audioplayer of choice
2. Generate playlist and start music
3. Play spring while listen to music
May someone enlighten me what is the advantage of playing music with a widget?
Re: Musics!
Not having to do additional steps each time you start (and close) Spring?Auswaschbar wrote:Auswaschbar's guide to listen to music in spring:LOrDo wrote:
WHO IS UP FOR THE EPIC CHALLENGE OF PUTTING MUSIC IN SPRING?!!!!!!
1. Start audioplayer of choice
2. Generate playlist and start music
3. Play spring while listen to music
May someone enlighten me what is the advantage of playing music with a widget?
Not having to bother with a seperate volume control?
Not having to manually change tracks for dynamic music?
Not having to alt-tab to change settings you don't have hotkeys for?
I could think of more, really.
Re: Musics!
3 advantages
1: DYNAMIC MUSIC
2: DYNAMIC MUSIC
3: DYNAMIC MUSIC
And for seriousness, you forgot about less ram use. And a proper music player in spring would spawn a soundtrack for spring, and world domination would follow.
1: DYNAMIC MUSIC
2: DYNAMIC MUSIC
3: DYNAMIC MUSIC
And for seriousness, you forgot about less ram use. And a proper music player in spring would spawn a soundtrack for spring, and world domination would follow.
Re: Musics!
Dude, are you kidding me? I mean, promises for baked goods are notoriously untrustworthy these days.LOrDo wrote:Creator of dynamic music widget gets free pie for life.
Re: Musics!
Other solution:
Most keyboards nowadays come with play/pause, volume and next/prev track buttons. These are easily mapped to any music player. Hell, even good old foobar2000 recognizes them. I use the Volume widget for spring volume, and I have volume keys on the kb for global system volume.
I have tried AFs dynamic music ai, but have found the track changes to be way too abrupt and frequent. Also, its volume drowning out all other spring sounds makes it fail
My only gripe with music in spring is: Can someone PLEASE fix the cant reach destination sound bug, or tell me a way to permanently delete from spring? It was one of those things that drived me mad in OTA. Now hearing it on repeat forever because an allys unit is stuck drives me off the f*cking walls.
Most keyboards nowadays come with play/pause, volume and next/prev track buttons. These are easily mapped to any music player. Hell, even good old foobar2000 recognizes them. I use the Volume widget for spring volume, and I have volume keys on the kb for global system volume.
I have tried AFs dynamic music ai, but have found the track changes to be way too abrupt and frequent. Also, its volume drowning out all other spring sounds makes it fail
My only gripe with music in spring is: Can someone PLEASE fix the cant reach destination sound bug, or tell me a way to permanently delete from spring? It was one of those things that drived me mad in OTA. Now hearing it on repeat forever because an allys unit is stuck drives me off the f*cking walls.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Musics!
mod problem, not engine problem.
Re: Musics!
Oh the dynamic Music is working for 0.76 now?
Link please.
Link please.
Re: Musics!
http://www.darkstars.co.uk/2008/my-offi ... -music-ai/
Re: Musics!
hotkey solutions won't work you just can't easily hotkey every action, especially considering lots of key combinations are used by Spring, and considering Spring's a very mouse based game, there's lots of times when you don't even have your hands at they keyboard. That and it would be using a seperate volume control, which will be an annoyance, and would have to be started up first and closed after. That and it's not dynamic.Beherith wrote:Other solution:
Most keyboards nowadays come with play/pause, volume and next/prev track buttons. These are easily mapped to any music player. Hell, even good old foobar2000 recognizes them. I use the Volume widget for spring volume, and I have volume keys on the kb for global system volume.
I have tried AFs dynamic music ai, but have found the track changes to be way too abrupt and frequent. Also, its volume drowning out all other spring sounds makes it fail
My only gripe with music in spring is: Can someone PLEASE fix the cant reach destination sound bug, or tell me a way to permanently delete from spring? It was one of those things that drived me mad in OTA. Now hearing it on repeat forever because an allys unit is stuck drives me off the f*cking walls.
Sure you can do it if you want to, but it's not a solution.
I'll gladly go back to manually managing my metal makers over dealing with those inconveniences each game anyway.
Re: Musics!
I think you misunderstood me. I have a music player app running in the background, and my keyboard has media keys that spring doesnt use. So i can control the media player while playing spring.ZellSF wrote: hotkey solutions won't work you just can't easily hotkey every action, especially considering lots of key combinations are used by Spring, and considering Spring's a very mouse based game, there's lots of times when you don't even have your hands at they keyboard.
I dunno what kind of mouse you have, but mine only requires use of my right hand, so I always have my left hand on the keyboard.