SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-09-18, 02:40 AM   #1
bstanko6
Admiral
 
Join Date: Feb 2015
Location: Murwik Naval Academy
Posts: 2,122
Downloads: 390
Uploads: 13


Default Play the Tipperary song

Can someone direct me where to find the exact file that plays this song when you select wolfram to play it? I want to change this song for the one from das boot! Thanks.
bstanko6 is offline   Reply With Quote
Old 04-09-18, 04:27 AM   #2
Torpedo
Torpedoman
 
Torpedo's Avatar
 
Join Date: Jul 2006
Location: Treviso, Italy
Posts: 246
Downloads: 1053
Uploads: 0


Default

Quote:
Originally Posted by bstanko6 View Post
Can someone direct me where to find the exact file that plays this song when you select wolfram to play it? I want to change this song for the one from das boot! Thanks.
Hi bstanko6
this is the path:

data\Sound\Speech\MCCD\Tipperary.OGG

and this is the command:

data\Scripts\AI\Crew\Gramophone_tipperary.aix

strategy Gramophone_tipperary(wp)
{
action
{
Wp:PlaySoundWithLipsync("RadioMan\Normal\MC_RR_RAD IO_34", 0); # "Ahh... a British song."
Wp:PlaySoundWithLipsync("MCCD\Tipperary", 5.0); # ""

Wp:ExecuteCommand( "Gramophone_stop" );
Wp:PlayAnimationAndWait( "RR_RADIO_A_GRAMOPHONE" );

Wp:ScriptCompleted();
}
}


Torpedo

Last edited by Torpedo; 04-09-18 at 04:41 AM.
Torpedo is offline   Reply With Quote
Old 04-09-18, 05:35 AM   #3
bstanko6
Admiral
 
Join Date: Feb 2015
Location: Murwik Naval Academy
Posts: 2,122
Downloads: 390
Uploads: 13


Default

Great thanks
bstanko6 is offline   Reply With Quote
Old 04-09-18, 06:40 PM   #4
bstanko6
Admiral
 
Join Date: Feb 2015
Location: Murwik Naval Academy
Posts: 2,122
Downloads: 390
Uploads: 13


Default

It would appear this only plays ogg files. But now I know. Thanks!
bstanko6 is offline   Reply With Quote
Old 04-10-18, 10:23 PM   #5
Cyborg322
Scurvy Dog of the Deep
 
Cyborg322's Avatar
 
Join Date: Dec 2009
Location: Manchester England
Posts: 1,119
Downloads: 337
Uploads: 0


Default

Quote:
Originally Posted by bstanko6 View Post
It would appear this only plays ogg files. But now I know. Thanks!

There is also music file is in SH5/data/sound/gramophone to play song by different route ie by the gramophone

01 Tipperary.ogg replace that file with your version

I have several Radio mods that are Mp3 format I can't see any reason why that gramophone would not play Mp3 files

or play the music via interaction with the radio guy as in the previous post

data\Sound\Speech\MCCD\Tipperary.OGG . Again Mp3 swap should work
__________________
Cyborg322 is offline   Reply With Quote
Old 04-18-18, 12:24 AM   #6
bstanko6
Admiral
 
Join Date: Feb 2015
Location: Murwik Naval Academy
Posts: 2,122
Downloads: 390
Uploads: 13


Default

i was able to make the song i want into ogg, but it still will not play. I place the original back, and it plays no problem. I even named it just like the original. I'm thinking there is either another file I need to change or this particular Ogg file is specifically made for the script. Just to add I took the original tipperary song out completely and this new song just does not play. Ideas?

Last edited by bstanko6; 04-18-18 at 01:02 AM.
bstanko6 is offline   Reply With Quote
Old 04-18-18, 01:01 AM   #7
Cyborg322
Scurvy Dog of the Deep
 
Cyborg322's Avatar
 
Join Date: Dec 2009
Location: Manchester England
Posts: 1,119
Downloads: 337
Uploads: 0


Default

Quote:
Originally Posted by bstanko6 View Post
i was able to make the song i want into ogg, but it still will not play. I place the original back, and it plays no problem. I even named it just like the original. I'm thinking there is either another file I need to change or this particular Ogg file is specifically made for the script. Ideas?

Will it play if you just put it in gramophone folder . Playing song not thru interaction with crew just direct . The Script for playing the song via the radio guy it pretty simple its just starting and stopping gramophone + playing file with voice and lip sync which is separate. Just out of interest what format was the original sound track ?
__________________

Last edited by Cyborg322; 04-18-18 at 01:30 AM.
Cyborg322 is offline   Reply With Quote
Old 04-18-18, 02:17 AM   #8
bstanko6
Admiral
 
Join Date: Feb 2015
Location: Murwik Naval Academy
Posts: 2,122
Downloads: 390
Uploads: 13


Default

Original is ogg.

Yes it plays in gramophone.
bstanko6 is offline   Reply With Quote
Old 04-18-18, 12:01 PM   #9
Torpedo
Torpedoman
 
Torpedo's Avatar
 
Join Date: Jul 2006
Location: Treviso, Italy
Posts: 246
Downloads: 1053
Uploads: 0


Default

Quote:
Originally Posted by bstanko6 View Post
i was able to make the song i want into ogg, but it still will not play. I place the original back, and it plays no problem. I even named it just like the original. I'm thinking there is either another file I need to change or this particular Ogg file is specifically made for the script. Just to add I took the original tipperary song out completely and this new song just does not play. Ideas?
Hi bstanko6!
the audio parameters of the Tipperary.ogg file are:

Bit rate mode: Variable
Bit rate: 96.0 kb / s
Channel (s): 1 channel = Mono
Sampling rate: 48.0 kHz

You can replace this file with another one you prefer, but must have the same name and extension (off course) and the same parameters. I believe that the most important parameter is Mono.
In the past I modified audio files but they did not work because I had saved these files in Stereo mode and not Mono mode.
I hope you can solve the problem.

Torpedo
Torpedo is offline   Reply With Quote
Old 04-18-18, 01:59 PM   #10
bstanko6
Admiral
 
Join Date: Feb 2015
Location: Murwik Naval Academy
Posts: 2,122
Downloads: 390
Uploads: 13


Default

I’ll take a look thanks
bstanko6 is offline   Reply With Quote
Old 01-09-19, 01:45 PM   #11
bstanko6
Admiral
 
Join Date: Feb 2015
Location: Murwik Naval Academy
Posts: 2,122
Downloads: 390
Uploads: 13


Default

Hey torpedo it's been awhile with this subject, but I never got the song to play through wolfram so I believe the audio parameters are not right. As it is, I cannot play OGG file directly on my pc only in game, how do I check the parameters and play music on my pc?
bstanko6 is offline   Reply With Quote
Old 01-10-19, 12:51 AM   #12
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 718
Downloads: 567
Uploads: 0
Default

You should be able to play ogg files on your pc using vlc media player or a similar app. Changing and viewing the details of your file should be possible with i.e. the free app audacity.
Echolot is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.