Files
Last update 6 years 7 months
by
Luis Gonzalez
Filessoftwaresketchesfac_drums | |
---|---|
.. | |
fac_drums.ino | |
pitch_table.c | |
pitch_table.h | |
sample0.c | |
sample0.h | |
sample1.c | |
sample1.h | |
sample2.c | |
sample2.h | |
sample3.c | |
sample3.h | |
sample4.c | |
sample4.h | |
sample5.c | |
sample5.h | |
sample6.c | |
sample6.h | |
sample7.c | |
sample7.h |
sample1.c#include "sample1.h" prog_uchar sample1_data[sample1_size] = { 128, 132, 137, 110, 105, 174, 113, 117, 152, 100, 147, 127, 111, 162, 96, 142, 130, 119, 151, 124, 131, 118, 143, 144, 140, 125, 143, 158, 109, 129, 187, 125, 83, 157, 140, 121, 150, 171, 121, 149, 122, 133, 139, 129, 121, 80, 144, 91, 116, 130, 101, 118, 81, 143, 169, 77, 135, 124, 87, 134, 148, 83, 166, 108, 128, 202, 84, 122, 149, 151, 139, 119, 140, 172, 102, 179, 85, 150, 98, 174, 87, 141, 126, 132, 137, 122, 131, 134, 138, 106, 67, 175, 109, 149, 110, 112, 160, 102, 128, 116, 187, 105, 107, 211, 94, 151, 136, 173, 141, 98, 162, 151, 157, 164, 83, 181, 128, 103, 176, 80, 183, 96, 118, 165, 93, 134, 146, 125, 113, 106, 178, 61, 144, 91, 187, 146, 44, 224, 43, 163, 137, 100, 147, 90, 87, 160, 99, 142, 128, 95, 130, 71, 116, 216, 88, 100, 144, 68, 147, 104, 119, 119, 92, 186, 106, 114, 198, 71, 199, 132, 81, 231, 65, 225, 123, 140, 191, 71, 178, 108, 153, 185, 145, 113, 162, 65, 226, 110, 112, 123, 136, 141, 103, 151, 84, 146, 141, 97, 118, 95, 126, 124, 122, 121, 63, 149, 114, 119, 93, 177, 78, 145, 127, 75, 186, 31, 184, 92, 146, 162, 95, 193, 121, 112, 181, 130, 160, 126, 103, 227, 78, 179, 147, 97, 132, 151, 161, 119, 124, 108, 150, 162, 87, 140, 121, 145, 142, 92, 156, 111, 116, 149, 89, 95, 186, 81, 134, 124, 104, 182, 50, 198, 60, 167, 134, 107, 141, 135, 102, 131, 137, 148, 80, 166, 146, 129, 136, 143, 153, 129, 152, 151, 97, 125, 152, 111, 88, 196, 89, 79, 178, 67, 154, 180, 48, 170, 69, 164, 114, 92, 186, 41, 196, 109, 115, 205, 72, 151, 121, 113, 200, 63, 200, 125, 148, 109, 164, 128, 99, 186, 181, 116, 86, 166, 96, 140, 127, 122, 172, 61, 135, 166, 84, 116, 113, 104, 118, 128, 119, 123, 149, 127, 79, 198, 136, 117, 153, 125, 144, 146, 138, 83, 177, 126, 120, 178, 55, 141, 146, 80, 129, 148, 110, 112, 137, 132, 131, 115, 113, 125, 162, 101, 117, 161, 78, 221, 99, 135, 159, 100, 219, 87, 176, 140, 56, 216, 123, 105, 200, 94, 138, 171, 79, 194, 100, 148, 132, 95, 148, 141, 82, 147, 92, 107, 152, 79, 158, 60, 137, 157, 42, 170, 96, 141, 124, 133, 156, 120, 102, 157, 112, 132, 143, 148, 145, 149, 128, 152, 112, 172, 128, 69, 255, 22, 172, 130, 162, 108, 128, 128, 106, 155, 104, 119, 165, 65, 132, 152, 106, 124, 151, 168, 39, 178, 85, 155, 150, 118, 69, 187, 96, 162, 150, 89, 131, 135, 136, 134, 125, 115, 140, 108, 154, 115, 142, 128, 94, 212, 43, 153, 170, 78, 219, 40, 216, 124, 101, 183, 84, 153, 134, 120, 138, 106, 137, 150, 88, 179, 149, 85, 204, 76, 126, 152, 140, 127, 104, 126, 121, 143, 134, 107, 153, 115, 112, 164, 86, 111, 133, 128, 111, 137, 159, 81, 155, 139, 92, 172, 105, 127, 163, 97, 154, 164, 116, 146, 135, 124, 204, 80, 151, 159, 76, 215, 80, 135, 151, 88, 166, 101, 119, 141, 109, 173, 82, 133, 131, 110, 129, 117, 120, 147, 117, 128, 108, 129, 142, 113, 123, 135, 131, 132, 156, 100, 153, 106, 119, 149, 133, 138, 153, 120, 165, 136, 137, 124, 119, 171, 152, 98, 141, 146, 122, 130, 149, 116, 138, 120, 145, 95, 120, 151, 98, 123, 121, 118, 142, 115, 116, 132, 101, 160, 73, 169, 118, 59, 201, 123, 101, 158, 128, 168, 97, 175, 104, 147, 123, 128, 164, 109, 136, 156, 117, 138, 110, 186, 115, 118, 132, 117, 170, 152, 69, 156, 138, 94, 173, 145, 57, 161, 117, 129, 118, 127, 138, 126, 105, 105, 138, 128, 112, 123, 145, 99, 172, 84, 143, 142, 131, 107, 181, 104, 148, 127, 143, 112, 112, 173, 140, 113, 161, 115, 135, 122, 125, 131, 151, 74, 142, 178, 87, 168, 92, 166, 118, 117, 163, 108, 129, 136, 90, 179, 84, 121, 179, 99, 157, 108, 142, 145, 99, 155, 114, 134, 127, 141, 130, 93, 169, 137, 92, 150, 134, 124, 118, 142, 110, 125, 167, 83, 153, 102, 137, 151, 95, 137, 155, 110, 140, 119, 137, 122, 153, 111, 132, 125, 161, 148, 63, 193, 108, 117, 157, 102, 144, 128, 145, 123, 111, 139, 113, 148, 95, 173, 108, 119, 180, 72, 158, 93, 152, 129, 106, 177, 88, 161, 142, 79, 159, 114, 120, 184, 59, 163, 137, 144, 105, 126, 121, 156, 109, 166, 100, 115, 177, 76, 134, 162, 84, 139, 138, 106, 135, 121, 162, 101, 104, 149, 157, 108, 139, 112, 140, 158, 90, 168, 105, 156, 120, 133, 155, 97, 170, 120, 114, 141, 138, 115, 153, 115, 126, 134, 164, 70, 153, 152, 101, 122, 146, 97, 146, 125, 172, 92, 126, 135, 156, 104, 121, 149, 97, 163, 128, 117, 161, 118, 139, 111, 156, 106, 132, 139, 130, 132, 132, 133, 157, 86, 151, 153, 90, 153, 105, 141, 131, 129, 125, 136, 88, 164, 128, 133, 101, 128, 146, 120, 116, 139, 106, 162, 112, 110, 140, 92, 165, 147, 77, 181, 95, 160, 140, 88, 178, 122, 114, 137, 109, 152, 132, 100, 176, 92, 161, 137, 123, 161, 85, 117, 174, 74, 147, 147, 96, 140, 154, 120, 125, 166, 123, 116, 135, 167, 79, 167, 135, 103, 144, 136, 143, 93, 138, 161, 91, 142, 124, 112, 146, 125, 100, 167, 108, 127, 159, 114, 125, 125, 131, 137, 128, 98, 138, 124, 157, 101, 144, 125, 120, 157, 97, 150, 116, 140, 115, 130, 134, 133, 124, 155, 107, 126, 145, 135, 138, 95, 153, 140, 103, 161, 103, 124, 149, 93, 160, 147, 104, 110, 170, 127, 89, 145, 168, 73, 160, 118, 155, 120, 143, 140, 108, 126, 142, 165, 67, 152, 143, 108, 142, 94, 148, 159, 93, 148, 110, 182, 99, 128, 159, 90, 147, 127, 129, 127, 123, 170, 108, 129, 154, 100, 154, 128, 89, 159, 116, 170, 75, 139, 137, 110, 141, 121, 134, 120, 140, 124, 129, 136, 107, 148, 124, 124, 126, 167, 101, 129, 106, 192, 94, 116, 158, 114, 140, 121, 155, 121, 90, 181, 112, 123, 120, 169, 87, 148, 135, 99, 171, 98, 158, 90, 154, 136, 105, 154, 132, 99, 189, 101, 134, 124, 135, 141, 108, 148, 138, 135, 122, 141, 142, 105, 160, 132, 100, 163, 108, 154, 117, 146, 133, 102, 147, 95, 158, 106, 132, 147, 83, 142, 138, 120, 128, 117, 155, 111, 115, 155, 126, 134, 105, 141, 146, 100, 158, 128, 127, 150, 105, 139, 117, 161, 123, 133, 133, 108, 155, 134, 119, 133, 133, 125, 125, 123, 155, 125, 121, 138, 134, 119, 118, 137, 132, 117, 128, 147, 130, 106, 136, 126, 147, 125, 118, 128, 123, 149, 131, 126, 141, 110, 143, 105, 159, 116, 128, 155, 91, 133, 152, 132, 107, 110, 185, 99, 135, 144, 110, 144, 115, 125, 151, 113, 112, 147, 147, 102, 128, 162, 110, 122, 134, 148, 113, 132, 128, 120, 137, 127, 112, 168, 83, 142, 167, 72, 171, 93, 149, 154, 95, 136, 129, 147, 129, 112, 157, 97, 141, 128, 133, 173, 68, 176, 121, 114, 162, 114, 154, 100, 139, 139, 119, 151, 85, 146, 128, 133, 130, 130, 122, 110, 146, 140, 105, 128, 131, 112, 156, 106, 146, 119, 116, 136, 117, 172, 133, 93, 154, 109, 156, 117, 147, 132, 133, 124, 125, 135, 142, 121, 125, 135, 129, 123, 128, 149, 93, 131, 155, 107, 117, 130, 153, 119, 113, 152, 110, 123, 156, 109, 154, 111, 133, 128, 126, 145, 117, 134, 134, 121, 144, 129, 109, 151, 114, 166, 113, 125, 141, 144, 109, 141, 140, 125, 135, 132, 124, 128, 133, 127, 130, 130, 102, 155, 123, 124, 156, 96, 146, 120, 137, 113, 142, 138, 120, 134, 114, 137, 140, 114, 164, 93, 150, 134, 131, 140, 87, 178, 128, 79, 186, 111, 112, 157, 115, 139, 99, 154, 135, 106, 145, 108, 137, 141, 102, 152, 125, 120, 149, 105, 143, 130, 98, 154, 115, 141, 130, 143, 103, 131, 151, 112, 140, 131, 107, 137, 131, 128, 150, 89, 157, 112, 147, 135, 131, 132, 127, 129, 148, 102, 167, 98, 138, 146, 128, 155, 120, 135, 116, 126, 140, 132, 128, 110, 136, 128, 150, 111, 110, 139, 143, 98, 161, 103, 157, 109, 128, 127, 102, 169, 100, 145, 117, 112, 161, 114, 111, 151, 134, 117, 142, 116, 134, 151, 116, 125, 144, 88, 167, 139, 112, 139, 131, 122, 128, 131, 132, 130, 148, 96, 150, 131, 108, 154, 113, 152, 129, 129, 129, 122, 131, 130, 128, 156, 83, 165, 126, 142, 124, 128, 143, 101, 169, 103, 135, 148, 107, 131, 122, 156, 120, 128, 156, 98, 138, 146, 100, 137, 133, 117, 132, 126, 120, 126, 136, 121, 126, 131, 101, 130, 135, 136, 117, 129, 140, 105, 166, 102, 130, 152, 119, 103, 162, 101, 165, 93, 166, 115, 134, 152, 91, 171, 108, 141, 114, 156, 109, 142, 126, 121, 143, 127, 126, 135, 129, 128, 120, 157, 112, 130, 140, 155, 85, 157, 125, 139, 123, 129, 131, 118, 152, 137, 108, 128, 160, 115, 125, 130, 128, 127, 125, 129, 122, 130, 139, 117, 136, 121, 130, 127, 127, 126, 131, 126, 131, 124, 128, 131, 126, 131, 125, 130, 127, 129, 128, 127, 129, 127, 128, 128, 127, 128, 127, 127, 128, 127, 128, 127 };