Results 1 to 4 of 4
-
10-28-2008, 08:39 PM #1
- Join Date
- Aug 2008
- Location
- oslo, norway
- Posts
- 62
SIOC SOUND: How to make a looping sound?
Hello!
I have put a sound for speedbrake in the SIOC folder.
Then, in SIOC Sound.ini, I have told it to be sound number 0800,
and written in my SIOC script that when the speedbrake > 1000, then play sound.
It works actually like a charm, but it does not loop.
Then I read that I'm supposed to put an asterix in front of the filename in SIOC sound.ini,
like
[ #800]
Sound=*spoiler.wav,-1,-1,-1
But as soon as I put the "*" in front of the filename, SIOCSound tells me that the file cannot be found.
Then I see somesthing about the SIOC.ini, where there is also a SOUND section? Is that in addition to te sound section in the SIOC Sound.ini?
If anyone knows how to loop a sound, when the speed brake is on, I'm glad to hear about it.
-
10-29-2008, 07:39 AM #2
- Join Date
- Jun 2008
- Location
- Jersey Channel Islands
- Posts
- 28
ConfigSiocIni Sound Files
Hi
The only problem I can see is it may have to do with the sound number. If you use the Config_SiocIni program to create this file it will generate the sound number for you. If this is the only sound file you are using then your ini file should read as follows:-
[#1]
Sound=*spoiler.wav,-1,-1,-1
You can correct this by simply loading your ini file into the Config_SiocIni program and then save it. It will now have numbered the sound file correctly.
Hope this makes sense.
Gary
-
10-29-2008, 04:56 PM #3
I have put my sound commands in the SIOC.ini file and NOT in the the IOCSOUND.ini file. The actual sound files (wave file) are in the main SIOC folder.
For example, below is what i have in the SIOC.ini file:
[************** SOUND MODULE ***************]
[ Ficheros de sonido ]
[ Sound Files ]
[ Desactivar el módulo de sonido ]
[ Disable Sound module ]
Sound_disable=no
[ Volumen general de los sonidos 0-100 ]
[ Master Volume 0-100 ]
Volume=100
[ put '*' first filename for loop Sound ]
[ anteponer '*' en el fichero para bucle continuo de sonido]
[ Sound=wav_file,frequency,volume,pan ]
[ frequency=100 to 100000 0=original -1=current ]
[ volume=0 to 100, -1=current ]
[ pan=-100 (left) to +100 (right) 0=center -1=current ]
[ Sound=Fichero_wav,frecuencia,volumen,balance ]
[ frecuencia=100 hasta 100000 0=original -1=Por defecto ]
[ volumen=0 hasta 100 -1=Volumen por defecto ]
[ balance=-100 (Izquierda) hasta +100 (Derecha) 0=centro -1=Por defecto ]
[ #1 ]
Sound=*nwiper.wav,-1,40,-100
[ #2 ]
Sound=*ambientmusic2.wav,-1,20,-1
[ #3 ]
Sound=*CVRtest.wav,-1,50,-1
[ #4 ]
Sound=*aircabin.wav,-1,-1,-1
[ #5 ]
Sound=cabinbell.wav,-1,-1,-1
Regards,
Darren
-
10-29-2008, 07:27 PM #4
- Join Date
- Aug 2008
- Location
- oslo, norway
- Posts
- 62
Thank you, guys.
Im struggling here!
I am not using Config_Sioc,
I am trying to understand codes by writing it myself.
So I am having a look at that.
Suggy:
Is your IOCSOUND.ini empty? Or have you defined the start of the sound variables?
(like "IOCP_INI_VAR=10")?
So in your example, do you have
if something > 100
v0010 = 1
and the nwiper will play in loop?
Similar Threads
-
sound help
By nemo_7708 in forum Computer Hardware SetupReplies: 2Last Post: 03-11-2011, 10:38 PM -
Sioc trim sound problem
By themax222 in forum OpenCockpits General DiscussionReplies: 13Last Post: 05-03-2010, 01:33 PM -
X-Plane Thunder Sound addon sound pack
By Padraig in forum General X-Plane (Laminar Research)Replies: 4Last Post: 12-12-2009, 07:24 AM -
MCP AND FS SOUND
By JAMES WEBSTER in forum PM General Q & AReplies: 4Last Post: 02-01-2005, 10:04 PM -
Re: MCP AND FS SOUND
By David Rabiner in forum PM General Q & AReplies: 0Last Post: 01-31-2005, 05:54 PM
Explore Local Dating Opportunities in Your Town Super Сasual Dating https://datingnow.site
P3D V4 FMGS B47 Aircraft issue