On Sun, 19 Apr 2020 12:29:37 +0200 al3xu5 / dotcommon wrote:
> Sat, 18 Apr 2020 09:50:30 +0100 - John Murphy <rosegardener(a)freeode.co.uk>:
>
> > I use a program which plays regions of various .wav files. Its
> > output pipes into aplay like: '| aplay -f FLOAT_LE -c 2 -r 48000'
> >
> > To where can I pipe its output, instead, to make a new .wav file,
> > or make a compressed file? Preferably faster than the region(s)
> > take to play.
> >
> > Or, if not, make aplay write to a file instead of playing?
> >
> > Thank you.
>
>
> Use sox:
>
> sox source.wav -L -c 2 -r 48000 new.wav trim <start_second> <duration_seconds>
>
> where:
>
> -L : little endian
> -c 2 : 2-channels stereo
> -r 48000 : freq (Hz)
> <start_second> : region start (second)
> <duration_seconds> : region duration (seconds)
>
That works a treat. Thank you. sox works so much better when it has
an actual file as input that it works just as well without -L -c -r
As the region lines I get give the start and end positions, I can use
'=' before duration and give it the end position directly like:
REGION "Fri0304.wav" 00:00:01.14181 00:00:05.07359 works in sox like:
sox Fri0304.wav new.wav trim 1.14181 =5.07359
$ soxi new.wav
Input File : 'new.wav'
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Duration : 00:00:03.93 = 188725 samples ~ 294.883 CDDA sectors
File Size : 755k
Bit Rate : 1.54M
Sample Encoding: 16-bit Signed Integer PCM
I should be able to write a script to get the filename and start/end
seconds from the region lines and tell sox what to do.
Many thanks and best regards to all who have responded. I'll be fine
now and I may even try some of the other ways, because they're there. :)
--
John.
I use a program which plays regions of various .wav files. Its
output pipes into aplay like: '| aplay -f FLOAT_LE -c 2 -r 48000'
To where can I pipe its output, instead, to make a new .wav file,
or make a compressed file? Preferably faster than the region(s)
take to play.
Or, if not, make aplay write to a file instead of playing?
Thank you.
--
John.
On Sat, 18 Apr 2020 11:53:35 +0100 Bill Purvis wrote:
> On 18/04/2020 11:05, John Murphy wrote:
> > On Sat, 18 Apr 2020 09:55:12 +0100 Will Godfrey wrote:
> >
> >> On Sat, 18 Apr 2020 09:50:30 +0100
> >> John Murphy <rosegardener(a)freeode.co.uk> wrote:
> >>
> >>> I use a program which plays regions of various .wav files. Its
> >>> output pipes into aplay like: '| aplay -f FLOAT_LE -c 2 -r 48000'
> >>>
> >>> To where can I pipe its output, instead, to make a new .wav file,
> >>> or make a compressed file? Preferably faster than the region(s)
> >>> take to play.
> >>>
> >>> Or, if not, make aplay write to a file instead of playing?
> >>>
> >>> Thank you.
> >>>
> >> Use arecord instead.
> >>
> > Thanks. I saw the -C switch (or arecord), but didn't try it because
[...]
> You should be able to use sox to do that, specify the input format, and
> an output format and it should sort it out. I've not done this for ages,
> but it's the sort of thing sox was created for.
>
> Bill
>
Looks promising, thanks:
SoX can be used in simple pipeline operations by using the special filename
`-' which, if used as an input filename, will cause SoX will read audio data
from `standard input' (stdin)
Can't quite do it though. aplay gets -f FLOAT_LE -c 2 -r 48000 I've tried:
| sox -t raw -r 48k -c 2 -L -e float - dump-SOX-test.wav
sox FAIL formats: bad input format for `-': data encoding or sample size was not specified
| sox -t wavpcm -r 48k -c 2 -L -e float - dump-SOX-test.wav
sox FAIL formats: can't open input `-': WAVE: RIFF header not found
I'm guessing though really.
--
John.
(With Nils Hilbricht's permission I'm re-using his post on
linuxmusician's.com [1] in slightly altered form.)
Hi,
instead of a monthly real-life meeting in Cologne, Germany, the contact
restrictions due to Corona forced us to do our yearly "One Hour
Challenge" online. The challenge took place yesterday evening 19:00 CST
via a BigBlueButton video conference for organization and an Icecast
stream for listening to the results together afterwards .
I want to present the musical results to you.
https://sonoj.org/challenge/#osamc_2020_04
Provided was a .wav file, unknown to the participants until right before
the start, and we had to make music with or around the whole or parts of
the sample. (Sample is available to you at the link as well).
We had only one hour, afterwards we needed to upload an audio file. Then
we voted.
Ten people submitted music, more visited our video conference and voted.
I find it quite impressive what it is possible in just an hour! What do
you think?
Chris
[1] https://linuxmusicians.com/viewtopic.php?f=9&t=21324
thanks a lot Will :-)
yes, we are also big PF fans!
best
Suse
> Message: 2
> Date: Mon, 13 Apr 2020 20:17:12 +0100
> From: Will Godfrey <willgodfrey(a)musically.me.uk>
> To: linux-audio-user(a)lists.linuxaudio.org
> Subject: Re: [LAU] [Music] Narzissus
> Message-ID: <20200413201712.06108e45@devuan>
> Content-Type: text/plain; charset=US-ASCII
>
> On Mon, 30 Mar 2020 22:55:20 +0200
> Susanne Schneider <suseguitar(a)mailbox.org> wrote:
>
>> hello all,
>> I'd like to share my band's first musicvideo "Narzissus":
>>
>> https://www.youtube.com/watch?v=ug_LlsHwL4g
>>
>> I did the audiomix in Ardour, assisted by:
>> Calf Plugins,
>> IR by Tom Szilagyi
>> Spectrum Displays by Robin Gareus
>>
>> and for creating the video I used Kdenlive
>>
>> comments welcome :-)
>>
>> best
>> suse
> Well it took me a while to get here :)
> Very much enjoyed this. Good song, nicely performed. Did I detect a hint of
> Pink Floyd influence in the latter part?
> Vid is well put together too.
>
Dear Open Source Audio Users and Devs,
as some of you might have been aware of, there is an ongoing effort in
the Open Source audio software developer community to provide regular
releases of Open Source audio software on the 15th of the first month of
every quarter. The second instance of this in 2020 is now upon us on
this April 15th.
To give the software releases, which are announced on this day (and a
few days before and after) a bit more publicity and provide some sort of
focal point, I created a web site, which collects all these announcements:
https://libremusicproduction.com/dev/release/
Please share this website wherever it may reach the target audience and,
if you are a developer yourself, see the "About" link on that page to
find out how your release can be listed there too.
Share & Enjoy,
Chris
Grrrr....
I'm having trouble with lau and the mail from my isp, lot's of messages
doesn't get through, now I've had it and want to fix this!
What mail do you use with lau, how do you access it (mail client/web), are
all messages (even you own) coming through?
I'm typing this from the nabble.com frontend, maybe I should just bite the
bullet and use this along with the growing number of forums that I'm
involved in?
Any advice highly appreciated!
In the hope that *this* message comes through :-)
--
Atte
http://latestyoutube.a773.dk
--
Sent from: http://linux-audio.4202.n7.nabble.com/linux-audio-user-f5.html
Hey hey,
after about four or five years, I got a wonderful vocalist with training,
talent and time to do this epic ballad justice. Many thanks to the glorious
Beccy Schaefer for the main voclast and Joy Bausch for guitars:
https://youtu.be/HujCE6RqjrY
On the Linux side it involed:
For sound generation:
Yoshimi
LinuxSampler (with the free Salamander drum kit and SSO strings)
On the recording side:
Midish (for MIDI sequencing/tracking/quantising)
Nama (audio recording, mixing, mastering)
and all the plugin collections available (SWH, Calf, CAPS, TAP Audio Plugins,
Invada, Fons Adireaensen(!), and possibly more)
The guitars and vocals were recorded on a different system, but left as bare
as possible.
Feedback is welcome. :)
Best wishes and enjoy,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* SoundCloud: https://soundcloud.com/jeanette_c
* Twitter: https://twitter.com/jeanette_c_s
* Audiobombs: https://www.audiobombs.com/users/jeanette_c
* GitHub: https://github.com/jeanette-c
They say, break away - I'm missing out on the fun and games <3
(Britney Spears)
Hi folks,
A very long time since I shared anything here so I thought I would.
We recently released a song mixed in Linux (with MusE and friends) and
maybe half recorded with the same.
https://soundcloud.com/cdee/norra-gladjen-save-me
Hope you enjoy :)
/Robert