トピック
Jackson JacboyX

How do you use the stupid mic?!

2そうだね
プレイ済み
返信[1]
親投稿
OlOOlOOl pi_r_round
The code in this screenshot will capture 2 seconds from the mic and play it back.
0そうだね
プレイ済み
返信[2]
親投稿
Jackson JacboyX
Thanks!
0そうだね
プレイ済み
返信[3]
親投稿
Jackson JacboyX
Any chance for codes for 16 bit and longer recordings?
0そうだね
プレイ済み
返信[4]
親投稿
OlOOlOOl pi_r_round
There are two restrictions in place. Playback: Only 8180, 8-bit samples per second are supported by WAVSETA. Recording: At 8180, 8-bit samples per second, MICSTART can record up to 30 (or maybe it's 32) seconds maximum unless you write some fairly complicated code to wrap around it. Normally the mic data is stored from beginning to end of the mic chip's internal buffer. (cont. below)
0そうだね
プレイ済み
返信[5]
親投稿
OlOOlOOl pi_r_round
However if length 0-seconds is specified, it uses a circlular buffer, meaning that it wraps around and new data overwrites the oldest in the buffer. If you use this setting, you would need to continuously pull the data out of its buffer and store it in your own buffer, while it's still recording.
0そうだね
プレイ済み
返信[6]
親投稿
Jackson JacboyX
Okay.
0そうだね
プレイ済み