Thursday, December 25, 2008

A list of MIDI applications on linux.softpedia.com

Hehe

I just made a public notebook at Google,
and pasted the result of a search for
MIDI applications on linux.softpedia.com (like this one).

It was a list of 76 items today, what will it be tomorrow ?

:-)

Wednesday, December 24, 2008

Choosing hardware to build a linux musician dedicated computer

This is a draft

Requirements for Components:


Case: Must help make the computer silent and keep the components cool. A rack mountable version is a plus.
Power suply: Must be of good quality and match to the components' requirements.
Motherboard:
onboard sound: Make sure you can switch it of in the BIOS.
onboard graphics:
onboard ethernet:
CPU: Look at what you can afford and check the net for compatibility.
RAM memory:
Hard disks: One for the system and a fast one for the audio recordings.
Sound cards: Look at what you need and can afford, check the net for compatibility.
Graphics cards: Look at what you really need and check the net for compatibility.

Tuesday, December 23, 2008

the usual alsa troubleshooting commands

Some commands I use to get alsa going like I want it to.

Get the names of the sound cards:

peter@ubustu:~$ asoundconf list
Names of available sound cards:
HDMI
HDMI_1
M1010
M2x2
BCR2000
Get the names of the snd modules for the cards:
peter@ubustu:~$ cat /proc/asound/modules
0 snd_hda_intel
1 snd_hda_intel
2 snd_ice1712
3 snd_usb_audio
4 snd_usb_audio
Set the default soundcard: (this is obsolete)
peter@ubustu:~$ asoundconf set-default-card M1010
Edit the alsa-base file:
peter@ubustu:~$ sudo gedit /etc/modprobe.d/alsa-base
Alternative ways, get more info about the sound cards:
peter@ubustu:~$ cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfe8e8000 irq 19
1 [HDMI_1 ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfe9ec000 irq 19
2 [M1010 ]: ICE1712 - M Audio Delta 1010
M Audio Delta 1010 at 0xe800, irq 21
3 [M2x2 ]: USB-Audio - MidiSport 2x2
M-Audio MidiSport 2x2 at usb-0000:00:12.1-1, full speed
4 [BCR2000 ]: USB-Audio - BCR2000
BEHRINGER BCR2000 at usb-0000:00:12.1-2, full speed
peter@ubustu:~$ cat /proc/asound/pcm
00-03: ATI HDMI : ATI HDMI : playback 1
01-03: ATI HDMI : ATI HDMI : playback 1
02-00: ICE1712 multi : ICE1712 multi : playback 1 : capture 1

peter@ubustu:~$ lspci | grep udio
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
02:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
05:03.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02)

Get info about your alsa driver version and kernel:
peter@ubustu:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Dec 2 2008 for kernel 2.6.24-23-rt (SMP).
Info about USB devices:
peter@ubustu:~$ lsusb
[snip]
Bus 002 Device 003: ID 0763:1002 Midiman (= the M-Audio Midisport 2x2)
[snip]
Bus 003 Device 005: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter (= the Behringer BCR2000)
[snip]

Alsa configuration files:
~/.asoundrc
user-specific ALSA library configuration file

~/.asoundrc.asoundconf
file containing asoundconf-managed parameter settings
asoundconf manual:
peter@ubustu:~$ man asoundconf


Now I won't forget these anymore, if you've know other commands that I forgot about, please be welcome to leave them in the comments.

Edit: here's a nice diagram to show the structure of how ALSA works:

Sunday, December 7, 2008

MEDION AKOYA E5310 D (MD 8394) Multimedia entertainment-PC

At the local Aldi supermarket, I bought this computer that seemed interesting for what I want to do: making music with synths, recording and using a lot of effects, rendering Blender 3D projects, editing movies etc.

Actually it was stupid to just buy it, because it comes with Windows Vista installed and has an onboard Intel HDA sound card that's not supported under Linux (edit: this guy got it working with the latest Alsa drivers). And the Vista drivers for midisport 2x2 didn't work either, but this didn't matter 'cause I wasn't going to jump back in the windows jail just because of one weak consumption moment in a silly supermarket.

Specifications of the MEDION AKOYA E5310 D:

Motherboard: MEDIONPC MS-7501 (here's the output of dmidecode) with AMD 780 chipset, ATI HD3200 onboard graphics (but no onboard port) ATI HD34xx audio, Realtek RTL8111/8168B PCI Express Gigabit Ethernet, Standard Microsystems Corp. 9-in-2 Card Reader
CPU: AMD Phenom X3 8450 Triple-core
Graphics card: ATI Radeon HD3450 256MB memory
RAM: 3072 MB DDR2 SDRAM (667 mHz ?)
Disk: 640GB WD SATA (shop)

Motherboard:
I'm not sure about the brand and model of the motherboard but it's one with this chipset:
http://www.amd.com/us-en/0,,3715_15532_15533,00.html#780G
AMD M780G chipset with ATI Radeon™ HD 3200 Graphics


Socket AM2+ , Chipset AMD 780G , Form factor: ATX , DVI: yes (no onboard slot) , HDMI: yes
onboard sound : hda hdmi , RV620 RS780 controllers

It's probably some version modified by Medion, when I boot the pc, I can already read MEDIONPC somewhere in the first three lines.

Hard Disk Drive:
Western Digital Caviar GP 640Go : SATA2 3.5in 7200rpm 16Mo (WD6400AACS)


UbuntuStudio_8.04 installed fine, 64 Studio 2.1 also installed fine, but when I start it, I get a black screen.
Also the 64studio 2.1 installer didn't work when I didn't set the BIOS to use IDE instead of SATA with the disk drives.
I think I'll have to enable the etch-backports repositories first so 64Studio can use the flgrx-glx driver for my ATI Radeon HD3450 graphics card. (edit: I wrote this at my first attempt to install 64studio, and I'm asking myself now if X was really the only problem.)

Another hint from Brian Blater I read in this thread on the ubuntustudio users list is this:
If you type exit at the initramfs prompt does the machine successfully
boot? If so, are these HDs SATA? If so you may need to edit your
/boot/grub/menu.lst and add rootdelay=90 to the end of kernel line.
You can try a different number other than 90, maybe start with 30, but
from what I've experienced, 90 worked for me and I've seen others use
120.

My guess is the SATA controller is not initializing fast enough and so
the boot partition on the HD is not available soon enough. The
rootdelay will pause the boot process to allow the controller to
initialize.

May help and is worth a try to see if this fixes the problem.
I've also posted something about this pc on the 64studio users list.

Conclusion:
I shouldn't just buy a computer in a supermarket.
If I want to stay local, I could have gone to e.g. linuxbelgiumshop .
Also do some good reading before getting any new hardware, it's all here in this linuxguide .

I'll gather all I find about setting up a linux musician dedicated computer in this post.
And this Medion multimedia computer will go to the second hand market.