Tutorials/MIDI on Linux/pt-br: Difference between revisions

    From KDE UserBase Wiki
    (Created page with "==Sintetizadores MIDI externos==")
    (Created page with "Existem instrumentos musicais que podem ser conectados ao computador ou a outros instrumentos através de cabos MIDI. Para fazer isto, seu computador deve possuir uma interface M...")
    Line 9: Line 9:
    ==Sintetizadores MIDI externos==
    ==Sintetizadores MIDI externos==


    These are musical instruments that can be connected to the computer, or to other instruments through MIDI cables. To do this, your computer must have a MIDI interface. There are sound cards with MIDI interfaces, and also USB adapters supported by '''ALSA''' with the corresponding kernel module. There are even MIDI instruments that can be connected directly to your computer via USB. In any case, you should check that the MIDI interface model is supported by '''ALSA''' at [http://www.alsa-project.org/main/index.php/Matrix:Main the ALSA project site]
    Existem instrumentos musicais que podem ser conectados ao computador ou a outros instrumentos através de cabos MIDI. Para fazer isto, seu computador deve possuir uma interface MIDI. Existem placas de som com interfaces MIDI e também adaptadores USB suportados pelo '''ALSA''' com o módulo do kernel correspondente. Existem até mesmo instrumentos MIDI que podem ser conectados diretamente ao seu computador via USB. Em qualquer caso, você deve verificar se o modelo de interface do MIDI é suportado pelo '''ALSA''' na [http://www.alsa-project.org/main/index.php/Matrix:página principal do projeto ALSA].


    In summary, this option will need:
    In summary, this option will need:

    Revision as of 14:33, 29 October 2010

    Template:Informação

    Um sintetizador de MIDI converte eventos MIDI em som. O sintetizador pode ser um dispositivo de hardware externo ou estar integrado em uma placa de som. Ele pode também ser um aplicativo de sintetização, isto é, um programa.

    Existem arquivos MIDI com a extensão .MID contendo música no formato de dados do MIDI. Podemos explicar isto em termos culinários. Ouvir uma música em um CD é semelhante a comer em um restaurante e o MP3 seria comparável a um fast food. Dito isto, um arquivo MIDI é como uma receita: você tem que obter os ingredientes apropriados e usar os utensílios de cozinha. Ao invés do forno, potes e panelas você usará sintetizadores MIDI. Como qualquer bom geek e usuário Linux, você desejará mudar a receita e os ingredientes. Então faça isto! No KMid você pode abrir a janela de "canais" e alternar do piano para uma guitarra se desejar.

    Sintetizadores MIDI externos

    Existem instrumentos musicais que podem ser conectados ao computador ou a outros instrumentos através de cabos MIDI. Para fazer isto, seu computador deve possuir uma interface MIDI. Existem placas de som com interfaces MIDI e também adaptadores USB suportados pelo ALSA com o módulo do kernel correspondente. Existem até mesmo instrumentos MIDI que podem ser conectados diretamente ao seu computador via USB. Em qualquer caso, você deve verificar se o modelo de interface do MIDI é suportado pelo ALSA na principal do projeto ALSA.

    In summary, this option will need:

    • MIDI Interface
    • ALSA Driver for the MIDI interface
    • MIDI Cables

    Hardware Synthesizer Sound Cards

    Some sound cards, such as the ones manufactured by Creative Labs (SB AWE, Sound Blaster Live! and Audigy) have a MIDI synthesizer using wave-table sound samples as a synthesis method. These samples are being loaded into the sound card before using MIDI software, preferably at system boot. If you own one of these cards:

    • In addition to ALSA, also install the software package awesfx which includes the sound samples loader, ALSA scripts and udev rules to automatically load on system boot.
    • Install SoundFont files provided by the manufacturer or other alternative SF2 files in /usr/share/sounds/sf2.
    • Edit the configuration file /etc/sysconfig/sound. On the value for the key SOUNDFONT_FILES, provide the name of one or several SF2 files that must be loaded on system startup. The file names and locations may vary from one distribution to another, these instructions apply to openSUSE.

    SoundFont filescan also be loaded manually. Read the manual of asfxload for more information.

    Software Synthesizers

    The classic software synthesizer for Linux is TiMidity++, but the latest release is from 2004. It requires sound samples in GUS or SF2 format. It can be used independently as a player, but if you want to use it in conjunction with other ALSA sequencer compatible programs, you must provide the "-iA" option, for example:

    timidity -iA

    Another software synthesizer, with modern and modular design and active maintenance is FluidSynth. It uses sound samples in SF2 format, and has a friendly graphic interface called QSynth. You can also run it from the command line, for example:

    fluidsynth -a alsa /usr/share/sound/sf2/soundfont.sf2

    or:

    fluidsynth -a pulseaudio /usr/share/sound/sf2/soundfont.sf2

    The graphical configuration of QSynth is quite simple. See the following example screenshots.

    SoundFont Files

    These files represent the fish, meat and vegetables in your MIDI recipe. Here are some recommendations.