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 6 2580
Todd Stephens <Hu*****@Huzzah .com> wrote: 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.
You can try Snack --it doesn't support ogg :-( http://www.speech.kth.se/snack/
--
David.
Todd Stephens <Hu*****@Huzzah .com> wrote in message news:<9b******* **************@ twister.tampaba y.rr.com>... 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.
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
Todd Stephens schrieb: 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.
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
Hi!
Todd Stephens <Hu*****@Huzzah .com> wrote in
news:9b******** *************@t wister.tampabay .rr.com: I am looking specifically for tools to manipulate ogg-vorbis and convert other formats (mp3, wav) to ogg.
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
Todd Stephens wrote: 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.
Here are some Ogg Vorbis bindings for Python: http://www.andrewchatham.com/pyogg/
Joe Francia wrote in article <Od************ **********@news .easynews.com>: Todd Stephens wrote: 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.
Here are some Ogg Vorbis bindings for Python:
http://www.andrewchatham.com/pyogg/
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kelvin Chu |
last post by:
Hello, Python Wizards...
I'm trying to use Python to write an aiff file. I've used the aifc module
and I've set the parameters (# of channels, encoding rate, compression,
etc.)
What does raw audio data look like? Is each word of the raw audio data a
frequency? If I encode 440 for each of the frames, will I get concert A?
Thanks for any advice you can give on this subject.
|
by: Bruce Bon |
last post by:
The class below is intended to play a Sun audio file (.au) in the
background while the main thread, which is servicing a GUI, continues
without impact. It doesn't work. For a sound file that takes 3-5
seconds to play, the main thread hangs for that long. I have run this
many times, with changes in printouts and insertion of strategic
sleeps to try to make sure that the player thread gives up control,
but apparently the call to...
|
by: Noah |
last post by:
I need to record raw 8-bit mono audio from a generic sound card on MS-Windows.
I need to do something like this:
sound_device = open audio device
buffer = sound_device.read ('1 second, 8 bit, mono, 8 KHz')
process buffer
If possible I would also like to experiment with sampling the raw audio
in my own loop. For example, something like this:
open audio device
while 1:
|
by: Dawsons |
last post by:
Completely random thought process im having, but this even possible or
anyone know of such thing which can even act in away hich is webside?
Stuart
|
by: Lasdjfk |
last post by:
Anyone knows about an audio filter module for Python?
Snack (http://www.speech.kth.se/snack/ ) seems to be able to do something things. However what I'm mostly interested in is to run audio effects like normalization, compressor, delete silence etc.
PyMedia also doesn't seem to be able to do such things.
Any help appreciated immensely! :)
| |
by: ray well |
last post by:
hi,
i'm looking for an audio component to add to a .net 2005 program, that could
play all or part (starting at a certain point and ending at a certain point
within a audio file) of a wav, midi, or mp3 file. i also need to be able to
set the midi insturment.
can anyone recomend such a component, or better still a location where such
components are reviewed and compared as to features and price?
|
by: Ultrus |
last post by:
Hello Python Gurus,
I picked up a book the other day on Python programming. Python rocks!
I'm learning Python as I want to call upon it to handle some intensive
tasks from PHP/web server.
The top goal right now is automating audio editing using Python. Is it
possible? I was able to do this directly through php, but it was
reaaaallllyyyyy slowwwwwwww. PHP is not designed for that sort of
thing.
|
by: Julien |
last post by:
Hi,
I would like to pull out the waveform of an audio file and save it
into an image file, for example in GIF format. Is that achievable, and
if so, how?
I heard about the Snack module, but the project looks dead and un-
maintained.
Your advice would be greatly appreciated.
|
by: li0pxh0 |
last post by:
Does anyone know how to fix this error?
ERROR error.badfetch: Trying to add audio content <prompt> to non-audio container <form>
Below is my code:
use CGI;
use Cwd;
use File::Basename;
use Time::localtime;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |