Sine Wave

Takuichi Hirano

Playコマンドの説明

?Play

?SampleRate

?SampleDepth

音を鳴らす

f = 440;
a = 1. ;
ω = 2*π*f;
wave[t_] := a*Sin[ω*t];
Play[
      wave[t], {t, 0, 5}, 
SampleRate -> 
        44100, 
SampleDepth -> 
        16, 
PlayRange -> {-2, 2}]