New Sound Expression Support?

User avatar
FL2070
Posts: 245
Joined: Tue Sep 22, 2015 4:48 pm
Location: Earth

New Sound Expression Support?

Postby FL2070 » Wed Sep 14, 2016 6:05 pm

http://wiki.flightgear.org/Changelog_2016.3#Core

In this article about 2016.3 it is stated that support for new XML sound expression has been added. What does this mean?
Soundpack requests are currently: ON HOLD
Current WIP: B737NG (cfm56-7b)
See and download all my work: HERE

Richard
Posts: 76
Joined: Sun Sep 11, 2016 5:57 pm

Re: New Sound Expression Support?

Postby Richard » Wed Sep 14, 2016 10:13 pm

FL2070 wrote:http://wiki.flightgear.org/Changelog_2016.3#Core

In this article about 2016.3 it is stated that support for new XML sound expression has been added. What does this mean?


I think it's this commit: ce0cdcdcb0f6185af49e6ac339ca3f3fc59846dd

"Add the option to define volume and pitch using an expression"

User avatar
it0uchpods
Posts: 2098
Joined: Sun Oct 18, 2015 2:47 am
Location: A far corner of my room.
Contact:

Re: New Sound Expression Support?

Postby it0uchpods » Tue Oct 04, 2016 4:58 pm

Expressions quite usefull.

I use them here with the table function to convert wrong YASIM EGT to better EGT.
You could use them to take N1, and put them into a pitch value. :D

Code: Select all

    <filter>
        <name>EGT L</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
                <table>
                    <property>/engines/engine[0]/egt-degf</property>
                    <entry><ind>55</ind><dep>302</dep></entry>
                    <entry><ind>725</ind><dep>665</dep></entry>
                </table>
            </expression>
        </input>
      <output>/engines/engine[0]/egt-actual</output>
    </filter>
it0uchpods/WTF411

FlightGear Aircraft Developer
Lead Programmer at the it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar


Return to “Sound”

Who is online

Users browsing this forum: No registered users and 1 guest