- 授权协议: 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)
Head First EJB(中文版)
KathySierra,Ber / 中国电力出版社 / 2006-9 / 79.00元
有些人只是想通过认证来取悦挑剔的老板,但相信你不是这种人。确实,你也想通过Su n认证业务组件开发人员(SCBCD)考试,但不仅如此,你还需要真正把EJB用到实处。你要构建应用,要对付最后期限,如果通过考试之后第二天早上就把你学过的EJB知识忘得一干二净,你肯定会受不了。 我们会看着你稳稳当当地通过考试,而且会帮你在实际中使用EJB。你会深入地了解EJB体系结构、会话、实体和消息驱动......一起来看看 《Head First EJB(中文版)》 这本书的介绍吧!
