Sound problem

  • Hi all

    Im working in a new plane but I have problems with the sounds, the plane load and Works fine except the sound, I get this message in tm file:


    3.00-tmmodelmanager: loading dynamics begin 'aviocar'...

    3.03-tmmodelmanager: loading dynamics end: (id=1) (952 dynamics) (696 graphics) (0 sound) (ny=968) (nz=190)


    The sound files are converted to tsb and appear in the aircraft directory

  • Looks to me that you do not have any sound entries, have you added a sound section to the TMD file, they are normally at the end after the graphics,


    Starts with


    <[pointer_list_tmuniverse][SoundObjects][]


    Steve

    • Official Post

    The event_sound itself doesn't do anything unless you trigger it from within the physics simulation (e.g. input_knob Events... KnobSound.Trigger)


    All of these have to be correctly setup in order to get a sound for a button press or switch or knob action:

    - Simulator unmuted (obviously... but double check with a default aircraft)

    - input_knob, input_switch, etc. with an Events list that calls e.g. KnobSound.Trigger

    - an event_sound object with the correct name e.g. KnobSound

    - a soundinput object that uses that knob sound as an input

    - a soundmulti that can uses the soundinput as a trigger

    - a valid file on the harddrive in the right folder.

  • Thanks Jan, i think I have that correctly set, can you take a look?




    <[event_sound][SwitchSound][]



    <[input_switch][LeftBoostPumpSwitch][]

    <[string8][Input][Fuel.BoostPumpLeft]>

    <[float64][Value][0.0]>

    <[string8][Events] [ SwitchSound.Trigger ]>

    <[string8][EventsRelease][ SwitchSound.Trigger ]>





    <[soundinput][SwitchSoundInput][]

    <[uint32][InputID][SwitchSound.Output]>

    >

    <[sound_multi][SwitchSound][]

    <[string8][InputTrigger][SwitchSoundInput.Output]>

    <[string8][InputVolume][0.2]>

    <[string8][InputPitch][1.0]>

    <[uint32][PositionID][Fuselage.R]>

    <[uint32][VelocityID][Fuselage.V]>

    <[string8][SoundFile][switch.wav]>

    <[bool][External][false]>

    >

  • Missing > at the end in both input_sound and input_switch


    <[event_sound][SwitchSound][]


    Should be

    <[event_sound][SwitchSound][]

    >


    Perhaps just a copy error when you pasted.


    In the input_switch your using the same SwitchSound.Trigger


    Try


    <[string8][Events] [ SwitchSoundOn.Trigger ]>

    <[string8][EventsRelease][ SwitchSoundOff.Trigger ]>


    Would need to change your event_sound at the top to SwitchSoundOn, then make a new entry for SwitchSoundOff,


    like this


    <[event_sound][SwitchSoundOn][]

    >

    <[event_sound][SwitchSoundOff][]

    >


    <[input_switch][LeftBoostPumpSwitch][]

    <[string8][Input][Fuel.BoostPumpLeft]>

    <[float64][Value][0.0]>

    <[string8][Events] [ SwitchSoundOn.Trigger ]>

    <[string8][EventsRelease][ SwitchSoundOff.Trigger ]>

    >



    Steve

  • In tris stage Im using the dr400s sound files And their correspondan parts of the tmd file, In some point one month or two the sound dissapear but I didnt put attention to that And now Im paying for that hehehe

  • Bonjour,

    avec Aeroflight FS2 sur mon Mac , je n'ai plus de son moteur avec le Cessna, mais avec un autre avion , ça marche . Comment puis-je le rétablir ?

    Merci

    In fact , it seems that only the file CESSNA 112 is affected , I tried with other planes and it works.

    I do not understand what you discuss above , Where can we correct files ?