please dont rip this site

Linux Audio

Linux has two major audio systems: ALSA^ and JACK. Although there is a lot of overlap, ALSA is kind of the lower level system, providing extensive drivers and controls for hardware, and JACK provides a higher level ability to route sound from sources to destinations. Eg. from a mic to a speaker.

To configure JACK, the utility qjackctl is very nice. Be aware, you may need to fully quit and re-launch it to see any changes in setup. The Connections panel allows you to make (and break) connections quickly and temporarily. For more perminant connections use the Patchbay.

Roland Edirol UA-4FX in Linux:

To setup the UA-4FX under ALSA:
https://alsa.opensrc.org/Edirol_UA-4FX The major problem is that the UA-4FX doesn't support computer control of volumn. But ALSA supports a software volumn control:

pcm.!default {
   type             plug
   slave.pcm       "softvol"
}
pcm.softvol {
   type            softvol
   slave {
       pcm         "plughw:UA4FX"
   }
   control {
       name        "SoftMaster"
       card        1
   }
}

note that the web page is wrong, the pcm line in the softvol section should NOT be "pasymed".

Recording from a mono mic leaves one stereo channel with noise on it, so you can put the mono audio on each stereo channel with:

pcm.record_left {
   type        dsnoop
   ipc_key 234884
   slave {
       pcm     "plughw:UA4FX"
       channels 2
   }
   bindings.0  0
}
pcm.record_right {
   type        dsnoop
   ipc_key 2241234
   slave {
       pcm     "plughw:UA4FX"
       channels 2
   }    
   bindings.0  1
} 


To start the JACK server with the UA4FX:
jackd --realtime -d alsa -C hw:UA4FX -P hw:UA4FX &

See also:


file: /Techref/os/linux/audio.htm, 2KB, , updated: 2019/2/22 20:09, local time: 2020/8/8 10:11,
TOP NEW HELP FIND: 
3.219.167.194:LOG IN

 ©2020 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://piclist.com/techref/os/linux/audio.htm"> Linux Audio</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2020 contributors:
o List host: MIT, Site host massmind.org, Top posters @20200808 Bob Blick, RussellMc, Jason White, Neil, David C Brown, Harold Hallikainen, Sean Breheny, madscientistatlarge, James Cameron, Allen Mulvey,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .