Posts tagged iTunes
MacFixIt Answers
Readers ask questions about how to automate keystroke sequences in OS X, and other topics. MacFixIt Answers is a feature in which I answer Mac-related questions e-mailed in by our readers. This week, readers wrote in with questions on the possibility of false positive results from Apple’s Hardware Test suite, how to locate lost files in iTuneslibraries, and how to script a Mac to enter repeated keyboard button presses. I welcome views from readers, so if you have any suggestions or alternative approaches to these problems, please post them in the comments!
Question: False positives with Apple’s Hardware Test suite
MacFixIt reader Javier asks:
Is it possible to get errors on these HW tests? I am getting a logic board error, but I have the feeling it is not the logic board that is wrong with my Mac Mini…
Answer:
The hardware tests as mentioned in this article may detect a number of problems, which can be on the logic board or another component of the system. Many of the tests performed just check the status of various sensors in the system, so while an error likely indicates a problem with the hardware, if a sensor itself is faulty it could indeed give a false positive result. Unfortunately, there’s no easy way to check this.
Even in cases where a system appears to be running well, if the Apple Hardware Test is showing a problem, be sure to maintain a full and restorable backup of your computer (Apple’s Time Machine should work great for this) in case a problem becomes evident.
Question: Inability to locate downloaded music from iTunes
MacFixIt reader Vince asks:
I have a program called TuneUp which is supposed to clean up songs, remove duplicates and other things. I also have a number of old iTunes Libraries. While purchases show up in my collection, when I go to play them they’re missing. What’s really weird is that I can find them in the downloaded page and play them from there. I’m starting to freak out because I basically don’t know what’s going on.
Answer:
Try going to the Advanced section of the iTunes preferences and see what the path is for “iTunes Media folder location.” This should be the place where iTunes is storing your downloaded music, and may not be a standard default location. Go to this folder in the Finder to see if you can locate the files in there. You can also try locating the files by searching for them with Spotlight, and if they show up then hold the Command key when you click to open them in the Spotlight search, and the system should reveal them in a Finder window for you. This will help you determine where the songs are.
Question: Automating keystroke sequences in OS X
MacFixIt reader Brian asks:
I’m trying to figure out how I can record and repeat key strokes. Most recently I have needed to repeat the following 2,800 times for a data entry project: “Right arrow, delete, delete, left arrow, left arrow, left arrow, left arrow, delete, (enter single digit), down arrow … repeat”
I would do this in batches of 100 where the single digit would be the same and would love to create a simple, modifiable script. I have tried Automator, Terminal, and a few third-party apps but wasn’t able to get it to work.
Answer:
You might find the best option is to use AppleScript, which supports the commands “key code” and “keystroke” to invoke keyboard button presses. The key code option uses the AppleScript key code assignments (you can see them listed here) and the keystroke option uses the key’s character.
To implement this, open the AppleScript Editor utility (in the Applications/Utilities folder) and use the following to sequence the key presses and have them be repeated:
tell application ”Finder” to activate
repeat 2 times
tell application ”System Events” to key code 124
tell application ”System Events” to key code 51
tell application ”System Events” to key code 51
tell application ”System Events” to key code 123
tell application ”System Events” to key code 123
tell application ”System Events” to key code 123
tell application ”System Events” to key code 123
tell application ”System Events” to key code 51
tell application ”System Events” to keystroke ”a” using shift down
tell application ”System Events” to key code 125
end repeat
Note that this is a relatively crude approach and I’m sure there are other more efficient and thorough approaches, but it should work. You can refine it to target a specific document or otherwise run some checks to make sure the key presses are done in the desired application.
The above script will activate the Finder and then run the key press sequence two times in the Finder. For the “digit” it enters the letter “a” as uppercase (with the Shift key down — this modifier option can be changed to whatever you would like, or be removed).
The script can be saved as a script file that opens and runs in the editor, or as an application that can be run independently and launched as part of another script (such as a shell script). You can also implement this in Automator by using the Run AppleScript action.
How to improve sound quality in iTunes
With a few preferences and equalizer changes, you can greatly enhance the sound of your iTunes library. While there are a number of media players and audio programs that can be used to play music through your Mac, iTunes being a library and content manager as well as a player that comes preinstalled on Mac systems makes it the most popular option out there. The program offers simple controls for sorting through music, generating playlists, and playing your music, but in addition there are some settings that can be used to greatly improve sound quality during playback.
The first of these is the Sound Enhancer setting in the iTunes preferences, which is activated by going to the Playback section of the iTunes preferences and checking the “Sound Enhancer” check box.
This mysterious feature enhances music quality by not only adjusting the treble and bass of the output, but also blending various phase components of the audio across channels and mixing them in stereo to give it more depth. The level of this effect can be adjusted with the slider next to the check box that enables it. I recommend adjusting this setting by playing a song or two without it, then enabling this feature and setting the slider at the extremes of its range to hear the difference, and finally by finding the midrange level that works best for you. The effect will be different for different songs and encodings, so selecting an extremely high setting may, for some songs, result in odd and sometimes unpleasant sounding music.
The next component is the iTunes equalizer, which allows you to adjust the relative power of the frequency ranges in the signal to enhance different aspects of what’s being played. Proper equalization of a signal is an art form in its own right, but for starters the following is a decent guideline to use:
- 32Hz: Mainly the power of bangs, thumps, and kicks (i.e., bass drum beats).
- 64Hz: Deep throbbing or rumbling bass signals (i.e., kettle drums or gongs), primarily audible on high-end speakers or those with subwoofers.
- 125Hz: The low-end of most bass instruments
- 250Hz: The beginning of most musical instruments’ low-end ranges, including guitar, cello, and piano.
- 500Hz: Deep vocals (i.e., Barry White) and bass instruments.
- 1KHz: Most musical instruments and vocals will be greatly affected starting in this range and going higher.
- 2KHz: Most standard vocals are affected by this range
- 4KHz: The sweet spot for melodic components of music (wailing guitar solos and fancy piano runs, etc.)
- 8KHz: High or sharp crashes and bangs such as cymbals and things that screech will be affected most in this range.
- 16KHz: The “fidelity” range, where adjustments can affect the overall “clarity” of sounds but too much may bring out white noise (high hiss sounds) in the signal.
The iTunes equalizer preamp setting can dial back saturation that develops from boosting certain frequencies. Keep in mind you can also lower frequency levels instead of just accentuating them.
Equalizer settings depend on both the song being played and the speaker system being used, but a commonly recommended equalizer setting is to enhance around a peak of 125Hz to 250Hz and then also at around a peak of 8KHz, slightly dropping the values surrounding these peaks. Apple includes a number of equalizer presets in the equalizer’s menu that you can use as starting points for various genres of music.
Part of the equalizer is the preamp slider, which adjusts the overall gain through the equalizer. By increasing the power in each frequency channel you risk saturating the signal, which pushes it to the edge of its dynamic range, thus clipping it and resulting in static and other harsh sounds. The preamp allows you to equally dial back the power through all frequencies, maintaining the current equalization balance but rolling off any saturation that results from it.
If attended to with care, these two settings in iTunes can be more than enough to greatly enhance the quality of your entire music library, but there may be instances where specific songs or albums might need very unique equalization settings. In these cases you can create a custom equalization setup, then save it using the equalizer’s preset menu. Then select the songs you wish to apply the preset to and get information on them by pressing Command-I. In the information window, click the Options tab and choose your new preset from the “Equalizer Preset” menu. You can also adjust the song’s volume as well, since some albums or tracks may have been recorded at quite significantly lower volumes than others.
Unfortunately the sound enhancer does not have a per-song assignment option, so if you find songs that this does not work for, then you will have to turn it off in the iTunes preferences.
The iTunes Cross Fade and Sound Check options will not necessarily enhance quality, but can add a new dynamic to your music playback.In addition to these equalization options, iTunes supports several other options to enhance your music playback. The first is a cross-fade feature that will blend the last few seconds of a song into the first few of the next song, similar to what is commonly done in radio broadcasts. This will give your library a more continuous feel, but will also cut out some dramatic (and subjectively significant) beginnings and endings to songs so it may not be the most desired option.
A second feature is Apple’s Sound Check, which will scan your entire library and adjust individual song volumes so they match. While convenient in some cases, this can adversely affect many albums that include tracks that are meant to be relatively silent. It will also interfere with albums that are built for the tracks to be played seamlessly, where as one track leads into another you may hear a sudden volume jump as iTunes adjusts it.
The options discussed so far deal with the music as-is in your library. However, those who started accumulating digital music years ago may have a number of poorly encoded tracks in their libraries. When people first began collecting music on computers, the standard format was MP3 encoded at 128Kbps, which saved space at between 3MB to 5MB per music file, but it did cut down on quality (especially the highs and lows). These days the use of 256Kbps AAC and other formats offers a higher quality option, but while you can get around this by purchasing new copies of these songs, this may not be feasible or worth it. To fill this gap, Apple offers its iTunes Match service which will look up a song in its iTunes Store and if available will play the higher quality version instead of the one on your computer. This service does cost $25 per year and does require an Internet connection, but allows you to have higher quality music on all of your iCloud-enabled devices.
A last detail to mention with regard to audio quality is that the media player and audio files are only half of the equation. The second aspect is the audio system itself. If you have a cheap set of speakers or headphones, then you will only get so far by adjusting audio settings in iTunes. If you are interested in getting the most out of your music then you might consider an upgrade to your audio hardware. However, this quality argument also goes both way: if you have a fancy audio system but do not properly equalize it and use poor quality audio files, then you are not taking advantage of its capabilities.
Apple’s iTunes 11 could debut tomorrow, report says
The next generation of Apple’s popular music software could arrive Thursday, according to a Wall Street Journal report. After a month-long delay, the next generation of Apple’s popular iTunes music software could launch as early as tomorrow. iTunes 11 could make its long-awaited debut Thursday, The Wall Street Journal reported this evening in a profile of Apple Senior Vice President Eddy Cue. While not exactly offered as the definitive release date, Thursday is the second to last day before Apple’s self-imposed deadline for releasing the new software.
Originally slated for release in October, the program was delayed, a company spokesman told earlier, because Apple “wanted to take a little extra time to get it right.” ”We look forward to releasing this new version of iTunes with its dramatically simpler and cleaner interface, and seamless integration with iCloudbefore the end of November,” Apple spokesman Tom Neumayr told at the end of October.
Apple’s last major iteration of iTunes, version 10, was released in September 2010. Since then Apple has added additional features like iTunes Match, iTunes in the cloud, and 1080p videos from the iTunes Store. The new iTunes is expected to come with an entirely revamped user interface, Facebook and Twitter integration, and deeper iCloud support. It will also remove the failed music-focused social network Ping.
Apple turns iTunes up to 11
Apple’s next major version of iTunes is due out soon, but not with the feature that can help fend off competitors. Twelve years ago Apple was lagging. Consumers with PCs were ripping music to their hard drives and creating mixes. They were even taking those mixes and burning them onto CDs for listening to in the car, or on the go. The same experience could not be had easily on a Mac. Apple’s solution was iTunes. A piece of software that promised to do all those things, but with more simplicity than rivals, and only on a Mac.
iTunes quickly became a case study in the benefits of tightly integrated hardware and software. You had to own a Mac to use it, a tie that became even stronger with the addition of the iPod. The slick MP3 player, which would rocket Apple into incredible growth and popularity as a consumer brand, relied on iTunes to bring it to life out of the box, and keep it alive with content.
Today things could not be more different. The CD is nearly dead. Instead people get their music whenever they want, and wherever they are. This happens on paid streaming services from rivals, as well as through Apple’s own paid Match service, which stores copies in the cloud, and lets users re-download them any time. What’s more, Apple’s portable devices, which have since stretched from the iPod to the iPhone and iPad, can all be set up and used without even touching iTunes the desktop software. As a result, iTunes is no longer the hub, something that’s given the software a bit of an identity crisis.
The next version of iTunes, which Apple says will be out by the end of the month for both Mac and Windows, represents the latest step to address some of these changes in the way people store and use their content on computers. It’s more deeply tied into Apple’s media store, as well as a user’s music collection that can now be backed up and stored indefinitely in Apple’s cloud as part of a paid subscription service. Apple’s even redesigned its player to put many of the commonly used features in a widget that can be used even when you’re doing something outside of iTunes.
All these things are likely to be welcome additions for longtime users, but the fact remains that the software now plays a less important role in the way people are finding, purchasing, and ingesting content.
Consumers have bought more than 20 billion songs from Apple during the past nine years, but where that’s happening has changed dramatically. According to Apple, two-thirds of iTunes downloads now come from iOS devices, as opposed to desktops. That statistic, mentioned by the company at the unveiling of iTunes 11 in September, is more impressive when you consider that iOS devices have only been in existence since the iPhone in mid-2007, a little more than four years after Apple added its store to the desktop software in early 2003.
For its part, the experience of iTunes on the desktop versus mobile devices is a tale of two ideologies. On the desktop everything goes through iTunes. If you want to find and download an app, audiobook, podcast, music album, TV show, movie, or even to rearrange your app icons on an attached iOS device — you can do it through the software. On the iOS device itself, many of those same things are siloed into their own apps. iTunes there is just a store, which puts the content you buy into different app buckets.
Apple has shown little interest in attempting to consolidate all this, and has instead proceeded to break out things like finding, downloading, and listening to podcasts into its own app — something that used to work from right within iTunes on iOS. But that’s not the real issue.
Even with a redesign there looms a threat at the business behind the software. iTunes faces fiercer competition from upstarts that have focused squarely on music on demand. Services like Spotify and RDIO aim to tempt users away from maintaining and storing a library of their own music, instead offering a way to stream anything and everything both on the computer and through apps for portable devices. There’s also Google’s YouTube, which might sound a bit funny in the same breath as music streaming services, but it’s filled to the brim with music tracks that many in the record industry say are cannibalizing demand for Apple’s downloads.
Adding to that are streaming radio services like Pandora, which recently pulled in a reported 27 percent year-over-year increase in audience, according to a study by the NPD Group. That same report suggested that listeners were tuning into products like Pandora and other streamers, leading to a 21-point year-over-year drop in playing music files off portable devices.
While the jury remains out on whether such businesses cannot just exist but also thrive in the long term, they’re proof that the way people find and discover music continues to change. Apple has fought back by pursuing exclusivity. You can now buy specially mastered music collections and extra content that comes bundled into music albums. Apple has even dabbled in offering previews of entire albums that can be streamed through the software.
The next step is a much-rumored streaming radio product that will rival Pandora and other such services, however it’s not a part of iTunes 11 just yet. What’s clear is that even when it arrives, you have to believe that there will be few advantages to using it on a computer versus mobile, once again leaving Apple’s desktop music product in a lurch.
Apple WWDC is on Monday!!
Apple’s annual developers conference kicks off Monday morning. Tune in for CNET’s live coverage to get the scoop. Apple once again takes over San Francisco’s Moscone center for its annual developers conference next week, and CNET will be there to bring you the news live. The tech giant is expected to show off a new version of iOS, spruce up its Mac lineup, and offer a little more information on Mountain Lion, the next major version of OS X due out this summer.
The show runs the whole week, but the real action is Monday’s keynote at 10 a.m. Pacific. will have live news and photos as the event unfolds, including a pre-game show that starts at 8 a.m. Pacific. We’ve also made a handy reminder to add to your calendar. You can also check out what time that is in your time zone, right here. For Kuala Lumpur, Malaysia is 01:00am – 03:00am. At last year’s show, Apple showed off iOS 5.0 for the first time, which came four months later with the iPhone 4S. That show also brought iCloud and iTunes Match (Apple’s Latest Web-Powered Services), and a price and release date for OS X Lion.
What was notably missing from the 2011 edition was any sort of hardware. Instead, Apple spent the majority of its time on stage focusing on new software features in iOS and OS X, its two operating systems. That’s not expected to be the case this time around, at least on the Mac front. Intel’s got a brand new crop of chips all ready to go, and PC vendors have already beaten Apple to the punch there. Rumors have also swirled about Apple switching to higher resolution “Retina display” screens on some of its Macs, to match what can be found on the latest iPhones, iPads and iPods. All of this to say, there’s plenty to look forward to in the way of news. Be sure to tune in.

























