Loading...
来源: | Freesound 前往原页面 查看译文 |
作者: | gis_sweden |
许可: | CC0 公众共享许可协议 |
描述: | I made a small Python program that generates 20 random beeps.I record the outcome.I cut the result so that the first beep starts after 0.01 secThe file ends right after the last beep.(I'm a Python noob... If you find something you don’t like in the code please let me know.) GIS_SWEDEN 20170531 Random Beep In Python :)import winsoundimport randomimport timebeepnr 1 while beepnr freq random.randrange(1000)+110 dur1 random.randrange(700)+20 dur2 random.randrange(10)+2 winsound.Beep (freq, dur1) time.sleep(dur2/10) print 'Beep Number', beepnr beepnr beepnr + 1 |
标签: | winsound computermusic random python beep |
音频格式 | wav |
声音时长 | 00:13 |
文件大小 | 2.2 MB |
比特率 | 1414 kbps |
采样率 | 44100 Hz |
位深度 | 16 bit |
声道 | 立体声 |