See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: [News] Update of OrbiterSound - UMmu - UCGO for Orbiter 2016  (Read 173777 times)

0 Members and 4 Guests are viewing this topic.

Offline NorbertOrbinaut

  • Jr. Member
  • **
  • Posts: 16
  • Country: Germany de
  • Karma: 5
Reply #25 - 12 May 2020, 11:41:15
Sounds good. Thank you Dan.


Offline jacquesmomo

  • Le budget !!!
  • Legend
  • ******
  • Posts: 7408
  • Country: France fr
  • Karma: 598
  • Plus on rate, plus on a de chances de réussir !..
Reply #26 - 12 May 2020, 12:11:22
:applause: goody goody !!!

Mes add-ons sont là !

Offline Angel on my Shoulder

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Reply #27 - 16 May 2020, 08:23:43
I've been using Orbiter since i was a kid, and its part of who i am. It gave me a window into the universe in which we reside, and is what kept me wanting to be a pilot. Returning after years to find this thread, a shining beacon that great things live on in such a trying time, has actually brought a tear to my eye. Thank you Daniel, for all your work.

 :wor:


Offline StarLost

  • Hero Member
  • *****
  • Posts: 683
  • Country: Canada ca
  • Karma: 17
Reply #28 - 16 May 2020, 09:02:37
Copied from another posting:

"Dan, when working with the ObiterSound_SDK, what is your recommended setup? What versions of compiler are you using?

Regards"

There you go, Dan. I asked the question 'cause I think your answer will help a number of us, me least of all. You can delete the other posting now.

Cheers

StarLost (Ken Carter)


Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #29 - 16 May 2020, 10:40:14
Dear Ken,

I use VS2017 and I compile the SDK library with platform toolset "v140_XP" ("Visual Studio 2015 - Windows XP") to ensure maximum compatibility. This said I have absolutely no idea if it might cause problem with VS2008 or later and how much difficulties you might encounter with the VS2017 examples so I propose that we make a test. I'll send you the SDK and the examples.

Note: if your vessel was compiled with OrbiterSound 4.0 SDK you don't need to change anything, it will work as expected with OrbiterSound 5.0 on Orbiter 2016 (Given that your vessel is also fully compatible with Orbiter 2016 of course).

Cheers,

Dan


Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #30 - 20 May 2020, 01:47:01
NEWS - About web radio

I  completely rewrote the Music system of OrbiterSound 5.0, the new one can also play web radio
(It was not the main reason why I rewrote it completely, but adding web radio was easy)

Adding one radio station is fairly simple:
1-Create a *.txt file in "Sound/Mp3/" folder.
2-Rename it with the radio name you want to display, inside write the URL of the radio.
3-Change ".txt" to ".webr"
Example: "NASA Third Rock radio.webr" with inside:
http://rfcmedia2.streamguys1.com/thirdrock.mp3

It will be read by OrbiterSound as any other song in the list but as it never stop playing, you'll need to click "PRV/NEXT" in Radio/Radar/Mp3 MFD if you want another radio or song.

Fun stuff: OrbiterSound will have the Nasa's Third Rock radio station as demo.
Rock music and various cool announcement.  Click this link or the direct "mp3" link above to hear it:
https://www.nasa.gov/feature/third-rock-radio



A cool radio to listen during your long orbital transfer

« Last Edit: 23 May 2020, 12:58:51 by DanSteph »

Offline Ben sisko

  • Jr. Member
  • **
  • Posts: 44
  • Karma: 3
Reply #31 - 20 May 2020, 05:33:55
 Oh, it just keeps getting better & better! :bave:


Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #32 - 22 May 2020, 23:18:00
NEWS - Updating the setup program

It's better to have a clean installation for beta test, so I had to update also the installer at this point. (work in progress)


« Last Edit: 23 May 2020, 13:38:16 by DanSteph »

Offline jacquesmomo

  • Le budget !!!
  • Legend
  • ******
  • Posts: 7408
  • Country: France fr
  • Karma: 598
  • Plus on rate, plus on a de chances de réussir !..
Reply #33 - 22 May 2020, 23:46:40
 :hot: :hurle: :applause:

Mes add-ons sont là !

Offline Ben sisko

  • Jr. Member
  • **
  • Posts: 44
  • Karma: 3
Reply #34 - 23 May 2020, 02:18:13
There really is a Santa Claus! :gift: :applause: :friend:


Offline Charlotman

  • Legend
  • ******
  • Posts: 4690
  • Karma: 27
Reply #35 - 23 May 2020, 07:48:26
  :top: :top: :top::hot: :hot: :hot: :turning: :turning: :chef: :chef:


Offline jacquesmomo

  • Le budget !!!
  • Legend
  • ******
  • Posts: 7408
  • Country: France fr
  • Karma: 598
  • Plus on rate, plus on a de chances de réussir !..
Reply #36 - 23 May 2020, 10:44:01

Mes add-ons sont là !

Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #37 - 23 May 2020, 10:49:58
Adding one radio station is fairly simple***

NEWS & INFO - About web radio

You may wonder, "why the heck there is one file per radio station"  :wonder: (see the news above about web radio )
The answer is simple: addons !

Downloading, uploading exchanging a zip with dozen of "*.webr" radio sorted by genre and copying those you want in the "Sound/mp3" folder take one second for the final user while manually editing a big config file containing all the radio's url would be much more annoying and sensitive.

Adding or removing one or more radio is easy like copying/deleting some files and one can even tag them with any info:
(Jazz) South Orlean Lulz.webr
(Classic) Vienna kaboom valz.webr
(Rock) Y100 Michiana.webr


I think web radio is a cool feature, I'm testing now with those radio below and often I wait that a song finish because I'm hooked by the music. Also traveling in space hearing "Earth", "Moon" or "Mars" radio station in the background is not unrealistic at all: it add to the ambiance.

(You may not have the same musical taste than me, only the NASA radio will be provided as demo )

NASA Third Rock radio.webr -> http://rfcmedia2.streamguys1.com/thirdrock.mp3
Rock Prog Univers.webr ->http://94.23.221.158:9163/stream.mp3
Y100 Michiana.webr -> http://colostreaming.com:8094/;listen.pls








« Last Edit: 01 June 2020, 00:58:49 by DanSteph »

Offline Charlotman

  • Legend
  • ******
  • Posts: 4690
  • Karma: 27
Reply #38 - 23 May 2020, 13:21:24

NASA Third Rock radio.webr -> http://rfcmedia2.streamguys1.com/thirdrock.mp3


 :eek: Je connaissais pas cette web radio... J'aime le rock, ca va me plaire ! :love:


Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #39 - 24 May 2020, 04:41:26
NEWS - Sound and Music controlled by scenario

This will be useful for add-ons authors.

By adding a "BEGIN_OrbiterSound" section in any scenario, you'll be able to command sound and music in a particular scenario.
This is great if you want a full recording of real launch sound, or if you want to play your own music
or sound, or if you just want to mute the music and the VHF chatter.
Those commands are temporary, just for this scenario. The user can cancel this control with
the "Radio/Radar/Mp3" MFD at any time.

Comment from addon author welcome, let me know what you think !

See below a summary of all commands:


Code: [Select]
BEGIN_OrbiterSound
  ;-----------------------------------------------------------------
  ; Preliminary Note: all music, sounds and settings below are
  ; TEMPORARY just for this scenario.
  ; The "Radio/Radar/MP3" MFD will show :
  ; "WARNING: Sound controlled by scenario, click any MFD button
  ; to cancel this control and return to normal."
  ;-----------------------------------------------------------------

  ;-----------------------------------------------------------------
  ; IMPORTANT:
  ; This should come first before any other sound command !
  ; Its your addon's music and sound folder for this scenario located
  ; in "Sound\_CustomScenarioSound\" (for this example: "Sound\_CustomScenarioSound\MikeFalcon9Addon")
  ; Of course if you use only "mute" command, this is not mandatory.
  SCENARIOSOUNDFOLDER MikeFalcon9Addon

  ;-----------------------------------------------------------------
  ; Mute the normal music, if you use a ADDTOPLAYLIST
  ; command below, the normal music is already muted and replaced
  ; by your playlist.
  MUTEMUSIC 1

  ;-----------------------------------------------------------------
  ; Mute the VHF radio (radio chatter)
  MUTEVHFRADIO 1

  ;-----------------------------------------------------------------
  ; Play a sound/ music
  ; T:# = time in second since start of simulation
  ; V:# = volume from 0 to 255
  ; View:# INTERNAL or EXTERNAL or BOTH
  ; last parameter is the name of the sound
  ; Note: only one sound can play at the same time with this command
  PLAYSOUND T:3 V:255 View:EXTERNAL Complete_Launch_Sound.mp3

  ;-----------------------------------------------------------------
  ; Those commands below will temporary overwite the user's playlist and setting
  ; This new playlist will play in sequence from simulation start one song after another.
  ; V:# = volume from 0 to 255
  ; View:# INTERNAL or EXTERNAL or BOTH
  ADDTOPLAYLIST V:255 View:BOTH hard_rock.mp3
  ADDTOPLAYLIST V:255 View:BOTH On_Phobos.ogg
  ADDTOPLAYLIST V:255 View:BOTH Christmas_song.mp3

  ;-----------------------------------------------------------------
  ; Engage Main engine, so your sound is synchronised in case of launch sound effect
  ; T:# = time in second since start of simulation
  ; POWER:#% = engine power
  MAINENGINEPOWER T:25 POWER:100%

  ;-----------------------------------------------------------------
  ; Engage Hover engine, so your sound is synchronised in case of launch sound effect
  ; T:# = time in second since start of simulation
  ; POWER:#% = engine power
  HOVERENGINEPOWER T:25 POWER:100%
END

« Last Edit: 24 May 2020, 05:31:52 by DanSteph »

Offline jacquesmomo

  • Le budget !!!
  • Legend
  • ******
  • Posts: 7408
  • Country: France fr
  • Karma: 598
  • Plus on rate, plus on a de chances de réussir !..
Reply #40 - 24 May 2020, 10:27:53
Very interesting stuff !  :flower: :music:

Mes add-ons sont là !

Offline dgatsoulis

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 15
Reply #41 - 24 May 2020, 12:36:14
NEWS - Sound and Music controlled by scenario

This will be useful for add-ons authors.

By adding a "BEGIN_OrbiterSound" section in any scenario, you'll be able to command sound and music in a particular scenario.
This is great if you want a full recording of real launch sound, or if you want to play your own music
or sound, or if you just want to mute the music and the VHF chatter.
Those commands are temporary, just for this scenario. The user can cancel this control with
the "Radio/Radar/Mp3" MFD at any time.

Comment from addon author welcome, let me know what you think !

See below a summary of all commands:


Code: [Select]
BEGIN_OrbiterSound
  ;-----------------------------------------------------------------
  ; Preliminary Note: all music, sounds and settings below are
  ; TEMPORARY just for this scenario.
  ; The "Radio/Radar/MP3" MFD will show :
  ; "WARNING: Sound controlled by scenario, click any MFD button
  ; to cancel this control and return to normal."
  ;-----------------------------------------------------------------

  ;-----------------------------------------------------------------
  ; IMPORTANT:
  ; This should come first before any other sound command !
  ; Its your addon's music and sound folder for this scenario located
  ; in "Sound\_CustomScenarioSound\" (for this example: "Sound\_CustomScenarioSound\MikeFalcon9Addon")
  ; Of course if you use only "mute" command, this is not mandatory.
  SCENARIOSOUNDFOLDER MikeFalcon9Addon

  ;-----------------------------------------------------------------
  ; Mute the normal music, if you use a ADDTOPLAYLIST
  ; command below, the normal music is already muted and replaced
  ; by your playlist.
  MUTEMUSIC 1

  ;-----------------------------------------------------------------
  ; Mute the VHF radio (radio chatter)
  MUTEVHFRADIO 1

  ;-----------------------------------------------------------------
  ; Play a sound/ music
  ; T:# = time in second since start of simulation
  ; V:# = volume from 0 to 255
  ; View:# INTERNAL or EXTERNAL or BOTH
  ; last parameter is the name of the sound
  ; Note: only one sound can play at the same time with this command
  PLAYSOUND T:3 V:255 View:EXTERNAL Complete_Launch_Sound.mp3

  ;-----------------------------------------------------------------
  ; Those commands below will temporary overwite the user's playlist and setting
  ; This new playlist will play in sequence from simulation start one song after another.
  ; V:# = volume from 0 to 255
  ; View:# INTERNAL or EXTERNAL or BOTH
  ADDTOPLAYLIST V:255 View:BOTH hard_rock.mp3
  ADDTOPLAYLIST V:255 View:BOTH On_Phobos.ogg
  ADDTOPLAYLIST V:255 View:BOTH Christmas_song.mp3

  ;-----------------------------------------------------------------
  ; Engage Main engine, so your sound is synchronised in case of launch sound effect
  ; T:# = time in second since start of simulation
  ; POWER:#% = engine power
  MAINENGINEPOWER T:25 POWER:100%

  ;-----------------------------------------------------------------
  ; Engage Hover engine, so your sound is synchronised in case of launch sound effect
  ; T:# = time in second since start of simulation
  ; POWER:#% = engine power
  HOVERENGINEPOWER T:25 POWER:100%
END

Excellent!  There are many Orbinauts that will use this to play real recordings during their scenarios.
The "T" option in particular (play sound at this many seconds after scenario start) is a wonderful and very thoughtful addition!

“The trouble with quotes on the internet is that it’s difficult to discern if they are genuine.”
-Winston Churchill

Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #42 - 25 May 2020, 13:09:06
NEWS - Scenarios commands Looking good...

Forbidden buttons (NXT/PRV/MOD) emit a "bip bip" sound, user still have the control over the volume (LVL)



MUS button pressed, user have the control again: (Yeah, radio playing AC-DC Highway to Hell)
As you see the music list added by scenario (3 songs, hans zimmer) is not the same than the user's songs which are in Sound/Mp3.


« Last Edit: 01 June 2020, 01:19:32 by DanSteph »

Offline antoo

  • Legend
  • ******
  • Posts: 3659
  • Country: France fr
  • Karma: 179
  • MSFS ❤️
Reply #43 - 25 May 2020, 19:46:23
 :wor:

---------------------------------------------------------------------------------------------------
"ET C´EST PARTI!!" Youri Gagarine au lancement de vostok 1 le 12 avril 1961

Offline sunshine135

  • Hero Member
  • *****
  • Posts: 547
  • Country: United States us
  • Karma: 3
  • I fly by the seat of my pants!
Reply #44 - 27 May 2020, 19:19:13
Let me know if you need help. I'm 8 years older and wiser than I was last time!  :beer:

"Sun Dog"

Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #45 - 27 May 2020, 20:29:56
Let me know if you need help. I'm 8 years older and wiser than I was last time!  :beer:

Welcoooome back  :beer:
If you have some time for alpha test of OrbiterSound I'd be very grateful to have you onboard again like in the good 'ol time..

Cheers  :friend:

Dan
PS: keep the UCGO signature up, it might serve again in the meaning time  ;)

« Last Edit: 27 May 2020, 20:39:37 by DanSteph »

Offline OvalDreamX

  • Newbie
  • *
  • Posts: 3
  • Country: Argentina ar
  • Karma: 0
Reply #46 - 28 May 2020, 13:09:10
I remember this was the first mod I downloaded back when I was 11. So good to see it getting an update!!
Thanks Dan!!


Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #47 - 28 May 2020, 14:34:31
Welcome on board OvalDreamX you have a reply to your pm  :beer:


Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #48 - 31 May 2020, 16:09:54
NEWS - Last MFD dev and scenarios control almost finished

The latest look (slightly revisited)




Notice the new "DEL" button on the right (above).



If the file is in the playlist (physically located outside Orbiter directory) it will only be removed from the playlist.




The latest scenario commands as taken from a test scenario. Everything work yet and there is a few more commands. (Shown in the bottom of this list with all parameters)

Code: [Select]
BEGIN_OrbiterSound

  ;**********************************************************************
  ; Start of command sequence, see help for commands after this sequence.
    MUTEMUSIC
    SCENARIOSOUNDFOLDER OrbiterSoundDemo
    PLAYSOUND_ONE T:0 V:255 View:COCKPIT   Name:playsoundOneCockpit.ogg
    PLAYSOUND_TWO T:3 V:255 View:EXTERNAL  Name:playsoundTwoExternal.ogg
    HOVERENGINEPOWER T:5 Power:1% Vessel:PB-01

    SENDMFDKEY T:7 Mfd:LEFT Key:OAPI_OAPI_KEY_L

    HOVERENGINEPOWER T:12.5 Power:90% Vessel:PB-01
    SETAUTOPILOT     T:12.5 Status:ON Type:HLEVEL  Vessel:PB-01

    MAINENGINEPOWER T:20 Power:10% Vessel:PB-01

    MAINENGINEPOWER T:28 Power:60% Vessel:PB-01

    SETAUTOPILOT     T:30 Status:ON Type:HOLDALT Vessel:PB-01
    HOVERENGINEPOWER T:30 Power:100% Vessel:PB-01

    MAINENGINEPOWER T:35 Power:100% Vessel:PB-01
  ; End of command sequence.
  ;**********************************************************************


  ;-----------------------------------------------------------------
  ; Preliminary note:
  ; -----------------
  ; All music, sounds and settings below are TEMPORARY just for this scenario.
  ; The "Radio/Radar/MP3" MFD will inform the user of this control
  ; by scenario and allow him to regain control (for the music and radio chatter only).
  ;
  ; Note:
  ; -Timed commands are sorted by time, no need to write them in exact sequence.
  ; -Time command ("T:") can be float (for example "T:5.5" is 5500 milliseconds)
  ; -If something don't work, check for error in OrbiterSound_log.txt
  ; -All your sounds must be in your "Sound\_CustomScenarioSound\***" directory.
  ;-----------------------------------------------------------------

  ;-----------------------------------------------------------------
  ; IMPORTANT:
  ; ---------
  ; This should come first before any other sound command !
  ; Its your addon's music and sound folder located
  ; in "Sound\_CustomScenarioSound\" (for this example: "Sound\_CustomScenarioSound\OrbiterSoundDemo")
  ; Of course if you don't use sound command, this is not mandatory.
  ;SCENARIOSOUNDFOLDER OrbiterSoundDemo

  ;-----------------------------------------------------------------
  ; Mute the music. If you use ADDTOPLAYLIST below this command
  ; is ignored. The user's music is already replaced by your playlist.
  ;MUTEMUSIC

  ;-----------------------------------------------------------------
  ; Mute the VHF radio (radio chatter)
  ;MUTEVHFRADIO

  ;-----------------------------------------------------------------
  ; Play Timed sound One
  ;
  ; Note:
  ; -Two playsound stream can play in same time, see PLAYSOUND_TWO.
  ;  This allow you to play for example a complete launch sound in exterior view and another for interior.
  ; -You can have up to 40 commands "PLAYSOUND_*", so you can also comment a replay flight or anything you can imagine.
  ; -External Sound volume is NOT controlled by distance and pressure.
  ; -Only mp3 or ogg format will play with this command.
  ; -Time < 3 seconds is not recommended as Orbiter take time to load everything.
  ;
  ; T:# = time in second since start of simulation
  ; V:# = volume from 0 to 255
  ; View:# COCKPIT or EXTERNAL or BOTH
  ; Name:# filename of the sound (mp3 or ogg)
  ;PLAYSOUND_ONE T:3 V:255 View:COCKPIT Name:playsoundOneCockpit.ogg

  ;-----------------------------------------------------------------
  ; Play Timed sound Two (Same as above but for sound TWO)
  ; T:# = time in second since start of simulation
  ; V:# = volume from 0 to 255
  ; View:# COCKPIT or EXTERNAL or BOTH
  ; Name:# filename of the sound (mp3 or ogg)
  ;PLAYSOUND_TWO T:3 V:255 View:COCKPIT Name:playsoundTwoExternal.ogg

  ;-----------------------------------------------------------------
  ; Add music to the playlist.
  ; Those commands below will temporary overwite the user's playlist and setting
  ; This new playlist will play in sequence from simulation start one song after another.
  ; Your songs must be in your scenario's folder.
  ; V:# = volume from 0 to 255
  ; View:# COCKPIT or EXTERNAL or BOTH
  ; Name:# filename of the sound (mp3 or ogg)
  ;ADDTOPLAYLIST V:255 View:COCKPIT Name:RockInsideTheClock.mp3
  ;ADDTOPLAYLIST V:255 View:BOTH Name:CrimsonTideMutiny.mp3

  ;-----------------------------------------------------------------
  ; Engage Main engine, so your sound is synchronised in case of launch sound effect
  ; T:# = time in second since start of simulation (<3 is not recommended as Orbiter take time to display everything)
  ; Power:#% = engine power
  ; Vessel:# = Name of the vessel
  ;MAINENGINEPOWER T:35 Power:100% Vessel:GL-02

  ;-----------------------------------------------------------------
  ; Engage Hover engine, so your sound is synchronised in case of launch sound effect
  ; T:# = time in second since start of simulation
  ; Power:#% = engine power
  ; Vessel:# = Name of the vessel
  ;HOVERENGINEPOWER T:25 POWER:100% VESSEL:GL-02

  ;-----------------------------------------------------------------
  ; Engage Orbiter Autopilot
  ; T:# = time in second since start of simulation
  ; Status:# = ON or OFF
  ; Type:# = KILLROT, HLEVEL, PROGRADE, RETROGRADE, NORMAL, ANTINORMAL or HOLDALT 
  ; Vessel:# = Name of the vessel
  ;SETAUTOPILOT T:10 Status:ON Type:HLEVEL  Vessel:PB-01

  ;-----------------------------------------------------------------
  ; Send a keypress to a MFD
  ;
  ; T:# = time in second since start of simulation
  ; Mfd:# = LEFT or RIGHT or MFD_USER1 to MFD_USER9
  ; Key:# = A key identifier as defined in
  ;         Orbitersdk\doc\API_Reference.pdf (page 227 or search for "OAPI_KEY_1")
  ;SENDMFDKEY T:31 Mfd:LEFT Key:OAPI_OAPI_KEY_L
  ;SENDMFDKEY T:54 Mfd:MFD_USER4 Key:OAPI_OAPI_KEY_N
END



Next devellopment update: Tuesday  :badsmile:


Offline Gingin

  • Sr. Member
  • ****
  • Posts: 453
  • Country: France fr
  • Karma: 89
Reply #49 - 31 May 2020, 17:15:24
Nice work Dan.
Prolific period :)

Visez les étoiles , au pire vous tomberez sur la Lune.