473,473 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Sound, time and platform issues

Hello everybody!

I need advice and expertise of the community for the following problem.

I'm going to make a psycholinguistic experiment. In this experiment the
auditor is asked to listen to some text and to press the button when
some event occurs. I need to find out reaction time on different inputs
and, therefore, I need 1) rather accurate (or, at least, constantly
biased) estimates for the moment the button was pressed, and 2)
"real-time" sound playing.

Googling finds out several Python toolkits for dealing with sound, but
they are for Linux, not Windows.

Therefore questions:
1. Does anybody know about Python tools that might help to solve the
problem above for Windows?
2. Is there any C/C++ solution? (in this case I might provide Python
bindings).
3. If there is no Windows solution, what is the simplest way to use
Linux? I have a notebook and rather limited knowledge of Linux. I don't
want to install Linux on the notebook---harddrive is somewhat limited.
However, I heard that there are some variants of *nix that needs only
boot-CD. Does anybody have experience with systems like these?

Sorry for a bunch of questions and thank you in advance.

With best regards,
anton.

Jul 18 '05 #1
5 1788
Hi!

anton muhin <an********************************@rambler.ru> wrote in
news:bk**********@news.peterlink.ru:
3. If there is no Windows solution, what is the simplest way to use
Linux? I have a notebook and rather limited knowledge of Linux. I
don't want to install Linux on the notebook---harddrive is somewhat
limited. However, I heard that there are some variants of *nix that
needs only boot-CD. Does anybody have experience with systems like
these?


Yuz. A little bit, at least. There's two alternatives I know of.
1. Knoppix. There you have a completely free system, basing on Debian
Linux, that boots from CD-ROM and gives you a complete Linux system,
including KDE (graphical user interface) and all the stuff you would need
to write python. But since it won't change your machine at all, you will
probably have to reinstall the desired sound modules at every reboot and
have all of your files stored on your harddisk, or all will be lost.
Normally, you would find information about Knoppix at
www.knopper.net/knoppix, but this site is closed right now due to the
Software Patent Issue of the European Union.
2. SuSE Linux Live-Eval (or something like that). I never tried that, but
this is supposed to be a "Test-Linux" from the german linux distributor
SuSE that is freely available.
(http://www.suse.de/us/private/downlo..._eval_int.html)

Bye
Tobias
Jul 18 '05 #2
Tobias Pfeiffer wrote:
Hi!

anton muhin <an********************************@rambler.ru> wrote in
news:bk**********@news.peterlink.ru:

3. If there is no Windows solution, what is the simplest way to use
Linux? I have a notebook and rather limited knowledge of Linux. I
don't want to install Linux on the notebook---harddrive is somewhat
limited. However, I heard that there are some variants of *nix that
needs only boot-CD. Does anybody have experience with systems like
these?

Yuz. A little bit, at least. There's two alternatives I know of.

[skipped] Bye
Tobias


Thanks a lot.
anton.

Jul 18 '05 #3
anton muhin <an********************************@rambler.ru> writes:
Hello everybody!

I need advice and expertise of the community for the following problem.

I'm going to make a psycholinguistic experiment. In this experiment
the auditor is asked to listen to some text and to press the button
when some event occurs. I need to find out reaction time on different
inputs and, therefore, I need 1) rather accurate (or, at least,
constantly biased) estimates for the moment the button was pressed,
and 2) "real-time" sound playing.

Googling finds out several Python toolkits for dealing with sound, but
they are for Linux, not Windows.

Therefore questions:
1. Does anybody know about Python tools that might help to solve the
problem above for Windows?


The winsound module included with Python? It allows playing wav files.
And time.clock() will provide accurate timing, AFAIK.

Thomas
Jul 18 '05 #4
[snip]

Anton,

You might take a look at: http://www.speech.kth.se/snack/

Gary Richardson


Jul 18 '05 #5
anton muhin wrote:

[skipped]

thank you everybody for input,
anton.

Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Olivier Ravard | last post by:
Hi everybody, What is the best way to record sound from the sound card with python ? The method I am looking for must but portable. Actually, I use snack tk package, but is there a best way ?...
6
by: Paul Moore | last post by:
Does anyone know of a Python library which handles sound file formats (MP3, Ogg, FLAC are the three I'm nost interested in). I'd like something that can manipulate "metadata" - stuff like artist,...
5
by: Chris | last post by:
I want a program that can "draw" sound. Imagine drawing a graph of frequency against time - and then being able to play it over the computer speakers. Can this be done in Python? As a...
3
by: Bill Dandreta | last post by:
I posted a message ("Help with my 1st Tkinter program") a few days ago complaining that Python did not have any built in basic cross platform sound capability. I was wrong (at least partly). Python...
1
by: Niklas Paro | last post by:
Hello I would need way to check the amplitude (over time) for a sound file in python. I'm sure this can be done, for example the audioop.rms function seems to be able return amplitude values....
2
by: Sathyaish | last post by:
I am using MCI (winmm.dll) to read, record and playback sound. For now, I am doing this with disk files instead of realtime doing it straight from the memory. If I want to stream/relay/transmit...
5
by: Dennis C. Drumm | last post by:
I have a windows form configured as a fixed dialog I'm using as a custom MessageBox (has some additional buttons). How do I get it to play the standard windows sounds when envoked and can I insert...
26
by: Jake Barnes | last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are...
4
by: kid joe | last post by:
Hello I've got interested in learning some basic sound programming bits in C... mainly I want to know how to go about accessing the sound devices - reading from them mainly - in windows and...
0
marktang
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,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.