Make OSX Speak anything!

This is a nice trick, which can be used in any console script. There is a command named ‘say’, which is the one that does all of the magic. You can use it this way:

[cc lang=”bash”]echo lantean | say[/cc]

What’s interesting about this is that you have different voice tone variations. To get a full list, you can do this:

[cc lang=”bash”]lantean$ say -v ?
Agnes en_US # Isn’t it nice to have a computer that will talk to you?
Albert en_US # I have a frog in my throat. No, I mean a real frog!
Alex en_US # Most people recognize me by my voice.
Bad News en_US # The light you see at the end of the tunnel is the headlamp of a fast approaching train.
Bahh en_US # Do not pull the wool over my eyes.
Bells en_US # Time flies when you are having fun.
Boing en_US # Spring has sprung, fall has fell, winter’s here and it’s colder than usual.
Bruce en_US # I sure like being inside this fancy computer
Bubbles en_US # Pull the plug! I’m drowning!
Cellos en_US # Doo da doo da dum dee dee doodly doo dum dum dum doo da doo da doo da doo da doo da doo da doo
Deranged en_US # I need to go on a really long vacation.
Fred en_US # I sure like being inside this fancy computer
Good News en_US # Congratulations you just won the sweepstakes and you don’t have to pay income tax again.
Hysterical en_US # Please stop tickling me!
Junior en_US # My favorite food is pizza.
Kathy en_US # Isn’t it nice to have a computer that will talk to you?
Pipe Organ en_US # We must rejoice in this morbid voice.
Princess en_US # When I grow up I’m going to be a scientist.
Ralph en_US # The sum of the squares of the legs of a right triangle is equal to the square of the hypotenuse.
Trinoids en_US # We cannot communicate with these carbon units.
Vicki en_US # Isn’t it nice to have a computer that will talk to you?
Victoria en_US # Isn’t it nice to have a computer that will talk to you?
Whisper en_US # Pssssst, hey you, Yeah you, Who do ya think I’m talking to, the mouse?
Zarvox en_US # That looks like a peaceful planet.
[/cc]

So far, so good. Now, if you actually wanna use one of those voices, you need to specify the -v parameter, just like this:

[cc lang=”bash”]lantean$ echo “Alala la la long long le long long long” | say -v “Hysterical”[/cc]

OSX 10.7.4 released

Indeed, we got another OSX update. This time, 10.7.4…. which should fix several vulnerabilities out there. It’s over 700 MB, so it’ll take some time to get downloaded.

If you didn’t already update your mac, it’s time you hit the Software Update button in the Apple menu. I really recommend you do it right away… those Flashback viruses have been giving lots of headache’s.

The cool side about this is that we’re getting closer to getting access to Mountain Lion. And no, i don’t mean to say… ‘access to a developer build’. That’s already there. We’re getting close to the commercial release of ML.. which is pretty cool. I bet you they release ML along with the new MBP & MBA lineup (maybe… the ‘Macbook Air Pro’ lineup…?).

The full release log is right here.

Guitar Pro for OSX

We, as guitar players, need to constantly practise. Every single day of our lifes. After a certain point… you don’t really need to practise. Your fingers get used to the strings… everything works smoothly.

Personally, i love Guitar Pro. If you’re lazy enough to learn songs by yourself, there are just  plenty of tab resources everywhere…

Maybe the best feature that GP has is the ‘speed trainer’. You can set up the initial Beats Per Minute, the number of loops, and the speed increase in each round. So all you need to do is to hook your guitar up to an amp, and hit the strings.

Besides that, the second major feature i love about this app is the ‘scale transposer’. You can easily transpose a song to any key you wish.

Go get it here!. Although it’s not free, there is a free trial in there, so you get to check it out before spending cash in it…!

OSX: Renaming Fonts (For Free!)

I just got a huge problem. I’m working on an iOS app, and it turns out that we need to maintain compatibility with iOS 4. So… the problem is that we use custom fonts. A lot of them. That shouldn’t be an issue. BUT… i got to notice that iOS 4 supports up to two different fonts per family.

Long short story, if you’ve got a font family with… 5 different fonts, iOS 4 will load just two of  them. So how do we solve it?.

Simple!. We rename some of the extra fonts. Thing is, there are lots of tools to do that. But they’re paid. And… dude, it’s just renaming a font!. That’s where TTX comes in.

TTX is an opensource tool that basically converts a font into a readable XML. So… you just need to parse your OTF file, change the font name… and run TTX again, to pack it up into an OTF file, back again.

So far so good. But i was getting an error while trying to run TTX on OSX 10.7.3. The problem is that TTX works fine only in 32 bits mode.

So…. if you’re also having problems, just run this command, and you’re good to go:

[cc lang=”bash”]
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
[/cc]

Back to BitTorrent

Well… after MegaUpload was shut down, it’s been a hell of a nightmare to find a working filesharing service. Everyone is sooo afraid of the MPAA and RIAA, that they’re just closing the door. So… it’s time to get back to our roots.

YEAH!. I’m talking about P2P networks. I used to be a huge fan of BitTorrent, in the good old days where MegaUpload wasn’t even technically possible. It is in fact thanks to BitTorrent protocol that The Pirate Bay is still operative. Magnet links are, as far as i know, legal. Nobody can punish you for posting magnet links. In the end, it’s a GUID, right?.

So… i had to get back to BitTorrent. That was the easiest way to stop searching files that are just not there. The big question is… what is the best OSX Client for BitTorrent?.

Well, i’d like to recommend this one:

It’s called Transmission. Just click on the link, and get it for free. There are few tools that help you automate the download of torrents. I’ll post some of them in the next couple of days. Stay in sync!

 

%d