Low budget High Quality Digital Stereo Sound for Mac OS X Lion

Introduction:

I used to have a 5.1 THX certified Logitech 5300Z sound system. Sound great, but some inconveniences related to analog 5.1 audio systems: extra wiring for rear speakers, only one audio source, huge subwoofer, lack of digital connectivity. I sold it with intention to buy Logitech Z-5500 that has digital inputs. Besides the fact that the last has digital input, still the same disadvantages and a huge price. Because I am not a gamer, I realized that a Studio Monitor Speaker (http://en.wikipedia.org/wiki/Studio_monitor) will provide a sound quality without compromise at the lowest possible price. Those are the smallest speakers used by professionals and in the same time has enough juice for an apartment room. M-Audio Compact Monitor Speakers (AV30) it is the extreme low cost solution as analog Studio Monitor. I finally chose MA-15D by Roland for following reasons: 2 input mixers, 1 digital input (SPDIF coaxial &  optical) and 1 analog input (2x RCA + 1x 3.5mm jack).

Goals:

  • Low Cost High Fidelity stereo audiophile digital system without quality compromise
  • SPDIF output sound card
  • SPDIF input speakers
  • Multiple input sources
IMPORTANT NOTE: Use the following informations on your own risk. I try to describe my personal experience the best as I can, however the results are not guaranteed and I am not responsible for any hardware or software  damage or loss of money or productivity.

Current Hardware:

  • MA-15D CakeWalk By Roland Digital Monitor Speakers
  • Realtek ALC8xx compatible sound card (P55A-UD3 Motherboard)

Alternative Hardware:

  • any digital sound system that accept SPDIF stereo input (! not Surround)
  • any sound-card that use AppleHDA natively (not voodoohda, if possible)

Current Software:

  • Mac OS Lion 10.7.3
  • Realtek  ALC8xx driver from MultiBeast 4.5.1
  • Sound Flower (http://code.google.com/p/soundflower/downloads/list)

MA-15D: Digital Stereo Micro Monitors (Manufacturer description follows)

The MA-15D stereo reference monitors are ideal for computer-based recording artists seeking a high-quality, powerful set of reference speakers to use in a relatively confined space. The MA-15Ds offer a wide-range spectrum and crystal-clear audio reproduction.
Bass Enhancer
24-bit/192kHz support, S/PDIF optical & coaxial input
Subwoofer output port for bass boost
15 watts per channel
3 independent source inputs: 1/8" line, RCA pin line (L/R), and S/PDIF (optical & coaxial)
Front-controlled bass, treble, and 2 independent volume controls
100 mm (4") woofer + 50 mm (2") tweeter, 2 way bass-reflex enclosure
1/4" headphones port
Magnetically shielded

 

Actual  wiring:

wiring diagram

As you can see in the picture I use  1/8″  Line 1 for ipod, when I need to listen music in silence, P55A-UD3 Motherboard connected via optical/coaxial cable (check selector switch), audio out from Videotron Explorer 3200 via standard RCA audio cable.

For analog connections there is nothing to do. As per specifications MA-15D speakers accept theoretically 24-bit/192kHz digital input. This is possible in Windows 7. In Mac OS X Lion, on SPDIF output the following combinations work with MA-15D:

24-bit/44.1kHz
24-bit/48kHz
24-bit/88.2kHz
24-bit/96kHz

If you have Apple Keyboard with F10, F11, F12 keys mapped for volume control, there are useless if you select SPDIF output. However you can adjust the volume individually per application. The major problem here is that Preview application volume is based on master system volume.

The best work around  to fix master volume and keyboard shortcuts (F10, F11, F12) with SPDIF output is to route applications output through Soundflower than to SPDIF.

Let’s proceed next with.

Software settings:

If you have Apple computer, skip this step. If you have like me a Realtek HDA8xx based sound card use MultiBeast in order to install the proper driver.

IMPORTANT NOTE: Use the following advices on your own risk.
Always do appropriate back-up before any major software changes and make sure you know how to put everything back.

In System/Library/Extensions remove AppleHDA.kext and all kexts that reffer a HDA device. Also remove any voodoohda kexts. Make sure not to remove other kexts than audio driver related.

Run MultiBeast and install ALC8xxHDA driver.

 

Download Sound Flower from http://code.google.com/p/soundflower/downloads/list and install the package.

In System Preferences > Sound, setup default output device as Soundflower (2ch)

In Soundflower setting set the output as Built-in Digital output.

In Applications>Utilities>Audio Midi Setup, set the 24-bit integer/48000Hz sample rate  for Built-in Digital output (SPDIF) and 48000Hz for Soundflower

This way the sound routing should be like this:

Application > Soundflower > SPDIF output

Now the master volume and volume keyboard shortcuts should work fine.

Known issues: if mute or no sound for a long time, Soundflower enter in a kind of saving power mode, just click on any output and again on Digital Output and everything is working again. If you have a solution for this, please leave a comment with solution.

Wipe free space on Mac with CCleaner

The well known Piriform’s  PC Optimization software CCleaner it is now available on Mac for Leopard, Snow Leopard and Lion. It this post I will show You how to use “Wipe Free Space” feature of CCleaner.

But why should I wipe the free space on a hard disk?

When you create any sort of file in your system, what happens here is that there is actually a certain  hard drive space that is assigned to that file. That memory space is unique to that particular file. Now, when you delete that file, it would then be transferred to the Trash. When you empty your Trash, you then get rid of the file effectively, right? Wrong.

The hard drive space that was once assigned to the deleted file remains in existence. As long as this still exists,  can be virtually recovered by skilled technicians or hackers. This is one of the principles of data recovery software. So if You want that an information sent to Trash to be effectively removed forever, you need to use a wipe free space software.

wipe free space

wipe free space

CCleaner it is able currently to do 3 types of wiping: Zero Out, 7-pass erase and 35-pass erase. Any of those methods will generally make impossible recovery using commercial grade software recovery. The number of erasing passes it is relevant just for very sensitive data that could be hardware recovered by specialized laboratories in an controlled environment using direct plate reading even from defective hard drivers. But in this case it is better to use dedicated erasing software that include DoD and other sophisticated algorithms.

From http://www.piriform.com/ccleaner you can download CCleaner for Mac.

You can install like any usual application, with a simple drag to application folder.

In the tools tab You will find the Erase Free Space button as you can see in this screenshot.

wiped free space

wipe free space

You can choose the hard drive volume of which you want to wipe the free space. After that you simply press the Erase Free Space button. Depends on the size of the disk, could run for few minutes or for hours.

Speed up file tranfer between MAC OS X and Linux Samba Server

After scratching my head few weeks, tweaking a lot smb.conf on my linux box, I found a Finder workaround, based on turning off display of server in sidebar.

Symptom: Slow file transfer over the network, between a MAC OS X Lion machine and a Linux machine (archlinux, currnet version). Also slow transfer between MAC and a PC based file server. How slow, let say finder reports about 1 hour for a CD size .iso file.

How to do it:

  1. Open Finder Preferences
  2. On Sidebar tab, disable Connected Servers
  3. On General tab, check Connected Servers

As a result, the mounted volume will appear on the desktop instead of sidebar.

In my case, this Finder workaround helped me to increase the speed more than 20x.

Please let me know if this has improved the share browsing and the file transfer speed in your case.Thanks.