ListPlay
Usage
• ListPlay[ , , ... ] 播放声音,声音的大小由  序列给出。
Notes
• ListPlay返回一个 Sound 对象.
• 可以给出下面的选项:
| "\!\(\*StyleBox[\"\\\"DisplayFunction\\\"\", \"MR\"]\) " | "\!\(\*StyleBox[\"\\\"$SoundDisplayFunction\\\"\", \"MR\"]\) " | 产生输出的函数 | | "\!\(\*StyleBox[\"\\\"Epilog\\\"\", \"MR\"]\) " | "\!\(\*StyleBox[\"\\\"{}\\\"\", \"MR\"]\) " | 作为一个结尾的声音或图形 | | "\!\(\*StyleBox[\"\\\"PlayRange\\\"\", \"MR\"]\) " | "\!\(\*StyleBox[\"\\\"Automatic\\\"\", \"MR\"]\) " | 包括的大小级的范围 | | "\!\(\*StyleBox[\"\\\"Prolog\\\"\", \"MR\"]\) " | "\!\(\*StyleBox[\"\\\"{}\\\"\", \"MR\"]\) " | 作为一个开头的声音或图形 | | "\!\(\*StyleBox[\"\\\"SampleDepth\\\"\", \"MR\"]\) " | "\!\(\*StyleBox[\"\\\"8\\\"\", \"MR\"]\) " | 用作表示每个数量级的字节数 | | "\!\(\*StyleBox[\"\\\"SampleRate\\\"\", \"MR\"]\) " | "\!\(\*StyleBox[\"\\\"8192\\\"\", \"MR\"]\) " | 每秒应当产生多少次数量样本 |
• ListPlay[ , , ... ] 在任意个信道上产生声音。如果列表的长度不同,在较短列表结尾插入无声。 • 参见 Mathematica 全书 : 节 1.9.13.
Further Examples
This generates a list of the first 1000 digits of the rational number 1/19.
In[1]:=
|
Since rational numbers have repeating decimals, you can hear their periodicity by Play-ing them. Evaluate the cell to hear the sound.
In[2]:=
|
In[3]:=
|
|