RANT: Why do all Security DVR's have junk user interfaces?

I have been though 10 different Security DVR's in the past 5 years and there is a underlying theme for all of them.   Their user interface is horrible, both on the machine and on the web interface (if one exists)  From the $5500 top of the line units to the low end Zmoto $89.00 units they all have an interface that was designed by someone that was blind and has no education in programming or User Interface design.

There is a huge hole in the security DVR market for a company that can hire competent software programmers that can make a stable, fast, and easy to use Security DVR.    And lastly,  please HIRE employees that can translate from your country's native language to English and give them power over the programmers.  Having options such as  "Enable the Disable function?"  With the options of ON or NO  can not make any sense in even your native language.



Advanced Audio podcasting: Episode 1 - Buckets of money.

There is another level you can go for an audio podcasting studio.  One that takes advantage of used but High end DSP gear, this is not going to be speculation,  this is actually how I am building my own podcasting studio.  I dont have a lot of cash to just dump into a hobby.  And be honest, unless you are Leo Laporte or one of the guys that started podcasting early on and have a lot of sponsors throwing buckets of cash at you, this is a hobby to you.  There is nothing at all wrong with it being a hobby, it means you have a passion for it that makes every day you spend on it fun and enjoyable.

My design is based on what I have seen at modern radio stations, but leveraging modern teleconference technology.  I have been programming audio DSP devices for a few years and I really am impressed with the power these boxes have. These devices allow a corporate boardroom to sound like a professionally produced radio show without any effort at all on the users part.   Companies like BiAmp and BSS have incredibly powerful devices that after programming can do a lot of tasks automatically.  But coupling a Crestron control processor to the system allows even more automation and control.  If you were to buy everything brand new, you are looking at a $30,000+ studio.  But I am shunning anything new expect cables.  Everything I am using is considered to be "horribly out of date" as far as the industry is concerned, but it is still viable, useable, and absolutely perfect for the task I have for it.

What follows is going to be very high level.  You need to understand audio to replicate this.  you also need to be a crestron programmer to do the crestron control side.   you dont HAVE to use crestron,  it's what I know and bought the gear for next to nothing.  I am available to program and/or help but at a price that most will freak out at.


The DSP I chose was based mostly on price and then capabilities    ClearOne makes low end DSP devices and lose their value rapidly.  I choose the ClearOne XAP800 because it is absolutely dirt cheap now on the used market.  I paid $95.00 total with shipping for a unit that looked good and had no problems with it, these units went for $4,000 when they were new.  The software is still available online at the ClearOne website, you have to look for it and grab the latest, you might want to upgrade the firmware as well.  this has 12 inputs and 12 outputs.  These are MONO inputs, so stereo audio takes up two channels, the only thing you need as stereo out is the Recording output.  Everything else wire as mono.  Your mics are mono, Skype is mono, dont waste inputs or outputs with stereo.  I use the first 4 inputs and outputs for the skype computers (Yes computers, more on that later) then the next 4 for studio microphones (the 4 outputs for a set of headphones for each mic), 1 for an audio cue input, 1 spare, and then the last two for a stereo input from a digital "cart machine".   The last 4 outputs Two are studio monitor out and two are record out.  This is my setup, you might need a different configuration.  I want to have the ability to have 3 guests in studio each with their own mic and headphones.   I have a separate headphone out to allow each person to adjust their own level and feedback level.   It's important for people that are not used to recording or broadcasting to hear themselves, so you can send their own voice back into their headphones at a higher level than you are recording to make them more comfortable.

Lastly the 4 computer inputs and outputs,  Yes you can have all your guests and hosts on one skype call, and this works great.  Most podcasts are set up this way and sound great.  But it limits your ability to mute a caller that may have a problem, like one guest I had suddenly had a lot of HUM in his mic when he was not talking, if I was able to mute that single person easily the whole podcast would have sounded better. so I have 4 skype computers and call each guest and host separately  now their audio is separate and I can adjust it myself and control it.  being able to mute each guest easily is a benefit.  the DSP lets me mute them to the record input and the other guests while I can still hear them in my headphones.  Cant do that with a desktop mixer and a single Skype computer.  Now I choose to mixdown and record directly.  If I wanted to spend more time editing,  I would configure the DSP to output the audio of each guest and host to a separate output and record with a multi track audio recorder.  This lets you spend days cleaning up each persons audio to make them all sound as of they were in a $20,000,000 studio with you.  I do not have the time to mess with my DAW (Digital Audio Workstation)  for each episode, plus I can't afford an 8 channel digital recording setup.

Now I mentioned a stereo input for a Cart machine.  I personally wont use this until I find a real use.  I really hate the "morning zoo" format of podcast that is full of audio drops and sound effects.  I find it distracting and is usually there to hide the fact that the recording is chopped up all over the place.  I do see the need to playback to the podcast and the live hosts and guests a recording from earlier such as an interview with a guest that was unable to make the recording time and day.   This is my use for the input.  and I left it stereo just in case and I had spare inputs to use.  you could play your intro and extro live during recording this way, although it will add noise.  Every time you run audio through analog equipment you add noise. fire up the DAW and add the intro and extro, that only takes a few minutes and will give you a very clean sound.

You can stop here right now and use the ClearOne software to control everything,  I have personally discovered that there are two things that happen right away compared to using my Mackie mixer.  First the noise floor overall has dropped to -80.  I have no background noise at all being generated from the system, this is fantastic compared to the -50db of hiss that every mackie mixer I have ever owned has added to audio.  Second  the Noise reduction system built into the clear one as well as the Limiter built in really makes things easier to deal with.   I cant not clip audio from my side if I yell, laugh, etc..  Yes Skype has this built in, but only if you enable their AGC and this introduces a lot of added noise into the recording.  Skype will ramp up the AGC slowly until you get a LOT of background noise being pumped into the audio.   The one drawback is that in my headphones, I have a 15-30ms delay in the audio from what I say to what I hear in the headphones, so you hear a reverb from your own voice if you listen to the record output.   The reverb is not recorded, it's just an audio effect in your head as the sound from your mouth hit's your ears before the same sound comes out of the headphones.  This is really not a problem, it's just an annoyance.  if you use the headphone out you can reduce your own voice feedback to limit this.

My next step is to make this easy to control.  For someone else to do this on their own will be difficult as it requires that you have knowledge of the hardware and access to the programming software.   Crestron software is only available to Dealers and CAIPS,  No I cant give you a copy.   There are other options for control other than Crestron.  I start with a used and dirt cheap CNMSX-PRO processor.   I don't need the pro, I can use pretty much any of the old SX line processors (Or 2 series, but those are far more expensive) but I was given 3 of these SX-PRO processors for free along with a VT-3500 touchscreen and several CT-1000 panels.  You don't need to use what I am using, there are other panels that are cheaper smaller, etc.   I also have a Telephone interface board in my Processor so I can create "cue tones"  such as a timer that goes off every 15 minutes that plays a beep in my headphones only to remind me to do a "station id" in the podcast as well as a end of podcast notification at 55 minutes.  as well as timers counting down on the screen of my tocuhpanel.  I can even set off a blinking red light if I wanted to from the relays on the processor.   The point of the Crestron is to make the system "brain dead easy" to use as well as give some features that you would have at a radio station. My goal is a setup  that anyone can sit in my chair and record a podcast without any training at all.   The Crestron also will allow me to "reset" the DSP to default settings at the push of a button the advantage is that if I had to adjust things drastically for a show where I had a very quiet talker in studio and a loud one on skype,  a single button press brings everything back to a normal state without having to remember that I adjusted things 2 weeks ago.   Having a touchscreen for any guest in studio to adjust their headphone volume or even mute their mic for a "cough" is a good idea.  Don't send them cue tones as it will confuse them.

Recording or more specifically backup recording is accomplished by a used TEAC CD recorder.  I actually have 3 recording devices running on every show.  I stopped recording on the PC due to software being less reliable.  So I record to a digital recorder, a DAT recorder and a CD recorder.  All except for the digital recorder were bought used off of ebay or craigslist.  The 8 track DAT recorder I have is actually from a friend that cost me a 6 pack of  craft beer.  Having lost an incredibly good podcast with a guest that is well known, I had to make sure I can't lose a recording ever again.  I may have went overboard with redundancy, but it's worth it to my peace of mind.   The CD and the digital recorder record in stereo.  I keep all CD's I record as archival and they are cheap. Audio CDR's are $0.15 each.

Lastly on the hardware short of your microphones,  The Skype PC's.  you don't need a lot, Skype wants a single core 1ghz processor and 2gb of ram.  You can get mini fanless pc's (fanless for less noise) for less than $200 each from newegg that are dual core and 1.8ghz.  add some ram and the smallest SSD disk you can find. all you need in these are the OS and Skype.   Going linux as the OS is a benefit as you dont have to pay for Windows.  IF you set up each skype PC right you can then leave them without monitors and connect in over the network remotely to manage and start the calls.

Next we will talk about interconnection and setup as well as where do you put all this stuff....

Intermediate Audio Podcasting setup with a way to avoid the disaster of losing a recording.

Last night everything came together and we recorded a fantastic episode of the DIY show for the AVNation pod-casting network.   And I'd love to share it with you,   but the "recording"  ate it's self as the imac I was recording on  decided to have it's hard drive eat it's self. right after recording was finished.  All that work, all the awesome conversation  with our great host, Matt Richardson was lost.

Could it have been avoided?   Actually Yes,   by wiring my mixer differently and using it to send to a separate record device.  The computer hard drive crash would have still lost the raw recording on the computer, but the backup on the second recorder would have saved the show and all of that incredible interview would have been out there for everyone to enjoy.

Right now I am using the mixer simply as a way to get professional microphones into the mac for use with skype.   I have a set of headphones I plug into the output and use Audio Hijack Pro to record the skype conversation.    This works well and is very simple when you do not have any failures.  so we need to add some wiring to allow the mixer to give us a way to send all the audio to an external recording system.   I have a Mackie 1202 mixer as seen in the photo.  I have 2 studio microphones plugged into input 1 and 2.  The 1202 has what is called "AUX send" channels,  it in fact has 4 of them, but we only need 2. So your mixer needs to have the ability to send or mix audio to a separate AUX bus.  Instead of sending the master out to the skype PC, I will instead send AUX1&2 send to the skype PC.   Then we run the audio out from the Skype PC to one of the stereo Line inputs.  Now here is where it get's tricky.  Each channel on the mixer has two knobs to control the level sent to each Aux Send.   all channels except for 1 and 2 need to be turned all the way down.  that way we do not get the audio from the computer being fed back into the computer causing an audio loop.    The only channels that are to be set to to to the AUX1 and AUX2 send bus  are the microphones for Skype to use.

Now use the mixer for the main bus to send your Stereo channel from the PC to the main mix, and send your audio from your microphones to the main mix as well.   Adjust the main mix volumes so that it sounds balanced and you are not louder than the skype audio. Now plug your headphones into the mixers headphone monitor out. This also gives you an advantage,  you now have your own voice in your headphones as an audio feedback and you will not have the tendency to talk louder like most people do when they can not hear themselves.  The other advantage this setup delivers is that you can now add a second or more microphones to the mixer and have guests in your local studio.  simply plug in a Y splitter to the headphone out and share audio with the local guests.  

Last we need to take the record out of the mixer and connect it to another computer to do our backup recording, or other recorder.  I am actually going to do two.  First the mixer output will go into an audio DA and then into a Digital audio recorder, and then into a CD recorder.  a CD can hold 80 minutes of audio so that delivers a 20 minute buffer around a 60 minute podcast.    These CD recorders are dirt cheap now and can be found for around $100-$200 dollars.  It's nice to have a 3rd backup just in case everything goes completely sideways.

This is not the simplest setup, but it delivers you more features and some redundancy to your recordings so that you will not lose all your time and effort to a technical failure.  And honestly it is how you really should be running. I am still sick to my stomach that a technical failure lost a great recording and wasted the time of the guest and co hosts.

Skype on debian wheezy 64bit

A quickie... If you want skype, you will notice the skype guys are slackers and dont have a Debian Wheezy release.

Download the one for Ubuntu and do the following....

sudo dpkg -i  skype*.deb

this will fail, but it will set up the following to work...

sudo apt-get -f install

it will force install it and everything it needs,  all seems to work well.  I do hate that it seems that you have to force install most things on debian,  that feels very broken to me..


Compiling Android at home for fun and profit..

These are basically my personal notes for doing this, I am sharing them so that others can hopefully get started faster than I did.  the information out on the internet is not complete and it's scattered around with bits of outdated guides for 2 year old distros.   Good luck.


Note: you need a 64 bit install of debian.  And you need 16gb of ram/swap to even think of compiling this as well as 60gb free storage space.  Android is a monster, an unwieldy scary monster.

Okay, so first you're gonna need to grab the SDK from the developer's site. If you don't have it, here's the link to the developer's site that contains the SDK: http://developer.android.com/sdk/index.html Download the one for Linux  under "download for other platforms....  it's at the bottom as a tgz.  You can get the bundle if you want to also set up an application development environment.  I am not covering that aspect in this post.

Install real Java...  JRE6 is what I am using...

http://ddmytrenko.blogspot.com/2012/02/installing-sun-java-6-jdk-on-debian.html  This was the only way I was able to get real java installed under Wheezy.


Extract the android SDK and then mv android-sdk-linux  ~/androidsdk

cd ~/androidsdk/tools
./android

I check on SDK tools, SDK platform tools, Android 4.0.3 and Android 4.0..  It's what I am using for my project... you can install all that you want.

Now click on the "install packages" at the bottom, accept the license, and then install.  This is going to take a very long time unless you have the InternetII available to you.  While that is downloading, we can set up our environments...



#AndroidDev PATH
export PATH=${PATH}:~/androidsdk/tools
export PATH=${PATH}:~/androidsdk/platform-tools

 add the above to you ~/.bashrc file.

vi /etc/udev/rules.d/51-android.rules

Code:



SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", MODE="0666"
SUBSYSTEM==”usb”, ATTRS{idVendor}==”18d1″, SYMLINK+=”android_adb”, MODE=”0666″
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"


chmod a+r /etc/udev/rules.d/51-android.rules

Now we need to set things up for compiling.....   The one step that all online guides miss...


dpkg --add-architecture i386
apt-get update

This is highly important as you will never get everything installed without it.  Now we can install the tools we need....



Code:
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils
Note:  http://source.android.com/source/initalizing.html  for more details from Google on this process..



http://forum.xda-developers.com/showthread.php?t=1162858 Is where I got much of my information,  but some is a little out of date, for example installing Java is completely wrong now.  you MUST have real sun java to compile android.

Build a multi head skype system for podcasting on a budget

Ever wonder how the really big podcasts get 5 or more people in on a skype call?  they build what Leo Laporte calls a "SkypeZilla".   It's just several computers that are all used at once to make multiple skype calls,   but routing audio can be an issue.     You need the output of all skype computers going to the input of all other skype computers but not it's own.   This requires a matrix mixer.


Audio Routing
You send all the inputs from all the skype machines and the host microphone audio into the matrix mixer.  Inside the matrix, you send the audio from everything except the same machine back out to each machine.   For example we have Skype1, Skype2, Skype3,and Host   you send audio from Skype2, Skype3, and Host to Skype 1.   Then you send Skype1, Skype3,and Host to Skype2.   and so on.   you have a final 5th output that is ALL inputs mixed for recording.  

How do you do this?  well some people actually use a mess of DA's and mixers.  I have seen for a 4 head setup, 4 DA's and 4 mixer nightmare, or a giant 40 in 8 out mixer used along with a lot of money spent to get the audio just right.   But you dont have to do that.   In the past 15-20 years we have had rack DSP's that can do all this and more.   Biamp Nexia, Audia and others give you full mixer capabilities PLUS a ton of other advantages like compressors, filters and EQ capabilities.  But are expensive,  They start at $600 on the used market for a 4 in 8 out (good for a 3 skype zilla and one host.) and on up.  It's still cheaper than a 4 mixer or large mixer setup.   But you have other options.   A company called "lectrasonics"  made a matrix mixer called the MM8  this is a 8 in 12 out.  You can find these for under $125.00 on ebay and will do what you need for mixing the audio.

You do lose the advantages of the far more advanced biamp devices, but if you are very low on cash,  they are far more affordable.

This works great for the audio, but what if you want to have video as well?  the easiest thing to do is to get VGA to composite converters (they used to be sold as VGA to TV adapters)  convert each to NTSC composite video and set skype to fullscreen.  take that composite video and run it into a low cost NTSC video mixer.   You can go the expensive route and get a new Tricaster for a couple of grand,  or on a budget get a used Videonics MX1 4 in 1 out video mixer for around $300 on ebay.  the output of this goes to a video capture card along with your audio from your audio matrix to the computer recording the podcast.   You also need to add a NTSC camera for yourself, any old camcorder will work perfectly for this.

For under $1000 in gear, buying used audio and video equipment as well as used computers you can set yourself up to have what the top podcasts have in equipment.   

Convert PDF ebooks to EPUB successfully.

Converting a PDF ebook into an epub that takes up less space and is more convertible to other formats can be a nightmare.  Most PDF ebooks are poorly designed and not really for reading on an ebook reader, so the conversion process will be messy.  You need to be able to edit the epub easily to fix the problems...  And I found the combination.

First start with downloading Calibre. http://calibre-ebook.com/   This is the best ebook converter out there.   Get the latest version and set it up.   This works on MAC Linux and Windows.   Next we need to install an epub editor.   Sigil http://code.google.com/p/sigil/ is the best choice here as it's more WYSIWYG and makes it manageable to fix the mess that some "clever" PDF document builder created.

Now convert the PDF in Calibre to an epub.  Default settings.   Open that created epub in Sigil and now start fixing each file.   removing page numbers and other irrelevant things.  Make sure the TOP of each file has a proper "chapter name"  and when you are done cleaning everything up,  generate a new Table of contents.

All done.   I fixed a 10 chapter ebook today in less than 15 minutes.  Now I can convert it into a format that will look great on a Kindle.

A very cool MSP430 project to extend the GoPro camera

http://benlo.com/msp430/GoProController.html - I love how his code is actually readable, and how the whole thing really shows off the low power standby of the MSP430 chips.