Sound in Celestia

The place to discuss creating, porting and modifying Celestia's source code.

Moderator: selden

Sound in Celestia

Postby dovlex » Fri Sep 19, 2008 10:23 pm

I have Celestia 1.5.1 is there any options that put the sound or music in the program....?
dovlex
 
Posts: 9
Joined: Mon Sep 15, 2008 10:11 am

Re: Sound in Celestia

Postby selden » Sat Sep 20, 2008 5:35 am

Celestia v1.5.1 does not contain any options for sound.

However, the variant of Celestia used for Frank Gregorio's educational activities, Celestia-1.5.1-ED, does include sound support. It's Celestia v1.5.1 plus some additional features. It is available at http://www.celestiamotherlode.net/catal ... tional.php
Selden
User avatar
selden
 
Posts: 9902
Joined: Tue Sep 03, 2002 7:21 pm
Location: NY, USA

Re: Sound in Celestia

Postby ANDREA » Sat Sep 20, 2008 7:40 am

dovlex wrote:I have Celestia 1.5.1 is there any options that put the sound or music in the program....?

Hello Dovlez, sorry, no sound or music for Celestia 1.5.1, but probably it will be available in Celestia 1.6. :wink:
Give a look here:
http://www.shatters.net/forum/viewtopic.php?f=9&t=12951&start=0
Bye.

Andrea :D
Core 2 Quad Q6600 G0 3.8 GHz- 8 GB DDR2
DELL 2709W 1920x1200- WIN 7 64 bit- ASUS P5K-E-
8800 GTX 768MB- 6xSATA II, total 7.5 TB-260.89- Celestia 1.6.1
Celestia1.4.1_patch3- Vincent's LUA Edu Tools 1.2
User avatar
ANDREA
 
Posts: 1529
Joined: Sat Jun 01, 2002 4:50 pm
Location: Rome, ITALY

Re: Sound in Celestia

Postby dovlex » Sat Sep 20, 2008 11:51 am

ANDREA wrote:Hello Dovlez, sorry, no sound or music for Celestia 1.5.1, but probably it will be available in Celestia 1.6. :wink:
Give a look here:
http://www.shatters.net/forum/viewtopic.php?f=9&t=12951&start=0
Bye.

Andrea :D

I look forward to it, I know that it was difficult to make this (do not be angry because of my impatience) but when will it be completed? :D
dovlex
 
Posts: 9
Joined: Mon Sep 15, 2008 10:11 am

Re: Sound in Celestia

Postby ANDREA » Sat Sep 20, 2008 2:23 pm

dovlex wrote:
ANDREA wrote:Hello Dovlez, sorry, no sound or music for Celestia 1.5.1, but probably it will be available in Celestia 1.6. :wink:
Give a look here:
http://www.shatters.net/forum/viewtopic.php?f=9&t=12951&start=0
Bye.
Andrea :D

I look forward to it, I know that it was difficult to make this (do not be angry because of my impatience) but when will it be completed? :D

Sorry dovlex, dunno, it's still under discussion in the developers group.
Be patient, I'm waiting for it from at least three years. :wink:
Bye soon, may be.

Andrea :D
Core 2 Quad Q6600 G0 3.8 GHz- 8 GB DDR2
DELL 2709W 1920x1200- WIN 7 64 bit- ASUS P5K-E-
8800 GTX 768MB- 6xSATA II, total 7.5 TB-260.89- Celestia 1.6.1
Celestia1.4.1_patch3- Vincent's LUA Edu Tools 1.2
User avatar
ANDREA
 
Posts: 1529
Joined: Sat Jun 01, 2002 4:50 pm
Location: Rome, ITALY

Re: Sound in Celestia

Postby duds26 » Fri Sep 26, 2008 5:43 am

Will this mean that Celestia-ED will be discontinued?
(I mean the adjusted version of Celestia, not the Educational Activities.)


And users of Celestia-ED will be directed to Celestia 1.6?
With the educational activities adjusted for Celestia 1.6?
Last edited by duds26 on Sat Sep 27, 2008 6:15 am, edited 1 time in total.
duds26
 
Posts: 328
Joined: Mon Feb 05, 2007 11:11 am
Location: Europe, Belgium

Re: Sound in Celestia

Postby BobHegwood » Fri Sep 26, 2008 8:33 am

duds26 wrote:Will this mean that Celestia-ED will be discontinued?

And users of Celestia-ED will be directed to Celestia 1.6?
With the educational activities adjusted for Celestia 1.6?


I'm sure that Frank will probably answer this post, but if you like you can simply send a PM to fsgregs if you like.
I would very much doubt that Frank's educational activities would be discontinued though. More likely, he will
adjust them to the new, stable, version of Celestia when it is finished.

Thanks, Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
User avatar
BobHegwood
 
Posts: 1812
Joined: Fri Oct 12, 2007 2:41 pm

Re: Sound in Celestia

Postby duds26 » Sat Sep 27, 2008 6:12 am

BobHegwood wrote:
duds26 wrote:Will this mean that Celestia-ED will be discontinued?

And users of Celestia-ED will be directed to Celestia 1.6?
With the educational activities adjusted for Celestia 1.6?


I'm sure that Frank will probably answer this post, but if you like you can simply send a PM to fsgregs if you like.
I would very much doubt that Frank's educational activities would be discontinued though. More likely, he will
adjust them to the new, stable, version of Celestia when it is finished.

Thanks, Bob


There may be other people wondering about the same thing, so they can read it here.
And if you do a search, you can find something on the forum.
This isn't the case with a private message.

And what formats are supported?
wma, (mp3 probably not), flac, ogg (vorbis), spx (speex codec for speech), ape, others???
(Please ogg codecs: flac, ogg, spx)
duds26
 
Posts: 328
Joined: Mon Feb 05, 2007 11:11 am
Location: Europe, Belgium

Re: Sound in Celestia

Postby fsgregs » Fri Dec 12, 2008 9:12 pm

duds26:

Sorry, I just discovered this post.

If sound is added to 1.6.0, I will simply modify all of the Educational Activities to use 1.6.0. Since Vincent has already added the ability to display cockpit and overlay textures to his luaEdu tools add-on, and given the new features in 1.6.0, it would be preferable to use it over a special sound version of 1.6.0-ED.

Please understand that sound effects in Celestia151-ED are very nice, but they do have a few disadvantages. The code allows for 8 sounds to be played, either alone or together. To turn activate the sound feature and turn them on or off, a celx script has to be written, and run. The script remaps some of the keys in Celestia so that when they are pressed, a sound will play. There are some restrictions for what kind of sound file you can use. Only WAV files can be played, and they have to have the right bit sampling rate. The celx script also has to be written to incorporate those specific sounds. It is not that difficult but will take a bit of time.

When that sound script is running, other celx scripts cannot be run (since only 1 celx script can be running at a time). I get around this by writing rather large celx scripts that incorporate the sounds I want to play in the educational activities with any/all other celx features I need for that particular activity. That too can get a bit cumbersome.

Nevertheless, I hope Vincent and the other developers agree to insert sound code into 1.6.0. :) I think lots of people would like it.

Frank
User avatar
fsgregs
 
Posts: 1275
Joined: Mon Oct 07, 2002 2:30 pm
Location: Manassas, VA

Re: Sound in Celestia

Postby Hungry4info » Sat Dec 13, 2008 9:06 pm

With the exception of fictional add-ons, sound won't really serve much of a purpose, space being a vacuum and all.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
User avatar
Hungry4info
 
Posts: 1150
Joined: Sun Sep 11, 2005 12:43 pm
Location: Indiana, United States

Re: Sound in Celestia

Postby fsgregs » Sat Dec 13, 2008 9:27 pm

Sound can be very enjoyable when visiting planet surfaces (wind, thunder, volcanic eruption sound effects). You can also write scripts to play some music files at particular points in a scripted journey, or to listen to spacecraft (e.g. - Sputnik), to enjoy many add-ons which might benefit from sound (hear pulsars pulsing in radio, for example). In the Celestia educational activities, I have over 60 sound effects in use. :) Some folks might also want to include some narration in script files. That would be most useful!!!

FYI

Frank
User avatar
fsgregs
 
Posts: 1275
Joined: Mon Oct 07, 2002 2:30 pm
Location: Manassas, VA

Re: Sound in Celestia

Postby Reiko » Tue Dec 23, 2008 10:47 pm

Being new to sound in the real world I would really like to learn how to add them. :)
User avatar
Reiko
 
Posts: 1133
Joined: Thu Oct 05, 2006 4:10 am
Location: Out there...

Re: Sound in Celestia

Postby zhar2 » Wed Dec 24, 2008 6:25 am

Reiko wrote:Being new to sound in the real world


Eh? :)
User avatar
zhar2
 
Posts: 208
Joined: Sat Mar 22, 2008 10:01 am

Re: Sound in Celestia

Postby fsgregs » Wed Dec 24, 2008 7:28 am

Reiko:

Currently, sound in Celestia is only available by using the Celestia151-ED.exe version of the program. Although it is available for download on motherlode on the education page, that particular download is a full install file that creates new directories and "installs" Celestia 151-ED in place of your regular program. It also contains lots of additional high-res files which you will not need if all you wish is the option to play sounds.

When I come back from Xmas holidays in two days, I will package up an abbreviated download zip file of Celestia 151-ED, containing just the program and files you need to play sounds. You can unzip it into your regular Celestia 1.5.1 folder. I will also work on a brief tutorial on how to write a sound script, to command the program to play some sound files.

Happy holidays :)

Frank
User avatar
fsgregs
 
Posts: 1275
Joined: Mon Oct 07, 2002 2:30 pm
Location: Manassas, VA

Re: Sound in Celestia

Postby Reiko » Fri Dec 26, 2008 2:39 pm

zhar2 wrote:
Reiko wrote:Being new to sound in the real world


Eh? :)

I was born deaf and thanks to implants I have been able to hear. That was less than two years ago.

fsgregs wrote:Reiko:

Currently, sound in Celestia is only available by using the Celestia151-ED.exe version of the program. Although it is available for download on motherlode on the education page, that particular download is a full install file that creates new directories and "installs" Celestia 151-ED in place of your regular program. It also contains lots of additional high-res files which you will not need if all you wish is the option to play sounds.

When I come back from Xmas holidays in two days, I will package up an abbreviated download zip file of Celestia 151-ED, containing just the program and files you need to play sounds. You can unzip it into your regular Celestia 1.5.1 folder. I will also work on a brief tutorial on how to write a sound script, to command the program to play some sound files.

Happy holidays :)

Frank


Oh thank you very much. :)
User avatar
Reiko
 
Posts: 1133
Joined: Thu Oct 05, 2006 4:10 am
Location: Out there...

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 3 guests