Playing sounds at time indexes

Discussion in 'Python' started by OKB (not okblacke), Sep 22, 2010.

  1. I'm looking for an audio library for Python. I googled and found a
    few, but none of them seem to have a simple way to play a particular
    sound file from a particular start-time to an end-time. Like, I'd want
    to load a file and say "Play the section of this file from 10.25 seconds
    to 11.73 seconds." Is there a library that makes this easy in Python?

    Thanks,
    --
    --OKB (not okblacke)
    Brendan Barnwell
    "Do not follow where the path may lead. Go, instead, where there is
    no path, and leave a trail."
    --author unknown
     
    OKB (not okblacke), Sep 22, 2010
    #1
    1. Advertising

  2. On Wednesday 22 September 2010, it occurred to OKB (not okblacke) to exclaim:
    > I'm looking for an audio library for Python. I googled and found a
    > few, but none of them seem to have a simple way to play a particular
    > sound file from a particular start-time to an end-time. Like, I'd want
    > to load a file and say "Play the section of this file from 10.25 seconds
    > to 11.73 seconds." Is there a library that makes this easy in Python?


    platform?
     
    Thomas Jollans, Sep 23, 2010
    #2
    1. Advertising

  3. "OKB (not okblacke)" <> writes:
    > I'm looking for an audio library for Python. I googled and found a
    > few, but none of them seem to have a simple way to play a particular
    > sound file from a particular start-time to an end-time. Like, I'd want
    > to load a file and say "Play the section of this file from 10.25 seconds
    > to 11.73 seconds." Is there a library that makes this easy in Python?


    You might want to check out this question on StackOverflow:

    http://stackoverflow.com/questions/108848/python-music-library


    --
    Burton Samograd
     
    Burton Samograd, Sep 23, 2010
    #3
  4. Thomas Jollans wrote:

    > On Wednesday 22 September 2010, it occurred to OKB (not okblacke)
    > to exclaim:
    >> I'm looking for an audio library for Python. I googled
    >> and found a
    >> few, but none of them seem to have a simple way to play a
    >> particular sound file from a particular start-time to an end-time.
    >> Like, I'd want to load a file and say "Play the section of this
    >> file from 10.25 seconds to 11.73 seconds." Is there a library
    >> that makes this easy in Python?

    >
    > platform?


    Windows XP.

    --
    --OKB (not okblacke)
    Brendan Barnwell
    "Do not follow where the path may lead. Go, instead, where there is
    no path, and leave a trail."
    --author unknown
     
    OKB (not okblacke), Sep 25, 2010
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pleg
    Replies:
    10
    Views:
    860
    Benjamin Todd
    Mar 23, 2006
  2. =?Utf-8?B?SGVyYg==?=

    Playing Sounds

    =?Utf-8?B?SGVyYg==?=, Nov 13, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    397
    Jason Gogela
    Nov 15, 2005
  3. David Alex Lamb

    Managing sounds

    David Alex Lamb, Apr 9, 2005, in forum: Java
    Replies:
    1
    Views:
    391
    Jason Herald
    Apr 9, 2005
  4. Replies:
    11
    Views:
    12,219
  5. pedro mg

    playing defined system sounds

    pedro mg, Feb 9, 2007, in forum: Ruby
    Replies:
    1
    Views:
    110
    Olivier
    Feb 9, 2007
Loading...

Share This Page