Can you add sounds to Celestia?

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
TobiSwia11102001
Posts: 18
Joined: 19.11.2021
With us: 3 years

Can you add sounds to Celestia?

Post #1by TobiSwia11102001 » 06.01.2022, 10:01

Can the sounds of planets, moons and other objects be added to Celestia? Is there a download or is it possible to do it yourself?

TJackson
Posts: 24
Joined: 24.12.2021
With us: 2 years 10 months

Post #2by TJackson » 06.01.2022, 14:23

In space... no one can hear you scream (or narrate or sing). Planets, moons and other objects are generally celestial bodies of few words. They speak softly and carry a big gravity field. Talk to Morgan Freeman. Only He can narrate things in and out of existence. Lol. :biggrin:

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 1 month

Post #3by SevenSpheres » 06.01.2022, 17:17

TobiSwia11102001 wrote:Can the sounds of planets, moons and other objects be added to Celestia? Is there a download or is it possible to do it yourself?

If you're on Windows, Celestia 1.6.1-ED has sound. At one time there were plans to add sound to Celestia 1.7.0, but I think that's no longer planned.
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

Avatar
TheLostProbe
Posts: 218
Joined: 07.05.2020
Age: 18
With us: 4 years 6 months
Location: City of Port Phillip, Melbourne, Australia

Post #4by TheLostProbe » 19.06.2022, 08:17

SevenSpheres wrote:At one time there were plans to add sound to Celestia 1.7.0, but I think that's no longer planned.
If it's no longer planned to be added, why is it still a feature listed on the main website?
"Carbon stars with ancient satellites colonized by sentient fungi. Gas giants inhabited by vast meteorological intelligences. Worlds stretched thin across the membranes where the dimensions intersect... impossible to describe with our limited vocabulary."
- Dr. Wallace Breen

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #5by onetwothree » 19.06.2022, 09:48

I've removed it from the site. Maybe one day we return this feature back.

Avatar
Shadow-Dragon-777
Posts: 79
Joined: 03.11.2021
Age: 30
With us: 3 years
Location: A Galaxy Far Far Away....

Post #6by Shadow-Dragon-777 » 20.06.2022, 02:54

There's not really much sound when there are no air molecules to carry it in space. Perhaps one day music can play depending on which object you orbit but that would just bloat the memory taken up by Celestia's install.

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 4 months
Location: Tallahassee, Florida, US

Post #7by Anthony_B_Russo10 » 20.06.2022, 03:01

TheLostProbe wrote:If it's no longer planned to be added, why is it still a feature listed on the main website?
The main website hasn't been updated outside of the news for the 1.6.2.x version release news.

Edit: And I didn't scroll down far enough to see that it was already removed, though the features need to be centered to make it less jaring to look at.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Avatar
TheLostProbe
Posts: 218
Joined: 07.05.2020
Age: 18
With us: 4 years 6 months
Location: City of Port Phillip, Melbourne, Australia

Post #8by TheLostProbe » 20.06.2022, 03:57

Shadow-Dragon-777 wrote:Perhaps one day music can play depending on which object you orbit but that would just bloat the memory taken up by Celestia's install.
Perhaps Celestia could pull music from YouTube- oh wait no because then Celestia would have the same fate as Rythm
Anthony_B_Russo10 wrote:The main website hasn't been updated outside of the news for the 1.6.2.x version release news.
I'm learning HTML (along with CSS and JS because both are basically mandatory to learn when learning HTML), perhaps when my skills get better I could maintain the Celestia website alongside whoever is already maintaining it?
"Carbon stars with ancient satellites colonized by sentient fungi. Gas giants inhabited by vast meteorological intelligences. Worlds stretched thin across the membranes where the dimensions intersect... impossible to describe with our limited vocabulary."
- Dr. Wallace Breen

Avatar
DaveBowman2001
Posts: 820
Joined: 06.07.2018
Age: 24
With us: 6 years 4 months
Location: Manila, Philippines

Post #9by DaveBowman2001 » 20.06.2022, 04:58

TheLostProbe wrote:Perhaps Celestia could pull music from YouTube- oh wait no because then Celestia would have the same fate as Rythm
Well, there's always Spotify to listen to. They have no problems in playing their music on Discord anyways. Theoretically that could be applied to Celestia as well, or adapt it with some kind of Web Radio file
"Open the pod-bay doors HAL"
"I'm sorry Dave, I'm afraid I can't do that"

Spacecrafts Addon Developer since 2018
Celestia Versions: 1.7.8 (Mobile), 1.6.4 and 1.7.0 (Windows)

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 4 months
Location: Tallahassee, Florida, US

Post #10by Anthony_B_Russo10 » 20.06.2022, 07:51

TheLostProbe wrote:perhaps when my skills get better I could maintain the Celestia website alongside whoever is already maintaining it?
OneTwoThree is the main site maintainer, I think.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #11by onetwothree » 20.06.2022, 12:48

TheLostProbe wrote:I'm learning HTML (along with CSS and JS because both are basically mandatory to learn when learning HTML), perhaps when my skills get better I could maintain the Celestia website alongside whoever is already maintaining it?
any contributions are welcome

Avatar
Goofy
Posts: 280
Joined: 30.08.2011
With us: 13 years 2 months
Location: Italy

Post #12by Goofy » 20.06.2022, 20:11

Hi.
Being a high school science teacher, I was particularly interested in educational improvements, and many years ago my very kind friend Vincent Giangiulio created a 1.5.1, then a 1.6 and finally a 1.6.1 version of Celestia, incorporating the visibility of the images, and the possibility to play external audio files when desired, using simple cel commands for both.
But now the developers of Celestia 1.7 have decided to remove from the lineup the capability to use sound.
Of course sound is absent in space, so many say it is useless in Celestia.
I disagree and I'll explain why. :fie:
Try to imagine a class of students, eg. 18 years old, during an astronomy lesson, where the teacher shows the wonders of the Solar System using a Celestia script .... they can see small and huge objects rotate and move along their orbits, in the total silence of space.
Scientifically fine, obviously, but not very addicting!

Now please try to imagine the same scene with background music such as eg. "Planesr" by Holst, or any other musical theme that you think be right for what we are showing ... do you think the students attention will be the same?
No, they will like what they are watching much more, because music encourages participation, involvement, addiction and immersion in the magical world they are looking at, and helps them to feel emotions that silence cannot give.

Imagine the same scenario with another script, e.g. "The monsters of the sky".
No, I'm not talking about aliens, but all those incredible, wonderful, terrible objects that populate the Universe.
Looking at a pulsar and listening to its sound at real and reduced speed can make the term "pulsar" better understood, just as a dramatic theme will greatly increase the attention on black holes and the explanation of their incredible properties, given by the teacher.
Or during the show "The space conquest", the thrill of listening to the voice of Neil Armstrong who says "...that's a small step for man...".

I have the experience of a lot of lessons given with this system to high school students, lectures in schools with students of 10 and 13 years, and many lectures for adults, and I have ALWAYS seen high interest and participation thanks to the presence of music and sounds, as many students and adults have told me.
I'm sure Frank Gregorio, who is another science teacher and creator of Celestia Educational Activities, could say the same thing, because he too uses a Celestia version with the same features.

So now I'm asking all of you:
why can't Celestia's immense educational skills be enhanced with sound?
And let me say this: so far the didactic use of Celestia is the only really practical and useful one.
Thanks for reading my long post in bad English.

Goofy (AKA ANDREA, Celestia user n.125, April 2002, for those who remember me :wink: )
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #13by onetwothree » 20.06.2022, 21:33

Sound support never was a part of a mainline Celestia. If we add it back we need to make this in cross-platform way so i'd like to use ffmpeg for this. But ffmpeg support is reverted in windows builds due to some issues nobody volunteered to fix. Without windows devs we're unable to make a truly cross-platform desktop application.

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Post #14by ANDREA » 21.06.2022, 20:52

So sorry for this... my only hope is that a windows developer may join the team soon...
Crossed fingers! :wink:
Bye
ANDREA (AKA Goofy)
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 9 months
Location: Suzhou, China

Post #15by Markerz » 24.07.2022, 06:16

fyi, sound support in scripting has been added via miniaudio now.

command description can be found here:

https://celestia.mobi/resources/guide?guide=6F7D2F2A-BD35-924D-D068-2B7E61022445

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Post #16by ANDREA » 24.07.2022, 10:44

Hi Markerz, thank you for yur reply.
But is it for Celestia Mobile only, or applies to Celestia 1.7, too?
And, anyway, it's available for CELX scripts only, correct?
If yes, could it be made available for CEL scripts, too, as in 1.6.1?
Thank you once again.

ANDREA (AKA Goofy) :smile:
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 9 months
Location: Suzhou, China

Post #17by Markerz » 25.07.2022, 12:50

ANDREA wrote:is it for Celestia Mobile only

I wrote "Mobile" in that website because most of celestia.mobi users are on mobile. The audio support is not limited to platforms so if you compile it on Windows with the right options, then the windows build will also have audio support. CEL script is also supported. If you scroll the page down, you'll see...

CEL commands
play { channel [int] volume [float] pan [float] loop [int] filename [str] nopause [int] }
Commands for playing an audio file, please see to celestia:play in CELX commands.

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Post #18by ANDREA » 25.07.2022, 13:33

Thanks a lot for the explanation, Markerz, appreciated.
The CEL commands are the same of 1.6.1, but my problem is always the same: till when someone will compile the thing, I cannot use it (Cartrite, where are you?!? :pray:)
Bye

ANDREA (AKA Goofy) :smile:
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 9 months
Location: Suzhou, China

Post #19by Markerz » 25.07.2022, 16:45

ANDREA wrote:till when someone will compile the thing

You don’t need anyone to do it. every time code change is made to celestia, a new build will be compiled automatically, the newest include this ability already, which you can download binaries here, put the extracted dlls and exe in a celestia folder and you are good to go

https://github.com/CelestiaProject/Celestia/actions/runs/2725607374

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Post #20by ANDREA » 26.07.2022, 13:54

Thank you Markerz, but I'm a noob and when in that page I opened the
build-windows (x64, x64) link, I found a series of links to code lines, only.
You said I had to "download binaries here, put the extracted...", but I don't see binaries and anyway, if I will find them, I don't know how to extract them...
As I told, I know nothing about all this stuff.
Sorry to bother, but could you upload a .zip/.rar file with the files I (we!) need to add to my 1.7.0 installed release, that Cartrite builded a lot of time ago?
Please! :pray: :pray: :pray:
Thanks a lot, whatever will be your reply.

ANDREA (AKA Goofy) :smile:
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO


Return to “Development”