Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

FMOD Parameter Issue

Discussion in 'Audio & Video' started by Mozq8, Jan 4, 2017.

  1. Mozq8

    Mozq8

    Joined:
    Dec 30, 2016
    Posts:
    61
    Hello, this is probably pointless, because i can't find an answer anywhere.

    I created FMOD project with parameter "Health" (range 0-100), i already figured out how to assign my other parameter such as "Tension" it's simply changes music regions to appropriate game scenes in unity.

    We just added logic number to C# code, but i cant find sollution to my puzzle regarding "Health" parameter, what i want to do is somehow link FMOD parameter "Health" to Player's health in unity, FMOD "Health" contains a simple lowpass filter automation, so when u health drops bellow 30% the filter cuts all the frequency.

    Please help me)
     
    Last edited: Jan 4, 2017
  2. DDAUDIOSOLUTIONS

    DDAUDIOSOLUTIONS

    Joined:
    Sep 5, 2015
    Posts:
    21
    You need to call the health value from the script that manage this parameter, and say to fmod.setparametervalue, that see this parameter to change your parameter inside the fmod.

    You need to put an automatition in your fmod using a LPF to filter the frequencies.

    put your code to see your lines.