Sponsored Content
Operating Systems OS X (Apple) I have searched, but I am confused Post 302282098 by otheus on Friday 30th of January 2009 06:28:55 AM
Old 01-30-2009
Hopefully 2 months isn't too long to answer a question Smilie

I think sed would be better here.
Code:
sed 's/TEMPO BPM="137.000473"/TEMPO BPM="138.00"/'

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to print the files names that being searched

Hello all Im doing search in jar files using this oneLiener : find . -name "*.jar" -print -exec jar -tvf {} \; | grep -n \/someClassName.class but I also will like to see the jar file names that the grep succeed the search What I need to add to this command so it will give the file names? (2 Replies)
Discussion started by: umen
2 Replies

2. Shell Programming and Scripting

Using grep - check the permissions of the file searched

What I need to do is: I need to use the grep command to search for pattern in directory and sub-directories. And also I need to show the permission of file been seached by the grep command. Could any one please suggest me? ----------------- $> cat file1.txt A -----------------... (8 Replies)
Discussion started by: Johny001
8 Replies

3. Shell Programming and Scripting

how to get lines prior to the line being searched

Hi, Can anbody please let me know how i can retrieve lines above the line being searched in a file. I am looking for an error message from a file, if I see that message I want the lines above that message along with this line. how do we do this. Please do let me know An example which i have... (2 Replies)
Discussion started by: arunrao_oradba
2 Replies

4. Shell Programming and Scripting

greping last occurrence of the searched string

Hello, I have active log file i want to grep the last occurrence of the word in that log file the log file gets on increasing and increasing i want to fetch it from live file. Please guide me, Thanks in advance (4 Replies)
Discussion started by: vidurmittal
4 Replies

5. UNIX Desktop Questions & Answers

limit number of sub-dirs searched for files

using: find . -type f -print|xargs -li "string", how do I limit the dated directories (2010-7-14, 2010-7-13,etc.) to just 2009 & 2010 years of directories to search. We go back to 2004 in our archives, way too many files. (3 Replies)
Discussion started by: MJThom713
3 Replies

6. UNIX for Dummies Questions & Answers

/usr/local/lib is not searched by ld-linux.so by default?

it seems that /usr/local/lib is not searched by ld-linux.so by default in fedora14. If so, why some software put its lib files in /usr/local/lib? eg: glib and gtk+. (6 Replies)
Discussion started by: vistastar
6 Replies

7. Shell Programming and Scripting

Inserting file content into a searched pattern

Hi, i have to insert the content of source.txt into the searched pattern of the file second.txt. $cat source.txt One Two Three . . $cat second.txt This is second file pattern match start here pattern match end here end of the file so the result will be like this (4 Replies)
Discussion started by: posix
4 Replies

8. Shell Programming and Scripting

Grabbing Keywords Below a Searched Keyword

Hello, I have a text file like the one found below and wouild like the grab the certain lines after the searched phrase. For example, I'd like to look up "Hello" and once I find the "Hello" section, grab the lines that contain "Text" and stops at the next section. Input.txt Example Hello... (8 Replies)
Discussion started by: jl487
8 Replies

9. Shell Programming and Scripting

How to get lines before and after a searched text?

Hi, I am trying to monitor alert log of oracle. i am searching based on ORA- error message if i find the line, i want the 2 to 3 lines before search line and 2 to 3 lines after the searched line. like for example, oracle has generated ORA7445 errors in the alert log, when i search for that... (18 Replies)
Discussion started by: bbnl
18 Replies

10. UNIX for Beginners Questions & Answers

How to write a script to match a searched name to a given list?

Full title: How to write a script to match a searched name to a given list, and then returns other names with the same properties Anyway, first time here, hi! So I'm taking an introductory course at uni and there's a question in our lab that asks us to write a script where a user can search a... (4 Replies)
Discussion started by: aheyhey
4 Replies
soundstretch(1) 					      General Commands Manual						   soundstretch(1)

NAME
soundstretch - audio processing utility SYNOPSIS
soundstretch infile.wav outfile.wav [options] DESCRIPTION
SoundStretch is a simple command-line application that can change tempo, pitch and playback rates of WAV sound files. This program is intended primarily to demonstrate how the "SoundTouch" library can be used to process sound in your own program, but it can as well be used for processing sound files. USAGE
SoundStretch Usage syntax: "infile.wav" Name of the input sound data file (in .WAV audio file format). Give "stdin" as filename to use standard input pipe. "outfile.wav" Name of the output sound file where the resulting sound is saved (in .WAV audio file format). This parameter may be omitted if you don't want to save the output (e.g. when only calculating BPM rate with '-bpm' switch). Give "stdout" as filename to use standard output pipe. [options] Are one or more control options. OPTIONS
Available control options are: -tempo=n Change the sound tempo by n percents (n = -95.0 .. +5000.0 %) -pitch=n Change the sound pitch by n semitones (n = -60.0 .. + 60.0 semitones) -rate=n Change the sound playback rate by n percents (n = -95.0 .. +5000.0 %) -bpm=n Detect the Beats-Per-Minute (BPM) rate of the sound and adjust the tempo to meet 'n' BPMs. When this switch is applied, the " -tempo" switch is ignored. If "=n" is omitted, i.e. switch " -bpm" is used alone, then the BPM rate is estimated and displayed, but tempo not adjusted according to the BPM value. -quick Use quicker tempo change algorithm. Gains speed but loses sound quality. -naa Don't use anti-alias filtering in sample rate transposing. Gains speed but loses sound quality. -license Displays the program license text (LGPL) NOTES
* To use standard input/output pipes for processing, give "stdin" and "stdout" as input/output filenames correspondingly. The standard input/output pipes will still carry the audio data in .wav audio file format. * The numerical switches allow both integer (e.g. " -tempo=123") and decimal (e.g. " -tempo=123.45") numbers. * The " -naa" and/or " -quick" switches can be used to reduce CPU usage while compromising some sound quality * The BPM detection algorithm works by detecting repeating bass or drum patterns at low frequencies of <250Hz. A lower-than-expected BPM figure may be reported for music with uneven or complex bass patterns. EXAMPLES
Example 1 The following command increases tempo of the sound file "originalfile.wav" by 12.5% and stores result to file "destinationfile.wav": soundstretch originalfile.wav destinationfile.wav -tempo=12.5 Example 2 The following command decreases the sound pitch (key) of the sound file "orig.wav" by two semitones and stores the result to file "dest.wav": soundstretch orig.wav dest.wav -pitch= -2 Example 3 The following command processes the file "orig.wav" by decreasing the sound tempo by 25.3% and increasing the sound pitch (key) by 1.5 semitones. Resulting .wav audio data is directed to standard output pipe: soundstretch orig.wav stdout -tempo= -25.3 -pitch=1.5 Example 4 The following command detects the BPM rate of the file "orig.wav" and adjusts the tempo to match 100 beats per minute. Result is stored to file "dest.wav": soundstretch orig.wav dest.wav -bpm=100 Example 5 The following command reads .wav sound data from standard input pipe and estimates the BPM rate: soundstretch stdin -bpm NOTES
Converted from the README.html that comes with SoundTouch. soundstretch(1)
All times are GMT -4. The time now is 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy