Python

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • winsound

    0 answers - 990 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    How comes that there seem to be multiple APIs for playing sound?
    There is
    sound = wx.SoundFromData(open("data/plan.wav", "rb").read())
    And then there is
    Import winsound
    winsound.PlaySound(open("data/plan.wav", "rb").read(), winsound.SND_MEMRY)
    Questions:
    1) which one is supposed to be used?
    2) which formats are supported for playback besides WAV? What is this
    depending on?
    3) how can i buffer a sound for faster and smoother playback (asynchronous
    playback without freezing the app)
    4) how can i play back several sounds at a time, or would i need a package
    like pyGame for that?
    Thanks,
    Christophe Leske
    tel. +49-(0)211 230 99 70
    :. 157 .:.
    ::: 40215 :::
    ::: germany :::
    http://www.multimedial.de
    To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org
    For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org

Re: winsound


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "Python"

EMSDN.COM