Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-20 Thread leo
Onwards and upwards I go. Thanx!
~Leo





On Wednesday, November 20, 2013 2:19 AM, Set Hallstrom  
wrote:
 
On 2013-11-19 17:49, leo wrote:
> Many times I read threads, like this one, and others regarding
> discussions on various other programs.
> I've been using Ubuntu a bit over a year now and many times I feel
> daunted by suggestions using command lines.
> I'm a GUI type of guy.
> Where would be an appropriate place in the Ubuntu world for me to
> ventor solicit my desire to learn how and when to use command lines,
> rather than GUI's ?
> 
> Respectfully, Leo

I used to be looking for that place you search. But at some point it
struck me, that the terminal is best GUI in the world. I cannot exactly
tell you when, how or why, but i will try from the context of this thread:

The thread is asking about an operation that has to be done in _batch_

It is this type of operation, powerful, repetitive, operations that a
terminal is perfect for. Maybe not to make music.

Yet, some people do manage to make excellent delicious music in a
terminal. This is something i found with blind users among others. Blind
users are the perfect community for anyone who is looking for ways to
motivate "his/her desire to learn how and when to use command lines".
Another good way, is to hang around in the threads, here, on LAU and
your favourite other ones, like you do today, and keep an open eye for
solutions to your problems. :)

<3

Have a good day!


-- 
Set Hallstrom
AKA Sakrecoer
http://sakrecoer.com


WARNING: Remember clear-text email is subject to mass surveillance
systems. Alone this information is useless. Our summed communications
are worth humanity.

Please keep in mind Internet is a boulevard in a crowded virtual city.
Privacy is found under the cloaks.


-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-20 Thread Ralf Mardorf
On Wed, 2013-11-20 at 11:23 +0100, Jimmy Sjölund wrote:
> On Wed, Nov 20, 2013 at 10:44 AM, Ralf Mardorf
>  wrote:
>  I remember that
> 
> Ubuntu Studio didn't add braille support to the installer, I
> hope this
> changed. At least in the past, blind users couldn't install
> Ubuntu. 
> 
> 
> Yes, the 13.10 release includes braille support for the installation.
> I plan to add speech support in 14.04 as well, but did not have time
> to make it in time for 13.10.

Good job :)
 



-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-20 Thread Ralf Mardorf
Hi Sergio :)

On Wed, 2013-11-20 at 10:56 +0100, Sergio Bello wrote:
> Actually, reason 5 reads: "Commands are more powerful"

alsamixer can be used by command line and by ncurses [1] and here's an
anecdote, a blind user, he is able to see light, but can't use GUIs,
tried to get SPDIF working by using alsamixer. I used a GUI and compared
the settings with alsamixer to help him. It often is much easier to use
a GUI [2].

[1]
https://en.wikipedia.org/wiki/Ncurses

[2]
http://lists.linuxaudio.org/pipermail/linux-audio-user/2012-December/088655.html
http://lists.linuxaudio.org/pipermail/linux-audio-user/2012-December/088656.html
http://lists.linuxaudio.org/pipermail/linux-audio-user/2012-December/088657.html
http://lists.linuxaudio.org/pipermail/linux-audio-user/2012-December/088658.html

It depends to the tasks. I'm used to use command line for many things,
most are related to administrative tasks, less are related to
audiovisuell user space.

Regards,
Ralf





-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-20 Thread Jimmy Sjölund
On Wed, Nov 20, 2013 at 10:44 AM, Ralf Mardorf
wrote:

>  I remember that
> Ubuntu Studio didn't add braille support to the installer, I hope this
> changed. At least in the past, blind users couldn't install Ubuntu.


Yes, the 13.10 release includes braille support for the installation. I
plan to add speech support in 14.04 as well, but did not have time to make
it in time for 13.10.

/Jimmy
-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-20 Thread Sergio Bello

Hi Ralf,

I agree with you, and indeed I wrote:

"Here are 10 *more or less* valid reasons to use CLI:"

And then:

"I think that reasons 5 and 6 are the most valuable."

Actually, reason 5 reads: "Commands are more powerful",
and reason 6 reads: "You can automate commands".


Anyway, some of my co-workers have different reasons to love CLI:
reason 1 ("Keying is faster than mousing") had a lot of votes from people
using vi Editor instead of NetBeans IDE.

And I could add a reason 11: "You haven't always a Desktop Interface 
available",
but we are all programmers and sysadmins, and we work a lot on remote 
headless servers,

so our point of view is a bit biased ;)

Ciao,
Sergio






On 11/19/2013 07:00 PM, Ralf Mardorf wrote:

On Tue, 2013-11-19 at 18:24 +0100, Sergio Bello wrote:



http://penguinpetes.com/b2evo/index.php?p=408

I disagree with the argumentation and I'm a command line user ;). I'm
simply used to it.

Representative for the reason that I disagree is this one:

"Repetitive stress injury comes from the mouse, not the keyboard."

This is bullshit, my apologize, but it is. I know how hard is it to get
a good new mouse, if a mouse dies. Some days ago I bought a mouse and
returned it. However, most people buy wireless massively built mice, if
I would use such a common mouse, I would get unbearable pain after less
then 10 minutes. The mice I used and use could/can be used painless 48
hours without a rest.

Remembering commands isn't easier than to click, the arguments are
nonsense.

The advantages of the command line is flexibility, especially for the
original Linux approach not to have all in one apps, but single apps for
individual tasks. E.g. audio session handling is much easier and more
effective when writing a shell script, instead of using session
handlers.

2 Cents,
Ralf





--

Sergio Bello - New Genesys Srl

http://www.newgenesys.it

Via Dante, 188
26100 - Cremona

Via Melibeo, 65
00155 - Roma

email s.be...@newgenesys.it
tel 0372.22.942
fax 0372.56.52.87
mob 393.909.8181


Ai sensi del D.Lgs n. 196/2003 (Codice Privacy) si precisa che le informazioni 
contenute in questo messaggio sono riservate e ad uso esclusivo del 
destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La 
preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene 
gentilmente comunicazione. Grazie.


This message, for the D.Lgs n. 196/2003 (Privacy Code), may contain 
confidential and/or privileged information. If you are not the addressee or 
authorized to receive this for addressee, you must not use, copy, disclose or 
take any action based on this message or any information herein. If you have 
received this message in error, please advise the sender immediately by reply 
e-mail and delete this message. Thank you for your cooperation.


--
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-20 Thread Ralf Mardorf
On Wed, 2013-11-20 at 10:18 +0100, Set Hallstrom wrote:
> Yet, some people do manage to make excellent delicious music in a
> terminal. This is something i found with blind users among others.

JFTR it's not perfect for blind users, many audio apps for Linux provide
a GUI only, they can use those apps by hacking configuration files, just
a few apps are intended to be used from command line. I remember that
Ubuntu Studio didn't add braille support to the installer, I hope this
changed. At least in the past, blind users couldn't install Ubuntu. I
already pointed out that Ubuntu isn't the best distro, when it comes to
Linux/unix like advantages. Ubuntu's target group are clearly the masses
that are used to mobile devices and Windows fashions.

Regards,
Ralf



-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-20 Thread Set Hallstrom
On 2013-11-19 17:49, leo wrote:
> Many times I read threads, like this one, and others regarding
> discussions on various other programs.
> I've been using Ubuntu a bit over a year now and many times I feel
> daunted by suggestions using command lines.
> I'm a GUI type of guy.
> Where would be an appropriate place in the Ubuntu world for me to
> ventor solicit my desire to learn how and when to use command lines,
> rather than GUI's ?
> 
> Respectfully, Leo

I used to be looking for that place you search. But at some point it
struck me, that the terminal is best GUI in the world. I cannot exactly
tell you when, how or why, but i will try from the context of this thread:

The thread is asking about an operation that has to be done in _batch_

It is this type of operation, powerful, repetitive, operations that a
terminal is perfect for. Maybe not to make music.

Yet, some people do manage to make excellent delicious music in a
terminal. This is something i found with blind users among others. Blind
users are the perfect community for anyone who is looking for ways to
motivate "his/her desire to learn how and when to use command lines".
Another good way, is to hang around in the threads, here, on LAU and
your favourite other ones, like you do today, and keep an open eye for
solutions to your problems. :)

<3

Have a good day!


-- 
Set Hallstrom
AKA Sakrecoer
http://sakrecoer.com


WARNING: Remember clear-text email is subject to mass surveillance
systems. Alone this information is useless. Our summed communications
are worth humanity.

Please keep in mind Internet is a boulevard in a crowded virtual city.
Privacy is found under the cloaks.

-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread Ralf Mardorf
On Tue, 2013-11-19 at 21:55 +0100, Jimmy Sjölund wrote:
> vi

resp. vim

This editor only make sense for some usage, e.g. vimdiff seems to be
something that for some developers seems to be useful, but for averaged
usage it's odd. The only advantage of vi/vim is that it's available by
all unix like operating system as a default editor, that usually is
separated from the other user space, so that it still should work, if
other stuff is broken.

I prefer GUI editors and if I need an editor without X, then I prefer
mcedit, nano and similar over vi/vim. Even for visudo it's possible to
chose another editor.

If we replace vi/vim by e.g. mcedit, this could be a risk regarding to
updates, again, some components and vi/vim is one of them, have a
special status.

Using vi/vim for averaged editing is disgusting. Without a special
reason I never ever would use it and I don't have a special reason, such
as the need to have vimdiff.

Just in case, it's useful to know how to edit using vi/vim without
comfort, IOW just to be able to enter the edit mode, without to know how
to copy etc., but just to know how to save and quit.

2 Cents,
Ralf


-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread Jimmy Sjölund
On Tue, Nov 19, 2013 at 5:49 PM, leo  wrote:

> Many times I read threads, like this one, and others regarding discussions
> on various other programs.
> I've been using Ubuntu a bit over a year now and many times I feel daunted
> by suggestions using command lines.
> I'm a GUI type of guy.
> Where would be an appropriate place in the Ubuntu world for me to
> ventor solicit my desire to learn how and when to use command lines,
> rather than GUI's ?
>
> As have already been written, one doesn't need to do things from the
terminal. However it can prove to be useful, quicker or even fun to run
command lines. This mailing list would be one way to vent or ask questions,
the Ubuntu Forums another and the irc channels as yet another option. Then
there's ton of stuff to read if you do a search online.

The way I started was to either solve a problem and reading suggestions
online to try out or just to figure out how to do a task I used to do in
GUI but from the terminal instead. So the next time you want to run an
update of the system, find out the proper commands to do it through the
terminal. Doing a backup of your files/disk? Read up on rsync and try it
out. I started to make all my notes in terminal and vi instead of using a
GUI text editor, now I can't go back to use a "normal" text editor. For
every thing you do on your pc, check if there's a terminal way to do it and
try it out. Eventually you'll know enough about it to know when to use it
and when the GUI stuff is quite alright.
-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread Hazan Pérez
El 19/11/13 03:19, Ralf Mardorf escribió:
> On Mon, 2013-11-18 at 20:13 -0500, Hazan Pérez wrote:
>> I want to tune many music files in batch, that is, change the tone
>> without changing the tempo of the song.
> Why don't you use the same as Audacity does use?
>
> "libsoundtouch0 Sound stretching library" -
> http://packages.ubuntu.com/saucy/audacity
>
> [rocketmouse@archlinux ~]$ pacman -Ql soundtouch | grep bin
> soundtouch /usr/bin/
> soundtouch /usr/bin/soundstretch
> [rocketmouse@archlinux ~]$ soundstretch --help
>
>SoundStretch v1.7.1 -  Written by Olli Parviainen 2001 - 2012
> ==
> author e-mail:  - WWW: http://www.surina.net/soundtouch
>
> This program is subject to (L)GPL license. Run "soundstretch -license"
> for
> more information.
>
> This application processes WAV audio files by modifying the sound tempo,
> pitch and playback rate properties independently from each other.
>
> Usage :
> soundstretch infilename outfilename [switches]
>
> To use standard input/output pipes, give 'stdin' and 'stdout' as
> filenames.
>
> Available switches are:
>   -tempo=n : Change sound tempo by n percents  (n=-95..+5000 %)
>   -pitch=n : Change sound pitch by n semitones (n=-60..+60 semitones)
>   -rate=n  : Change sound rate by n percents   (n=-95..+5000 %)
>   -bpm=n   : Detect the BPM rate of sound and adjust tempo to meet 'n'
> BPMs.
>  If '=n' is omitted, just detects the BPM rate.
>   -quick   : Use quicker tempo change algorithm (gain speed, lose
> quality)
>   -naa : Don't use anti-alias filtering (gain speed, lose quality)
>   -speech  : Tune algorithm for speech processing (default is for music)
>   -license : Display the program license text (LGPL)
>
>
> If you don't want to use the same as Audacity does use, perhaps you like
> this one:
>
> [rocketmouse@archlinux ~]$ rubberband --help
>
> Rubber Band
> An audio time-stretching and pitch-shifting library and utility program.
> Copyright 2007-2012 Particular Programs Ltd.
>
>Usage: rubberband [options]  
>
> You must specify at least one of the following time and pitch ratio options.
>
>   -t, --timeStretch to X times original duration, or
>   -T, --tempo   Change tempo by multiple X (same as --time 1/X), or
>   -T, --tempo :  Change tempo from X to Y (same as --time X/Y), or
>   -D, --durationStretch or squash to make output file X seconds long
>
>   -p, --pitch   Raise pitch by X semitones, or
>   -f, --frequency   Change frequency by multiple X
>
>   -M, --timemap Use file F as the source for key frame map
>
> A map file consists of a series of lines each having two numbers separated
> by a single space.  These are source and target sample frame numbers for fixed
> time points within the audio data, defining a varying stretch factor through
> the audio.  You must specify an overall stretch factor using e.g. -t as well.
>
> The following options provide a simple way to adjust the sound.  See below
> for more details.
>
>   -c, --crisp   Crispness (N = 0,1,2,3,4,5,6); default 5 (see below)
>   -F,--formantEnable formant preservation when pitch shifting
>
> The remaining options fine-tune the processing mode and stretch algorithm.
> These are mostly included for test purposes; the default settings and standard
> crispness parameter are intended to provide the best sounding set of options
> for most situations.  The default is to use none of these options.
>
>   -L,--loose  Relax timing in hope of better transient 
> preservation
>   -P,--preciseIgnored: The opposite of -L, this is default from 
> 1.6
>   -R,--realtime   Select realtime mode (implies --no-threads)
>  --no-threads No extra threads regardless of CPU and channel count
>  --threadsAssume multi-CPU even if only one CPU is identified
>  --no-transients  Disable phase resynchronisation at transients
>  --bl-transients  Band-limit phase resync to extreme frequencies
>  --no-lamination  Disable phase lamination
>  --window-longUse longer processing window (actual size may vary)
>  --window-short   Use shorter processing window
>  --smoothing  Apply window presum and time-domain smoothing
>  --detector-perc  Use percussive transient detector (as in pre-1.5)
>  --detector-soft  Use soft transient detector
>  --pitch-hq   In RT mode, use a slower, higher quality pitch shift
>  --centre-focus   Preserve focus of centre material in stereo
>   (at a cost in width and individual channel quality)
>
>   -d, --debug   Select debug level (N = 0,1,2,3); default 0, full 3
>   (N.B. debug level 3 includes audible ticks in 
> output)
>   -q,--quiet  Suppress progress output
>
>   -V,--versionShow version number and exit
>   -h,--help   Show thi

Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread Ralf Mardorf
On Tue, 2013-11-19 at 18:24 +0100, Sergio Bello wrote:


> http://penguinpetes.com/b2evo/index.php?p=408

I disagree with the argumentation and I'm a command line user ;). I'm
simply used to it.

Representative for the reason that I disagree is this one:

"Repetitive stress injury comes from the mouse, not the keyboard."

This is bullshit, my apologize, but it is. I know how hard is it to get
a good new mouse, if a mouse dies. Some days ago I bought a mouse and
returned it. However, most people buy wireless massively built mice, if
I would use such a common mouse, I would get unbearable pain after less
then 10 minutes. The mice I used and use could/can be used painless 48
hours without a rest.

Remembering commands isn't easier than to click, the arguments are
nonsense.

The advantages of the command line is flexibility, especially for the
original Linux approach not to have all in one apps, but single apps for
individual tasks. E.g. audio session handling is much easier and more
effective when writing a shell script, instead of using session
handlers.

2 Cents,
Ralf


-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread Ralf Mardorf
On Tue, 2013-11-19 at 08:49 -0800, leo wrote:
> Many times I read threads, like this one, and others regarding
> discussions on various other programs.
> I've been using Ubuntu a bit over a year now and many times I feel
> daunted by suggestions using command lines.
> I'm a GUI type of guy.
> Where would be an appropriate place in the Ubuntu world for me to
> ventor solicit my desire to learn how and when to use command
> lines, rather than GUI's ?

For the record: The original poster wants to write a "batch" file. Linux
doesn't know batch files, but they are something similar as shell
scripts. Most common is to use the slow, but more comprehensive bash or
the faster, but less comprehensive dash on Linux, other shells are
unusual for averaged usage. /bin/sh usually is a link to bash or dash
and it's a little bit tricky to write scripts that run with bash and
dash. An analogy for a shell script is a play list. A play list for
commands, operations. IOW the command line is useful when there is no
program available for doing some jobs in a wanted order. There's no need
to have special skills, it's easy to write simple shell scripts, they
might work less effective when written without knowledge, but they'll
work. Some dinos are used to the C64 where the BASIC interpreter did run
the BASIC programs without compiling and the full screen editor was the
"desktop". For other dino's computers it's similar, e.g. DR DOS (batch
files), QL.

You don't need the command line.

Another advantage when using Linux by command line, but than IMO using a
another distro, is customization, optimization of Linux installs. Ubuntu
is nice, ready to go, but it's reputation among experienced Linux users
for good reasons usually is bad, very bad, very, very bad.

Now to your request: Using the command line is more effective, if you
build your Linux install in another style, than the pre-build Ubuntu.
Ubuntu is a GUI based distro with it's advantages and drawbacks.

You could ask what ever you want on this list, but IMO you should
install another Linux, multi-boot or as guest in VirtualBox on your
Ubuntu and then use a forum for this distro.

I recommend to start with a minimal (not regular) Debian install or with
a regular Arch Linux install. The Debian community is huge and you can
ask what ever you want on the mailing lists. Arch IMO is the better
choice, but the official lists don't allow newbie questions, especially
not basics about shell scripts.

However, it can't harm to start with installing VirtualBox to your
Ubuntu Studio and then test distros, such as Arch Linux (the forums are
ok for newbies too, just the mailing lists are not for novices), others
like Gentoo.

Regards,
Ralf


-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread Sergio Bello

On 11/19/2013 05:49 PM, leo wrote:
Many times I read threads, like this one, and others regarding 
discussions on various other programs.
I've been using Ubuntu a bit over a year now and many times I feel 
daunted by suggestions using command lines.

I'm a GUI type of guy.
Where would be an appropriate place in the Ubuntu world for me to 
ventor solicit my desire to learn how and when to use command 
lines, rather than GUI's ?


Well, learning how to use the command line isn't a must in Linux, but 
with a

minimal effort you can gain a lot in terms of efficiency and flexibility.
The specific case (re-tuning audio files in batch) is a clear example: 
you can do it
with a gui (one at a time), but if the gui itself has not a 'batch mode' 
you have

a chance to do it using a CLI (Command Line Interface).

Learning the basics is not so hard (and can be fun) and there are a lot 
of tutorials around.
Almost every system on the earth has a command line mode (Macs too...) 
and there

is a reason for it! Here are 10 more or less valid reasons to use CLI:

http://penguinpetes.com/b2evo/index.php?p=408

I think that reasons 5 and 6 are the most valuable.

Ciao,
Sergio



Respectfully, Leo


On Tuesday, November 19, 2013 1:20 AM, Ralf Mardorf 
 wrote:

On Mon, 2013-11-18 at 20:13 -0500, Hazan Pérez wrote:
> I want to tune many music files in batch, that is, change the tone
> without changing the tempo of the song.

Why don't you use the same as Audacity does use?

"libsoundtouch0 Sound stretching library" -
http://packages.ubuntu.com/saucy/audacity

[rocketmouse@archlinux  ~]$ pacman -Ql 
soundtouch | grep bin

soundtouch /usr/bin/
soundtouch /usr/bin/soundstretch
[rocketmouse@archlinux  ~]$ soundstretch 
--help


  SoundStretch v1.7.1 -  Written by Olli Parviainen 2001 - 2012
==
author e-mail: mailto:oparv...@iki.fi>> - WWW: 
http://www.surina.net/soundtouch


This program is subject to (L)GPL license. Run "soundstretch -license"
for
more information.

This application processes WAV audio files by modifying the sound tempo,
pitch and playback rate properties independently from each other.

Usage :
soundstretch infilename outfilename [switches]

To use standard input/output pipes, give 'stdin' and 'stdout' as
filenames.

Available switches are:
  -tempo=n : Change sound tempo by n percents (n=-95..+5000 %)
  -pitch=n : Change sound pitch by n semitones (n=-60..+60 semitones)
  -rate=n  : Change sound rate by n percents (n=-95..+5000 %)
  -bpm=n  : Detect the BPM rate of sound and adjust tempo to meet 'n'
BPMs.
If '=n' is omitted, just detects the BPM rate.
  -quick  : Use quicker tempo change algorithm (gain speed, lose
quality)
  -naa: Don't use anti-alias filtering (gain speed, lose quality)
  -speech  : Tune algorithm for speech processing (default is for music)
  -license : Display the program license text (LGPL)


If you don't want to use the same as Audacity does use, perhaps you like
this one:

[rocketmouse@archlinux  ~]$ rubberband 
--help


Rubber Band
An audio time-stretching and pitch-shifting library and utility program.
Copyright 2007-2012 Particular Programs Ltd.

  Usage: rubberband [options]  

You must specify at least one of the following time and pitch ratio 
options.


  -t, --time   Stretch to X times original duration, or
  -T, --tempo   Change tempo by multiple X (same as --time 
1/X), or
  -T, --tempo :  Change tempo from X to Y (same as --time 
X/Y), or
  -D, --duration   Stretch or squash to make output file X 
seconds long


  -p, --pitch   Raise pitch by X semitones, or
  -f, --frequency   Change frequency by multiple X

  -M, --timemap Use file F as the source for key frame map

A map file consists of a series of lines each having two numbers separated
by a single space.  These are source and target sample frame numbers 
for fixed
time points within the audio data, defining a varying stretch factor 
through
the audio.  You must specify an overall stretch factor using e.g. -t 
as well.


The following options provide a simple way to adjust the sound.  See below
for more details.

  -c, --crisp   Crispness (N = 0,1,2,3,4,5,6); default 5 
(see below)

  -F,--formantEnable formant preservation when pitch shifting

The remaining options fine-tune the processing mode and stretch algorithm.
These are mostly included for test purposes; the default settings and 
standard
crispness parameter are intended to provide the best sounding set of 
options

for most situations.  The default is to use none of these options.

  -L,--loose  Relax timing in hope of better transient 
preservation
  -P,--preciseIgnored: The opposite of -L, this is default 
from 1.6

  -R,--realtime  Select realtime mode (implies --no-threads)
--no-threadsNo extra threads regardles

Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread leo
Many times I read threads, like this one, and others regarding discussions on 
various other programs.
I've been using Ubuntu a bit over a year now and many times I feel daunted by 
suggestions using command lines.
I'm a GUI type of guy.
Where would be an appropriate place in the Ubuntu world for me to ventor 
solicit my desire to learn how and when to use command lines, rather than GUI's 
?

Respectfully, Leo




On Tuesday, November 19, 2013 1:20 AM, Ralf Mardorf 
 wrote:
 
On Mon, 2013-11-18 at 20:13 -0500, Hazan Pérez wrote:
> I want to tune many music files in batch, that is, change the tone
> without changing the tempo of the song.

Why don't you use the same as Audacity does use?

"libsoundtouch0 Sound stretching library" -
http://packages.ubuntu.com/saucy/audacity

[rocketmouse@archlinux ~]$ pacman -Ql soundtouch | grep bin
soundtouch /usr/bin/
soundtouch /usr/bin/soundstretch
[rocketmouse@archlinux ~]$ soundstretch --help

   SoundStretch v1.7.1 -  Written by Olli Parviainen 2001 - 2012
==
author e-mail:  - WWW: http://www.surina.net/soundtouch

This program is subject to (L)GPL license. Run "soundstretch -license"
for
more information.

This application processes WAV audio files by modifying the sound tempo,
pitch and playback rate properties independently from each other.

Usage :
    soundstretch infilename outfilename [switches]

To use standard input/output pipes, give 'stdin' and 'stdout' as
filenames.

Available switches are:
  -tempo=n : Change sound tempo by n percents  (n=-95..+5000 %)
  -pitch=n : Change sound pitch by n semitones (n=-60..+60 semitones)
  -rate=n  : Change sound rate by n percents   (n=-95..+5000 %)
  -bpm=n   : Detect the BPM rate of sound and adjust tempo to meet 'n'
BPMs.
             If '=n' is omitted, just detects the BPM rate.
  -quick   : Use quicker tempo change algorithm (gain speed, lose
quality)
  -naa     : Don't use anti-alias filtering (gain speed, lose quality)
  -speech  : Tune algorithm for speech processing (default is for music)
  -license : Display the program license text (LGPL)


If you don't want to use the same as Audacity does use, perhaps you like
this one:

[rocketmouse@archlinux ~]$ rubberband --help

Rubber Band
An audio time-stretching and pitch-shifting library and utility program.
Copyright 2007-2012 Particular Programs Ltd.

   Usage: rubberband [options]  

You must specify at least one of the following time and pitch ratio options.

  -t, --time        Stretch to X times original duration, or
  -T, --tempo       Change tempo by multiple X (same as --time 1/X), or
  -T, --tempo :  Change tempo from X to Y (same as --time X/Y), or
  -D, --duration    Stretch or squash to make output file X seconds long

  -p, --pitch       Raise pitch by X semitones, or
  -f, --frequency   Change frequency by multiple X

  -M, --timemap     Use file F as the source for key frame map

A map file consists of a series of lines each having two numbers separated
by a single space.  These are source and target sample frame numbers for fixed
time points within the audio data, defining a varying stretch factor through
the audio.  You must specify an overall stretch factor using e.g. -t as well.

The following options provide a simple way to adjust the sound.  See below
for more details.

  -c, --crisp       Crispness (N = 0,1,2,3,4,5,6); default 5 (see below)
  -F,    --formant        Enable formant preservation when pitch shifting

The remaining options fine-tune the processing mode and stretch algorithm.
These are mostly included for test purposes; the default settings and standard
crispness parameter are intended to provide the best sounding set of options
for most situations.  The default is to use none of these options.

  -L,    --loose          Relax timing in hope of better transient preservation
  -P,    --precise        Ignored: The opposite of -L, this is default from 1.6
  -R,    --realtime       Select realtime mode (implies --no-threads)
         --no-threads     No extra threads regardless of CPU and channel count
         --threads        Assume multi-CPU even if only one CPU is identified
         --no-transients  Disable phase resynchronisation at transients
         --bl-transients  Band-limit phase resync to extreme frequencies
         --no-lamination  Disable phase lamination
         --window-long    Use longer processing window (actual size may vary)
         --window-short   Use shorter processing window
         --smoothing      Apply window presum and time-domain smoothing
         --detector-perc  Use percussive transient detector (as in pre-1.5)
         --detector-soft  Use soft transient detector
         --pitch-hq       In RT mode, use a slower, higher quality pitch shift
         --centre-focus   Preserve focus of centre material in stereo
                          (at a cost in width and individual channel quality)

  -d, --debug       Select debug level (N = 

Re: [ubuntu-studio-users] Tunning music files in batch?

2013-11-19 Thread Ralf Mardorf
On Mon, 2013-11-18 at 20:13 -0500, Hazan Pérez wrote:
> I want to tune many music files in batch, that is, change the tone
> without changing the tempo of the song.

Why don't you use the same as Audacity does use?

"libsoundtouch0 Sound stretching library" -
http://packages.ubuntu.com/saucy/audacity

[rocketmouse@archlinux ~]$ pacman -Ql soundtouch | grep bin
soundtouch /usr/bin/
soundtouch /usr/bin/soundstretch
[rocketmouse@archlinux ~]$ soundstretch --help

   SoundStretch v1.7.1 -  Written by Olli Parviainen 2001 - 2012
==
author e-mail:  - WWW: http://www.surina.net/soundtouch

This program is subject to (L)GPL license. Run "soundstretch -license"
for
more information.

This application processes WAV audio files by modifying the sound tempo,
pitch and playback rate properties independently from each other.

Usage :
soundstretch infilename outfilename [switches]

To use standard input/output pipes, give 'stdin' and 'stdout' as
filenames.

Available switches are:
  -tempo=n : Change sound tempo by n percents  (n=-95..+5000 %)
  -pitch=n : Change sound pitch by n semitones (n=-60..+60 semitones)
  -rate=n  : Change sound rate by n percents   (n=-95..+5000 %)
  -bpm=n   : Detect the BPM rate of sound and adjust tempo to meet 'n'
BPMs.
 If '=n' is omitted, just detects the BPM rate.
  -quick   : Use quicker tempo change algorithm (gain speed, lose
quality)
  -naa : Don't use anti-alias filtering (gain speed, lose quality)
  -speech  : Tune algorithm for speech processing (default is for music)
  -license : Display the program license text (LGPL)


If you don't want to use the same as Audacity does use, perhaps you like
this one:

[rocketmouse@archlinux ~]$ rubberband --help

Rubber Band
An audio time-stretching and pitch-shifting library and utility program.
Copyright 2007-2012 Particular Programs Ltd.

   Usage: rubberband [options]  

You must specify at least one of the following time and pitch ratio options.

  -t, --timeStretch to X times original duration, or
  -T, --tempo   Change tempo by multiple X (same as --time 1/X), or
  -T, --tempo :  Change tempo from X to Y (same as --time X/Y), or
  -D, --durationStretch or squash to make output file X seconds long

  -p, --pitch   Raise pitch by X semitones, or
  -f, --frequency   Change frequency by multiple X

  -M, --timemap Use file F as the source for key frame map

A map file consists of a series of lines each having two numbers separated
by a single space.  These are source and target sample frame numbers for fixed
time points within the audio data, defining a varying stretch factor through
the audio.  You must specify an overall stretch factor using e.g. -t as well.

The following options provide a simple way to adjust the sound.  See below
for more details.

  -c, --crisp   Crispness (N = 0,1,2,3,4,5,6); default 5 (see below)
  -F,--formantEnable formant preservation when pitch shifting

The remaining options fine-tune the processing mode and stretch algorithm.
These are mostly included for test purposes; the default settings and standard
crispness parameter are intended to provide the best sounding set of options
for most situations.  The default is to use none of these options.

  -L,--loose  Relax timing in hope of better transient preservation
  -P,--preciseIgnored: The opposite of -L, this is default from 1.6
  -R,--realtime   Select realtime mode (implies --no-threads)
 --no-threads No extra threads regardless of CPU and channel count
 --threadsAssume multi-CPU even if only one CPU is identified
 --no-transients  Disable phase resynchronisation at transients
 --bl-transients  Band-limit phase resync to extreme frequencies
 --no-lamination  Disable phase lamination
 --window-longUse longer processing window (actual size may vary)
 --window-short   Use shorter processing window
 --smoothing  Apply window presum and time-domain smoothing
 --detector-perc  Use percussive transient detector (as in pre-1.5)
 --detector-soft  Use soft transient detector
 --pitch-hq   In RT mode, use a slower, higher quality pitch shift
 --centre-focus   Preserve focus of centre material in stereo
  (at a cost in width and individual channel quality)

  -d, --debug   Select debug level (N = 0,1,2,3); default 0, full 3
  (N.B. debug level 3 includes audible ticks in output)
  -q,--quiet  Suppress progress output

  -V,--versionShow version number and exit
  -h,--help   Show this help

"Crispness" levels:
  -c 0   equivalent to --no-transients --no-lamination --window-long
  -c 1   equivalent to --detector-soft --no-lamination --window-long (for piano)
  -c 2   equivalent to --no-transients --no-lamination
  -

[ubuntu-studio-users] Tunning music files in batch?

2013-11-18 Thread Hazan Pérez
Good night,

I want to tune many music files in batch, that is, change the tone
without changing the tempo of the song. I can do this in Audacity but
I'd have to do it file by file. This is what I would do in Audacity [1]

If you know of any program or piece of software that can do this, please
tell me. If there isn't then could you tell me where to ask? or even how
to program something in batch, or the terminal, to achieve this?

Thanks.

[1]
http://dl.dropbox.com/u/10292067/Cambiar%20tono_20131118_19%3A47%3A10.png

-- 

Hazan Pérez C.
Twisto Creative


-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users