- ERROR OPENING RECORDING DEVICE 9996 DRIVERS
- ERROR OPENING RECORDING DEVICE 9996 DRIVER
- ERROR OPENING RECORDING DEVICE 9996 CODE
It is a little over my head to try to look at the Octave code. I also don't know what version of PortAudio is in Octave 4.4.1.
ERROR OPENING RECORDING DEVICE 9996 DRIVERS
But these things are time-dependent and I don't know if this is true for the current version of the Windows drivers and the current version of PortAudio. I did find on the Audacity site in a discussion about PortAudio they say that Windows DirectSound and MME do not support 24 bits, so perhaps that is the underlying problem. That seems more like a problem with the Octave interface to PortAudio, but I am not sure. I have had it work with the Audiobox and DirectSound drivers (in the sense that there are no error messages) but the recorded data is all zeros. I don't know if this is being passed up from PortAudio or if it is coming from Octave. With the PreSonus Audiobox 96 I get the error "audiorecorder: unable to open audio recording stream" with MME drivers.
ERROR OPENING RECORDING DEVICE 9996 CODE
Yes, that is correct, I can get the posted code to work with the built-in sound card on my desktop computer (HPZ420, Win7, Realtek sound). Or perhaps that the use of PortAudio at all is insufficient for this use case or this hardware, maybe by comparing other programs you have access to, such as Audacity, that use PortAudio on Windows. And we have no extensive testing capabilities or hardware compatibility requirements.Īs the reporter of this bug with sole access to the specific hardware that causes this bug, I think this bug has to rely on more information from you helping to identify whether there is something specific in Octave's use of PortAudio that needs to be changed.
ERROR OPENING RECORDING DEVICE 9996 DRIVER
But we are not audio device driver experts, nor are we PortAudio library experts. If the audio I/O functions work with PortAudio on Windows, then great, that's why we decided to go with PortAudio. Just to give you an idea of what to expect from us, the Octave developers, we have about 3 or 4 volunteers who have worked on the PortAudio interface over a few years, all testing on GNU/Linux systems, and probably all with basic onboard internal sound hardware. The Windows build of Octave is using the latest stable PortAudio release as shown on, version 190600_20161030. > I also don't know what version of PortAudio is in Octave 4.4.1. So the question goes back to why is PortAudio returning failure to open a stream on this particular hardware with these particular settings? The error message comes from Octave, but it is in direct response to the PortAudio function for opening an audio stream failing. > I don't know if this is being passed up from PortAudio or if it is coming from Octave. If you change your script so that the host is only recording and not trying to play back simultaneously, does that increase the chance of success at all? Have you tried Audacity on this system? If not, can you try installing and testing it with the PortAudio interface? Does recording work correctly with the Audiobox? I am not sure if we can leave this thread open or not, but if we can I will report results of further tests. I will probably try to get some other hardware that is a USB audio interface with XLR mic inputs but that is 16 bits rather than 24. I think my next step should be to try my test code with the Audiobox and Win 10 to see if that is different. Recording does work fine with the MME driver. With Octave, the DirectSound driver works for play, but for recording the DirectSound driver gives zeros in the data.
When I use the internal sound hardware with Audacity, I can use DirectSound drivers for both record and play. So I suspect that PortAudio cannot handle this 24-bit interface. Both Audacity and Octave work with the internal sound hardware.
It does not work and shows similar problems as with Octave. Great idea about trying the Audiobox 96 with Audacity. I understand about the limited development support and am grateful for any info that can be provided.