I would like to have the following application implemented for Linux:

Constant audio capturing using ALSA and periodic compression of the recorded segments using FLAC.

A process will constantly record audio and write audio data to a buffer using ALSA. A pipe will connect the ALSA process with a child process that will read the contents of the buffer and will periodically compress segments of received data into .flac files.

Two examples that may be help to start with are attached. In 'simple_record.c', audio is captured for 5 seconds, it is saved in a buffer and written to the standard output. In 'flac_encode.c', a wav file is written and encoded to flac format. My goal is to somehow interconnect two processes like these, allowing the captured audio data to be passed to the second process in order to be periodically converted to flac files.

The period of file generation must be adjustable.

Skills: C Programming

See more: standard programming, goal programming, alsa buffer, pipe alsa flac, Pipe, periodic, data compression, wav file read, audio compression, read wav file, record wav, buffer compression, als, compress file, record wav file, capturing linux using, write audio, programming examples, audio data, record audio file, linux alsa, wav file format, record audio using, wav audio, wav data

About the Employer:
( 0 reviews ) Γαλάτσι, Greece

Project ID: #1135231

1 freelancer is bidding on average $200 for this job


We are a goup of freelancers, comprising of a developer (worked on mobile phone platform development on Windows Mobile, Windows Phone, Linux platform, ChromiumOS device drivers and middleware frameworks ), and 2 teste More

$200 USD in 25 days
(0 Reviews)