I understand what you are saying about the complexities of the sound settings and I think the sound driver is the prime suspect. But I had everything set standard as far as I knew and was not changing the settings when the problem came up.
This is a peculiar problem because everything was working fine with the Cmedia drivers that were installed. I had complex beat detection working along with 3D mesh morphing all at once without any problems until I was examining the “FFT4Channels” module. Then everything fell apart. After that the FFT node would not work and the lock up on quit problem came up. No amount of re-installation fixed it so in desperation I set up a clean machine on a new hard drive. But the problem remains and I suspected some settings were saved and carried over from the backed up files. I still can’t work out why this is happening when it did not before.
However, I think I am close to a workaround for the problem.
I have confirmed that it will lock up on close only if AudioIn is enabled at the time, even if AudioIn is the only thing there.
I can avoid lock up by using a Microsoft driver “UAA Function Driver for High Definition Audio - Cmedia 9880”. The FFT works, but AudioIn only allows Inputs to be selected i.e. microphone and digital in. FFT buffer size shows as 1024 but the slice output is only noise.
Here is the output when F1 is pressed for FFT.
00:01:35 * : patch C:\data\VVVV\vvvv_33beta11.1\help\FFT (DShow9) help.v4p has been marked as changed because of convertions (from http://vvvv.org/versions/vvvv33alpha9.0.dtd to 33beta11.1).
you will be asked for OVERWRITING your patch with the updated version…
00:01:35 : Adding samplegrabber and null renderer
00:01:35 : Adding node to filtergraph: FFT (DShow9)
00:01:35 : FFT (DShow9).Audio --> SampleGrabber.Input
00:01:35 : Connecting from: AudioIn (DShow9).Audio to: FFT (DShow9).Audio
00:01:35 * : nil pins can not be connected in directshow graph
00:01:35 : getting output of SampleGrabber
00:01:35 : Getting input of NullRenderer
00:01:35 ERR : There is no common media type between these pins.
00:01:35 ERR : The operation cannot be performed because the pins are not connected.
00:01:35 : Adding node to filtergraph: AudioIn (DShow9)
00:01:35 : AudioIn (DShow9).Audio --> C-Media Rear Panel Audio.Capture
00:01:35 : Connecting from: AudioIn (DShow9).Audio to: FFT (DShow9).Audio
00:01:35 : ds connect from: Capture to: Input
00:01:35 : getting output of SampleGrabber
00:01:35 : Getting input of NullRenderer
00:01:35 : Removing node: SampleGrabber from filtergraph
00:01:35 : Removing node: C-Media Rear Panel Audio from filtergraph
00:01:35 : Adding node to filtergraph: AudioIn (DShow9)
00:01:35 : AudioIn (DShow9).Audio --> C-Media Rear Panel Audio.Capture
00:01:35 : Adding node to filtergraph: FFT (DShow9)
00:01:35 : Connecting from: AudioIn (DShow9).Audio to: FFT (DShow9).Audio
00:01:35 : ds connect from: Capture to: Input
00:01:35 : getting output of SampleGrabber
00:01:35 : Getting input of NullRenderer
It appears that VVVV can only find the audio inputs of the driver. How do I select the sound card output instead of the input? It does not show up in the list of AudioIn. These are :
HD Audio front mic
HD Audio digital in
HD Audio rear input
I tried version 9.0 as hinted in the error message but the same problems occur. I tried version 12 with the same symptoms (noise only) but FFT now shows 2 channels which is much better.
I downloaded the latest Cmedia 9880 drivers. Same problem as before - no FFT output with buffer size of 0 and lock up on quit. But at least the Cmedia rear panel audio apperas in the AudioIn list. Also if I try to disconnect the AudioIn to FFT pin link, it locks up with an hourglass cursor and cannot be closed with Task Manager.
I am stuck with this and will have to give up if I can’t solve it.
Regarding your question on io.dll. I was using io.dll from “Geek Hideout” to control a parallel port relay board. I had used it before in my own code with success and VVVV worked first try, no problems. I can see reference to io.dll if I open up a basic patch without the root (no I/O is in the patch). Here is the first part of the output.
Everything you know is wrong
physical : in use= 22, total = 1048044 kb, avail = 813336 kb
virtual : in use= 2, total = 2097024 kb, avail = 2055316 kb
paging : in use= 6, total = 2521288 kb, avail = 2377084 kb
00:00:00 - : Hid (Human Interface Devices) DeviceController - OnDeviceChange
00:00:00 * : Direct3D initialized.
00:00:00 - : enumerating game devices
00:00:00 ERR : io.dll not found
00:00:00 : Adding samplegrabber and null renderer
00:00:00 : Adding node to filtergraph: FFT (DShow9)
00:00:00 : FFT (DShow9).Audio --> SampleGrabber.Input
00:00:00 : Connecting from: AudioIn (DShow9).Audio to: FFT (DShow9).Audio
00:00:00 * : nil pins can not be connected in directshow graph
00:00:00 : getting output of SampleGrabber
00:00:00 : Getting input of NullRenderer
00:00:00 ERR : There is no common media type between these pins.
00:00:00 ERR : The operation cannot be performed because the pins are not connected.
00:00:00 * : couldn’t find/create node (ID: 1) in patch root.v4p ////. deleting action.
If I put io.dll in the bin folder the message goes away. Perhaps this is a generic message, but I suspected that some settings had been saved after I had used io.dll before, so this might be a clue to getting a clean installation, which is why I asked.