Your SlideShare is downloading. ×
Programando para o Jack daemon
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Programando para o Jack daemon

434
views

Published on

Palestra de 25/06/2009 para o FISL10 "programando para o jack daemon", com exemplos de programacão (código disponível em http://eduardo.macan.eng.br )

Palestra de 25/06/2009 para o FISL10 "programando para o jack daemon", com exemplos de programacão (código disponível em http://eduardo.macan.eng.br )

Published in: Education, Lifestyle, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
434
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Programando para o jack daemon http://eduardo.macan.eng.br Eduardo M. Maçan @eduardomacan
  • 2. Conteúdo
    • Áudio, Computadores, UNIX
    • Arquitetura JACK
    • Tendências
    • Requisitos de aplicação
    • Bibliotecas e exemplos práticos
  • 3. Audio & Computers
    • 1947 : Debugging através de sons
    • 1958 : Computador usado em música
    • 1968 : Gravação de performance
    • 1978 : Computadores + Synths
    • 1981 : Protocolo MIDI
    http://arts.ucsc.edu/ems/Music/equipment/computers/history/history.html
  • 4. Audio & Unix
    • UNIX : Dispositivos são “arquivos”
    • cat /dev/audio > arquivo.au
    • cat arquivo.au > /dev/audio
    • Linux : OSS, Sound Blaster & GUS
    • ioctl(2) read(2) & write(2)‏
  • 5. Open Sound System
    • Design obsoleto
    • Pouco modularizado
    • Suporte sofrível a MIDI
    • Alta latência
    • Livre, proprietário , livre
  • 6. Advanced Linux Sound Architecture
    • Design moderno
    • Altamente modularizado
    • Suporte profissional a MIDI
    • Baixa latência
    • Livre, livre, livre
  • 7. JACK Audio Connection Kit
  • 8. Tendências
    • Jackdmp -> jack 2.0
    • Suporte a rede
    • Vídeo
    • MIDI
    • Suporte a outras plataformas
  • 9. Características
    • Multithreaded programming
    • IPC ( I nter P roccess C ommunication)
    • RT (Real Time Capabilities)
  • 10. Jack client estrutura mínima
    • #include <jack/jack.h>
    • callback_defs();
    • jack_client_new();
    • jack_set_process_callback();
    • jack_port_register();
    • jack_activate();
    • jack_client_close();
  • 11. Int process (jack_nframes_t nframes, void *arg) { jack_default_audio_sample_t *out; jack_default_audio_sample_t *in; out = ( jack_default_audio_sample_t *) jack_port_get_buffer (output_port, nframes); in =( jack_default_audio_sample_t *) jack_port_get_buffer (input_port, nframes); /* Faz coisas */ return 0; } Jack client callback
  • 12. Obrigado!
    • http://www.jackaudio.org
    • http://eduardo.macan.eng.br
    • @eduardomacan