SUBSIM Radio Room Forums


SUBSIM: The Web's #1 BBS for all submarine and 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-2018, 03:40 AM   #1
bstanko6
Grey Wolf
 
bstanko6's Avatar
 
Join Date: Feb 2015
Location: Some where in the Atlantic
Posts: 973
Downloads: 330
Uploads: 2
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-2018, 05:27 AM   #2
Torpedo
Torpedoman
 
Torpedo's Avatar
 
Join Date: Jul 2006
Location: Treviso Italy
Posts: 203
Downloads: 828
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-2018 at 05:41 AM.
Torpedo is online   Reply With Quote
Old 04-09-2018, 06:35 AM   #3
bstanko6
Grey Wolf
 
bstanko6's Avatar
 
Join Date: Feb 2015
Location: Some where in the Atlantic
Posts: 973
Downloads: 330
Uploads: 2
Default

Great thanks
bstanko6 is offline   Reply With Quote
Old 04-09-2018, 07:40 PM   #4
bstanko6
Grey Wolf
 
bstanko6's Avatar
 
Join Date: Feb 2015
Location: Some where in the Atlantic
Posts: 973
Downloads: 330
Uploads: 2
Default

It would appear this only plays ogg files. But now I know. Thanks!
bstanko6 is offline   Reply With Quote
Old 04-10-2018, 11:23 PM   #5
Cyborg322
Scurvy Dog of the Deep
 
Cyborg322's Avatar
 
Join Date: Dec 2009
Location: Manchester England
Posts: 634
Downloads: 308
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 online   Reply With Quote
Old 04-18-2018, 01:24 AM   #6
bstanko6
Grey Wolf
 
bstanko6's Avatar
 
Join Date: Feb 2015
Location: Some where in the Atlantic
Posts: 973
Downloads: 330
Uploads: 2
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-2018 at 02:02 AM.
bstanko6 is offline   Reply With Quote
Old 04-18-2018, 02:01 AM   #7
Cyborg322
Scurvy Dog of the Deep
 
Cyborg322's Avatar
 
Join Date: Dec 2009
Location: Manchester England
Posts: 634
Downloads: 308
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-2018 at 02:30 AM.
Cyborg322 is online   Reply With Quote
Old 04-18-2018, 03:17 AM   #8
bstanko6
Grey Wolf
 
bstanko6's Avatar
 
Join Date: Feb 2015
Location: Some where in the Atlantic
Posts: 973
Downloads: 330
Uploads: 2
Default

Original is ogg.

Yes it plays in gramophone.
bstanko6 is offline   Reply With Quote
Old 04-18-2018, 01:01 PM   #9
Torpedo
Torpedoman
 
Torpedo's Avatar
 
Join Date: Jul 2006
Location: Treviso Italy
Posts: 203
Downloads: 828
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 online   Reply With Quote
Old 04-18-2018, 02:59 PM   #10
bstanko6
Grey Wolf
 
bstanko6's Avatar
 
Join Date: Feb 2015
Location: Some where in the Atlantic
Posts: 973
Downloads: 330
Uploads: 2
Default

I’ll take a look thanks
bstanko6 is offline   Reply With Quote
Old 01-09-2019, 01:45 PM   #11
bstanko6
Grey Wolf
 
bstanko6's Avatar
 
Join Date: Feb 2015
Location: Some where in the Atlantic
Posts: 973
Downloads: 330
Uploads: 2
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-2019, 12:51 AM   #12
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 712
Downloads: 564
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 05:34 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 1995- 2019 Subsim