Files
Last update 6 years 7 months
by
Luis Gonzalez
Filessoftwaresketchesfac_drums_supermario | |
---|---|
.. | |
fac_drums_supermario.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 |
sample4.c#include "sample4.h" prog_uchar sample4_data[sample4_size] = { 128, 128, 129, 134, 137, 141, 145, 148, 151, 153, 156, 158, 159, 160, 161, 162, 162, 162, 161, 159, 157, 154, 150, 146, 140, 132, 121, 111, 102, 96, 91, 86, 82, 78, 75, 74, 73, 72, 71, 72, 73, 74, 78, 82, 86, 92, 98, 107, 116, 128, 141, 153, 163, 172, 180, 187, 192, 197, 201, 204, 205, 205, 207, 206, 203, 201, 198, 192, 184, 176, 167, 155, 141, 120, 98, 82, 69, 59, 50, 42, 35, 30, 27, 26, 25, 25, 27, 29, 32, 38, 45, 53, 62, 73, 87, 103, 122, 143, 164, 182, 196, 210, 221, 230, 237, 244, 248, 251, 250, 251, 251, 245, 240, 235, 225, 213, 200, 187, 171, 152, 125, 95, 72, 55, 43, 32, 23, 16, 10, 8, 7, 8, 9, 11, 15, 20, 26, 35, 45, 55, 67, 82, 98, 116, 138, 158, 177, 191, 203, 213, 221, 228, 233, 236, 238, 237, 236, 235, 231, 226, 222, 215, 204, 193, 183, 169, 154, 133, 107, 84, 68, 57, 47, 39, 32, 27, 24, 23, 24, 24, 26, 29, 33, 38, 45, 54, 62, 72, 84, 98, 113, 131, 149, 166, 179, 190, 199, 207, 212, 218, 221, 223, 222, 221, 221, 218, 214, 210, 205, 197, 187, 178, 167, 154, 138, 115, 95, 80, 69, 60, 53, 47, 42, 39, 37, 38, 38, 39, 42, 45, 49, 55, 62, 69, 77, 87, 98, 111, 126, 142, 157, 170, 179, 188, 194, 200, 204, 208, 210, 210, 209, 209, 207, 203, 200, 196, 190, 181, 173, 164, 154, 141, 123, 104, 90, 79, 72, 65, 59, 55, 51, 50, 50, 50, 51, 53, 55, 59, 63, 69, 75, 82, 90, 100, 110, 123, 137, 150, 161, 170, 178, 184, 189, 193, 196, 198, 199, 198, 198, 197, 194, 191, 188, 183, 176, 169, 162, 153, 143, 128, 111, 98, 88, 81, 75, 70, 66, 63, 61, 61, 61, 62, 63, 65, 68, 71, 76, 81, 87, 94, 101, 110, 120, 132, 144, 154, 162, 169, 175, 179, 183, 186, 188, 189, 188, 188, 187, 185, 183, 180, 177, 171, 165, 159, 152, 143, 132, 118, 105, 96, 89, 84, 79, 75, 72, 70, 70, 70, 70, 71, 73, 75, 78, 82, 86, 91, 96, 103, 110, 119, 129, 139, 148, 156, 162, 167, 171, 174, 177, 179, 180, 180, 179, 179, 178, 175, 173, 171, 166, 161, 156, 150, 143, 134, 122, 111, 102, 96, 91, 87, 84, 81, 79, 79, 79, 79, 80, 81, 83, 85, 88, 91, 96, 100, 105, 111, 118, 126, 135, 143, 150, 155, 160, 164, 167, 169, 171, 172, 172, 172, 172, 171, 169, 167, 165, 162, 157, 153, 148, 143, 136, 126, 116, 108, 102, 97, 94, 91, 88, 86, 85, 85, 85, 86, 87, 88, 90, 92, 95, 99, 103, 107, 112, 118, 124, 132, 139, 145, 150, 154, 158, 161, 163, 165, 166, 166, 166, 166, 165, 164, 162, 160, 158, 154, 150, 147, 142, 136, 129, 120, 112, 107, 103, 100, 97, 95, 93, 92, 92, 92, 92, 93, 94, 95, 97, 100, 103, 106, 109, 113, 118, 123, 129, 136, 141, 146, 149, 152, 155, 157, 158, 159, 160, 160, 159, 159, 158, 157, 155, 154, 151, 147, 144, 141, 136, 131, 123, 116, 111, 108, 105, 102, 100, 99, 98, 97, 97, 98, 98, 99, 100, 101, 103, 106, 108, 111, 114, 118, 123, 128, 133, 138, 142, 145, 148, 150, 152, 154, 155, 155, 155, 155, 155, 154, 153, 152, 151, 148, 145, 143, 140, 136, 132, 126, 119, 115, 111, 109, 107, 105, 103, 102, 102, 102, 102, 102, 103, 104, 105, 106, 108, 111, 113, 115, 119, 122, 126, 131, 135, 139, 142, 144, 146, 148, 149, 150, 151, 151, 151, 151, 150, 149, 148, 147, 146, 143, 141, 139, 136, 132, 128, 122, 118, 115, 112, 111, 109, 108, 107, 106, 106, 106, 106, 107, 108, 108, 110, 111, 113, 115, 117, 120, 122, 126, 129, 133, 136, 139, 141, 143, 144, 145, 146, 147, 147, 147, 147, 146, 146, 145, 144, 143, 141, 139, 137, 135, 132, 129, 124, 121, 118, 116, 114, 113, 112, 111, 111, 110, 111, 111, 111, 112, 112, 113, 114, 116, 117, 119, 121, 123, 125, 128, 131, 134, 136, 138, 140, 141, 142, 143, 143, 144, 144, 144, 143, 143, 142, 142, 141, 140, 138, 136, 135, 132, 130, 126, 122, 119, 118, 116, 115, 113, 113, 112, 112, 112, 112, 112, 112, 113, 113, 114, 116, 117, 118, 120, 122, 125, 127, 130, 133, 136, 137, 139, 140, 141, 142, 143, 143, 144, 143, 143, 143, 143, 142, 141, 140, 138, 137, 135, 133, 130, 127, 123, 120, 118, 116, 115, 114, 113, 112, 112, 113, 114, 115, 115, 117, 118, 119, 120, 122, 123, 124, 125, 126, 127, 128, 129, 129, 129, 129, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 132, 136, 140, 143, 145, 148, 149, 150, 151, 151, 150, 148, 145, 141, 135, 126, 115, 108, 103, 98, 94, 92, 90, 90, 90, 91, 94, 98, 104, 111, 121, 133, 145, 155, 163, 170, 175, 179, 180, 181, 180, 178, 175, 168, 160, 150, 136, 114, 96, 84, 75, 68, 62, 60, 59, 60, 61, 66, 72, 81, 92, 106, 125, 146, 165, 179, 191, 199, 206, 209, 210, 210, 207, 203, 196, 183, 170, 153, 125, 93, 72, 57, 45, 35, 30, 28, 28, 30, 35, 43, 55, 68, 86, 109, 137, 166, 189, 207, 220, 231, 238, 240, 241, 239, 233, 226, 212, 194, 175, 146, 104, 66, 44, 26, 12, 3, 1, 1, 4, 9, 18, 32, 47, 66, 90, 120, 154, 184, 205, 222, 233, 243, 246, 246, 245, 239, 232, 221, 203, 185, 162, 127, 87, 60, 42, 28, 18, 13, 12, 13, 17, 23, 33, 47, 62, 82, 106, 135, 165, 188, 205, 218, 228, 235, 235, 235, 232, 226, 219, 205, 189, 171, 146, 110, 77, 58, 44, 33, 25, 23, 23, 25, 29, 36, 47, 60, 76, 95, 119, 148, 172, 190, 204, 214, 222, 226, 225, 224, 220, 214, 205, 191, 176, 158, 130, 96, 73, 59, 47, 38, 33, 33, 33, 36, 41, 49, 60, 73, 88, 108, 132, 157, 176, 191, 202, 210, 216, 217, 216, 214, 209, 203, 193, 179, 165, 145, 116, 88, 71, 60, 50, 44, 41, 41, 43, 46, 52, 61, 71, 84, 100, 119, 142, 163, 178, 190, 198, 205, 208, 208, 207, 204, 199, 192, 181, 168, 154, 132, 104, 84, 72, 62, 54, 50, 49, 50, 52, 56, 62, 71, 82, 94, 110, 130, 150, 167, 179, 188, 195, 200, 201, 200, 199, 195, 190, 182, 171, 159, 143, 120, 96, 82, 72, 64, 59, 57, 57, 58, 61, 65, 72, 81, 91, 104, 119, 138, 156, 168, 178, 185, 191, 194, 193, 193, 190, 187, 181, 172, 162, 150, 133, 110, 93, 83, 74, 68, 64, 64, 64, 66, 69, 74, 81, 89, 99, 112, 128, 145, 159, 169, 177, 182, 186, 187, 187, 186, 183, 179, 173, 164, 154, 142, 123, 103, 91, 83, 76, 72, 70, 70, 70, 73, 76, 82, 89, 97, 107, 120, 135, 150, 160, 168, 174, 179, 182, 182, 181, 179, 176, 172, 165, 156, 147, 133, 115, 100, 91, 84, 79, 76, 75, 76, 77, 80, 83, 89, 96, 104, 114, 127, 141, 152, 160, 167, 171, 175, 176, 176, 175, 173, 170, 165, 157, 150, 140, 125, 109, 99, 92, 87, 83, 81, 81, 81, 83, 86, 90, 96, 102, 110, 120, 133, 145, 154, 160, 165, 169, 171, 172, 171, 170, 167, 164, 158, 151, 144, 133, 118, 106, 99, 93, 89, 86, 85, 85, 86, 88, 91, 96, 101, 108, 116, 126, 138, 147, 154, 160, 163, 166, 167, 167, 167, 165, 162, 158, 152, 146, 139, 127, 113, 105, 99, 94, 91, 89, 89, 90, 91, 93, 97, 101, 106, 113, 121, 131, 141, 148, 154, 158, 161, 163, 163, 163, 162, 160, 157, 153, 147, 141, 133, 121, 111, 105, 100, 97, 94, 94, 94, 95, 96, 99, 102, 106, 111, 118, 126, 135, 143, 148, 152, 156, 158, 159, 159, 159, 157, 155, 152, 148, 143, 137, 128, 117, 110, 105, 102, 99, 97, 97, 98, 98, 100, 103, 106, 110, 115, 122, 130, 138, 144, 148, 152, 154, 156, 156, 156, 155, 154, 152, 148, 144, 139, 133, 123, 115, 109, 106, 103, 101, 100, 100, 101, 102, 104, 107, 110, 114, 119, 126, 133, 139, 144, 148, 150, 152, 153, 153, 153, 152, 150, 148, 144, 140, 136, 128, 120, 114, 110, 107, 104, 103, 103, 103, 104, 105, 107, 110, 113, 117, 123, 129, 135, 140, 144, 147, 149, 150, 151, 150, 150, 149, 147, 144, 141, 137, 132, 125, 118, 114, 110, 108, 106, 106, 106, 106, 107, 109, 111, 114, 117, 121, 126, 131, 137, 140, 143, 145, 147, 148, 148, 147, 147, 145, 144, 141, 138, 134, 129, 122, 117, 114, 112, 110, 109, 109, 109, 110, 111, 113, 115, 117, 120, 124, 128, 132, 136, 138, 140, 141, 141, 141, 140, 140, 139, 138, 136, 134, 132, 130, 127, 124, 122, 121, 121, 121, 121, 121, 122, 122, 123, 124, 124, 125, 126, 127, 128, 129, 129, 129, 129, 129, 129, 129, 129, 128, 128, 128, 128, 128, 128, 128, 127, 127, 127 };