SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
04-09-18, 02:40 AM | #1 |
Admiral
|
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.
|
04-09-18, 04:27 AM | #2 | |
Torpedoman
|
Quote:
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. |
|
04-09-18, 05:35 AM | #3 |
Admiral
|
Great thanks
|
04-09-18, 06:40 PM | #4 |
Admiral
|
It would appear this only plays ogg files. But now I know. Thanks!
|
04-10-18, 10:23 PM | #5 | |
Scurvy Dog of the Deep
|
Quote:
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
__________________
|
|
04-18-18, 12:24 AM | #6 |
Admiral
|
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. |
04-18-18, 01:01 AM | #7 | |
Scurvy Dog of the Deep
|
Quote:
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. |
|
04-18-18, 02:17 AM | #8 |
Admiral
|
Original is ogg.
Yes it plays in gramophone. |
04-18-18, 12:01 PM | #9 | |
Torpedoman
|
Quote:
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 |
|
04-18-18, 01:59 PM | #10 |
Admiral
|
I’ll take a look thanks
|
01-09-19, 01:45 PM | #11 |
Admiral
|
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?
|
01-10-19, 12:51 AM | #12 |
Seasoned Skipper
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 718
Downloads: 567
Uploads: 0
|
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.
|
|
|