Replies: 4 comments 4 replies
-
It's a bit difficult, but see the docs for |
Beta Was this translation helpful? Give feedback.
2 replies
-
Many thanks for your recent help. I have used Stellarium for many years and demonstrate and promote it at the many public talks I give.
I have been asked to write a self running script for a tour of the night sky, with or without user control. I have solved the problem of pausing and starting the script from the keyboard but I was asked if an audio commentary could be added. It seems that StelAudioMgr is now disabled. Is there any way to do this. It would be very useful for presentations.
Many thanks,
Steve Broadbent BSc FRAS
Hampshire Astronomical Group
Clanfield Observatory
Mobile: 07813 086215
https://hantsastro.org.uk<https://hantsastro.org.uk/>
From: Alexander V. Wolf ***@***.***>
Sent: 16 December 2024 02:55
To: Stellarium/stellarium ***@***.***>
Cc: hagastro ***@***.***>; Author ***@***.***>
Subject: Re: [Stellarium/stellarium] Stellarium Script (Discussion #4009)
It's a bit difficult, but see the docs for NebulaMgr::setTypeFilters() function
—
Reply to this email directly, view it on GitHub<#4009 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQXB2P3V7DT3HZTYS65M6UD2FY6HXAVCNFSM6AAAAABTU6XALCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJXGYYTMNY>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Running 24.4 under Windows 11 Pro 24H2
Script:
StelAudioMgr.loadSound("audio/Recording.mp3","test");
StelAudioMgr.playSound("test");
Log:
Starting script at Thu Jan 9 13:02:26 2025
script error: 'Reference' @ line 2: ReferenceError: StelAudioMgr is not defined
Script finished at Thu Jan 9 13:02:26 2025
SteveB
Mobile: 07813 086215
From: Georg Zotti ***@***.***>
Sent: 09 January 2025 12:24
To: Stellarium/stellarium ***@***.***>
Cc: hagastro ***@***.***>; Author ***@***.***>
Subject: Re: [Stellarium/stellarium] Stellarium Script (Discussion #4009)
Just tested 24.4/Win10. No problems with audio, plays WAV/OGG/MP3.
—
Reply to this email directly, view it on GitHub<#4009 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQXB2P36Z3TQU3UEJUJZATL2JZS6JAVCNFSM6AAAAABTU6XALCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZYGYYDINI>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Many thanks.
SteveB
Mobile: 07813 086215
From: Georg Zotti ***@***.***>
Sent: 09 January 2025 13:18
To: Stellarium/stellarium ***@***.***>
Cc: hagastro ***@***.***>; Author ***@***.***>
Subject: Re: [Stellarium/stellarium] Stellarium Script (Discussion #4009)
Ah, no. StelAudioMgr is not scriptable.
core.loadSound("tests/audiotest.mp3", "mp3");
core.playSound("mp3");
core.wait(4);
core.dropSound("mp3");
—
Reply to this email directly, view it on GitHub<#4009 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQXB2PZBG5JHB4UPFGZXF632JZZJDAVCNFSM6AAAAABTU6XALCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZYGY2TKNA>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do you change the "DSO filter by type settings" from a script
Beta Was this translation helpful? Give feedback.
All reactions