A-Netz: Click removal when changing sequenced paging tones

When tone changes to next tone, a transition of 2ms is performed. The last
tone is faded out and the new tone faded in.
This commit is contained in:
Andreas Eversberg
2016-11-13 17:45:46 +01:00
committed by Andreas Eversberg
parent 7a2ff388a4
commit 481181fa74
3 changed files with 39 additions and 7 deletions

View File

@@ -38,6 +38,7 @@ typedef struct anetz {
double paging_phase256[4]; /* current phase */
int paging_tone; /* current tone (0..3) in sequenced mode */
int paging_count; /* current sample count of tone in seq. mode */
int paging_transition; /* set to number of samples during transition */
} anetz_t;