WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Real Time Audio Data (https://forum.worldviz.com/showthread.php?t=1517)

lomendil 06-02-2008 01:08 AM

Real Time Audio Data
 
A few years ago, someone posted about getting audio data in from a microphone. A comment was made that realtime audio collection would be worked on for the next version (that was 2.5).

I haven't seen any further discussion about this in the forums (though I could have failed to search effectively). Is anyone aware if this task is more possible now than it was then?

I'm aware of the vizmic module, but I would really love to record to memory.

What would work well, is if vizmic.startRecording took a file-like object instead of just a filename string. Then you could use a StringIO object and all would be well.

farshizzo 06-02-2008 08:06 PM

The vizmic module only allows getting the current monitor level of the audio. It does not support recording the raw data to memory. I did a quick search and there seems to be some 3rd party Python libraries that support this, like PyAudio.

lomendil 06-02-2008 08:18 PM

Thanks for the reply. The "super duper alpha" comment on the pyaudio sute made me a bit weary of that one. I just wanted to check, since I'd like to minimize third party requirements. But I'll go ahead and use something like pyaudio then.

Thanks again!


All times are GMT -7. The time now is 01:01 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC