{"author_url":"https://blog.hatena.ne.jp/tam5917/","blog_title":"\u5099\u5fd8\u9332","provider_url":"https://hatena.blog","height":"190","published":"2026-05-23 11:33:10","width":"100%","author_name":"tam5917","version":"1.0","blog_url":"https://tam5917.hatenablog.com/","url":"https://tam5917.hatenablog.com/entry/2026/05/23/113310","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftam5917.hatenablog.com%2Fentry%2F2026%2F05%2F23%2F113310\" title=\"M5Stick2 PlusC \u3067\u96c6\u97f3\u3057\u3001\u97f3\u58f0\u6ce2\u5f62\u3092\u8868\u793a\u3059\u308b - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"M5Stick2 PlusC \u3067\u96c6\u97f3\u3057\u3001\u97f3\u58f0\u6ce2\u5f62\u3092\u8868\u793a\u3059\u308b","provider_name":"Hatena Blog","description":"\u3053\u3046\u66f8\u304f\u3002 #include <M5Unified.h> // \u753b\u9762\u306e\u6a2a\u5e45\u306b\u5408\u308f\u305b\u3066\u30b5\u30f3\u30d7\u30eb\u6570\u3092\u8a2d\u5b9a (StickC Plus2\u306f\u6a2a\u5411\u304d\u3067240px) const int32_t record_length = 240; const uint32_t record_samplerate = 16000; // 16kHz\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0 int16_t* rec_data; // \u97f3\u58f0\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u30d0\u30c3\u30d5\u30a1\u3078\u306e\u30dd\u30a4\u30f3\u30bf int32_t prev_y[record_length]; // \u524d\u56de\u306e\u63cf\u753b\u4f4d\u7f6e\u3092\u8a18\u61b6\u3059\u308b\u914d\u5217\uff08\u30c1\u30e9\u3064\u304d\u9632\u6b62\u7528\uff09 void setup() { auto cfg = M5.co\u2026","image_url":null,"categories":["M5Stick"],"type":"rich"}