Go to advanced search

by gpetrowitsch
Tue Apr 02, 2019 10:25 am
Forum: Python
Topic: Play tone without generating wave data beforehand
Replies: 7
Views: 516

Re: Play tone without generating wave data beforehand

Thanks paddyg for the huge effort. As PiGrahams solution looks more promising to me, I'll try that first. Maybe it even allows for switching on the tone without having to specify a duration in advance, but just switch it off any time later, which would be the ideal solution for me.
by gpetrowitsch
Tue Apr 02, 2019 10:21 am
Forum: Python
Topic: Play tone without generating wave data beforehand
Replies: 7
Views: 516

Re: Play tone without generating wave data beforehand

Thanks a lot, PiGraham! This could be the solution to my problem. I'll give it a try.
Do you know, if there's any problem in mixing tkinter and pygame (because I'm using tkinter for my appllication).
by gpetrowitsch
Tue Apr 02, 2019 10:19 am
Forum: Python
Topic: Play tone without generating wave data beforehand
Replies: 7
Views: 516

Re: Play tone without generating wave data beforehand

Thanks Andyroo, but I have no pre-defined sounds - could be anything.
by gpetrowitsch
Mon Apr 01, 2019 7:07 pm
Forum: Python
Topic: Play tone without generating wave data beforehand
Replies: 7
Views: 516

Play tone without generating wave data beforehand

Hi all, I kept searching the web and this forum for hours now, but found no satisfactory answer to this "problem". In Python 3 I would like to call a function like someObject.playSine( frequency, duration) or someObject.playRect(frequency,duration) to play a tone with sine or rectangle waveform of t...

Go to advanced search