Tuesday, December 01, 2015

GarageBand for iOS (iPad and iPhone) Length of Recording Limit

Recently (and with about 6 hours notice) I was told I would be recording a concert that lasted from 2 to 3 hours in length.  I'd be given a line level output from the main mixer to tap into but it was up to me to supply the method of recording.

It had actually been several years since I needed to record something more than 30 minutes and more importantly away from my home equipment (I usually just record into my computer).

I have a stereo  line level input into an iOS device via my Blue Mikey microphone.    But what software would record for multiple hours?

I decided to test out GarageBand.  I found that it ran out of space after 320 bars.  Assuming the minimum tempo at 40bpm, 4 beats to a bar, that means 32 minutes maximum recording time.

I ended up using the free Spire Recording app for iPhones (works on the iPad but scales up, so when searching on the app it shows up as an iPhone only app).

Just a quick post in case you find yourself in this situation with a short amount of time to prepare.

Update:  Turns our Spire Recording is limited to one hour of recording, so that didn't solve my problem.

Thursday, July 30, 2015

A Few Months with the Apple Watch

As a registered developer I was able to get an Apple Watch on the first day it was available when most of my friends were still waiting for theirs to arrive. Now that I've had it a little over three months I felt I should write my thoughts about it.

I have the sport model and it came with the light blue band. I keep saying I'm going to replace the band with something nicer but haven't yet. It is quite a conversation starter as strangers still come up to me and ask if that's an Apple Watch or if I love it. I love it. There I said it. Is it worth $400? Only you can decide that. Unlike a phone or a computer it isn't a necessity. It's a nice to have but if I took it off I would really miss it.  

When I am sitting at a restaurant I no longer take my phone out of my pocket and set it on the table because if anything important comes in (message or email) my watch will let me know, I glance at it, and can decide if I need to reply (rarely) or just enjoy lunch.  

I use it on my bike rides to watch my time and milage. That's been a really nice addition to my workouts. I also use it to remote control my music while I'm riding on my bike (I have speakers on my bike, yes really, because headphones in traffic are dangerous) although the screen for the music controls is small enough when you are moving and sweating I often have to try a couple times before the skip button activates.  

It's comfortable. I was worried it might be too big for me but it really isn't. Have you seen how ginormous some of the other smart watches are? This one is fine. I love having the current temperature and weather info on the watch face. Whenever I check the time I also know the outside temperature. Living in Phoenix it's nice to know when it's over 110ยบ before you walk out the door for lunch.  

The analog faces are beautiful but the full text face displays more information more efficiently and that's more important to me than looks (I know and I'm and Apple user... go figure). I've answered calls with it when my phone was near enough for Bluetooth but not near enough to get to in time (say it's downstairs and I'm upstairs, yes I had it work that far away.) Obviously the speaker is tiny so you can have a fine phone conversation on it in a quiet environment but that's it. Outside with even mild wind or a small amount of traffic is enough to cause you to not hear the speaker.  

Siri is pretty good at letting me dictate text messages on it. There's no keyboard so aside from some canned responses (i.e. yes, no, I'm driving, etc. that you get to customize with the phone app) you have to dictate texts, which works better in quiet environments where you don't mind people hearing your asinine text messages.  

I scratched the face within two weeks of owning it. I know someone who works in a mechanics shop who wears their watch while they work (so they get phone calls and important messages) who has the sapphire faced model and he hans't scratched it yet so it does seem the sapphire makes a big difference.

Apps I tend to use: Alarms, stopwatch/timer, Workout, Music, Remote (for AppleTV), Shazam (which is slower on the watch), Weather, and Maps/Navigation. When you are using turn by turn directions on your iPhone your watch gently taps you three times when a turn is approaching and the watch will display what you need to do (turn left, right, etc) That alone is very cool because it's not as distracting as looking at the phone screen display. When I'm driving now with navigation I never look at my phone anymore.  

Oh and yes, the "taptic" feedback is pretty brilliant. You know how your phone vibrates and it's somewhat disconcerting? The taping is so gentle it feels pleasant. It's true if you are in an environment that's bumpy (jogging, riding a bike, etc) you might not feel a tap. But most of the time I feel it. And that's another nice thing. I often miss important text messages or even calls with my phone in my pocket without the watch but the watch is much better at subtly getting my attention. I rarely miss any important emails, message, or calls now. And I choose which email accounts notify me (only my most private one) so I don't get alerts from my accounts that get spam.  

Ok, that's enough for a blog post.

Friday, January 30, 2015

Storing and Backing up Large Amounts of Data for Photos and Videos

Recently a professional photographer and graphic designer friend of mine asked me about storage and backups of her projects.  Like most things there are a range of options from inexpensive to very expensive.  I try to cover them here.

The least expensive option

The first step most people take is to simply purchase an external hard drive (preferably USB 3.0) and plug it into their computer.  For projects they are currently working on they usually keep them on their internal storage and use the external drive to backup current work (using Time Machine on Mac OS X, File History on Windows 8, or Backup and Restore on versions of Windows prior to 8) and to archive off projects that they are no longer working on.  This would mean you have two copies of your important files.  One on your internal hard drive and backups on your external.  If one drive were to fail, you still have your files on the other drive.

All hard drives fail at some point, it’s just a matter of when

Now most hard drives will last a few years as a minimum (although I’ve had several fail in the first year while still under warranty) and I’ve had some last over ten years under nearly constant use.  However, they will all fail someday.  So in the previous paragraph I talked about using a single external drive to archive your old projects.  At some point you will probably need the space on your internal hard drive for new projects and after archiving your old ones to the external drive you will delete them from your internal hard drive.  But that means your project is now stored on only one hard drive which at some point will fail.

Now you might be thinking, “What about those backups I made?”  Well it’s true you can use the backups to restore files you’ve deleted from your internal hard drive later.  But there are a couple of caveats to this.  First, depending on how old your backups are (and how big your files are) there is a good chance your backup software has had to throw away older backups.  My computer warns me when this is happening and I usually have enough space to go back a year before it starts deleting old backups.  This means if you wanted to restore something from over a year ago you no longer have it, so that can be a problem.

Now, you might be thinking, “Ok, so what if I have a huge external drive (say 3TB) and a small internal hard drive (say 256GB) so I will never have old backups get deleted.”  Ok, fair enough although in our example we are talking about large photography projects so the chances are good you will fill up multiple 3TB drives as the years go on.  The problem goes back to “All hard drives fail at some point.”  You have two copies of your files (the ones from the automated backups and the ones you copied to archive them) but they are on the same hard drive just in different places on the file system of that hard drive.  You only have your files on a single hard drive, so when it fails, you lose both of your copies.

So if you are going with the most inexpensive route by simply buying an external USB hard drive, make sure when you start archiving your projects to it off of your internal drive, you buy a second one and also copy your archived files there.  Basically at a minimum make sure any file you may want to have at a later date is stored on two different hard drives at all times.  Either your internal one and your external one, or two different external ones.  That’s your minimum cost solution.

External hard drives of this type are usually around $120 to $200 depending on the size and if they support USB 3.0. Of course, USB 3.0 will become more of a common feature as this article gets older.  Interestingly external hard drives haven’t really fallen in price over the years but the capacity you can get for the same price has increased.

Note about hard drive shelf life
Hard drives (well, non-SSD ones) use magnetism on a spinning platter to store your data.  Bear with me I won’t get more technical than that.  Unfortunately magnets lose their magnetism over time.  There are no hard and fast rules but some people recommend checking your files or even copying to a new drive every 5 years.  What is a bit more concerning is some people who work on hard drive firmware have hinted that as the drive is used, in the background it will rewrite/refresh the data stored on the magnetic platter implying that if the drive is sitting on a shelf not powered on you do not get this benefit of have the data refreshed automatically.  I’ve actually contacted both Seagate and Western Digital and asked if this is true and what they feel the shelf life of their drives are and if simply powering them up for a while will activate this automated refresh action but neither company has responded.  If someone from a hard drive manufacturers is reading this blog, please feel free to let me know. 

Network Attached Storage or NAS


This is the next step up and is what businesses and professionals would use.  Network Attached Storage (NAS) is actually a small computer/server but designed specifically to host file storage and hold two or more hard drives and make them available on the network.  Note there are some NAS products that only house a single drive but that means they cannot even enable RAID protection (explained later) so if you are going to spend the money on a NAS make sure it supports at least two drives and RAID 1.

An example of a NAS device that holds two hard drives.

NAS drive arrays start around $300 and can go up to several thousand depending on how many drives they hold.  Also when shopping for a NAS device often they will be priced without hard drives, so make sure if you buy just the NAS you also plan to buy at least two hard drives.  If you purchase a NAS with four bays for example, you don’t have to fill all the bays.  A minimum of two will allow you to turn on RAID 1 and you can use the other bays to expand later.  

Remember that these connect through the network so you’ll need to think of where you have a wired network connection to plug them in.  Although if connecting to a single computer they usually offer USB and eSATA connection options.  

Example of a good NAS and price
In my opinion for a quality vs price, I think the Synology  DS415+ (with no drives) and Western Digital RED hard drives (RED is their most reliable model line made for businesses/enterprise) hits a sweet spot.  At $600 for the NAS which holds up to 4 drives and two 3TB Western Digital Reds at about $120 each you are talking $840 as well as two more bays to expand later.

When is a NAS more than a NAS?
Although not a consideration for me as I have a dedicated server in my home that handles things like file sharing, VPN, DHCP, and other server related tasks it’s worth mentioning that because a NAS is really just a small computer with a lot of hard drive space some venders include additional functionality.  Synology for example offers app downloads to enable all kinds of extra features on their NAS to provide other services.  For example it can be a firewall and router, a VPN server, a media server, web server, etc.  If you don’t have a server and this type of capability appeals to you check out the apps/features that the disk vendors offer.  To review Synology's app store you can go here: https://www.synology.com/en-us/dsm/app_packages  Drobo, another NAS manufacturer, offers their app selection here:  http://www.drobo.com/drobo-solutions/drobo-apps/ 

What is this RAID of which you speak?

Ok I could write a whole article about Redundant Array of Inexpensive Disks (RAID) but that’s been done:  http://en.wikipedia.org/wiki/RAID

The basics is it is a way of writing data across multiple hard drives so that if one hard drive dies there is duplicate data on the other drive(s) that makes sure no data is lost.  Of course you want to replace the failed hard drive ASAP so it can recopy the data before another hard drive fails.  

There are several RAID configurations.  Some are for redundancy (the point of this article) and some are for increasing the speed of getting and saving data (not really our goal here.)  The simplest RAID (that offers any data protection/redundancy) requires two hard drives.  It’s called RAID 1 and basically one drive mirrors the other one.  There is a downside though.  If you have two 3TB drives, you actually only have 3TB of available space.  Instead of adding the space giving you 6TB total it’s hides half of the space and in the background duplicates all the data across both drives.  As you add more drives you have more RAID configuration options but mostly you should assume you will lose half of your storage capacity to RAID.  RAID 5 offers a parity method of duplicating the data that only requires 1/3 (instead of 1/2) of the storage space to backup the data.  It requires at least three drives so with three 3TB drives you would have a total of 6TB of space available however it also requires occasionally rebuilding the array and if an error occurs during this rebuilding it can result in dataloss.  RAID 5 is generally being recommended against as hard drive capacity is increasing, the amount of time to rebuild is increasing, and the chance of errors during a rebuild are growing.  RAID 6 and RAID 10 are the most recommended/reliable options, however they require a minimum of four drives and are back to using half of your storage like RAID 1 does but they offer considerably more redundancy (for example, you could have two of four drives fail and still not lose any of your files.)

RAID is not the same as a backup

Don’t think if you buy a single RAID drive you’ve covered all your bases.  RAID arrays protect you from drive failure.   They do not protect you from user error.  

Have you ever made a change to a document and meant to click Save As… to create a new copy of that document but instead clicked Save which wrote over the previously saved version?  Or mistakenly thrown away a folder of old files thinking it was a different folder only to find later you no longer had some important document.  RAID won’t protect you from these kind of mistakes.  Backups can restore overwritten and deleted files, RAID cannot.  So simply getting a RAID isn’t the full answer to the problem.  

What about the cloud?

With increases in internet bandwidth the idea of saving your files outside of your computer or your own hard drives is becoming an option.  Initially too expensive to consider it is dropping in price rapidly and some cloud services off native apps for your computer that make cloud storage as easy as having another drive connected.  DropBox is one of these.  However they offer 1TB at $10 per month (or $120 per year) or 5TB at $750 per year.  Those prices are still high enough I’m not ready to consider using those services as a full time storage or backup option.  Also while we have relatively fast internet in most developed areas, retrieving and uploading/storing large files will still be much slowing than internal to your own computer or network and I have a monthly 250GB cap on my internet data usage, so backing up a 3TB drive to the cloud isn’t really an option for me through my current internet provider.  There is also the issue of security.  Once you put your files on someone else’s server you don’t have control over who might see them.  This won’t be the last cloud hack we hear of.

Summary

An external USB 3.0 drive is a great home/low cost solution.  If you want to protect your files and they are not stored anywhere else (like on your computer) you should get two drives and use one to back the other one up.

NAS is a more professional and expensive solution.  If you are editing and saving video or using it for any kind of professional work you probably want to go with a NAS solution that handles multiple hard drives in a RAID setup

Cloud is always an option but can be slow and get expensive depending on how much data you need to store.  You also might not be able to be 100% sure no one else can ever get to your files.

RAID is not a backup.  Even if you have an expensive NAS with lots of drives in a RAID configuration you aren’t protected against accidental events like deleting the wrong files.  Even with a NAS solution you should have a backup solution which means either the NAS is backing up files you have on your computer or if the NAS is the only place the files exist then even jst cheap USB 3.0 drives can be used to backup the files on the NAS.  Cost no object two NAS drives, one a primary and one that could be used to automatically backup your computer and your other NAS would be the most failsafe solution.  Rule of thumb: Make sure you always have two copies of every important file stored on different physical hard drives.