


Solid-State Mini-ITX Linux Recording Studio HOWTO 242
An anonymous reader submits "LinuxDevices.com has posted a project howto on building a dedicated music recording and editing computer that uses a CompactFlash card instead of a hard drive, to eliminate hard disk chatter. It uses the latest release from the Agnula (GNU/Linux Audio) project, and the newest Epia MII-12000 mini-ITX board from VIA. The method described in the article applies to embedding most any Knoppix-based Live CD onto CompactFlash boot media."
Hmm (Score:3, Informative)
Re:Hmm (Score:4, Informative)
Looks like they thought of that.
Re:Hmm (Score:4, Informative)
Dont flash cards have a maximum number of write operations? Or is that USB keys?
All FLASH devices have a limited number of write cycles. Looking at the specs for a random [intel.com] device shows that modern devices support over 100,000 write cycles, and I think this is per sector.
A good device driver will use various techniques, such a wear leveling, to extend the life of the device.
Storage (Score:4, Insightful)
Re:Storage (Score:2, Interesting)
Keep an idle-quiet [storagereview.com] hard drive in the box, but don't mount it. Instead, write your raw audio data directly to the drive's device file.
There won't be any seeking, so there won't be any noise. Write raw number of bytes of the total sample to the end of the drive, so you know where your data ends and garbage begins.
NFS? (Score:3, Interesting)
Re:NFS? (Score:3, Interesting)
Re:NFS? (Score:5, Interesting)
A single session can last from 30 minutes to several hours, during which mutliple instruments are being recorded. No compression, the lag and/or loss is intolerable on the master recording. This means fast access to the media (or good buffering), plenty of RAM, and the ability to reshoot a sequence (rewrite).
Generally, no fiddling is done during the session on the recording, just tweaking on the input chain. I personally prefer retakes as seperate files, so they can be matched better on timing. Generally, given the option, I will have a complete passage rerecorded rather than just a few notes. (No, I do not work for the RIAA labels, how'd you guess?)
The number of writes pretty much requires a highly rewritable media, and I question the slower, more limited flash usefulness in the media segment. For a boot drive, they are probably ideal, boot the studio with clean settings every time. Only problem? Linux does not have the variety of tools we use.
Re:NFS? (Score:2)
And again, this is a simple, relativly small and quiet, two channel recording rig. Audac
Re:NFS? (Score:4, Informative)
And the best part? It is silent.
What the hell advantage does this system have over a DAT deck and a computer with editing software worth using? None, because its a two-track system using a consumer-level sound card. Any gains you might make in reducing hard drive chatter will be totally overwhelmed by the crap quality of your A/D subsystem.
This thing is barely suitable for use as a two-track tracking machine, and there's no reason to edit on this thing as opposed to a decent PC which won't run into disk space or flash write limitations.
Re:NFS? (Score:2)
Re:NFS? (Score:3, Interesting)
It's true that the ATRAC compression that minidisc recorders use is lossy, but it is much less lossy than MP3 compression, and it is a "psychoacoustic" compression technique, designed to put the distortion where you can't hear it. For certain types of phonetic or psychoacoustic research you wouldn't want to use minidisc recording, but I am not sure that it would make any difference for music. I'd be interested to know if there are any objective studies showing that most people can tell the difference betwe
Re:NFS? (Score:3, Informative)
That's only true if you're only doing recording of two channels for... say a concert. The second you start doing multitrack (and what's the point of a DAW if you aren't?) work, things balloon quickly.
I'm in the finishing stages of putting together a CD. 16-bit, 44.1 kHz (48k for one project). Here are some numbers.
Acoustic projects---one or two instruments and voice, 2-4 minutes
Smallest: 1.04 GB
Largest: 1.37 GB
Band projects (4-10 minutes)
Smallest: 2.23 GB
Re:Storage (Score:2)
There's no such thing as sound-proofing a computer. You can install sound dampening material, but in order to completely stop sounds, you would have to plug all the holes, which means no cooling what-so-ever.
It would be possible to design a completely silent computer, but definately not with current hardware.
About Time! (Score:3, Funny)
I've got the ultimate silent PC right here. (Score:4, Insightful)
And then buy a couple of 15 feet USB/Firewire cables [ramelectronics.net]to extend your keyboard, mouse, and external soundcards into your sound proof recording room.
Voila!
with one of these drives.... (Score:4, Interesting)
One of these with your G5 and your set to go.
Re:INTERESTING? (Score:2)
Yeah, a G5 sure is a "silent PC" if you run 15 foot cords to kb/monitor/mouse and put them in a soundproof room.
But, interesting is right out.
Re:I've got the ultimate silent PC right here. (Score:4, Informative)
Re:I've got the ultimate silent PC right here. (Score:3, Informative)
Bummer (Score:3, Interesting)
Re: (Score:2, Insightful)
Re:Not really (Score:3, Informative)
The Live is significantly noisier than the TB Santa Cruz, if you want to compare consumer cards. The "best entry-level card around" (for home recording) is probably the Audiophile 2496 [m-audio.com].
The Live pretty much sucks for anything other than gaming.
Re:Not really (Score:3, Informative)
How good does the Audio Input really sound? (Score:2)
I cannot imagine that the SB Live would have a decent AD converter for the audio input. I know that a good 16 or 18 bit hi-fi audio AD converter (capable of working at 44 or 48 kHz) costs about $65 just for the AD chip itself (at least as of a few years ago). Now granted Creative would be buying whatever front-end AD converters they use in bulk so it would be cheaper. But I would be surpris
Re:How good does the Audio Input really sound? (Score:3, Informative)
If you've already got a capable computer system, look at a Delta 44 and Cakewalk Home Studio 2004 (or Sonar 3, if you have the money). It would be much cheaper than a comparable analog system. Be careful, though - home studios are a big money pit.
Network boot (Score:5, Insightful)
Re:Network boot (Score:3, Interesting)
Tell me becuase I honestly don't know. How much CPU is needed for your audio needs? The reason I'm asking is it seems that a driveless computer with a low-power chip (which Linux runs on a lot) would be great for the application. The problem being that they cost as much as the very top end Intel systems, much of which due to lack of demand (economies of scale and whatnot).
A while back one could get a StrongArm in a 1U rack, but not any more. Oh well, I suppose I'm just hoping that some kind of market will
Re:Network boot (Score:2)
in my experience, you can never have too much CPU for audio processing, and you most likely will never have enough. better to put it in the closet or another room than compromise with something slower than the fastest chips you can afford.
Re:Network boot (Score:2)
If I can ask (becuase you've peaked my curiousity now) where do you find the need to be most keen in audio mixing?
Re:Network boot (Score:2)
Re:Network boot (Score:2)
Comment removed (Score:4, Insightful)
apple (Score:4, Insightful)
This market has a lot of mac die harders, proven products and support. Plus, a lot of it can be done right on a powerbook.
I see this project having a difficult time making a dent. It will need to become better than existing products and get some great support and PR.
Re:apple (Score:3, Insightful)
While I applaud the idea, a hard disk is the only way to go, esp. when it comes to mixing. If you're editing tracks you rip off a CD, then this is sufficient to handle the load.
They need to go back and re-examine the needs of professional recordists, editors and mixers.
Re:apple (Score:2)
Who said anything about making a dent? It's a homebrew project that achieves some reasonable capability on the cheap. Even once it's refined to the point where it equals professional gear in quality of output (if not ease of use), there will always be those who prefer to shell out the big bucks, for the prestige or whatever (they're audiophiles!).
looks great (Score:2, Interesting)
I wish I had thought of/seen this while still in college. It would've been a blast to play around with.
Re:looks great (Score:2)
Firewalls/routers (Score:3, Interesting)
Re:Firewalls/routers (Score:2)
Re:Firewalls/routers (easy, cheap solution) (Score:2)
Pick up a lower-end Pentium system, one without a CPU or case fan. The only fan you'll have is the power supply, which is very quiet. A firewall/router doesn't even need the horsepower that a Pentium pr
Re:Firewalls/routers (easy, cheap solution) (Score:2, Informative)
Re:Firewalls/routers (easy, cheap solution) (Score:3, Insightful)
I am 2 for 3 on getting free systems when they are cleaning out IT closets here at work. One working one became my firewall/router, one non-working one was scavenged for parts (screws, leds, etc) and the other one was a working Compaq dual-Pentium server with 3 ultra-wide 4GB SCSI drives. That thing weighed about 80 lbs, and had a
flash memory (Score:3, Informative)
Big problem with CompactFlash- you can kill the card. They have a very finite number of write cycles. It's in the millions, but you can burn through those VERY quickly if you aren't managing your writes. CompactFlash in a camera, for example, only sees sequential writes, so you can literally fill the card and erase it hundreds of thousands of times before it's zapped.
The same may be true when recording, but when you start talking about editing, things get messy. God help you if you put swap on the card.
CompactFlash also doesn't seem nearly fast enough for real time audio beyond maybe 1 or 2 channels.
Really, I don't see the point. Use a laptop; many modern laptop drives are so quiet you can barely hear them in a dead silent room, and if they're too noisy, run your cables into another room, or put a pillow or box over it, etc. You can buy a ton of memory at decent prices and use ramdisks if you're really concerned about HD noise.
Re:flash memory (Score:2, Informative)
Throw your local root filesystem on the flash and leave it read only.
Hooray!
Re:flash memory (Score:2, Interesting)
I wonder if anyone is researching special filesystems for compact flash storage. It seems to me it would be possible to design a filesystem that spreads data around the media to avoid (as much as possible) overwriting the same storage blocks.
Compact Flash is slow, on the order of 8MB/second. Swapping to CF is a Bad Idea (for many reasons).
Re:flash memory (Score:2)
The field is well-researched and a patent minefield. Newcomers beware.
It seems to me it would be possible to design a filesystem that spreads data around the media to avoid (as much as possible) overwriting the same storage blocks.
This is a gross simplification, but flash is not rewritable in-place like RAM or hard disk is. It must be erased in relatively large block sizes for the space to be writable again.
To answer y
Re:flash memory (Score:3, Insightful)
not-so sequential writes (Score:4, Informative)
jffs2 [redhat.com] is much more conscious about write behavior, so I'd strongly recommend it for anything on a flash filesystem.
Anyway, the main reason compact flash is rather slow is simply the fact that few people need high throughput. There are cards these days that sustain a throughput of 15M/s, but they're only meant for high-end cameras. While flash is slower than RAM, it's still considerably faster than mechanical devices, so I'd expect this number to go higher.
Re:flash memory (Score:2)
Flash vs. RAM (Score:2)
Noise levels (Score:4, Insightful)
Re:Noise levels (Score:4, Informative)
For example, you could use a nice standalone A/D box with a ADAT-compatible output, then string your digital cable the 15 feet into your nicely isolated computer closet, where it enters an ADAT card. Run monitor and keyboard cables the 15 feet, and you have a system that can be as loud as it wants to be without getting anywhere near your recording.
Of course, for real recording, you're going to want to isolate control from recording, so you can have a somewhat noisy computer in control (so long as its noise factor is less than what you can tolerate during mix and edit).
This project is neat for geek factor, kinda like sticking SSH on your cellphone, but there are a lot of easier, more useable ways to minimize recorded noise.
Re:Noise levels (Score:2)
a good rackmount case with filters and the fan's slowed down is almost silent. put it in a rack case with a door and it is 100% silent.
sample a 1 second clip of nothing and subtract it from your recording and you remove all system noise.
Re:Noise levels (Score:2)
Re:Noise levels (Score:2)
Re: (Score:2, Insightful)
Yay (Score:5, Insightful)
Hard drive noise is really the least of the noise problems in a modern studio. Speaking from personal experience.
I mean, my power amp is louder than anything in my home project studio, including the computer.
OK, mod me down, please.
I ask why? (Score:2)
Why create a product to solve a problem that doesn't exist. There isn't one. This is probubally why a corperate entity hasn't done this yet. It would fail to sell so why make it. At the same time in the OSS we need to look at the why we make things. Why waste our time generating something there is no call for.
Before we generate things we need to look at the possible users of a product and their needs. This doesn't seem to have been done.
Re: (Score:2)
Re:Yay (Score:2)
And I'm not exactly seeing the hackworthyness here either. Normally that much effort goes into taking an expensive idea and making it cheaper, not the other way around.
Re:Yay (Score:2)
However, the grandparent may well be correct that the hard drive is not a problem. As I understood it, the PSU is the only component which often causes problems and the ITX can have the PSU in an external transformer if you want.
Even if the hard drive is a problem, ITX already has the ability to boot off the network which has
What about other sounds. (Score:4, Interesting)
Sometimes, it's funny though to be watching a vcd and all of a sudden hear an "Uh oh" sound coming from someone's ICQ.
Skip the CF, use the network (Score:5, Interesting)
2GB is a lot of data, but try working that in a professional studio- you can easy fill up 2GB with a half-hour of bad takes. If you're multitracking you can forget about it.
But I like the idea of lost-cost hardware. A VIA MII 12000 is more than adequate (CPU-power-wise) for even 8 simultaneous 16-bit ins and outs. What you're really going to want is a good audio card. [rme-audio.com]
Re:Skip the CF, use the network (Score:2)
at least 20 GB free, depending (Score:4, Informative)
Re:at least 20 GB free, depending (Score:2)
The space required always seems insufficient when recording more than a single song, so we move each song to
Linux (Score:2, Interesting)
Re:Linux (Score:3, Funny)
Re:Linux (Score:2)
My experience is as follows: some have big trouble compiling (ardour), there are many packages that restrict themselves to the most basic functionality (for denoising I usually have to resort to gwc, equalizing is nearly impossible without realtime preview), and I've seen many many crashes and strange behaviour (audacity: left button for zoom
Interesting But (Score:3, Interesting)
Still I don't knock the Linux / OSS apps, last time I posted about Audacity I got a great response from the lead developer. Keep up the good work and someday maybe I'll trade in to a Linux solution. But I'm just not quite ready yet!
Re:Interesting But (Score:2)
Re:Interesting But (Score:2)
Remote boot also reduces noise (Score:3, Interesting)
Re:Remote boot also reduces noise (Score:2)
No problems to report. That remote desktop rig is more reliable than the copy of the OS sitting on that particular hard drive. (The curse of the admin's desktop.)
Hard Drive Clatter Isn't Only Issue (Score:4, Interesting)
Noisy capacitors, often talked about as a source of insecurity (you can listen to them with a computer and "hear" the data going across), but they also emit an annoying, high-pitched squeak which varies up and down.
If you're looking for a dedicated recording system, the Via boards may not be for you! Mine is noisy enough that I'm considering hiding it (it's my mythTV box) in a cabinet! And it's got no fans!
those are inductors (Score:2, Informative)
Hard Drive noise?! Whatever. (Score:3, Insightful)
The other problem I see with this setup is it has no multitracking ability. I have just recently added a echo Layla sound card to my setup and can track up to 8 channels at one time. It's amazingly awesome. If you are going to spend all that money on recording gear...get a Echo Layla. It's worth it.
I'm also about to build another room onto my house so I can have a control room...not for silencing my PC, but for convenience of being able to mix a drumset on the fly. Anyways, this is just silly.
Re:Hard Drive noise?! Whatever. (Score:2)
...OR (Score:2)
Better Application (Score:2)
A more convincing one would be a ruggedized platform for robotics development. I can't imagine a hard drive taking a whole lot of abuse from a robot bouncing up and down stairs, rolling over a rocky terrain, or playing demolition derby with another robot.
Yes, in an ideal world you would pre-load the OS into ram and keep it there. But if your robot needs to reboot, the brain case momentarily looses power, or you need to load an extra pro
Re:Better Application (Score:2)
It's actually fairly easy to shock-mount a hard drive. 2.5" drives are very light and small, and can handle plenty of bouncing around, as long as you can absorb the direct impact shocks externally.
RAM and then network (Score:2)
After that, dump to remote network file server, or loca
Re:RAM and then network (Score:2)
I hate to nit-pick, and I assume this was just a typo, but anyone who does 48Mhz recording is insane. 48Khz is more like it.
However, I'm not averse to recording at somewhat higher rates; just not 1000 times what's necessary.
Why not fanless? (Score:2)
As others have mentioned, it's probably a lot more practical to put a big semi-quiet PC in the next room, but if you're going so far as to go diskless for the project, it seems a bit ridiculous to have a fan on the MB.
Re:Why not fanless? (Score:2)
If you don't push the CPU too far, you can even run the faster VIAs fanless. If the power supply or something else blows a bit of air around the CPU cooler, it won't even get warm.
BTW if you want to save some money, use a USB stick instead of the CF card and IDE adaptor. USB (even 2.0) sticks are a bit slower than CF cards, but not significantly since the flash memory remains the bottleneck. Needing more speed,
What does "ramdisk" mean to you? (Score:2, Informative)
The CF card will support 100,000 writes, and includes wear-leveling features that use the whole card, not just certain spots. So, realistically, I figure my musical inspiration will wear out long before the
KVM (Score:2)
Studio? I think they do not get the point... (Score:4, Insightful)
Studio owner, studio technicians, studio operators, studio people, they don't want a studio in a box, mixing with a mouse sucks anyway. There are of course control surfaces that exist to aleviate this problem but, as any pro audio person will tell you, you do not want only one source of processing in your studio you want as many colors as you whish, as many mics model as you can so as to capture your sound and enhance or atenuate certain aspects of it. You want knobs and faders to access as rapidly as possible what you need, you want to control your fades so they fit right in the mix, you do not want to draw them. And I say that as a digital audio and hybrid studio oriented audio tech. As much of a (not) novelty this thing is it only remains a curiosity, plus I doubt many control surfaces actually work on Linux, not many AD/DAs must be either. And to be honest, appart from the fact that mini-ITX machines are usually pretty silent, what's the purpose of small here? The smaller the box the more interferences you will have in your signal, don't forget that part of a digital audio circuit is actually analog and subject to all the garbage found inside a computer box. Even if you use external boxes for your connectors you won't be protected against the added heavy jitter and granulation noise brought by those interferences. Of course you could use a very well shielded card, but will a shielded card fit inside those tiny boxes?
And how much more of your money are you willing to invest in harware and time to not pay for your OS...
Anyways, you get the idea. Long live audio on Linux, I am really looking forward to seeing good solutions appearing on this system but this isn't one of them. I see Linux in audio as an embeded OS for external processors, I see it at the hearth of studio-in-a-box (not the computer form factor but the mixing consolle/recorder form factor) machines, various crazy and imaginative audio appliances but not as a general purpose OS used for audio.
Agnula is alive and well (Score:4, Informative)
Software patents will either be recinded, or software development will come to a screeching halt and ALL free software will be killed, not just this project.
In which case we can all just pack up and find another profession, or move somewhere other than the US and the EU (if current legislative trends continue). After the IT economy has been destroyed and innovation has moved to India and China, perhaps the US (and possibly EU) beurocrats and politicians will get their heads out of their asses and ban software patents
I am quite frankly amazed at the EU's stupidity in this, as it clearly benefits Microsoft and other big American firms, to the detriment of European startups such as Suse, Mandrake, et. al. But that is neither here nor there.
I will continue to develop and use free software (including this project) until such a time as $un, Micro$oft, or one of their stooges ($CO) kills free software dead, or reform occurs.
At which point I will continue to use and develop free software, until such a time as their thugs pry my keyboard from my cold, dead fingers...but that is a rant for another day.
Re:Agnula is alive and well (Score:2)
> and running just fine
Actually, now it appears to be Slashdotted.
For what it's worth, if you're running a GForge [gforge.org] site (as Agnula is doing [gforge.org]), you may want to upgrade to the latest release - 3.3 - and enable the localization cache. I've got it running on RubyForge [rubyforge.org] and it pretty much cut response time in half for most requests. Props to Guillame Smet for his work on that one.
Re:Agnula gone... (Score:2, Informative)
Although they do redirect you to a page about software patents in Europe if you don't click though in 15 seconds.
Re:Agnula gone... (Score:2, Funny)
Re:GBit instead of CF (Score:2, Interesting)
For audio, a good full-duplex 10mbit link should do the trick.
Re:GBit instead of CF (Score:2)
I fail to see how a 100mbit (12.5 megabyte) link is "many times" faster than a 7-10 megabyte CF card.
In fact, add in overhead, and the speeds could be at parity.
steve
Re:I hardly see a point in this (Score:3, Informative)
Re:first post! (Score:2, Insightful)
A) Not be using Linux-based audio recording or sequencing software
or
B) Switch to a non-PC based recording solution.
Most people who are just throwing down tracks in their bedroom are probably not yet at the point where they are tweaking the hell
Re:first post! (Score:2)
Re:How good is the distro (Score:4, Interesting)
I picked up a copy of the Agnula CD at LAD this year in Karlsruhe, along with a couple other audio-specific LiveCD's (one from SUSE, and another whose name I can't remember, alas), and I have to say that they all ran pretty well.
I work for a pro audio equipment mfr. I was pretty impressed with these distro's
Definitely worth downloading and spending a few hours investigating, if you're a sound/synth geek. (I am, so consider the bias...)
Re:Harddrive Noise the Problem?? (Score:2)