On Wednesday, December 18, 2013 8:45:08 AM UTC-8, twilk...@gmail.com wrote:
> How exactly do I import a .wav file and run it?
>
> also is it possible to run it inside a while loop if so or it just start
> playing when its run? - Tom 14
Using Pyside/PyQt you can play wave fi
On Wednesday, December 18, 2013 8:45:08 AM UTC-8, twilk...@gmail.com wrote:
> How exactly do I import a .wav file and run it?
>
> also is it possible to run it inside a while loop if so or it just start
> playing when its run? - Tom 14
QSound.play(wave_file)
--
https://mail.python.org/mailman/l
- Original Message -
> How exactly do I import a .wav file and run it?
> also is it possible to run it inside a while loop if so or it just
> start playing when its run? - Tom 14
> --
> https://mail.python.org/mailman/listinfo/python-list
I think the pygame module should be able to do so.
How exactly do I import a .wav file and run it?
also is it possible to run it inside a while loop if so or it just
start playing when its run? - Tom 14
--
For the GUI (Tkinter) there is tkSnack.
If you want to run it from the command line you could use sox.
--
https://mail.python.org/mailman/lis
How exactly do I import a .wav file and run it?
also is it possible to run it inside a while loop if so or it just start
playing when its run? - Tom 14
--
https://mail.python.org/mailman/listinfo/python-list
tly have you tried to import a wave file? If you have a short
example of code, (python 2x or 3x) and what OS you will get probably get
some help
Have you googled this: "python play wav file"
Looks like there is something there that might help you get started
--
Joel Goldstick
http:/
On Thursday, December 26, 2002 9:50:14 AM UTC-5, Bengt Richter wrote:
> On Thu, 26 Dec 2002 12:38:56 -, cla...@lairds.com (Cameron Laird) wrote:
>
> >In article , Bengt Richter wrote:
> > .
> > .
> > .
> >>doing too many things. One
Yigit Turgut wrote:
> Problem is I get a sawtooth instead of a square wave. I know that I
> need to define points between 0,1,2 time integer values to achieve
> this. But I hope there is a python trick that will yield this
> time,data plot to a square wave?
There is no "Python
not white
pygame.display.update()
pygame.quit()
if __name__ == "__main__":
_func1()
time,data = numpy.loadtxt('test.txt', unpack=True)
print k
print t
print i
pylab.plot(time,data)
pylab.show()
Problem is I get a sawtooth instead of a square wave. I know
I am confused about the Wave_write object setsampwidth(n).
Is the sample width n the total sample width, i.e. for a stereo sample
consisting of short (2 byte) integers; n=4 or is the sample width the number
of bytes in either the left or the right channel?
Regards,
Alex van der Spek
--
htt
Aaron Watters wrote:
> I implemented a Google Wave Robot which annotates
> BNF syntax rules using railroad diagram images.
> I put notes about the implementation process
> here for the benefit of posterity.
>
> http://listtree.appspot.com/firstWaveRobot
>
> The ro
I implemented a Google Wave Robot which annotates
BNF syntax rules using railroad diagram images.
I put notes about the implementation process
here for the benefit of posterity.
http://listtree.appspot.com/firstWaveRobot
The robot Id is
whiff-gae-tutor...@appspot.com
-- if you are
Helmut Jarausch <[EMAIL PROTECTED]> writes:
> You're right: standard Python's math library missing the function arctan2.
It's math.atan2 .
--
http://mail.python.org/mailman/listinfo/python-list
Mikael Olofsson wrote:
> Helmut Jarausch wrote:
>> Your model is A*sin(omega*t+alpha) where A and alpha are sought.
>> Let T=(t_1,...,t_N)' and Y=(y_1,..,y_N)' your measurements (t_i,y_i)
>> ( ' denotes transposition )
>>
>> First, A*sin(omega*t+alpha) =
>> A*cos(alpha)*sin(omega*t) + A*sin(
Helmut Jarausch wrote:
> Your model is A*sin(omega*t+alpha) where A and alpha are sought.
> Let T=(t_1,...,t_N)' and Y=(y_1,..,y_N)' your measurements (t_i,y_i)
> ( ' denotes transposition )
>
> First, A*sin(omega*t+alpha) =
> A*cos(alpha)*sin(omega*t) + A*sin(alpha)*cos(omega*t) =
> B*si
Thanks folks - I'll have a think about both of these options.
--
http://mail.python.org/mailman/listinfo/python-list
Iain Mackay wrote:
> Python Folks
>
> I'm a newbie to Python and am looking for a library / function that can help
> me fit a 1D data vector to a sine wave. I know the frequency of the wave,
> so its really only phase and amplitude information I need.
>
> I can
Iain Mackay napisal(a):
> Python Folks
>
> I'm a newbie to Python and am looking for a library / function that can help
> me fit a 1D data vector to a sine wave. I know the frequency of the wave,
> so its really only phase and amplitude information I need.
>
> I can
Python Folks
I'm a newbie to Python and am looking for a library / function that can help
me fit a 1D data vector to a sine wave. I know the frequency of the wave,
so its really only phase and amplitude information I need.
I can't find anything in the most widely known libraries
Hi,
I want to record a sound wave from a mic and at the same time invert
it and play the inverted wave.My code goes as follows, however nothing
is written into the E:\inverted.wav file.Thanks in advance for any
help.
from Tkinter import *
root = Tk()
import tkSnack
tkSnack.initializeSnack(root)
t
En Sat, 03 Feb 2007 17:00:39 -0300, Silver Rock <[EMAIL PROTECTED]>
escribió:
> supose i´ve opened a sound with the wave module:
>
>>>> import wave
>>>> sound=wave.open(filename,'rb')
>
> now this is strange:
>
>>>> sound.getnf
hallo,
supose i´ve opened a sound with the wave module:
import wave
sound=wave.open(filename,'rb')
now this is strange:
sound.getnframes() != len(sound.readframes(sound.getnframes())
True
Why so?
thanks in advance,
Claire
--
http://mail.python.org/mailman/listinfo/python-list
SKIMPY CAPTCHA ADDS AUDIO, AND A PROBLEM
[or what I did over xmas weekend at the inlaws
-- python/web/audio experts skip to the bottom
and solve my problem please.]
Skimpy Gimpy CAPTCHA now supports WAVE audio
output to help people with visual impairments
answer Skimpy challenges.
Read more
On Tue, 16 Aug 2005 02:33:36 GMT, Nadie <[EMAIL PROTECTED]> wrote:
>Greeting list readers,
>
>I noticed that the wave read object has an *implementation dependent*
>setpos(pos) method. When reading audio files, it is useful to be able
>to set the position to a specific
Greeting list readers,
I noticed that the wave read object has an *implementation dependent*
setpos(pos) method. When reading audio files, it is useful to be able
to set the position to a specific sample. While setpos(pos) may do this
on certain implementations (haven't tried it), it
Hello Python World!
I've been playing with the 'wave' and 'audioop' modules in the library,
and I have a question. When I tried to read a "wav" file with samples
in 32-bit float, I got the following error:
Traceback (most recent call last):
File "Play.
26 matches
Mail list logo