Engine sound
Moderators: winston, another_commander
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Engine sound
I know that in space you hear no sound. However I would like to have a constant engine humming in the background. I think it is realistic to hear your own engines from the cabin as this is an internal sound. Can ambient noise from within the ship be implemented?
If so we can have different sounds for different ships like different engines in cars for example. Then commanders could brag about the great sound of the old and rusty python engines.
If so we can have different sounds for different ships like different engines in cars for example. Then commanders could brag about the great sound of the old and rusty python engines.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
But please make it optional! I don't like constant background noise....
But on the subject of sound, I really like the C64 military laser sound. It really sounded powerful, the laser sounds in oolite are all little "thweep"s. I think the fire rate was faster for the miiltary laser in c64 elite than in oolite, too. And the sound when a laser hit a ship sounded like metal getting shredded on the C64....totally awesome!
But on the subject of sound, I really like the C64 military laser sound. It really sounded powerful, the laser sounds in oolite are all little "thweep"s. I think the fire rate was faster for the miiltary laser in c64 elite than in oolite, too. And the sound when a laser hit a ship sounded like metal getting shredded on the C64....totally awesome!
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Engine sound
I’d suggest using Sound.playMusic() for this, although sound sources could be used too. Have fun. :-)pagroove wrote:I know that in space you hear no sound. However I would like to have a constant engine humming in the background. I think it is realistic to hear your own engines from the cabin as this is an internal sound. Can ambient noise from within the ship be implemented?
If so we can have different sounds for different ships like different engines in cars for example. Then commanders could brag about the great sound of the old and rusty python engines. :D
E-mail: [email protected]
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Ok,
Didn't know that, nice.
About the background humming. It should not be to loud except for some old ship models
Didn't know that, nice.
About the background humming. It should not be to loud except for some old ship models
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
Re: Engine sound
sound sources, since, play music, will cut off any other music playing... hyper radio for example...Ahruman wrote:I’d suggest using Sound.playMusic() for this, although sound sources could be used too. Have fun.pagroove wrote:I know that in space you hear no sound. However I would like to have a constant engine humming in the background. I think it is realistic to hear your own engines from the cabin as this is an internal sound. Can ambient noise from within the ship be implemented?
If so we can have different sounds for different ships like different engines in cars for example. Then commanders could brag about the great sound of the old and rusty python engines.
Bounty Scanner
Number 935
Number 935
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
I just thougt that the sound has to loop then. Is that possible. Could a scripter script such a engine sound mod easily?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Yes.pagroove wrote:I just thougt that the sound has to loop then. Is that possible. Could a scripter script such a engine sound mod easily? :?:
Code: Select all
this.source = new SoundSource;
source.loop = true;
source.play("[something]");
E-mail: [email protected]
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Ahh ok. Well it's better than nothing. I'il see if I can make a test sound.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
well you could include various stages,Ahruman wrote:Yes.pagroove wrote:I just thougt that the sound has to loop then. Is that possible. Could a scripter script such a engine sound mod easily?The downside to this is that there’s no way to make it randomly switch between variants, so you get the full repetitiveness of a loop.Code: Select all
this.source = new SoundSource; source.loop = true; source.play("[something]");
an attack sound from speed 0 til speed 1-30% . as in throttle up, non looped
a sustain sound for speed 1-30%, for constant speed that loops
a decay sound when speed is going from 1% to 0.. that stops...
do the same for 31 to 60 %
and 61 to 100 % speed..
would require in my example 11 different sounds..
sound 1: 0-1% engine throttle up
sound 2: 1%-30 % sustained sound, looped, checks that sound 1 has completed throttle up before starting to play.. and that speed is still within 1% to 30%, need not be long...
sound 3: 1% to 0 engine shut off...
sound 4 33-32% engine throttle down
use the same procedure for transistion to 34-66% and 67%-100 %
would´nt be to hard to do(ofcourse there is allways going to be "surprises") ... however, i´m a tad busy with other things
Bounty Scanner
Number 935
Number 935
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Well a.t.m. I also have not the time for it. But maybe in he future.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
Agreed, it sounded really good. Well worth sampling...CmdrLUke wrote:But please make it optional! I don't like constant background noise....
But on the subject of sound, I really like the C64 military laser sound. It really sounded powerful, the laser sounds in oolite are all little "thweep"s. I think the fire rate was faster for the miiltary laser in c64 elite than in oolite, too. And the sound when a laser hit a ship sounded like metal getting shredded on the C64....totally awesome!
Re: Engine sound
It wouldn't make sense to play more than one song at the same time :-)Frame wrote:sound sources, since, play music, will cut off any other music playing... hyper radio for example...
But sounds are another thing. And with the loop = true it would perfectly match the engine sound. I have thought about using sound sources, but I think that playMusic is streamed and playSound is not streamed. Or have I missed something?
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Engine sound
I don’t actually know what SDL is doing under the hood, but it looks as though that’s the way it works.Svengali wrote:But sounds are another thing. And with the loop = true it would perfectly match the engine sound. I have thought about using sound sources, but I think that playMusic is streamed and playSound is not streamed. Or have I missed something?
The Mac sound code streams large sounds and buffers small ones, regardless of whether they’re music. (Currently the threshold is 1 MiB of decompressed, 32-bit float audio; at 44100 Hz, that’s about five and a half seconds of mono or a little under three seconds of stereo.)
E-mail: [email protected]
yeah - I reckon an engine sound would be good. It'd be cool to have the Blue Danube kick in when you are about to dock with a space station also...
another sound I'd like is a sort of 'ding' when the Communications Log appears on screen...
have just started playing Oolite - the first new version of Elite that I've played since the Amstrad CPC version...cheers there....
another sound I'd like is a sort of 'ding' when the Communications Log appears on screen...
have just started playing Oolite - the first new version of Elite that I've played since the Amstrad CPC version...cheers there....
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Doesn’t it do that already? Oh, wait, I have vague memories of a problem there in non-Mac builds that was recentlyish solved.ktulu1975 wrote:It'd be cool to have the Blue Danube kick in when you are about to dock with a space station also...
E-mail: [email protected]