Re: Problems with aucat playback

2008-12-08 Thread Pekka Niiranen
Jacob Meuser wrote: On Sat, Dec 06, 2008 at 09:50:50PM +, Jacob Meuser wrote: On Sat, Dec 06, 2008 at 10:44:39PM +0200, Pekka Niiranen wrote: When I play the created file sound440.au in Windows I corretly get 2 seconds of 440 Hz sound. However, when I play it in OpenBSD v4.4 with the

Re: Problems with aucat playback

2008-12-08 Thread Alexandre Ratchov
On Mon, Dec 08, 2008 at 11:50:02PM +0100, Alexandre Ratchov wrote: On Mon, Dec 08, 2008 at 11:20:56PM +0200, Pekka Niiranen wrote: I obviously do not understand enough of audio processing to be able to understand the manuals. Why is mono 8kHz ulaw chopping the sound, for example. When

Problems with aucat playback

2008-12-06 Thread Pekka Niiranen
Hi, I am using the following Python Script to create an audiofile for aucat -program to play: --- Script starts --- # Create a soundfile in AU format playing a sine wave # of a given frequency, duration and volume import os import struct import math def

Re: Problems with aucat playback

2008-12-06 Thread Jacob Meuser
On Sat, Dec 06, 2008 at 10:44:39PM +0200, Pekka Niiranen wrote: When I play the created file sound440.au in Windows I corretly get 2 seconds of 440 Hz sound. However, when I play it in OpenBSD v4.4 with the following command: aucat -i sound440.au /dev/audio: playing

Re: Problems with aucat playback

2008-12-06 Thread Jacob Meuser
On Sat, Dec 06, 2008 at 09:50:50PM +, Jacob Meuser wrote: On Sat, Dec 06, 2008 at 10:44:39PM +0200, Pekka Niiranen wrote: When I play the created file sound440.au in Windows I corretly get 2 seconds of 440 Hz sound. However, when I play it in OpenBSD v4.4 with the following command: