Branch
Hash :
2317cb15
Author :
Thomas de Grivel
Date :
2024-01-22T07:21:26
txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
Signal
======
A signal can encode data by repeating a pulse.
1. Triangle pulse
The n-th order triangle pulse is a triangular number followed by its reversion.
Here is the 4th order triangle pulse :
1
2 3
4 5 6
7 8 9 10
9 8 7 6
5 4 3
2 1
0
(1, (2, 3), (4, 5, 6), (7, 8, 9, 10), (9, 8, 7, 6), (5, 4, 3), (2, 1), 0)
2. Gaussian pulse
Each gaussian pulse can be found from the previous one :
1 0
1 1 0
1 2 1 0
1 3 3 1 0
1 4 6 4 1 0
3. Sine pulse
The sine pulse is the application of the trigonometric function :
sin(time * frequency / sample rate)
Make sure to have a zero at the *end* of the pulse, and 1 at the start
of the pulse.
4. Triple confirmation
Copyright 2023 Thomas de Grivel <thodg@kmx.io>