Linux audio module

Imefungwa Ilichapishwa Miaka 2 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

Relatively simple C++ module to handle 2-way I2S interfacing using standard ALSA mechanisms.

I have a preliminary non-optimized C++ working prototype project version in VSCode and would like a professional developer to review it and potentially refactor it and make optimized. Raspberry PI is the target HW platform

Key requirements and software functions:

• 2-way I2S interfacing with RPi at 352,8/384 kHz

• Module divided into three main sections:

1) input I2S audio data receiving

2) audio data processing

3) output I2S data transfer

• Ad 1) Audio will be received in blocks of 1..5k samples per one channel (stereo transmission). The size of the audio data in a block depends on the incoming sample rate, e.g. for 48kHz there will be one data sample interleaved with 7 zeros (since the I2S transfer speed will be 8x48k = 384k)

• Ad 2) There should be 2 instances (threads) of a C++ procedure handling very elementary copying of audio data blocks from input buffers to output buffers. Each of them should be allocated to a dedicated, separate CPU core to achieve highest performance.

When this project is ready I will put my own audio processing into these 2 procedures

• Ad 3) The result of the audio processing in the procedures in section 2) will be transferred out via I2S port

I put a few technical questions below that are key to successful work on this module. I shall appreciate if you provide your answers to these questions on chat. It will help me to get a good feeling of your skills and experience and avoid potential mismatch:

1) Do you have experience in development in Linux for Raspberry Pi or other embedded Linux ? What kind of projects have you completed ? What kind of development and debugging environment have you used in these projects (e.g. VSCode over SSH, etc)

2) How do you propose to organize the module – what should start the 2 audio processing procedures – availability of new input data or rather completion of outgoing data transfer ? What kind of Linux/ALSA mechanisms you would use to coordinate/synchronize running of key 3 parts of the module: input I2S audio data receiving, audio data processing and output I2S data transfer ?

3) What kind of ALSA mechanisms you would suggest to use – e.g. asynchronous callback or something else ?

4) What kind of data buffering mechanisms would you consider to use (e.g. double buffering, some open-source queue library, simple own queue implementation, etc.) ?

5) I would like to maximize the performance and fully use the available processing power in the 2 audio processing procedures. What kind of tools or mechanisms you would use to monitor software efficiency and to be able to monitor how much processing power is consumed in the three main parts of the software (input receipt, data processing and output transfer) ?

Pawel

C Programming Linux Uprogramu C++ Software Iliyopachikwa

Kitambulisho cha Mradi: #32139524

Kuhusu mradi

8 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

8 wafanyakazi huru wanazabuni wastani wa $681 kwa kazi hii

AwaisChaudhry

Hi, How are you? I just saw your job posting and I felt that I can help you with this job considering the experience I have with C++ Programming, Electronics, Microcontroller, C Programming and Linux. Please check my Zaidi

$750 USD kwa siku 25
(Maoni 19)
6.9
ayesha0124

Hi there, I have read the brief details of the project u posted. I believe i can help u as I have great experience doing projects with C++ Programming, C Programming, Linux, Electronics and Microcontroller. Please sen Zaidi

$750 USD kwa siku 21
(Maoni 7)
5.3
apgrl123

hi, i have rich experienced of Linux Audio so that i can give you the perfect result. C/C++ is my top skill and i am majoring it for long years. i have completed the several projects already so i have confident to com Zaidi

$500 USD kwa siku 7
(Maoni 11)
5.4
hsh564cf84accd96

I'm an experienced Linux system administrator with more than 5 years of experience in enterprise environments working mainly with RHEL (5,6 and 7) and SLES (10,11 and 12). I'm working with confidence with the following Zaidi

$500 USD kwa siku 7
(Maoni 35)
5.1
luguanhuang

Hello, I have reached a second-level seller in fiverr, and I can get about two thousand dollars a month . I have done Windows and linux c/c++ High-performance server development, js , mysql , network,game, video deve Zaidi

$500 USD kwa siku 7
(Maoni 23)
4.9
engrhassanwali

Hi. I have read your project description in detail. I am an Electronics Engineer and Matlab Expert I have 11 years of experience in C/Machine language/Matlab/Python, Algorithm Simulation programming, software Architec Zaidi

$750 USD kwa siku 10
(Maoni 3)
3.4
popovza96

Hello Pawel. I have 8 years of full-stack development career. I've ever experienced in Audio processing by using ALSA library. I'm proficient in raspberrypi MMIO modules and ever experienced in I2C/I2S communication pr Zaidi

$700 USD kwa siku 7
(Maoni 1)
0.8
thedeveloperman

Hello Dear, I have + 10 years of experience in programming development, in particular, I am very familiar with C/C++. Also I have rich hands on experience about Raspberry PI and ALSA framework. And I have installed VC Zaidi

$1000 USD kwa siku 5
(Maoni 0)
0.0