No sound

Just thought I’d try audacity since it is supposed to be the best…

downloaded windows version, installed lame.
Version 2.0.5
using Xp sp3

audacity starts fine, tried to generate a tone, seems to do it, but no sound output on playback.
Tried a microphone. Seems to record, see it on graph, again no output.
Tried directsound and mme both, same results.
I can hear the mic fine when the loopthrough is turned on. Same results if i open a file for playback…
Deleted the .cfg and restarted…same reulsts.

Looked at the manuals and many forum postings. Seems this bug was back in 2011…Don’t see a solution…Are you telling me it has re-appeared?

Nothing wrong with my system, sound fine everywhere else, and yes I checked the mixer and all the obvious stuff,not a novice at this…

So I ask WTF?? Did anyone test this before release?

what could possibly be wrong here, sound output is too basic for words…

Ken

Audacity 2.0.5 works on XP, though worth noting that Windows XP is now officially obsolete.

What have you got selected as the output (playback) device in the device toolbar?

thanks for answering.

Yes I’m fully aware XP is deemed ‘obsolete’…but let me tell you on good authority this is marketing crap.
Their fortunes are now tied to windows 8 and surface and they are scared to death at this point…

Much of the miltary, government,banks and industrial apps will use this a long time because there are tons of custom programs built for it that do not work on 7 or god forbid 8…
Most of the embedded boards in the ATMS won’t run win7 because they are too slow and have limited memory…so this will not happen anytime soon…
But…I digress.

For me I’m trying to get off all microsoft products and move my shop to Linux.
I’ve had alot of sucess here, but some stuff is a real nigthmare to deal with, so this XP version of Audacity was to see just how portable it really is.

To answer your question, the output device is a SoundMax HD Audio with the latest drivers I could find for it. Every other audio program I use works fine and alot of linux->windows port programs also work fine. I don’t think this is a hardware issue, it’s a setting issue somewhere.

Does audacity have some kind of debug output to look at? VLC has a nice debug window that helps alot with issues like this.

If older versions worked fine on XP, then what could have changed to break this?
The tone ouput creates a sine in memory? Correct?..could this somehow be an issue not being saved to a file?

Ken

Try setting the output device to “Sound Mapper”, then check the playback settings in the Windows Sound Control Panel

there is no ‘sound mapper’ choice, only one that appears is windows direct. Yesterday it also had MME, but this has mysteriously disappared.

Windows sound panels show nothing is muted, all volumes up…i really don’t think this is an issue.

Clearly Audacity is not hooking into or recognizing the sound devices available properly…

Why are there no diagnostics for this program??

Ken

That shouldn’t happen. MME is a standard part of Windows and should not mysteriously “disappear”.
Are you looking in the right place? “MME” and “Direct Sound” should be selectable in the “host” box of the device toolbar.

Audacity does not interface directly with your sound card hardware, it just sends a request to the operating system asking to be linked to the sound system. The task of lower level access (closer to the sound card hardware) is handled by the operating system via the device drivers. Not surprisingly, Audacity can only use devices that are working properly.

“Help menu > Audio Device Info” will show you all of the audio devices that Audacity can find on your system.
It may be helpful if you post the contents into your reply.

There is also a “Rescan Audio Devices” command near the bottom of the Transport menu that allows Audacity to refresh its list of devices (mainly intended for use when external audio devices are added or removed).

To diagnose problems at a lower level than the sound system API you will need to use system tools such as “DirectX Diagnostic”.

Note that if another application has “exclusive access” to your sound card, then the sound card will not be available to Audacity. This can sometimes happen with programs such as Skype, or games that support on-line commentary. It used to also happen with some old versions of Adobe Flash. To ensure that this is not the cause of the problem, check to see what applications and processes are running (including running in the background or minimised).

Well, it did disappear.

i noticed the soundmax drivers were slightly out of date. Installed new version, checked that sound works correctly for everything else.

Generated a tone. Plays silence. curiously, i don’t see a sine wve in the graph window?/ Why not…
i have both the lame libs and ffmepeg configured correctly.

uploaded a picture:

using windows direct X choice.

here is what the audio info outputs:

==============================
Default capture device number: 1
Default playback device number: 3
==============================
Device ID: 0
Device name: Microsoft Sound Mapper - Input
Host name: MME
Input channels: 2
Output channels: 0
Low Input Latency: 0.090000
Low Output Latency: 0.090000
High Input Latency: 0.180000
High Output Latency: 0.180000
Supported Rates:
==============================
Device ID: 1
Device name: SoundMAX HD Audio
Host name: MME
Input channels: 2
Output channels: 0
Low Input Latency: 0.090000
Low Output Latency: 0.090000
High Input Latency: 0.180000
High Output Latency: 0.180000
Supported Rates:
==============================
Device ID: 2
Device name: Microsoft Sound Mapper - Output
Host name: MME
Input channels: 0
Output channels: 2
Low Input Latency: 0.090000
Low Output Latency: 0.090000
High Input Latency: 0.180000
High Output Latency: 0.180000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
    352800
    384000
==============================
Device ID: 3
Device name: SoundMAX HD Audio
Host name: MME
Input channels: 0
Output channels: 2
Low Input Latency: 0.090000
Low Output Latency: 0.090000
High Input Latency: 0.180000
High Output Latency: 0.180000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 4
Device name: Primary Sound Capture Driver
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.120000
Low Output Latency: 0.000000
High Input Latency: 0.240000
High Output Latency: 0.000000
Supported Rates:
==============================
Device ID: 5
Device name: SoundMAX HD Audio
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.120000
Low Output Latency: 0.000000
High Input Latency: 0.240000
High Output Latency: 0.000000
Supported Rates:
==============================
Device ID: 6
Device name: Primary Sound Driver
Host name: Windows DirectSound
Input channels: 0
Output channels: 2
Low Input Latency: 0.000000
Low Output Latency: 0.120000
High Input Latency: 0.000000
High Output Latency: 0.240000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 7
Device name: SoundMAX HD Audio
Host name: Windows DirectSound
Input channels: 0
Output channels: 2
Low Input Latency: 0.000000
Low Output Latency: 0.120000
High Input Latency: 0.000000
High Output Latency: 0.240000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Selected capture device: 5 - SoundMAX HD Audio
Selected playback device: 7 - SoundMAX HD Audio
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Available mixers:
==============================
Available capture sources:
0 - Rear Input
1 - Microphone
2 - Stereo Mix
==============================
Available playback volumes:
0 - Wave
1 - SW Synth
2 - CD Player
3 - Rear Input
4 - Microphone
==============================
Capture volume is native
Playback volume is native

Here is what the log says:

13:06:29: Audacity 2.0.5
1:06:30 PM: Trying to load FFmpeg libraries...
1:06:30 PM: Trying to load FFmpeg libraries from default path, 'C:AudacityFfmpeg For Audacityavformat-52.dll'.
1:06:30 PM: Looking up PATH environment variable...
1:06:30 PM: PATH = 'C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesRoxio Shared9.0DLLShared;c:Program FilesMicrosoft SQL Server90Toolsbinn;C:OrCADOrCAD_10.3itoolsspecctrabin;C:OrCADOrCAD_10.3itoolsbin;C:OrCADOrCAD_10.3itoolsfetbin;C:OrCADOrCAD_10.3itoolsjrebin;C:OrCADOrCAD_10.3itoolsCapture;C:Program FilesQuickTimeQTSystem;C:Program Filesdoxygenbin;C:Program FilesTortoiseSVNbin;C:Program FilesMicrosoft Visual Studio 9.0bin;C:Program FilesCMake 2.8bin;"C:Microchipxc32v1.10bin";C:AtmelFlip 3.4.5bin;C:QtQt5.1.15.1.1mingw48_32bin;C:Program FilesMicrosoft Visual Studio 9.0VCbin;C:QtQt5.1.1Toolsmingw48_32bin'
1:06:30 PM: Checking that 'C:AudacityFfmpeg For Audacity' is in PATH...
1:06:30 PM: Warning: FFmpeg directory is not in PATH.
1:06:30 PM: Temporarily appending ';C:AudacityFfmpeg For Audacity' to PATH...
1:06:30 PM: Checking for monolithic avformat from 'C:AudacityFfmpeg For Audacityavformat-52.dll'.
1:06:30 PM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 127: the specified procedure could not be found.)
1:06:30 PM: avformat not monolithic
1:06:30 PM: Loading avutil from 'C:AudacityFfmpeg For Audacityavutil-50.dll'.
1:06:30 PM: Loading avcodec from 'C:AudacityFfmpeg For Audacityavcodec-52.dll'.
1:06:30 PM: Loading avformat from 'C:AudacityFfmpeg For Audacityavformat-52.dll'.
1:06:30 PM: Returning PATH to previous setting...
1:06:30 PM: Actual avutil path C:AudacityFfmpeg For Audacityavutil-50.dll
1:06:30 PM: Actual avcodec path C:AudacityFfmpeg For Audacityavcodec-52.dll
1:06:30 PM: Actual avformat path C:AudacityFfmpeg For Audacityavformat-52.dll
1:06:30 PM: Importing symbols...
1:06:30 PM: All symbols loaded successfully. Initializing the library.
1:06:30 PM: Retrieving FFmpeg library version numbers:
1:06:30 PM:    AVCodec version 0x344802 - 52.72.2 (built against 0x344802 - 52.72.2)
1:06:30 PM:    AVFormat version 0x344002 - 52.64.2 (built against 0x344002 - 52.64.2)
1:06:30 PM:    AVUtil version 0x320f01 - 50.15.1 (built against 0x320f01 - 50.15.1)
1:06:30 PM: FFmpeg libraries loaded successfully.
1:06:44 PM: Error: Can not enumerate files in directory 'Tempaudacity_tempproject30103e00d00' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: can't open file 'Tempaudacity_tempproject30103e00d00e0000721.au' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: Can not enumerate files in directory 'Tempaudacity_tempproject30103e00d00' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: can't open file 'Tempaudacity_tempproject30103e00d00e00008b0.au' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: Can not enumerate files in directory 'Tempaudacity_tempproject30103e00d00' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: can't open file 'Tempaudacity_tempproject30103e00d00e000060c.au' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: can't open file 'Tempaudacity_tempproject30103e00d00e0000721.au' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: can't open file 'Tempaudacity_tempproject30103e00d00e00008b0.au' (error 3: the system cannot find the path specified.)
1:06:44 PM: Error: can't open file 'Tempaudacity_tempproject30103e00d00e000060c.au' (error 3: the system cannot find the path specified.)

Looking at this. it seems there may be an issue with temp files. the path Tempaudacity_temp exist just fine…maybe YOU are not forming the file name correctly as I do not see a c: prepended to it?

clearly it seems to be seeing the hardware and no device has exclusive use of it that I can see.

the only conclusion i can make here is that audacity is expecting something else…cache space?? something that it doesn’t have…

Ken
aud1.jpg

Ok, got it…

it was the temp directory malformed.

in the preferencesdirectores it was tempaudacity_temp

Adding the c: and restarting it fixed it.

i didn’t set this initially, so it picked up the default temp directory from the environment variables, but apparently did not add the c:…

I think this might be a slight bug…
I’m curious though why recording from a microphone did produce a recording, shows on graph but does not play. the reference says this was put in memory not a file, so why doesn’t this play either? Does it require a temp file to composite the output in all cases?

thanks for the help.
Ken

There’s the problem, though that should not prevent live input from appearing on the meters, so perhaps it was a combination of this and the older drivers.

A small amount of audio is stored in a buffer before being written to disk.
I’ve heard of similar issues where the temp directory is not writeable due to the permissions being wrong.
Out of interest, what is the output if you enter at the command prompt:

SET

If that happens, I think Audacity will show no devices in Device Toolbar (on launch or if you Transport > Rescan Audio Devices) and will give “Error Opening Sound Device” if you attempt to play or record.

If there are no playback or recording devices, I would expect MME, Windows DirectSound (and Windows WASAPI on Windows Vista and later) to all disappear.

Interestingly, Windows WDM-KS host which is enabled in 2.0.6-alpha can still access the sound devices even when they are disabled on my Windows 7 machine.


Gale

Where did you get those from? The drivers should be the latest ones meant for XP SP3 (64-bit if you have 64-bit XP) supplied by the maker of the computer (or the maker of the motherboard if you built the machine yourself).

Did you try rebooting the machine?


Gale

Missed your question on the drivers.

i got them from the dell web site, the machine is T3400

I checked on this about 8 months ago and these were not there so they must have changed something…

Ken

If you reinstall Audacity from the installer at http://audacityteam.org/download/windows , ensuring you enable “Reset Preferences” half way through the installer, then launch Audacity, where is the Audacity temporary directory set to?


Gale

Thanks. I am not clear, if you restart Audacity can you now hear playback?


Gale

other post didn’t quite make it…

Yes it works now
the problem was the temp path.

Set produced SystemDrive=C:,TEMP=Temp, TMP=Temp…no C:, yet all other programs using the environment variables work fine…

Audacity cleary uses the literal value in the Env or the preferences…as any well behaved linux app should!

thanks for the help
Ken