Package net.ixdarklord.coolcatcanvas.api.client.sound


package net.ixdarklord.coolcatcanvas.api.client.sound
  • Class
    Description
    A sound a SoundFilterProvider is asked about.
    How a sound comes through to the listener, each part 0 to 1: gain: how loud it stays, 1 for as loud as it was; gainHF: how much of its high end it keeps; losing the highs is what makes a sound muffled, as through a wall; distortion: how much of it is sent through a distortion, which makes it rough, as if strained through something; reverb: how much of it is sent into a reverb, which makes it echo, as in a cave or a great hall.
    Says how a sound comes through to the listener; registered with SoundFilters.register(net.ixdarklord.coolcatcanvas.api.client.sound.SoundFilterProvider).
    Muffles, roughens and echoes the game's sounds: a player hiding in a chest hears the world through its walls, one under a spell hears it from far away, a cave rings.
    A registered provider, to remove again.