6

what other options are there for recording audio and processing the raw signal integers in python besides pyaudio?

pyaudio is great, but I have found it too unstable for reliable use, especially on non-linux platforms. I don't really care too much about windows, but Mac OSX and other unix flavors I would like to support.

lollercoaster
  • 15,969
  • 35
  • 115
  • 173

1 Answers1

3

I think that snack can help you http://www.speech.kth.se/snack/

from Tkinter import *
import tkSnack

root = Tk()
tkSnack.initializeSnack(root)
c = tkSnack.Sound(file='test.wav')
c.record()
root.after(5000, c.stop)
root.mainloop()
ederwander
  • 3,410
  • 1
  • 18
  • 23
  • can it record audio? doesn't seem that it can from the site – lollercoaster Nov 10 '13 at 00:32
  • Using Snack you can create powerful multi-platform audio applications with just a few lines of code. Snack has commands for basic sound handling, such as playback, recording, file and socket I/O. – ederwander Nov 10 '13 at 11:07
  • forgive me for my inability - I looked at the site and couldn't find the documentation or examples of recording audio anywhere. any idea where I could find that? – lollercoaster Nov 10 '13 at 19:43
  • 2
    ugh would rather not depend on Tkinter...but thanks for the example. – lollercoaster Nov 10 '13 at 23:11