X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=OZdGTWV2093yWFmpE3C/IxFwACxs2801I6t9omafJB7 snFdO1c4S19AukoszUtdM4rYSYGaV95H7P01XLqtu1E7EiEpbMcDCCVr4qENVJJl p2PGROx9Qi/b1PeBos02czIY6kJUN2QORVji55OoYgeVxHEGWVw6SQSlgF5peD30 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=wpIlhVrJWwQOGsh1c21+qdWp9W0=; b=MHkmfsontq9mfRdIn AAvMfmF3HQQSYhSc7wQNeef+XC/br59dZ4uc30YIO2vqZmql3boCGaUtlaZeiXXW e4Q5ITUZ2gFW2QK/lAS/uR/udFyw9Q2p6LC1skm6ngt5iUsRjQ5Pk7crnu3bw4v7 jAqbhH4FMfkem1rmOt1L8CvXGM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,SPF_PASS autolearn=no version=3.3.2 X-HELO: out.ipsmtp3nec.opaltelecom.net X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBANSqC1NV0kFc/2dsb2JhbAANTMI7gweBM4MZAQEBBDhAEQsYCQ0JDwkDAgECAUUTCAEBrFmhIheOaxIECYQZBJRKBZk5gXE X-IPAS-Result: ApMBANSqC1NV0kFc/2dsb2JhbAANTMI7gweBM4MZAQEBBDhAEQsYCQ0JDwkDAgECAUUTCAEBrFmhIheOaxIECYQZBJRKBZk5gXE Message-ID: <530BAB23.5060701@tiscali.co.uk> Date: Mon, 24 Feb 2014 20:27:15 +0000 From: David Stacey User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sox - package is broken References: <6488e4b0131dd9387e4d5b16bad4584e DOT squirrel AT www DOT physik DOT tu-berlin DOT de> In-Reply-To: <6488e4b0131dd9387e4d5b16bad4584e.squirrel@www.physik.tu-berlin.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 24/02/2014 17:27, Dr. Alexander Kleinsorge wrote: > But after (export AUDIODRIVER=ao ; play ding.wav) > I see messages indicating successfull playing and application is waiting > the time the wav-file takes, > but no sound. But I can hear the sound using VLC-win32 or WindowsMediaPlayer. You could try using the pulseaudio driver, but this requires a little setting up. Firstly, make sure you have speakers and a microphone connected to your PC (pulseaudio will not be able to function unless you have input and output devices connected). Then set up some permissions: chown -R "username" "/home/username" chmod 755 "/home/username" rm -rf /tmp/pulse* ~/.pulse-cookie ~/.config/pulse where 'username' is your user name. You will only have to do the above once. Then play your sound file: export AUDIODRIVER=pulseaudio play ding.wav And prepare to be dinged unto. When you've finished playing sounds, kill the pulseaudio server: pulseaudio -k This assumes that 'play' will start the pulseaudio server for you. If you get errors from the 'play' command, try starting the pulseaudio server manually: start-pulseaudio-x11 I know very little about pulseaudio, but the above works for me. If you still don't have any joy then you'll have to fall back to your VB wav player. Cheers, Dave. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple