LoginSignup
3
3

More than 1 year has passed since last update.

切れ目のないループ再生

Last updated at Posted at 2021-11-30

ループ音楽や環境音を連続して再生したい時があります。その時、繰り返しブロックの中に「終わるまで〜〜の音を鳴らす」を使うと、繰り返しの瞬間に一瞬音が途切れてしまいます。代わりに「〜〜の音を鳴らす」と「〜〜秒待つ」の組み合わせを使うことで途切れずに再生することができます。待つ時間は、音の長さより0.1秒くらい少ないくらいが丁度良いみたいです。

サンプルプロジェクト

https://scratch.mit.edu/projects/600931888
スクリーンショット

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3