sudo apt-get install fxload alsa-firmware-loaders
sudo /etc/init.d/hotplug restart
BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8000", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/sbin/fxload -D %N -s /usr/share/alsa/firmware/usx2yloader/ld2-ezusb.hex -I /usr/share/alsa/firmware/usx2yloader/us428fw.ihx'" BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8001", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/usr/bin/usx2yloader; /usr/bin/us428control&'" BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8006", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/sbin/fxload -D %N -s /usr/share/alsa/firmware/usx2yloader/ld2-ezusb.hex -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx'" BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8007", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/usr/bin/usx2yloader'"
yes , us428 has 4 ins & 2 outs. to make it work with latest jack alsa driver, you have to hardcode 2 in channels in jack/drivers/alsa/alsa_driver.c like this:
--- alsa_driver.c.~1.65.~ 2005-02-22 01:15:07.000000000 +0100 +++ alsa_driver.c 2005-02-22 01:16:32.000000000 +0100 @@ -450,7 +450,7 @@ } if ((err = snd_pcm_hw_params_set_channels (handle, hw_params, - *nchns)) < 0) { + 2 /* *nchns*/)) < 0) { jack_error ("ALSA: cannot set channel count to %u for %s", *nchns, stream_name); return -1;
confusing, no? (even annoying, if you also use other cards with more than 2 in channels...) its because the alsa layer doesn't correctly know about us428's channels 3 + 4. in raw-usb mode some standard parts of alsa pcm are bypassed, and so currently you can only use us428's 4 in channels with the above hack. It works only, if you call jackd like this: $jackd -dalsa -dhw:n,2 with n being the us428 alsa card nr. You have to use latest snd-usb-usx2y, which is already in kernel >= 2.6.11-rc3 . and it only works with jack. plain alsa only knows us428's first 2 channels. beware of calling jackd with -dhw:n,1! it can crash your machine as i just experienced. digital in doesn't yet work.
Pour avoir des ports midi virtuels sous linux, il suffit de charger le module noyaux nécessaire:
modprobe snd-seq-virmidi ou snd-virmidi (sur les anciens alsa je crois)
pour l’avoir automatiquement a chaque redemmarage ajouter dans le fichier de configuration /etc/modules:
snd-seq-midi snd-seq-virmidi snd-seq
Il existe differente methode pour utiliser des vst sous unix (toute utilise jack et wine):
PaTest : Petit projet destiné à découvrir l’API de portaudio ainsi que la programmation de dsp.
Voici quelques liens, principalement wikipediens pour mieux comprendre les concepts fondamentaux associés au traitement du signal (transformations en série de fourrier/d’ondelettes, ...).
Comme toujours sur wikipedia suivez les liens (internes comme externes).
au temps qui passe riment les consonnes vertes
les voila ki ressassent aucune pensée n’est perte