Jump to content
The simFlight Network Forums

ESound.dll - a little help please from anyone


Recommended Posts

I read and re-read the manual over and over. I edited the esound.cfg file per the manual. Basically, I am not getting any of the sounds to play back after several attempts at adjusting the cfg file. I am also using a REGISTERED version of FSUIPC. The only sounds I want to hear are the ones without the ";". I have pasted my cfg file below:

[Devices]

1=Primary Sound Driver

2=SB Audigy 2 ZS Audio [DF00]

[Polling]

Epic=10

Var=5

;[Triggers.ERJPANEL1]

;[switchedTriggers]

;1=OnGround

;2=InAir

[sounds]

Path=ESounds

; Sounds for altitude calls on descent:

;1=ESounds\n500

2=ESounds\nappminimums

;3=ESounds\

4=ESounds\nminimums

;5=ESounds\

;6=ESounds\n50

;7=ESounds\n40

;8=ESounds\n30

;9=ESounds\n20

;10=ESounds\n10

; Sounds for speed calls on take-off

;11=

12=ESounds\nv1

13=ESounds\nrotate

;14=110knots

;15=120knots

;16=130knots

;17=140knots

;18=150knots

;19=160knots

;20=ESounds\n10000

[Triggers]

; Altitude calls on descent

; NOTE that calls are triggered 10 feet early, to allow for delay is getting the sound

; out. This is much like the co-pilot anticipating the needle

;1=ALTITUDE_ABOVE_GROUND<=510, 10,1

2=ALTITUDE_ABOVE_GROUND<=410, 9,1

;3=ALTITUDE_ABOVE_GROUND<=310, 8,1

4=ALTITUDE_ABOVE_GROUND<=210, 7,1

;5=ALTITUDE_ABOVE_GROUND<=110, 6,1

;6=ALTITUDE_ABOVE_GROUND<=60, 5,1

;7=ALTITUDE_ABOVE_GROUND<=50, 4,1

;8=ALTITUDE_ABOVE_GROUND<=40, 3,1

;9=ALTITUDE_ABOVE_GROUND<=30, 2,1

;10=ALTITUDE_ABOVE_GROUND<=20, 1,1

;11=ALTITUDE_ABOVE_GROUND=10000, 13,1

; Speed calls on take-off

; NOTE that calls are triggered 2 knots early to allow for delay in getting the sound

; out. This is much like the co-pilot anticipating the needle

12=AIRSPEED>= 138, 11,1

13=AIRSPEED>= 148, 12,1

;14=AIRSPEED>= 78, 13,1

;15=AIRSPEED>= 108, 14,1

;16=AIRSPEED>= 118, 15,1

;17= AIRSPEED>= 128, 16,1

;18= AIRSPEED>= 138, 17,1

;19= AIRSPEED>= 148, 18,1

;20= AIRSPEED>= 158, 19,1

I know this is not SUPPORTED but I am attempting to use this with a panel as a supplement to the PMSound package by project magneta. Thanks for any help in advance.

Regards,

Jerel

Link to comment
Share on other sites

I made changes and did some renumbering thinking that may have been the cause of why I am not hearing any sounds. New cfg below:

[Devices]

1=Primary Sound Driver

2=SB Audigy 2 ZS Audio [DF00]

[Polling]

Epic=10

Var=5

[Triggers.ERJPANEL1]

[switchedTriggers]

1=OnGround

2=InAir

[sounds]

Path=ESounds

; Sounds for altitude calls on descent:

;1=ESounds\n500

2=ESounds\nappminimums

;3=ESounds\

4=ESounds\nminimums

;5=ESounds\

;6=ESounds\n50

;7=ESounds\n40

;8=ESounds\n30

;9=ESounds\n20

;10=ESounds\n10

; Sounds for speed calls on take-off

;11=

12=ESounds\nv1

13=ESounds\nrotate

;14=110knots

;15=120knots

;16=130knots

;17=140knots

;18=150knots

;19=160knots

;20=ESounds\n10000

[Triggers.InAir]

; Altitude calls on descent

; NOTE that calls are triggered 10 feet early, to allow for delay is getting the sound

; out. This is much like the co-pilot anticipating the needle

;1=ALTITUDE_ABOVE_GROUND<=510, 10,1

2=ALTITUDE_ABOVE_GROUND<=410, 2,1

;3=ALTITUDE_ABOVE_GROUND<=310, 8,1

4=ALTITUDE_ABOVE_GROUND<=210, 4,1

;5=ALTITUDE_ABOVE_GROUND<=110, 6,1

;6=ALTITUDE_ABOVE_GROUND<=60, 5,1

;7=ALTITUDE_ABOVE_GROUND<=50, 4,1

;8=ALTITUDE_ABOVE_GROUND<=40, 3,1

;9=ALTITUDE_ABOVE_GROUND<=30, 2,1

;10=ALTITUDE_ABOVE_GROUND<=20, 1,1

;11=ALTITUDE_ABOVE_GROUND=10000, 13,1

[Triggers.OnGround]

; Speed calls on take-off

; NOTE that calls are triggered 2 knots early to allow for delay in getting the sound

; out. This is much like the co-pilot anticipating the needle

12=AIRSPEED>= 138, 12,1

13=AIRSPEED>= 148, 13,1

;14=AIRSPEED>= 78, 13,1

;15=AIRSPEED>= 108, 14,1

;16=AIRSPEED>= 118, 15,1

;17= AIRSPEED>= 128, 16,1

;18= AIRSPEED>= 138, 17,1

;19= AIRSPEED>= 148, 18,1

;20= AIRSPEED>= 158, 19,1

Link to comment
Share on other sites

I read and re-read the manual over and over. I edited the esound.cfg file per the manual.

I'll look, but I haven't used Esound for many many years and probably will struggle to help.

The only sounds I want to hear are the ones without the ";". I have pasted my cfg file below:

There's so much commented out there that I've edited it to read it:

[Devices]
1=Primary Sound Driver
2=SB Audigy 2 ZS Audio [DF00]

[Polling]
Epic=10
Var=5

[Sounds]
Path=ESounds
2=ESounds\nappminimums
4=ESounds\nminimums
12=ESounds\nv1
13=ESounds\nrotate

[Triggers]
2=ALTITUDE_ABOVE_GROUND&lt;=410, 9,1
4=ALTITUDE_ABOVE_GROUND&lt;=210, 7,1
12=AIRSPEED&gt;= 138, 11,1
13=AIRSPEED&gt;= 148, 12,1

Now there are several things I think need checking:

1. Where is the Esounds path? If the path is set to Esounds, why is the "Esounds/" part also in most of the pathnames?

2. There's also only one sound actually referred to -- 12. Sound numbers 7, 9 and 11 were commented out, so those trigger lines are no use. You must relate triggers to the sounds else how does it know?

3. Where is the [settings] section and line defining the device, sound position and volume level for setting 1 which is all you are using? If you want to omit [settings] and just default it you need to either leave off the ",1" or use ",0". [Now I know this is explained in the doc].

Regards,

Pete

Link to comment
Share on other sites

Pete,

Thanks for your help. I attached a new esound.cfg. I've been working on it.

[Devices]

1=Primary Sound Driver

2=SB Audigy 2 ZS Audio [DF00]

[Polling]

Epic=10

Var=5

[sounds]

Path=ESounds

; Sounds for altitude calls on descent:

;1=ESounds\n500

2=nappminimums

;3=ESounds\

4=nminimums

;5=ESounds\

;6=ESounds\n50

;7=ESounds\n40

;8=ESounds\n30

;9=ESounds\n20

;10=ESounds\n10

; Sounds for speed calls on take-off

;11=

12=nv1

13=nrotate

;14=110knots

;15=120knots

;16=130knots

;17=140knots

;18=150knots

;19=160knots

;20=ESounds\n10000

[Triggers.ERJPANEL1]

; Altitude calls on descent

; NOTE that calls are triggered 10 feet early, to allow for delay is getting the sound

; out. This is much like the co-pilot anticipating the needle

;1=ALTITUDE_ABOVE_GROUND<=510, 10,0

2=ALTITUDE_ABOVE_GROUND<=410, 2,0

;3=ALTITUDE_ABOVE_GROUND<=310, 8,0

4=ALTITUDE_ABOVE_GROUND<=210, 4,0

;5=ALTITUDE_ABOVE_GROUND<=110, 6,0

;6=ALTITUDE_ABOVE_GROUND<=60, 5,0

;7=ALTITUDE_ABOVE_GROUND<=50, 4,0

;8=ALTITUDE_ABOVE_GROUND<=40, 3,0

;9=ALTITUDE_ABOVE_GROUND<=30, 2,0

;10=ALTITUDE_ABOVE_GROUND<=20, 1,0

;11=ALTITUDE_ABOVE_GROUND=10000, 13,0

; Speed calls on take-off

; NOTE that calls are triggered 2 knots early to allow for delay in getting the sound

; out. This is much like the co-pilot anticipating the needle

12=AIRSPEED>= 138, 12,0

13=AIRSPEED>= 148, 13,0

;14=AIRSPEED>= 78, 13,0

;15=AIRSPEED>= 108, 14,0

;16=AIRSPEED>= 118, 15,0

;17= AIRSPEED>= 128, 16,0

;18= AIRSPEED>= 138, 17,0

;19= AIRSPEED>= 148, 18,0

;20= AIRSPEED>= 158, 19,0

[switchedTriggers]

1=OnGround

2=InAir

[Triggers.InAir]

; Altitude calls on descent

; NOTE that calls are triggered 10 feet early, to allow for delay is getting the sound

; out. This is much like the co-pilot anticipating the needle

;1=ALTITUDE_ABOVE_GROUND<=510, 10,0

2=ALTITUDE_ABOVE_GROUND<=410, 2,0

;3=ALTITUDE_ABOVE_GROUND<=310, 8,0

4=ALTITUDE_ABOVE_GROUND<=210, 4,0

;5=ALTITUDE_ABOVE_GROUND<=110, 6,0

;6=ALTITUDE_ABOVE_GROUND<=60, 5,0

;7=ALTITUDE_ABOVE_GROUND<=50, 4,0

;8=ALTITUDE_ABOVE_GROUND<=40, 3,0

;9=ALTITUDE_ABOVE_GROUND<=30, 2,0

;10=ALTITUDE_ABOVE_GROUND<=20, 1,0

;11=ALTITUDE_ABOVE_GROUND=10000, 13,0

[Triggers.OnGround]

; Speed calls on take-off

; NOTE that calls are triggered 2 knots early to allow for delay in getting the sound

; out. This is much like the co-pilot anticipating the needle

12=AIRSPEED>= 138, 12,0

13=AIRSPEED>= 148, 13,0

;14=AIRSPEED>= 78, 13,0

;15=AIRSPEED>= 108, 14,0

;16=AIRSPEED>= 118, 15,0

;17= AIRSPEED>= 128, 16,0

;18= AIRSPEED>= 138, 17,0

;19= AIRSPEED>= 148, 18,0

;20= AIRSPEED>= 158, 19,0

1. I made a sub-folder in my FS sounds directory. Per manual it says to specify 1 = Esound\specialclick1 where specialclick1 is a wav file.

Is this correct?

2. made changes to sound association (above)

3. I have a devices line but no settings line as I want to use the default. I changed the ,1 to ,0 as I want to use the primary sound driver in the devices section. Is this correct because their are two entries and I did nto know which one to use.

4. My current cfg is using token and multiple triggers (conditional) as I couldn't determine which method I needed. I am going to test with your suggestions to see if that eliminates my problem.

Thank you.

Link to comment
Share on other sites

Pete,

Thanks for your help. I attached a new esound.cfg. I've been working on it.

I still need to edit it to read it. Why keep all those lines you don't use?

[Devices]
1=Primary Sound Driver
2=SB Audigy 2 ZS Audio [DF00]

[Polling]
Epic=10
Var=5

[Sounds]
Path=ESounds
2=nappminimums
4=nminimums
12=nv1
13=nrotate

[Triggers.ERJPANEL1]
2=ALTITUDE_ABOVE_GROUND&lt;=410, 2,0
4=ALTITUDE_ABOVE_GROUND&lt;=210, 4,0
12=AIRSPEED&gt;= 138, 12,0
13=AIRSPEED&gt;= 148, 13,0

[SwitchedTriggers]
1=OnGround
2=InAir

[Triggers.InAir]
2=ALTITUDE_ABOVE_GROUND&lt;=410, 2,0
4=ALTITUDE_ABOVE_GROUND&lt;=210, 4,0

[Triggers.OnGround]
12=AIRSPEED&gt;= 138, 12,0
13=AIRSPEED&gt;= 148, 13,0

Not sure why you have the line numbers matching the waves in each section. the Trigger line numbers are irrelevant apart from controlling order of execution.

Is the [Triggers.ERJPANEL1] section correctly named for your aircraft? It seems an unlikely aircraft name -- you can see the aircraft title in FSUIPC's Flaps calibration section.

I don't remember too much, but I don't think the switched sections will actually do anything unless you have some triggers which operate the switches.

I made a sub-folder in my FS sounds directory. Per manual it says to specify 1 = Esound\specialclick1 where specialclick1 is a wav file.

Is this correct?

Well there's no point in using the Path= statement to give the path, then adding the same path to all the entries. The whole point of specifying a path for all the Wave files is to save you entering it in each line. I suppose it should work, it just seems very strange. You'd normally only specifiy an individual path when the WAVE file is elsewhere.

I suppose the wave files ARE there?

I changed the ,1 to ,0 as I want to use the primary sound driver in the devices section. Is this correct because their are two entries and I did nto know which one to use.

If you don't specify one it uses the default one in Windows. That's all I know. Sorry.

Regards

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.