#24 Isochronic Pulses make clicks

v1.0 (example)
open
gnaural
5
2014-07-04
2014-07-04
Polzin
No

Isochronic Pulses and Alt Isochronic Pulses make tick sounds that are probably lowering the effect. There is an envelope to limit the effect, but somehow it is not working properly. I had some improvement in reducing the clicks with:

BinuaralBeat.c

   #define max(a,b) (a)>(b)?(a):(b)
   //cur_beatfreq_data is used arbitrarily as a Modulator here (to reduce harmonics in transition between on and off pulses)
   if ((BB_Voice[voice].cur_beatfreq_phaseenvelope +=
        max(1.5/BB_Voice[voice].cur_beatfreq_phasesamplecount_start,
            .0005)) > 1)

For low beat frequency, the increase of the enevelope is much slower, but for higher beat frequencies, it still reaches 1 at 80% of the phase.
For higher frequencies the effect is still noticeable. I am no expert in psychoacustics, but possibly a kind of exponential function for the envelope could be a better idea.

Are you still interested in such improvements and suggestions?
Do you have a better idea for the problem?

Regards and thanks for gnaural!

Discussion


Log in to post a comment.