audio module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Todd Stephens

    audio module

    Is there such a module containing audio tools? I am looking specifically
    for tools to manipulate ogg-vorbis and convert other formats (mp3, wav) to
    ogg.

    --
    Todd Stephens
    ICQ# 3150790
    "A witty saying proves nothing."
    -Voltaire
  • David Asorey Álvarez

    #2
    Re: audio module

    Todd Stephens <Huzzah!@Huzzah .com> wrote:
    [color=blue]
    > Is there such a module containing audio tools? I am looking specifically
    > for tools to manipulate ogg-vorbis and convert other formats (mp3, wav) to
    > ogg.[/color]

    You can try Snack --it doesn't support ogg :-(



    --
    David.

    Comment

    • klappnase

      #3
      Re: audio module

      Todd Stephens <Huzzah!@Huzzah .com> wrote in message news:<9bP9b.711 18$Mb2.2369961@ twister.tampaba y.rr.com>...[color=blue]
      > Is there such a module containing audio tools? I am looking specifically
      > for tools to manipulate ogg-vorbis and convert other formats (mp3, wav) to
      > ogg.[/color]

      Hi,

      try tkSnack : www.speech.kth.se/snack

      I think it should be able to handle ogg files, though I have not tried this.

      Cheers

      Michael

      Comment

      • Torsten Marek

        #4
        Re: audio module

        Todd Stephens schrieb:[color=blue]
        > Is there such a module containing audio tools? I am looking specifically
        > for tools to manipulate ogg-vorbis and convert other formats (mp3, wav) to
        > ogg.
        >[/color]
        What do you mean by "manipulati on"? Edit the tag info? You can have a
        try with (my) libtagedit (libtagedit.sou rceforge.net), which supports
        mp3 as well.

        Converting mp3 into ogg with preserving the tag information consists
        mostly out of building the commandline:

        trans_table = {
        "Artist": "--artist",
        "Title": "--title",
        "Track": "--tracknum",
        "Genre": "--genre",
        "Year": "--date",
        "Album": "--album",
        "Comment": "-c ="}

        def mp3ToOgg(tag, outdir, quality="3,5"):
        args = ["%s \"%s\"" % (trans_table[field], tag[field])
        for field in trans_table.key s() if tag[field]]
        args = " ".join(args )
        new = os.path.join(ou tdir,
        os.path.basenam e(tag.filename( ).replace(".mp3 ", ".ogg")))

        os.system("lame --decode \"%s\" -|oggenc -q %s -r -o \"%s\" %s -" %
        (tag.filename() , quality, new, args))


        This example uses libtagedit (tag is a tageditor class). If you want
        more specific information, I could mail you some scripts I wrote.

        greets

        Torsten

        Comment

        • Tobias Pfeiffer

          #5
          Re: audio module

          Hi!

          Todd Stephens <Huzzah!@Huzzah .com> wrote in
          news:9bP9b.7111 8$Mb2.2369961@t wister.tampabay .rr.com:
          [color=blue]
          > I am looking
          > specifically for tools to manipulate ogg-vorbis and convert other
          > formats (mp3, wav) to ogg.[/color]

          Well. I think at least for converting into ogg, the Python bindings
          provided on http://www.vorbis.com/download_unix.psp should help (never
          tried myself).

          Bye
          Tobias

          Comment

          • Joe Francia

            #6
            Re: audio module

            Todd Stephens wrote:[color=blue]
            > Is there such a module containing audio tools? I am looking specifically
            > for tools to manipulate ogg-vorbis and convert other formats (mp3, wav) to
            > ogg.
            >[/color]

            Here are some Ogg Vorbis bindings for Python:



            Comment

            • Todd Stephens

              #7
              Re: audio module

              Joe Francia wrote in article <Odeab.4545046$ cI2.642238@news .easynews.com>:
              [color=blue]
              > Todd Stephens wrote:[color=green]
              >> Is there such a module containing audio tools? I am looking specifically
              >> for tools to manipulate ogg-vorbis and convert other formats (mp3, wav)
              >> to ogg.
              >>[/color]
              >
              > Here are some Ogg Vorbis bindings for Python:
              >
              > http://www.andrewchatham.com/pyogg/[/color]

              Excellent. Thanks to everyone that responded. Honestly I was not sure if
              there was going to be anything out there for this. I think I can work with
              what I have been shown here. Thanks again.


              --
              Todd Stephens
              ICQ# 3150790
              "A witty saying proves nothing."
              -Voltaire

              Comment

              Working...