- 授权协议: MIT
- 开发语言: Python
- 操作系统: Windows
- 软件首页: http://pysonic.sourceforge.net/
- 软件文档: http://pysonic.sourceforge.net/doc/index.html
软件介绍
pySonic 是封装了高性能、跨平台的FMOD声音库 Python 开发包。
示例代码:
import pySonic
import time
def finished_stream(source):
print 'Stream finished playing'
# initialize the audio environment
w = pySonic.World()
# create two sources
src1 = pySonic.Source()
src2 = pySonic.Source()
# load a sound entirely from disk, stream another from disk
src1.Sound = pySonic.FileSample('short.wav')
src2.Sound = pySonic.FileStream('long.mp3')
# position the sources in 3D space
src1.Position = (-0.5, 0.0, 0.5)
src2.Position = (0.5, 0.0, 0.5)
# register a callback for when the stream finishes
src2.SetEndStreamCallback(finished_stream)
# register a callback for when the stream finishes
src1.Play()
src2.Play()
# just block while we're playing in this example
while src1.IsPlaying() or src2.IsPlaying():
time.sleep(1)
深入React技术栈
陈屹 / 人民邮电出版社 / 2016-11-1 / CNY 79.00
全面讲述React技术栈的第一本原创图书,pure render专栏主创倾力打造 覆盖React、Flux、Redux及可视化,帮助开发者在实践中深入理解技术和源码 前端组件化主流解决方案,一本书玩转React“全家桶” 本书讲解了非常多的内容,不仅介绍了面向普通用户的API、应用架构和周边工具,还深入介绍了底层实现。此外,本书非常重视实战,每一节都有实际的例子,细节丰富。我从这......一起来看看 《深入React技术栈》 这本书的介绍吧!
