Search This Blog

Saturday, April 10, 2010

Setting up a PC based media file server at almost no cost

I am the proud owner of an Opus Olive media file server. A good friend gave it to me after realizing that he would be long dead before Olive got the bugs worked out. Basically it is a piece of overpriced garbage. My friend and I figured out how to create a system that outperforms this and many other file serving systems at a fraction of the cost. All you need is a computer that has a pcie slot, a $150 sound card and some cables that you probably have already. Of course,"Media Monkey" is a key part of this system because you need to organize and lay your files.

This post is only intended to get you excited about the possibility of dumping your CDs and implementing a digital file server. There are a lot of details to master. I will eventually share all of my secrets. The system that I propose was tested on a truly fine stereo. I am not going to bore you with how to rip all your CDs so you can listen to inferior noise. The file serving system will not be the "weak link" in your audio chain unless you have more than $50,000 invested in your stereo.

It will take me a while to document all that we have done. Please be patient.

More Media Monkey

I am using the "Media Monkey" to play my Live Performance LX piano too. I have a little SFF (small form factor) computer connected to the LX via the built in sound card. I have Media Monkey on the little computer with all my LX MP3 files in the library. I am using another great free program (free for non-commercial use) program to interface with this computer from any computer in my network (or even any computer in the world (isn't that fun,I can actually play my piano from France if I want to)) "Team Viewer" is used to set up a remote desktop control that is much easier to use than Microsoft's "remote desktop" or "remote assistance". I don't even need a monitor on the little computer as it boots to running "Team Viewer" which means that I just have to turn on the computer and walk away/ I can play the piano from anywhere as long as all computers have internet access.

I used to use an "Airport Express" connected to the LX but don't need it anymore. A big advantage is that the media files are on the directly connected computer. All streaming is direct to the piano, only the control is across the network. The result is perfect timing, no glitches whwn the network is overloaded.

The Best Media Player, Bar None

I have been playing with a media organizer/player that is so superior to everything else out there, I have to comment about it. This is the "Media Monkey". On the surface, it looks about equal to "Itunes" or "Winamp" but the surface is where the similarity ends. This is an amazing program. It has taken me about a week to learn how to exploit some of its capabilities and it is well worth the time spent. If you give it a fair chance, you will dump Itunes in a flash. "Out of the Box", it will do everything that Itunes does and better. Looking at details of customization including plugins and scripting capabilities will uncover something that could only be accomplished in an open source environment.

Media Monkey is primarily intended to just catalog and play common audio files such as MP3, FLAC and WAV but there is a plugin for MIDI as well. All the features of Itunes such as tagging from web databases is included. There is even the ability to play internet radio, manage podcasts etc. What makes it so different is the ability to customize virtually every aspect of the program and also to install plugins and scripts contributed by others. One of these scripts allows you to add meta data from text files. If you can create a text file for each of your multimedia files, you can import the tags to Media Monkey. So???? This is incredibly powerful. I have written a script that creates these required text files from a tabbed delimited text file. You can therefore do all your editing in a text editor or in excel and dump the tags to your media library. You don't have to edit the tags one at a time. If you already have the data in a file or database, you can easily convert it to the simple tabbed text format and save countless hours of editing.

I have created a file for all of my E-Rolls and emulation files so any of my customers ( now use Media Monkey to organize and play their files. Media Monkey has no problem slurping tags from MP3 files but we who use MIDI have been left in the dark until now.

I have also been using Media Monkey as the force behind a very inexpensive media file storage and playing system that can be assembled for very little money and that can produce excellent audio. It has been tested on a fine stereo system, the like of which I will never personally own. I will be posting some details about this system in the near future.

Wednesday, April 7, 2010

A Surge protector that works!!!

I returned home to find that a fire had damaged my workshop while I was away. A power surge of over 1000 volts was caused by a falling 60kv transmission line. This happens all the time where I live because PG & E has constructed one of the worst transmission and distribution systems of anywhere in the US. I used to loose from $200 to $10,000 worth of line connected equipment every winter, until I discovered a surge protector that actually works.
Virtually all surge protectors that are affordable to consumers, who are not wealthy, contain metal oxide varistors (MOVs) as their primary protective device. MOVs are very useful but they are far from perfect for protection against surges. They absorb energy in a surge by converting it to heat. When the voltage across which they are connected, rises above a certain design level, they become less resistive and act like a clamp. The more MOVs and the higher the rating (in joules of energy) the greater the protection. The intensity and duration of the surge determine whether or not the protection will be adequate. MOVs are great for short duration spikes even at very high voltages. They act quickly and offer for many common scenarios. They are not good for protection against a long duration high voltage. They are simply destroyed and so is the connected load. There are other problems with MOVs of which most people are unaware.
MOVs are damaged by “stress”. Their ability to absorb energy continually decreases as they are subjected to high voltages, over time. There is no way to determine the remaining capacity other than by destructive testing. Visual appearance will indicate a MOV that is destroyed and there are measurements that can be made to indicate if they are “functioning” but there is no way to know what capacity remains. Therefore the only way to assure protection is to replace them regularly. This can get expensive. Another little known fact is that MOVs can fail in a shorted condition. If they are connected again to the line, they can flare, creating a hot plasma that can start fires. If you have a power surge that trips the breaker or results in a power outage, you can have a fire once the power is restored. Better surge protectors have fuses or circuit breakers upstream of the MOVs to prevent a damaged MOV from being connected to the line. Many do not including the one that started a fire on my desk on year.
There is only one line of protectors of which I am aware, that works in a different and preferable way. Most people do not have the severe surges that I get, which are technically called “faults” because they are of long duration. However, the cost of these protectors is only slightly higher than the competition and their clever design also protects the MOVs in such a way that they are likely to last longer than those in other devices. Here is the secret:
Panamax makes a variety of surge protectors. Many of them are of the conventional design but one series has a feature called “protect or disconnect”. If you see this phrase on the package or the datasheet, this device is what I will describe. If it is not specifically stated, it is not likely to have this feature. The model M4-EX is one example of such a device. There are many other but even more that do not have this critical feature.
Protect of disconnect, works by sensing the line voltage and disconnecting the load from the line if voltage either too high or too low. Voltage level and time constants are built into the device are well chosen. The device rarely triggers falsely. The load is connected through an electromechanical relay which acts as a “deadman” switch. If there is any problem with the protective circuitry, the most likely result will be the disconnection of the load. Because the device also reacts to low voltage conditions, it protects against brownout caused damage as well.
The Panamax “protect or disconnect” surge protectors have several MOVs, but the majority are connected to the load side of the disconnect relay. This means that they are protected against surges as well and are less likely to suffer from stress induced capacity reduction.
It is amazing that Panamax makes these excellent devices are affordable prices. Most surge protectors offer little protection. They often include an insurance policy and you may actually collect but if you want your valuable equipment truly protected it is better to buy a quality device instead.
There is one scenario that the Panamax will not protect against. In five years, I have had only one failure to protect a device connected to a Panamax protector. This was due to a faulty design of the device, not the Panamax. A distribution line had become partially disconnected at a cross arm, creating what is called a “floater”. The line voltage continued to swing from low to high over a sustained period. I was sleeping and every time the power went on or off, I assumed it would be the last. I should have gotten up and shut off the main but I was unclear as to what was happening. The device that failed was a new refrigerator. The designer of this expensive piece of crap (Amana, but this is made by Maytag along with other brands such as Jenn Aire) did not bother to include a start delay in the design. This is a serious oversight. A start delay is a time delay relay that prevents the compressor from “short cycling” so that it does not start under a loaded condition. This was common practice in all refrigeration units until recently. New refrigerators do not use mechanical thermostats and defrost timers. They use microcontrollers and temperature sensors. This is done primarily to reduce cost. A circuit board that is the functional equivalent of two thermostats and a defrost cycle timer costs considerably less to manufacture and install. When these cheap boards fail (due to a power surge, for example) they are not cheap to replace. The manufactures sell them at highly inflated prices. The disturbing fact is that a start delay would cost nothing to add to such a control board. It would require a minor modification to the program residing in the microcontroller chip. I cannot imagine how a competent engineer could leave out such an important design factor. My guess is that the manufacturer prefers failures that can be blamed on power quality. They do not have to cover such damage under their warrantees and can sell expensive replacement parts. My refrigerator was replaced under warrantee but the appliance dealer probably had to call it a compressor failure and not mention power problems. Once I got the refrigerator home, the first thing I did was to install a start delay relay which cost me about $25.