From 5a8fa375ab81a24dfe23d88a450725712c19fde0 Mon Sep 17 00:00:00 2001 From: Tianyu Gao Date: Sun, 12 May 2019 12:52:35 +0000 Subject: [PATCH] fix a bug of audio hello --- biscuit/c/audio_hello.c | 171 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) diff --git a/biscuit/c/audio_hello.c b/biscuit/c/audio_hello.c index e738c7c..7e52f88 100644 --- a/biscuit/c/audio_hello.c +++ b/biscuit/c/audio_hello.c @@ -13,6 +13,177 @@ unsigned char sound[] = { +100,106,111,115,120,123,128,129,132,132,134,133,133,131,129,127,124,122,119,116,115,113,113,113, +112,114,114,117,117,120,121,124,126,127,130,130,133,134,135,137,139,140,140,142,142,143,143,142, +142,140,140,137,136,135,134,134,133,135,135,138,141,144,148,151,157,160,166,169,174,177,181,184, +185,187,186,187,185,185,182,179,177,172,169,165,159,155,149,144,141,135,132,129,125,124,122,120, +121,120,122,122,125,126,130,132,136,138,143,146,150,151,155,155,158,157,159,157,157,156,152,151, +146,143,141,138,137,135,134,133,133,132,133,132,133,132,134,134,136,136,139,141,144,146,150,151, +155,157,158,158,160,158,158,155,153,150,145,142,137,133,128,126,123,121,120,120,122,122,126,127, +131,134,137,141,144,148,150,154,158,160,163,163,164,165,164,163,161,160,156,154,151,147,142,139, +135,130,127,122,119,115,113,111,109,109,108,109,110,111,115,117,122,126,130,135,138,143,146,149, +150,152,151,152,152,152,152,151,151,149,149,147,146,144,143,140,138,137,134,133,131,129,129,128, +130,131,131,134,134,137,138,139,141,141,140,140,137,136,132,129,127,122,119,114,109,103, 99, 93, + 89, 84, 81, 78, 78, 76, 77, 79, 81, 83, 88, 91, 96, 99,104,107,111,113,117,118,121,120,122,121, +121,119,118,115,110,108,102, 98, 93, 86, 81, 74, 69, 63, 60, 57, 53, 53, 51, 52, 52, 54, 55, 58, + 60, 64, 67, 71, 76, 78, 83, 87, 90, 94, 97,101,103,106,107,110,110,110,110,108,108,107,105,105, +103,104,104,104,105,106,108,110,113,115,119,121,125,128,131,133,137,138,141,142,141,141,138,137, +132,128,123,118,111,105, 97, 91, 84, 79, 73, 68, 65, 62, 61, 60, 62, 63, 66, 70, 73, 79, 85, 89, + 97,102,109,115,121,128,132,138,142,148,151,155,158,160,163,163,165,164,164,162,161,157,155,151, +149,146,142,141,138,138,136,137,136,137,137,139,140,142,143,145,147,147,149,150,149,150,149,149, +148,148,147,145,145,142,142,139,139,137,138,137,138,139,140,142,145,148,153,156,161,166,169,175, +180,185,190,193,198,199,202,203,203,201,200,196,193,188,182,177,169,163,154,147,139,133,126,121, +117,113,109,108,105,105,104,105,105,108,110,112,115,117,120,125,129,133,136,141,143,147,149,152, +152,154,153,153,151,151,148,148,146,145,145,144,146,148,148,152,153,156,157,159,162,162,165,165, +165,166,165,165,164,163,162,160,156,155,151,148,143,140,135,132,127,124,119,117,112,110,107,106, +104,103,104,103,106,108,110,114,118,122,128,134,139,146,152,157,161,166,168,170,171,170,169,167, +165,162,157,155,151,148,144,141,138,133,131,127,125,121,119,116,116,115,114,115,116,119,121,124, +126,130,131,134,135,137,137,136,136,134,133,131,128,127,124,123,120,120,118,118,117,118,119,119, +121,121,124,125,128,130,133,134,137,139,139,140,139,139,138,135,134,130,128,124,121,116,113,108, +103, 99, 93, 89, 84, 78, 73, 69, 63, 61, 57, 56, 54, 54, 53, 55, 55, 58, 59, 63, 65, 69, 72, 74, + 78, 79, 83, 84, 88, 89, 92, 93, 95, 95, 95, 95, 93, 93, 90, 90, 87, 86, 84, 83, 82, 80, 80, 79, + 80, 80, 82, 83, 86, 87, 90, 92, 93, 97, 98,102,104,106,108,109,109,110,109,109,107,105,104,101, + 99, 98, 96, 95, 93, 95, 95, 96, 96, 99,101,103,106,108,113,116,118,122,124,128,129,132,134,134, +136,135,136,135,134,132,129,128,124,121,118,113,110,105,103, 98, 94, 92, 88, 88, 85, 86, 86, 87, + 88, 92, 94,100,105,109,116,121,128,134,139,145,150,155,159,161,165,166,169,170,171,170,170,169, +169,168,166,166,165,162,162,161,158,159,157,158,157,158,158,159,159,161,161,163,163,165,165,166, +167,167,165,165,163,162,161,158,156,153,151,149,146,145,142,142,141,140,141,142,143,146,148,153, +155,160,163,168,171,175,177,181,184,186,190,190,193,193,194,193,190,188,183,180,173,168,161,155, +147,142,134,129,123,118,113,110,108,106,105,105,106,107,109,111,112,114,116,119,121,124,126,130, +133,137,139,143,144,147,148,150,150,152,153,154,154,154,154,154,155,154,155,155,155,156,156,158, +158,160,161,163,163,165,166,166,167,166,166,164,163,158,155,150,143,138,130,124,117,112,105,101, + 96, 94, 92, 90, 90, 89, 90, 89, 92, 94, 95,100,103,108,114,119,127,133,140,148,153,160,165,169, +173,174,176,175,174,171,169,165,162,157,154,149,147,143,139,136,131,128,124,120,118,114,113,111, +109,109,108,107,108,107,109,109,109,111,111,112,112,113,113,112,113,112,112,111,112,110,110,109, +109,107,107,106,107,108,108,108,111,113,115,119,121,125,127,131,133,134,136,136,136,134,134,131, +127,122,118,112,107,101, 93, 87, 79, 74, 67, 59, 54, 47, 43, 37, 34, 31, 30, 29, 30, 30, 33, 35, + 40, 43, 49, 54, 59, 64, 70, 75, 82, 88, 92, 98,101,105,108,110,111,112,112,112,112,112,112,112, +112,111,111,111,110,110,109,109,108,109,108,109,109,109,108,110,109,111,111,111,112,111,112,110, +110,107,107,104,102, 99, 97, 94, 93, 91, 88, 88, 86, 85, 85, 85, 85, 88, 90, 94, 98,102,107,112, +118,122,128,132,137,140,145,146,149,151,151,151,150,148,145,143,140,137,134,131,127,125,123,119, +118,115,114,113,111,112,112,114,116,117,121,123,128,130,135,139,144,147,152,154,157,161,162,165, +165,165,167,166,167,168,168,168,168,167,168,169,168,169,169,171,171,174,174,177,178,180,180,182, +181,182,182,183,181,182,180,180,179,177,174,171,167,164,160,157,151,147,144,139,137,133,131,129, +128,127,128,128,131,134,137,142,145,150,153,158,162,165,169,171,173,176,177,179,179,178,178,176, +175,171,168,163,160,155,149,145,139,134,128,125,121,117,115,113,112,111,112,112,115,116,120,121, +126,128,132,134,138,140,143,143,145,146,145,143,143,141,140,139,139,138,139,139,141,142,145,147, +148,152,153,155,156,156,158,158,158,159,160,159,161,159,160,158,158,155,154,151,145,141,135,130, +122,117,110,106,101, 96, 94, 91, 90, 89, 89, 89, 90, 92, 93, 97,100,102,107,110,115,119,126,130, +137,141,148,152,157,160,162,163,165,164,164,162,160,157,155,151,148,144,140,135,131,127,123,119, +114,112,109,108,106,105,106,106,107,108,108,108,109,108,108,106,106,103,101, 98, 96, 92, 90, 87, + 86, 84, 82, 80, 80, 79, 80, 81, 81, 84, 85, 89, 92, 95, 99,104,107,112,116,119,124,126,129,130, +132,131,131,130,127,124,119,115,108,103, 95, 89, 81, 75, 68, 62, 56, 51, 46, 43, 39, 38, 36, 37, + 37, 38, 41, 43, 47, 50, 56, 60, 66, 70, 77, 84, 89, 96,102,107,111,116,119,123,125,126,126,127, +126,126,126,125,125,124,124,123,122,122,121,122,121,123,123,124,124,126,127,126,128,126,127,125, +125,122,121,118,115,111,105,102, 97, 93, 88, 85, 81, 80, 78, 75, 75, 74, 76, 77, 77, 81, 83, 88, + 92, 96,103,108,115,121,129,135,143,150,156,161,168,171,175,177,179,179,178,177,175,171,169,165, +162,159,154,152,147,145,142,139,135,134,132,132,130,131,131,133,134,135,138,139,142,143,146,147, +150,151,154,156,158,158,161,161,163,162,164,165,164,166,167,168,169,169,172,172,176,177,181,182, +187,189,193,195,197,199,200,199,200,198,197,195,191,189,184,181,176,172,166,163,157,153,147,142, +138,133,128,125,120,118,116,113,114,114,114,117,119,123,126,131,135,140,144,147,152,155,157,160, +161,162,163,161,162,160,159,157,154,153,150,147,145,142,140,140,138,139,137,138,137,137,136,133, +133,131,131,130,129,130,130,130,132,132,135,135,137,136,137,136,135,133,132,130,128,126,124,122, +123,122,123,124,125,128,129,131,134,135,139,139,142,144,146,146,149,150,152,153,155,155,155,154, +153,149,148,143,140,134,131,126,120,116,112,107,105,101, 99, 97, 96, 95, 96, 95, 97, 99,100,104, +106,109,114,117,122,125,129,133,135,138,139,140,139,139,137,137,135,135,133,133,132,130,130,128, +127,125,125,122,121,118,117,114,113,111,110,107,107,105,106,104,104,103,102,100, 99, 96, 96, 93, + 92, 89, 88, 85, 84, 82, 80, 79, 77, 77, 76, 76, 76, 76, 78, 78, 81, 82, 85, 86, 90, 91, 95, 96, +100,101,104,106,107,109,109,110,110,109,107,106,102,100, 97, 93, 89, 85, 79, 76, 71, 69, 65, 63, + 60, 60, 58, 59, 60, 61, 63, 65, 68, 70, 74, 77, 82, 85, 90, 93, 97,101,104,108,109,113,115,116, +119,119,121,122,122,124,125,125,127,128,129,131,131,132,132,133,132,133,133,133,132,131,131,130, +130,128,128,126,126,123,122,119,117,113,111,106,103, 99, 96, 91, 89, 86, 83, 83, 82, 83, 84, 86, + 87, 91, 94, 99,104,107,114,118,126,132,139,144,151,156,163,167,173,176,180,182,185,186,186,187, +185,185,182,178,176,172,169,164,161,156,153,149,146,142,140,137,137,135,136,135,137,137,139,140, +143,145,146,148,148,150,151,152,152,154,154,156,157,157,159,160,162,163,165,166,168,169,170,172, +172,174,175,178,179,182,184,187,189,190,193,193,194,195,193,193,189,187,182,179,173,167,163,157, +152,146,141,135,131,126,121,118,113,111,108,107,107,105,107,106,108,108,112,113,117,119,122,127, +130,135,139,145,149,154,158,163,166,169,171,171,172,170,169,168,164,163,159,157,154,153,151,151, +149,149,148,148,146,146,144,144,142,142,140,140,138,139,138,138,136,136,135,133,132,129,127,125, +122,119,117,115,112,112,110,111,110,112,114,115,118,120,124,128,130,135,138,143,146,149,154,157, +158,161,161,163,162,160,159,156,154,150,147,143,138,135,130,127,124,119,117,113,111,107,106,102, +101, 98, 96, 95, 94, 95, 95, 98, 99,102,105,108,112,114,118,120,121,124,125,127,126,127,127,125, +126,124,124,122,121,119,119,116,116,114,114,111,112,110,110,109,110,108,110,108,110,109,108,108, +106,106,104,104,101,100, 96, 95, 90, 88, 83, 80, 76, 72, 69, 65, 63, 60, 59, 57, 57, 57, 56, 58, + 59, 62, 64, 66, 71, 73, 78, 82, 85, 89, 93, 96, 99,102,104,106,108,109,109,109,109,108,107,106, +104,102, 99, 98, 96, 95, 92, 91, 90, 87, 87, 86, 85, 86, 85, 87, 89, 90, 93, 94, 98,100,104,106, +110,112,116,118,118,121,121,120,121,121,119,120,119,117,118,116,117,117,118,118,119,119,121,120, +122,122,122,124,125,125,126,127,126,127,126,127,126,126,124,124,122,122,119,119,116,115,113,112, +111,110,108,108,107,108,109,109,112,114,117,119,124,127,133,138,142,148,152,158,163,166,170,172, +175,176,178,178,179,178,178,176,176,174,174,171,171,168,167,163,162,159,155,154,151,150,149,148, +147,149,148,150,151,154,155,156,158,159,161,160,161,159,159,159,157,158,157,156,157,157,156,157, +156,158,158,159,159,161,161,163,164,164,167,168,171,172,173,175,175,176,175,177,175,176,174,172, +171,168,166,162,157,153,148,142,135,130,123,118,112,106,103,100, 97, 97, 98, 98,101,102,107,110, +113,117,121,125,128,131,135,138,141,144,146,150,152,155,157,159,160,161,162,162,161,159,159,157, +156,154,154,152,153,151,152,150,151,149,150,148,148,145,145,144,142,140,138,137,133,132,128,127, +124,120,118,114,112,109,107,104,103,101,101,100,102,103,104,105,108,110,113,115,118,122,126,129, +134,138,144,147,153,158,161,165,167,169,169,168,167,163,161,157,152,148,142,137,131,126,122,117, +114,109,107,103,102,100,100, 98, 99, 99, 99,101,102,102,105,105,108,108,110,109,111,110,112,111, +112,110,111,109,110,108,108,107,107,106,107,107,108,108,110,111,113,114,118,118,121,122,124,125, +125,126,126,124,123,120,118,114,112,107,103, 99, 93, 89, 84, 78, 73, 67, 63, 59, 54, 52, 48, 47, + 44, 45, 44, 44, 47, 49, 51, 55, 59, 65, 70, 75, 82, 88, 94,100,105,110,115,118,122,124,127,128, +128,129,127,127,124,123,120,117,115,112,112,110,109,109,108,109,108,109,109,110,111,110,112,111, +113,112,114,114,113,114,114,113,113,111,110,108,108,106,104,103,100,100, 99, 97, 97, 96, 98, 97, +100,101,103,107,110,114,117,122,126,132,135,140,143,147,149,151,154,154,155,155,152,152,149,147, +144,142,138,137,133,132,130,127,127,125,122,122,121,121,120,122,122,125,127,128,132,134,139,142, +148,152,156,159,161,165,166,168,168,169,170,169,169,168,169,168,169,168,169,168,169,167,168,167, +167,166,166,165,166,165,166,166,167,167,168,168,167,168,168,166,166,164,162,162,158,158,154,153, +149,147,144,141,139,136,133,132,129,130,130,131,133,136,138,142,145,150,153,157,159,162,163,164, +163,164,162,161,159,158,155,154,151,150,147,145,142,140,137,133,130,126,123,119,118,115,114,112, +113,113,113,116,118,119,120,123,125,128,129,132,135,135,138,139,142,143,145,147,146,148,148,149, +148,149,148,148,148,146,147,145,146,145,145,144,145,143,144,143,142,142,142,140,141,139,140,140, +138,138,136,136,134,130,128,124,121,117,114,110,108,104,102,100,100, 98,100,101,102,106,108,112, +115,118,123,125,130,133,138,140,144,146,150,152,152,154,154,155,155,154,153,151,150,147,146,144, +140,138,133,131,127,124,121,118,114,112,109,108,105,105,103,102,102,100,101, 99,100, 99, 99, 98, + 98, 98, 97, 97, 96, 97, 97, 98, 97, 99, 99,101,100,102,103,103,105,106,106,108,109,111,112,114, +115,115,117,117,118,118,117,118,117,114,114,110,108,104,101, 96, 93, 88, 84, 79, 74, 71, 66, 63, + 59, 56, 55, 52, 52, 51, 53, 53, 57, 59, 63, 67, 71, 74, 79, 83, 88, 91, 95, 98,103,106,111,115, +118,121,124,126,129,131,132,134,135,135,135,134,134,134,132,131,129,129,127,127,126,123,124,121, +121,120,119,119,117,116,115,112,110,108,105,104,101, 99, 95, 94, 90, 89, 87, 85, 85, 84, 83, 85, + 85, 87, 91, 92, 97, 99,104,107,112,116,122,125,132,136,142,145,151,155,160,163,168,171,171,174, +173,173,171,170,167,164,159,156,151,149,144,142,138,136,133,132,129,128,126,126,124,125,124,125, +127,127,130,133,135,139,141,145,147,151,154,156,157,160,161,164,165,167,168,168,170,170,171,171, +171,173,173,173,174,173,175,176,177,177,180,180,182,181,182,180,180,178,175,172,168,165,161,158, +154,150,147,145,141,140,137,136,133,132,128,127,124,121,120,118,116,116,117,116,120,121,125,128, +133,136,139,144,147,151,153,157,158,159,161,162,163,163,162,162,160,160,157,156,153,151,147,145, +141,139,136,134,131,131,129,129,128,129,128,130,129,131,130,132,133,134,135,136,137,137,138,137, +138,137,135,136,134,132,132,130,130,128,129,129,130,130,133,134,137,138,141,141,144,145,145,146, +146,146,146,145,146,144,144,143,141,141,138,137,135,133,132,129,127,126,122,121,117,116,113,111, +109,106,107,106,105,106,107,107,110,111,114,117,120,123,127,129,133,135,138,140,143,144,145,145, +146,145,145,144,141,140,138,136,132,129,125,122,118,115,112,110,107,106,104,103,102,101,101,100, +101,100,102,101,102,101,102,101,101,100, 99, 98, 97, 96, 95, 93, 92, 92, 90, 90, 89, 88, 88, 87, + 88, 87, 88, 90, 90, 92, 94, 95, 96, 97, 96, 98, 98, 98, 99, 99, 99, 99, 99, 98, 97, 98, 96, 97, + 95, 95, 93, 91, 90, 86, 85, 82, 81, 78, 77, 75, 75, 73, 75, 74, 77, 77, 80, 82, 86, 89, 94, 96, +101,104,108,111,115,118,121,124,125,129,129,132,133,133,134,133,133,134,132,132,130,129,127,126, +124,123,120,118,117,113,113,111,109,107,106,105,104,103,103,103,101,102,101,100,100, 99, 99, 98, + 96, 97, 96, 95, 97, 97, 98,101,102,106,110,112,117,120,125,128,133,135,140,143,148,151,156,159, +164,166,170,171,173,174,175,175,172,172,169,167,164,161,158,154,152,148,144,142,139,137,135,134, +132,130,131,130,132,132,134,135,138,139,142,143,146,147,149,151,152,154,155,156,159,161,162,166, +168,170,172,173,174,175,174,174,173,172,171,170,169,169,168,169,169,170,171,172,172,173,172,172, +169,168,165,162,158,153,150,145,141,136,133,128,125,121,119,114,113,109,108,105,106,104,106,105, +109,110,114,117,121,124,129,133,138,142,146,150,153,156,159,162,164,165,167,168,168,168,167,165, +165,162,161,157,156,153,152,150,149,147,145,145,144,141,141,139,138,135,135,132,131,129,129,128, +126,127,126,127,125,126,125,126,125,126,125,125,124,125,123,124,124,123,125,124,127,127,130,131, +135,137,141,143,148,150,154,157,158,161,162,162,162,161,160,158,156,152,149,145,142,138,134,129, +126,121,119,115,111,109,106,105,103,103,104,104,105,106,107,110,111,114,116,119,120,124,124,127, +127,130,129,131,130,131,130,130,129,127,128,126,126,124,125,123,121,120,119,118,118,116,117,115, +115,114,114,113,112,112,111,108,108,106,104,102,100, 97, 95, 92, 91, 88, 86, 83, 81, 78, 74, 72, + 70, 66, 65, 62, 62, 62, 62, 63, 64, 66, 70, 71, 77, 81, 85, 90, 94, 99,103,105,109,111,113,115, +114,116,115,116,115,114,112,110,107,106,103,102, 99, 96, 96, 94, 92, 92, 90, 91, 91, 90, 92, 92, + 94, 95, 97, 98,101,102,105,106,109,110,112,113,115,115,117,116,117,117,115,116,113,112,112,110, +110,108,109,109,109,111,111,112,113,114,114,115,115,116,115,117,116,118,118,120,120,121,122,122, +123,122,123,121,121,119,119,118,116,116,114,115,115,114,117,117,120,120,124,126,128,132,134,138, +141,144,149,151,155,159,161,164,166,166,168,168,169,168,169,168,168,167,167,165,165,163,161,160, +158,157,154,152,150,147,146,143,144,142,144,144,146,149,150,154,154,157,157,159,158,159,158,158, +157,155,155,154,154,154,153,154,155,154,157,156,157,159,159,160,161,160,162,162,163,164,163,165, +165,165,165,164,162,161,158,157,153,152,148,146,142,140,137,133,131,127,125,122,120,117,116,114, +113,113,112,113,114,114,118,119,121,124,126,129,131,134,136,140,141,146,148,152,154,158,160,163, +164,167,167,169,167,168,165,165,162,160,157,155,153,150,148,144,142,142,139,139,137,137,136,136, +134,134,131,131,129,128,125,125,123,121,120,118,116,115,113,113,112,113,113,115,116,116,120,121, +124,126,129,130,134,136,138,142,144,148,149,152,154,155,155,155,156,155,155,155,152,152,149,147, +143,142,138,136,132,130,126,124,122,118,117,113,112,109,108,105,105,102,102,101,101, 99,100,100, +101,101,103,103,105,106,107,108,110,111,113,115,115,118,118,120,120,122,121,122,121,122,121,121, +120,120,120,118,119,118,117,117,115,115,112,111,108,107,102,100, 95, 92, 87, 84, 79, 75, 72, 68, + 66, 63, 62, 60, 58, 58, 57, 58, 58, 59, 61, 61, 65, 66, 70, 72, 77, 80, 83, 87, 90, 95, 98,103, 128,127,128,127,128,127,128,128,127,128,127,128,128,128,128,128,127,128,128,128,128,128,127,128, 127,128,127,128,128,128,128,128,127,128,127,128,128,127,128,127,128,128,127,128,127,128,128,127, 128,127,128,127,128,127,128,127,128,127,128,127,128,127,128,127,128,127,128,127,128,128,128,128,