Sponsored Content
Operating Systems OS X (Apple) AC to DC trigger pulse for AudioScope.sh. Post 302897424 by chacko193 on Monday 14th of April 2014 05:35:28 AM
Old 04-14-2014
I thought about asking this back in your Audioscope post, why do you need this line?
Code:
printf "\x52\x49\x46\x46\x64\x1F\x00\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\x40\x1F\x00\x00" >> /tmp/squarewave.wav

Thanks
 

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

AudioScope has had a magazine review. <shock>

Hi Admin and Staff... Thanks for hosting AudioScope.sh on this site. I have had the biggest surprise of my life today. This months issue of the UK Linux magazine "Linux Format" have done a small piece on the project. Issue April 2014, LXF 182, page 65... This I never expected and I... (1 Reply)
Discussion started by: wisecracker
1 Replies

2. Shell Programming and Scripting

Experimental awk audio converter for CygWin and AudioScope.sh

Development machine:- Standard MBP 13 inch, OSX 10.7.5... GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11) Copyright (C) 2007 Free Software Foundation, Inc. Scenario:- Audio capture for AudioScope.sh for CygWin without ANY third party installs. I am trying my hardest to get a... (6 Replies)
Discussion started by: wisecracker
6 Replies

3. OS X (Apple)

The Alternate DC board for AudioScope.sh.

Hi guys... Well I have entered an area of partial insnity... ;o) Below is a photo of the 'ALTDC' board for AudioScope.sh... I have decided to incorporate all three methods for obtaining DC into this MBP via the MIC input. 1) VFO. 2) CHOPPER. 3) COUNTER. The controller for the COUNTER... (9 Replies)
Discussion started by: wisecracker
9 Replies

4. What is on Your Mind?

AudioScope...

Boy oh boy, with only a MONO mic input to use AudioScope gets much more difficult when the ALTDC board is included. It needs, so far, two hits at the MIC input with a single hit at the HEADPHONE audio output. The first at the highest practical resolution for the AC component and the second... (0 Replies)
Discussion started by: wisecracker
0 Replies

5. OS X (Apple)

The DC Control and Timer boards for AudioScope.sh...

Hi all... Apologies for any typos... For those intersted in the AudioScope the next construction is finished. I have not been totally idle but working out the hard stuff to be able to be very simple to build. It is a single transistor simple timer that lasts for about 1.2 to 1.8 seconds.... (2 Replies)
Discussion started by: wisecracker
2 Replies

6. UNIX for Advanced & Expert Users

Has AudioScope found a bug in bash 4.4.5?

Using AudioScope.sh on Ubuntu 17.04 from a live DVD disc I came across an error. Consider the code below it is a MUCH shortened version of the KEYBOARD input in AudioScope. #!/bin/bash bash --version uname -a status=0 KEYBOARD() { read -r -p "Enter QUIT or EXIT to quit:- " kbinput if ||... (11 Replies)
Discussion started by: wisecracker
11 Replies

7. OS X (Apple)

AudioScope Project.

AudioScope Project. (Apologies for any typos.) For the few following...... AudioScope.sh... Now at Version 0.60.00. Well this baby has come a long way since its inception in January 2013. It is now at Version 0.60.00. It is MUCH more Apple centric now with a new OSX Sierra minimum _silent_... (7 Replies)
Discussion started by: wisecracker
7 Replies
SONIC(1)						      General Commands Manual							  SONIC(1)

NAME
sonic - Speech speed manipulator SYNOPSIS
sonic [OPTION]... inFile outFile DESCRIPTION
Sonic is used to make wav files of speech faster or slower. The primary advance in sonic is the ability to speed speech up by much more than 2X, with minimal distortion. However, sonic can be used for both speeding up and slowing down speech files. Additionally, sonic can change the pitch and volume. OPTIONS
-c Modify pitch by emulating vocal chords vibrating faster or slower. This causes more distortion than the default pitch scaling, but sounds more like the same person trying to talk higher or lower. The default pitch changes makes the voice sound like a larger or smaller person, but introduces little distortion. -p pitch Set pitch scaling factor. 1.3 means 30%% higher. -q Disable all speed-up heuristics, possibly improving the quality slightly. This is mainly used for debugging the speed-up heuris- tics. -r rate Adjust the speed of playback. This sales both the pitch and speed equally. -s speed Set speed up factor. 1.0 means no change, 2.0 means 2X faster. -v scaleFactor Scale volume by scaleFactor. 1.5 increases by 50%. Clips if the maximum range is exceeded. EXAMPLES
sonic -s 3.2 book.wav book_fast.wav The above command would increase the speed of an audio book called book.wav by a factor of 3.2, and write the result in book_fast.wav. sonic -s 0.5 -v 1.5 spanish.wav spanish_slow.wav This would slow down the file spanish.wav by a factor of 2, make the volume 50% louder, and write the result to spanish_slow.wav. sonic -p 2.0 low.wav high.wav This would make a low voice sound very high pitched. AUTHOR
Bill Cox waywardgeek@gmail.com Sonic Version 0.1, Copyright 2010, Bill Cox, GPL license SONIC(1)
All times are GMT -4. The time now is 04:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy