|
| 1 | +This is the documentation of the commands. |
| 2 | + |
| 3 | + |
| 4 | +THIS IS AN EARLY VERSION |
| 5 | + |
| 6 | + |
| 7 | +It describes all the (available) formats for all the commands. The transport modes are defined in the README.parameters file. |
| 8 | + |
| 9 | +It gives the minimum, maximum and step values. Internally, it works as short messages using values with short mantissas and exponents (of 2). That means, even the text modes are heavily truncated. To see how, one can set an output parameters channel on the console ( -o - -F txt ) to see the actual values. |
| 10 | + |
| 11 | +The two amplitude modulation are named amplitude modulation and pulse modulation. The difference is the first one is a basic sine modulation, the second has PI/2 and 3.PI/2 hold times. |
| 12 | + |
| 13 | +The midi (code) word is an alias of midi mapped (code) |
| 14 | + |
| 15 | +Some nicknames are used: |
| 16 | +* e: exponent |
| 17 | +* m: mantissa |
| 18 | +* c: constant added to the exponent |
| 19 | +* v: integer value |
| 20 | +* x: other data |
| 21 | +* -: don't care |
| 22 | + |
| 23 | + * 0000 0eee 0mmmmmmm c=1 C00 to G00 OF Base frequency max = 2976.56Hz step = 23.44Hz min = 0.183Hz, 5.46s step = 0.366Hz\n |
| 24 | + * 0000 1eee 0mmmmmmm c=0 G#00 to D#0 OS Main amplitude slew-rate max = 2.666mS min = 174s min step < 40uS max step = 87s\n |
| 25 | + * 0001 000e 0mmmmmmm c=1 E0 to F0 OA Main amplitude max = 254 min step = 1 max step = 2\n |
| 26 | + |
| 27 | + |
| 28 | +Abort |
| 29 | +----- |
| 30 | +midi= 0001 0010 0vvvvvvv c=N.A. midi note: A#0 |
| 31 | + |
| 32 | +This input commands channel is discarded. If all of them are discarded or have reach an end of stream, the program quits. |
| 33 | +The main purpose is to run a partial scenario for test. |
| 34 | +The value is the time before leave (not yet implemented). |
| 35 | + |
| 36 | + |
| 37 | +Reserved |
| 38 | +-------- |
| 39 | +midi= 0001 0011 0------- c=N.A. midi note: A#0 |
| 40 | + |
| 41 | + |
| 42 | +AA, BA Modulation depth |
| 43 | +--------------------------------- |
| 44 | +midi= 0001 010x 0vvvvvvv c=N.A. |
| 45 | +x=0 for the amplitude modulation midi note: G#0 |
| 46 | +x=1 for the pulse modulation midi note: A0 |
| 47 | + |
| 48 | +Set the depth from 0% if the value vvvvvvv is 0 to 100% if the value vvvvvvv is 127. |
| 49 | +The step is about 0.79%. |
| 50 | +If the modulation depth is 0, the output of the modulator is always its input signal untouched. |
| 51 | +If the modulation depth is 100%, the output of the modulator is between 0 and the its input signal according with the modulation. |
| 52 | + |
| 53 | + |
| 54 | +BM, AM Modulation mode |
| 55 | +---------------------- |
| 56 | +midi= 0001 0110 0000 0xvv c=N.A. midi note: A#0 |
| 57 | +xx=0 for the pulse modulation BM |
| 58 | +xx=1 for the amplitude modulation AM |
| 59 | +vv = 00 using a sine from -1 to +1 translated into 0 to +1 \n |
| 60 | +vv = 01 using the absolute value of a sine from 0 to +1, be careful freq is double!\n |
| 61 | +vv = 10 using opposite of the absolute value translated into 0 to +1, be careful freq is double!\n |
| 62 | +vv = 11 is reserved |
| 63 | + |
| 64 | +Set how the sine of the modulation is used. This computation gives always a value between 0 and +1. |
| 65 | +If it is +1, the modulation left its input untouched. |
| 66 | +If it is 0, the modulation reduces its input according with the modulation depth. 100% depth means the output is 0, 0% depth means the output is left untouched. |
| 67 | + |
| 68 | + |
| 69 | +Reserved |
| 70 | +-------- |
| 71 | +midi= 0001 0110 0000 1--- c=N.A. midi note: A#0 |
| 72 | + |
| 73 | + |
| 74 | +OP, BP, AP Relative phase shift |
| 75 | +-------------------------------- |
| 76 | +midi= 0001 0110 00xx vvvv c=N.A. midi note: A#0 |
| 77 | + xx=01 for the base signal OP |
| 78 | + xx=10 for the pulse modulation BP |
| 79 | + xx=11 for the amplitude modulation AP |
| 80 | + |
| 81 | +Shifts the phase of the signal by vvvv times PI/8. It( is added to the actual value. |
| 82 | +This should be used with caution as it breaks the assumption of this project to avoid drops. The user may want to set the volume to 0 or change by multiple invocations until to reach the goal. |
| 83 | + |
| 84 | + |
| 85 | +Reserved |
| 86 | +-------- |
| 87 | +midi= 0001 0110 0100 vvvv c=N.A. midi note: A#0 |
| 88 | + |
| 89 | + |
| 90 | +OO, BO, AO Absolute phase set |
| 91 | +----------------------------- |
| 92 | +midi= 0001 0110 01xx vvvv c=N.A. midi note: A#0 |
| 93 | +xx=01 for the base signal OP |
| 94 | +xx=10 for the pulse modulation BP |
| 95 | +xx=11 for the amplitude modulation AP |
| 96 | + |
| 97 | +Sets the phase of the signal to vvvv times PI/8. It overwrite the actual value. |
| 98 | +This should be used with caution as it breaks the assumption of this project to avoid drops. The user may want to set the volume to 0. Changing by multiple invocations until to reach the goal is tricky as the time runs between the invocations. |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | +NN No operation |
| 103 | +--------------- |
| 104 | +midi= 0001 0111 0--- ---- c=N.A. midi note: B0 |
| 105 | + |
| 106 | +This does not do anything. The value is not treated in the software but it is passed to the commands outputs. |
| 107 | +The purposes are: |
| 108 | +* Reserve some room for a manual edition of a binary file. |
| 109 | +* Make a kind of TTL or step display, especially with the -N 0 option of the output command |
| 110 | + |
| 111 | + |
| 112 | + * 0001 1eee 0mmmmmmm c=0 C1 to G1 AF Amplitude modulation freq max = 186.035Hz step = 1.465Hz min = 0.01144Hz, 87.38s step 43.69s\n |
| 113 | + * 0010 00ee 0mmmmmmm c=0 G#1 to B1 BF Pulse frequency max = 106.306Hz step = 1.465Hz min = 0.01144Hz, 87.38s step 43.69s\n |
| 114 | + * 0010 01ee 0mmmmmmm c=6 C2 to D#2 BH Pulse high hold time\n |
| 115 | + * 0010 10ee 0mmmmmmm c=6 E2 to B2 BI Pulse low hold time\n |
| 116 | + * 0010 11ee 0mmmmmmm Reserved\n |
| 117 | + * \n |
| 118 | + |
| 119 | + |
| 120 | +Reserved, not allowed |
| 121 | +--------------------- |
| 122 | +midi= 0--- ---- 1--- ---- |
| 123 | + |
| 124 | + |
| 125 | +Reserved, not allowed |
| 126 | +--------------------- |
| 127 | +midi= 1--- ---- 0--- ---- |
| 128 | + |
0 commit comments