Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an iRig pre-amp for my electric guitar. Can I use it in Ubuntu? What software I need?

share|improve this question

AmpliTube works perfectly in Xubuntu via Wine.

“WineASIO provides an ASIO to JACK driver for WINE. ASIO is the most common Windows low-latency driver, so is commonly used in audio workstation programs.”

Install Wine and Jack:

sudo apt-get install wine jackd qjackctl

Install WineAsio .deb

Download and install this package

wget http://www.lucamazzilli.it/downloads/wineasio_0.9.0-1_i386.deb

sudo dpkg -i wineasio_0.9.0-1_i386.deb
Install dependencies
  • jack 1

    sudo apt-get install libjack-dev
    
  • jack 2

    sudo apt-get install libjack-jackd2-dev
    

Download and extract

wget http://leaseweb.dl.sourceforge.net/project/wineasio/wineasio-0.9.0.tar.gz

tar -zxvf wineasio-*

cd wineasio

Get the source asio.h (file:asio.h http://sourceforge.net/projects/wineasio/files/wineasio-0.9.0.tar.gz/) than copy to your source folder and:

make

sudo make install

if you get an error like this:

exmple@pc:~/wineasio$ sudo make install
if [ -d /usr/lib32/wine ]; then cp wineasio.dll.so /usr/lib32/wine; else cp wineasio.dll.so /usr/lib/wine; fi

just copy wineasio.dll.so on the correct folder in old fashioned way:

  • 64bit

    sudo cp wineasio.dll.so /usr/lib32/wine
    
  • 32bit

    sudo cp wineasio.dll.so /usr/lib/wine
    

You must register wine library

regsvr32 wineasio.dll

Configure Wine to use alsa and jack

winecfg

select audio tab, than pick Jack Driver and Alsa Driv.

share|improve this answer
2  
FYI so does Guitar rig 5, it is nice but expensive. – Mark Kirby Mar 19 at 13:12
    
Price and quality usually go up together - usually lol. But good to know! – DnrDevil Mar 19 at 13:16
    
http://www.lucamazzilli.it/downloads/wineasio_0.9.0-1_i386.deb is not found. Can you update the link? – becko Mar 19 at 13:45
    
My PC is 64 bit. Should I still use regsvr32? – becko Mar 19 at 14:07
    
You can try appdb.winehq.org/objectManager.php?sClass=version&iId=32045 - Personal choice i use 32 for myself. – DnrDevil Mar 19 at 14:22

At the most basic level you just want the sound from a mic input to come out of the speakers, which you an do in a number of ways. Here's one: How to hear my voice in speakers with a mic?

There is also a program called Rakarrack which apparently does guitar effects.

share|improve this answer
    
It's not so simple. The iRig is connected through USB. – becko Mar 19 at 13:24

As you say your preamp is USB, here is how I use my USB preamp in Ubuntu.

First you need jack to control the interface

sudo apt-get install qjackctl jackd

and Rakarrack as the amp simulator

sudo apt-get install Rakarrack

For setup run qjackctl from dash and set it up with your usb device in the interface section and your speakers as the output, then tweak the other settings to your liking, here are my settings

enter image description here

You may also need to click connect in qjackctl and connect the input to the output, this can be done in just a click or two.

Now restart qjackctl and run Rakarrack (qjackctl MUST run first), if you set your interfaces correctly that should be all you need, you will here your guitar from the speakers and can use Rakarrack to set up some nice tones ;)

share|improve this answer
    
Couldn't find any package whose name or description matched "jack2" ... ? – becko Mar 19 at 15:33
    
Did you mean jackd2? – becko Mar 19 at 15:34
    
My bad should be jackd – Mark Kirby Mar 19 at 15:35
    
FYI It may be a dependency of qjackctl, so it may be install by just that, but I can't remember. – Mark Kirby Mar 19 at 15:36
    
Note that jackd / jackd2 (qjackctl is a graphical interface to that and indeed has all necessary packages as dependecies) runs on top of the underlying ALSA architecture. Without ALSA drivers there's nothing you can do to get the interface running, as I already said in my answer. And, USB is irrelevant here, that's just one of multiple buses an interface / its drivers might use. You can use jack just as well with an internal sound card. – leftaroundabout Mar 19 at 15:48

To properly use any audio interface with Linux, you first of all need a working ALSA driver. You may already be out of luck with the iRig there. If you have

sudo apt-get install alsa-firmware-loaders

And you connect the interface but it doesn't show up in Pulseaudio (or aplay -l), then I'm afraid it's likely going to be very hard to get it to work on Ubuntu at all. You may consider getting some other interface with reliable ALSA drivers.

If the interface does show up, then you should next get jack to do the patching.

sudo apt-get install qjackctl

Finally, you'll want some way to process the signal. For sure, this can be done with the big commercial programs like Guitar Rig, Amplitude, or (better) BiasFX, iZotope Trash... but I'd think twice before Wine-infiltrating a Linux install with such closed-source behemoths.
Before you do so, I'd recommend you check out Pure Data. It's completely different from those programs – not at all specialised at simulating existing guitar amps/pedals; instead it gives you really nice ways to design completely new sound effects, completely from scratch. (But, this is definitely nothing for quickly getting some impressive standard sould; perhaps Rakarrack will serve you if that's what you want.)

share|improve this answer
    
Please note that the iRig is connected through USB. – becko Mar 19 at 14:33
    
Whether it's USB or Firewire or PCI is secondary; if there's a suitable ALSA driver it'll know how the interface is supposed to be connected. Only, I fear there isn't such a driver that would work for the iRig. – leftaroundabout Mar 19 at 14:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.