Search Unity

Annoying Buzzing Sound In Everyplay Recording

Discussion in 'Unity Everyplay' started by greatness, Mar 9, 2017.

  1. greatness

    greatness

    Joined:
    Feb 20, 2016
    Posts:
    199
    Hi! When watching my replays for my game in development, I notice that the recording makes an annoying buzzing sound and distorts my music. What should I do?
     
  2. Archviz3d

    Archviz3d

    Joined:
    Apr 4, 2016
    Posts:
    92
    Yeahh!! Its happening with me too!! Im using unity 5.4.2 and latest version of EveryPlay 2140-1561!! Any fix for it?
     
  3. isoPepe

    isoPepe

    Unity Technologies

    Joined:
    Jan 26, 2017
    Posts:
    6
    This is most probably happening because of lower quality sample rate conversion (Read: Linear).
    In Everyplay you can use setAudioResamplerQuality(1), to get better conversion which of course will be more CPU intensive.

    There is also option to force Unity to use 44.1khz 16bit audio in Edit/Project Settings/Audio - System Sample Rate.
    It defaults to 0, which chooses whatever device reports back as it's native sample rate.
     
    Last edited: May 11, 2017
    greatness and Archviz3d like this.
  4. Archviz3d

    Archviz3d

    Joined:
    Apr 4, 2016
    Posts:
    92
    Thanks for the info!! Ill try it :)
     
  5. Archviz3d

    Archviz3d

    Joined:
    Apr 4, 2016
    Posts:
    92
    never replied...but it worked at least in my samsung galaxy s7, i forced unity to use 44100 in Edit/Project Settings/Audio - System Sample Rate!!! Thanks again...