Sponsored Content
Operating Systems OS X (Apple) I don't know how to put this, an Apple Audio HW bug? Post 302907236 by Corona688 on Thursday 26th of June 2014 05:29:12 PM
Old 06-26-2014
By the way, I think you can build that file in 8179 fewer loops.

Code:
printf "\x52\x49\x46\x46\x24\x00\x01\x00\x57\x41\x56\x45\x66\x6d\x74\x20\x10\x00\x00\x00\x01\x00\x01\x00\x40\x1f\x00\x00\x40\x1f\x00\x00\x01\x00\x08\x00\x64\x61\x74\x61\x00\x00\x01\x00" > /tmp/pulse.wav
printf "\xFF\xFF\x00\x00\x00\x00\x00\x00" | tee -a /tmp/pulse.wav > /tmp/0.wav
# File size doubles every loop
for ((N=0; N<13; N++))
do
        # The - causes it to print the data twice.
        tee -a /tmp/pulse.wav - < /tmp/0.wav > /tmp/1.wav
        mv /tmp/1.wav /tmp/0.wav
done

rm /tmp/0.wav

 

2 More Discussions You Might Find Interesting

1. Solaris

Solaris 10,audio don't work and unrar needed

Hi, I'm here again for newbie questions :) I've installed Solaris 10 but audio don't work.I've a Realtek integrated peripheral,listed in Sun Hcl.The volume control is ok also.But nothing came from speakers. I need to install unrar also,I've download it from here Freeware for Solaris with... (1 Reply)
Discussion started by: bgf0
1 Replies

2. Slackware

Problems with audio recording in Audacity 2.0.5. Slackware64 14.1; Intel HD Audio.

I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
Discussion started by: qzxcvbnm
2 Replies
MULTIMON(1)						      General Commands Manual						       MULTIMON(1)

NAME
gen - program to generate test files of radio transmission modulation SYNOPSIS
gen [options] output_file DESCRIPTION
This manual page documents briefly the gen command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. multimon is a program that decodes radio transmissions, gen generates modulated files suitable for decoding with multimon. OPTIONS
-t <type> output file type (any other type than raw requires sox). allowed types: raw aiff au hcom sf voc cdr dat smp wav maud vwe -a <ampl> amplitude. -d <str> encode DTMF string. -z <str> encode ZVEI string. -s <freq> encode sine of given frequency. -p <text> encode hdlc packet using specified text. EXAMPLE
Create a file /tmp/message.wav containing sound samples of packet radio message: gen -p "This is a message." -t raw /tmp/message.wav To dial a number directly to the sound card output: gen -d 8675309 SEE ALSO
multimon(1) AUTHOR
This manual page was written by A. Maitland Bottoms <bottoms@debian.org>, for the Debian GNU/Linux system (but may be used by others). June 19, 2000 MULTIMON(1)
All times are GMT -4. The time now is 10:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy