realtime dsp under linux – guitar application roberto bender porto alegre, 30 de junho de 2009

Post on 17-Apr-2015

109 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Realtime DSP under Linux – Guitar ApplicationRoberto Bender

Porto Alegre, 30 de Junho de 2009

Projeto Original

ComputerComputer

KitADSP

KitADSP

FiltersCore

FiltersCore

GuitarGuitar

Audio Output Device

Audio Output Device

Projeto Modificado◦ Facilitação dos testes

Computerand DSP

Application

Computerand DSP

Application

FiltersCore

FiltersCore

GuitarGuitar

Audio Output Device

Audio Output Device

KitDSPKit

DSP

Como Fazer?◦ Conseguir acesso aos dispositivos de entrada e

saída no Linux;◦ Conseguir realmente processar a entrada em

tempo real;◦ Escolher o número de canais, frequência de

amostragem, tamanho de buffers, ...

Dificuldades◦ Saída = Entrada em tempo real◦ Read Only, Write Only and Read and Write◦ SNDCTL_DSP_SETDUPLEX◦ SNDCTL_DSP_SETFRAGMENT◦ IO Threads◦ Events◦ Semaphores

Processamento◦ Distorção◦ Ganho◦ Atraso

top related