This version (01 Apr 2024 13:55) was approved by John Joseph.The Previously approved version (30 Jul 2022 18:35) is available.Diff

Click here to return to the Sources page

Chime Frequency


The chime Frequency algorithm has fully programmable frequency envelopes. The envelopes are accessible by clicking the cell’s icon The length of the chime is controlled by the Maximum Time control, which is set in milliseconds. In Chime frequency envelope window points on the curve can be moved by click-dragging. New points can be added by double-clicking. Points can be removed by right-clicking and selecting “remove point.” In this case, the point closest to the mouse cursor will be removed. Chime Frequency window must have at least 3 points. Point values can be fine-tuned using the text input boxes on the right side of the envelope control window. When the control input goes to 1, the chime begins. When the control input goes to 0, the chime output stops, regardless of whether the envelope has completed or not.


  1. Chime FrequencyLin
  2. Chime FrequencyLog

Targets Supported

Chime FrequencyLinear Block and Sample Block and Sample Sample
Chime FrequencyLog Sample Sample Sample



Enable/Disable chimeControlControl Input


Output0Audiochime output
Output1Controlchime end flag (only for SHARC)

Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
Maximum Time1104 ms10 to 4400 msTime interval in ms
FrequencyValue_Point<n>80 20 to 20000 HzFine tuning of frequency values of points in frequency graph(<n> point count)
FreqTime(ms)_Point<n>00 to Maximum TimeFine tuning of time in ms of points in frequency graph(<n> point count)

DSP Parameters

Parameter NameDescriptionADSP-214xx/SC5xx/215xxADAU145x/146x
Sin_csine coefficient(only for ChimeFrequencyLin)Integer32Integer32
Cos_ccos coefficient(only for ChimeFrequencyLin) Integer32Integer32
FrequencyPointsTime intervals of frequency points Integer32Integer32
FrequencySlopescales the slope of frequency points(only for ChimeFrequencyLin) FixPoint2d62FixPoint2d62
PhaseIncPhase increment(only for ChimeFrequencyLog)FloatFixPoint8d24
2Pi Mathematical constant pi*2(only for ChimeFrequencyLog) FloatFixPoint8d24
FrequencyRatioFrequency and time ratio(only for ChimeFrequencyLog) FloatFixPoint8d24
SinCosTablecombined cos and sin coefficients(only for ChimeFrequencyLog) FloatFixPoint8d24

DSP Parameter Computation

sin_c=sin(initialFrequency[0] * pi))
cos_c=cos(initialFrequency[0] * pi))
PhaseInc=initialFrequency[0] * 2.0 / fs

resources/tools-software/sigmastudiov2/modules/sources/chime_frequency.txt · Last modified: 01 Apr 2024 13:55 by John Joseph