_numpysndarray.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:Projects 作者: it2school 项目源码 文件源码
def array (sound):
    """pygame._numpysndarray.array(Sound): return array

    Copy Sound samples into an array.

    Creates a new array for the sound data and copies the samples. The
    array will always be in the format returned from
    pygame.mixer.get_init().
    """

    return numpy.array (sound, copy=True)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号