Wave File Editing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sackynut
    New Member
    • Mar 2007
    • 3

    #1

    Wave File Editing

    This is probably a silly question, but I am slightly new to python and all of its capabilities. Ive been doing bioinformatics work at a local college, but other than that I dont have too much experience with it, and Im not anything like a full time programmer.

    Ive started getting into sound production and audio engineering, so it fits that I want to know how to manipulate it in python (and inevitably create a program that does some weird thing with audio.)

    Ive searched and searched, and found only one [confusing] document on how to use the wave module. The python website does not help at all.

    I was wondering if someone could show me simply, how to work with the wave module and the struct module.
    As in, importing, reading, exporting/generate wave files, chopping them up, etc. And not just how, but why.
    I would much appriciate this. Thank you to anyone who helps :D
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by sackynut
    This is probably a silly question, but I am slightly new to python and all of its capabilities. Ive been doing bioinformatics work at a local college, but other than that I dont have too much experience with it, and Im not anything like a full time programmer.

    Ive started getting into sound production and audio engineering, so it fits that I want to know how to manipulate it in python (and inevitably create a program that does some weird thing with audio.)

    Ive searched and searched, and found only one [confusing] document on how to use the wave module. The python website does not help at all.

    I was wondering if someone could show me simply, how to work with the wave module and the struct module.
    As in, importing, reading, exporting/generate wave files, chopping them up, etc. And not just how, but why.
    I would much appriciate this. Thank you to anyone who helps :D
    The coolest stuff that I have found involves getting Audacity ported to python from C++ (actually probably just creating the wrapper so the C++ library can be called from python). One interesting blog is here. Wrappers are fun projects and there are some really good tools these days. What you'd end up with is really high end audio in python. Sorry, no help on the stock library.

    Comment

    • dshimer
      Recognized Expert New Member
      • Dec 2006
      • 136

      #3
      I've never played with it but have you investigated PyMedia?

      Comment

      • ghostdog74
        Recognized Expert Contributor
        • Apr 2006
        • 511

        #4
        Originally posted by sackynut
        This is probably a silly question, but I am slightly new to python and all of its capabilities. Ive been doing bioinformatics work at a local college, but other than that I dont have too much experience with it, and Im not anything like a full time programmer.

        Ive started getting into sound production and audio engineering, so it fits that I want to know how to manipulate it in python (and inevitably create a program that does some weird thing with audio.)

        Ive searched and searched, and found only one [confusing] document on how to use the wave module. The python website does not help at all.

        I was wondering if someone could show me simply, how to work with the wave module and the struct module.
        As in, importing, reading, exporting/generate wave files, chopping them up, etc. And not just how, but why.
        I would much appriciate this. Thank you to anyone who helps :D
        Python has its own simple wave module, check this out.

        Comment

        • sackynut
          New Member
          • Mar 2007
          • 3

          #5
          Ive looked at the python documentation for wave files many times. I guess what Im asking, is audio manipulation and how it works, and then how to use that in python. I dont really know much about audio "samples" and such, so knowing how to use the module in python isnt any good.

          Anyone know any good websites at least for learning about audio things such as "samples" and all that good stuff, for noobies like me, and then I can come back and ask about the python use for it. thanks :D

          Comment

          Working...