Log in to Facebook with your caps lock key enabled.
Did it work?
Was that your correct password?
Why isn’t anyone mad about this?
C# developer by day, Ruby and budding Erlang enthusiast by night. Father, husband and all around good guy.
Log in to Facebook with your caps lock key enabled.
Did it work?
Was that your correct password?
Why isn’t anyone mad about this?
This is something I’ve been doing to add very light-weight Perforce integration in Visual Studio 2010 without having to use source control bindings in the projects or solutions.
Basically I wanted a way to reduce context switches caused by needing to go to the command line to check out or add files in Perforce.
I ended up creating a few external commands (Tools -> External Tools) for perforce commands “Add” and “Edit” …
Then I created a new toolbar (Tools -> Customize)
And then from the toolbar in the IDE shell (which is empty so may be hard to find if you have many toolbars open) I clicked on the little down arrow and choose “Add or Remove Buttons” -> Customize.
From there I selected the “My Tools” toolbar I created:
And clicked “Add Command”
From there I picked “Tools” from Categories and “External Command 1” (this is the first item in the External Tools list – so “Edit” in this case)
And then back at the Customize window I clicked “Modify Selection” and renamed “External Command 1” to “Edit” to match the command.
Now when I have a file open in VS I can just click the “Edit” button and the file is checked out for edit and the output of the command line goes to the Output window (notice I had that option selected above when defining the External Tool).
It saves me from having to bounce back and forth between VS and the command line when I need to add/edit a file – this keeps my fingers on the keyboard and off the mouse.
I grabbed this album the other day and liked it. The song “Ole Friends” by Rehab seems like a decent open-mic song. Since that normally means a few beers I wanted a dead-simple arrangement. This is what I came up with. I don’t bother singing/speaking the breaks (italics) but I’ll leave them in for completeness of the lyrics. You’ll need to get a feel for the timing on your own (listen to it on iTunes).
"Ole Friends" (Rehab, "Welcome Home")
(Chorus)
n/c (E) E
We can drink liquor
A
We can tell lies
E
We can make fun of each other
A
and laugh ‘til we cry
E
Sit and reminisce
A
about that time
G#min B E
Isn’t that what old friends do?
G#min B E
Isn’t that what old friends do?
E A
Come on over
E A
pick your poison
E G#min
Grab me a 12
A
I’ll pay for it all
B
When you get here
E G#min
Ain’t not crowds
A B
And we can get loud
A B E
But I’m too drunk to drive over to your house
We’ll do it like we used to do
Sit around, get high and act a fool
We’ll do it like we used to do
(Chorus)
Come on over
I got that fire
I’ll already have one rolled up
When you get here
Man, you ain’t tired
So come on out
Cause I’m to drive to drunk
over to your house
We’ll do it like we used to do
Sit around, get high and watch the tube
We’ll do it like we used to
(Chorus)
The game is on at 8
I got a freezer full of steaks
So grab your guitar
And bring your liver
Let’s see how much noise we can make
Until the cops … come …
(Chorus)
I know there are many variations in the Abbey Road LP – I’m trying to track down which I have.
What I know:
Can anyone suggest where I can find more information about what variation I have and what it’s general value is (I’m not trying to sell it but I’m trying to get an inventory of what I have).
I need how much space?
Maybe I’m dense. But I had to read this window not once or twice … but 5, yes 5, times before I realized that it was giving the “Required” units in “KB” and “Available” units in “MB”.
Please … unless your UX is a “convert unit X to Y” window, stick to one unit.
Tags:
Programming
I’m may not be the brightest bulb in the pack but I do know a couple-a-things about a buncha-stuff. One of those things is that when I plug a keyboard into my computer and open Cakewalk Sonar (8 Producer Trial) I expect to hear sounds. The other is that when I finally hear those sounds they shouldn’t be punctuated with a loud (louder than the audio being played) click ever half second or so.
Not even exaggerating – it was like a slightly off-beat metronome was overpowering what I was playing.
Getting the Sound…
I plugged my Alesis Photon x25 into my Windows 7 laptop and then started Sonar 8. I’m immediately greeted with the message that either the Photon is not supported or in use. I’m going to assume it’s in use by Windows and just move on … click “Use Anyway”
Create a new project … delete all the audio tracks … add a MIDI track … hit a key. Whoa! Hmmm … no sound. Oh! Forgot to add a synth (I came across this when doing “Tutorial 1” in the Sonar help file … yeah … I read it. I read the Readme too). So I add a synth. Now I hit a key and … still nothing. The signal indicator is peaking so I know I’m getting the input from the keyboard to the DAW. Time to try some random things and then hit the tubes looking for an answer.
Let me save you the trouble:
http://www.cakewalk.com/Support/FAQ/MIDI2Audio.aspx
Read the whole thing. It was section three I cared about. Specifically to check “All Synth Audio Outputs: Stereo” and to map the outputs to the synth.
But still no sound – oh crap – it’s playing through the Photon and not my sound card! Awesome! I plugged in a set of head phones and I’m off. This is great.
But it sounds horrible …
clicks and pops like mad.
Again … let me save you the trouble:
http://www.cakewalk.com/support/FAQ/SR_FAQ.aspx#9
Adjusting my buffer to “Safe” made it better so I knew I was on the right track – but changing my driver from WDM to MME was the key (ASIO didn’t work – no sound … I’ll look into that some other time). Once I was switch to MME I was able to drop my latency back to 10ms. At 10ms I get an occasional pop. At 30ms almost none. At 90 – I’ve yet to hear any. Beauty!
Now to find some free VST synths because the ones in the Trial are … just horrible. It’s like they are punishing you for using the trial. Give me a drum kit or piano please! Some congas and a shaker … anything. Jeez.
(they are probably there and I just don’t know how to use them yet … but the forums I read all said things like “the trial has crap sounds … get free VSTs”).
Tags:
alesis, homestudio, music, photon, sonar
I’ve made a pretty firm commitment to not get too deep into buying gear before I’ve really figured out what it is that I want – but I had a chance to pick up an Alesis Photon x25 MIDI controller with Cubase LE for about $40 today. The controller was purchased new about 2 months ago, returned in favor of another model and has sat in the “Used Equipment” window since then. I’ve watch the price fall and fall and today sniped it for a fifth of it’s street price a few months ago.
But why?
Creating a home studio is as much about software as hardware – and testing what DAW I like requires two things:
This unit comes with Cubase LE and Sonar 8 Producer is available for a 30 day trial … so there I go. I have the software and a crazy cheap way to test it out. And when I’ve made up my mind I’ve also got a nice little MIDI controller.
That’s how I rationalized it to myself. Did it work for you too?
My contented feeling was short lived though. After picking it up I went out to dinner with a few of my kids and got to spend a few hours fretting over whether or not this device would be compatible with Windows 7. The M-Audio KeyRig isn’t (more) – would this device be? It’s not the newest unit on the block – discontinued in fact.
But I plugged it in and …
Now … I haven’t done anything beyond this. So does it work? I’m installing Cubase LE now …
Hmmm.
Well. Plan has hit a kink. The previous owner claimed he never registered Cubase but apparently he took the registration code. So I have 30 days to decide if I want to keep this or not. Let’s see how Sonar likes it… (next time).
Tags:
alesis, homestudio, music, photon
I learned something about myself this week. I can’t stand it when people refer to an externally connected (FireWire or USB) audio device a “sound card”.
One of these things is not like the other. Know which one? The one that’s actually a card. The other are boxes.
I’m going to start referring to printers as “printer card”. That’ll show’em.
Moving on…
Let me get you up to speed. I have more time than money ($1000) and I want to put together an inexpensive home recording studio.
The first decision I made after several days of researching: I’m not using a digital-recorder-mixer combination plate. At first I thought I was. I had even figured out which one – the Zoom HD8CD.
This seemed ideal on the surface. Buy one thing and just be done with it – even a CD burner. It can communicate with a DAW to do further processing and mixing on the computer. What’s not to like?
Well … it comes down to several factors. Things like only being able to record 2 tracks at once … and those tracks are 44/1Khz 24 bit (mixed down to 16 bit mono). Very limited EQ means I’ll spend a lot of time in the DAW anyway. Questionable preamps (the only question is “how bad are they?”). I don’t need a CD writer but I’m still paying for it (instead of paying for something I do need).
So at the end of the day I get a highly convenient device (a card?) of that leaves me disappointed on pretty much every front but which does get the job done. Sure – I could spend more and get a better device but the price jump between “crappy” and “nice” is well outside of my budget.
So what are my options? Well – there is a PCI card or an external device connected by USB or FireWire.
I’m using a laptop so PCI is out (and even if it were an option I wouldn’t necessary want it). And since I’m using a lower-end laptop I don’t want to use USB since it puts more pressure on the CPU and has lower real-world transfer rates compared to FireWire. I want to get everything I can out of what I have.
There. I just saved you three days of reading and thinking.
You want an external device audio input device connected to your computer via FireWire.
That’s what I want and that’s what you want.
Next time I’ll look at some of the options I’m considering.
Tags:
homestudio, music
I’m in the planning stages of putting together a home recording studio for capturing the musical ideas that no one else wants to hear. In high school I spent my junior year at the Minnesota Center for Arts Education (I spent my senior year preparing to have my first child but that’s another story for another time) – while at MCAE I had the opportunity to spend my afternoons (and many many nights) in a very nice production studio. Many many thousands of dollars of gear – much of which you couldn’t give away today. The point being that I’m familiar with what a high-end home studio would have looked like 15 years ago – unfortunately that knowledge does not do me a whole lot of good.
What I have
What I want
Something like this
That’s one hell of an expensive question mark.
So over the next few posts (or weeks … who knows) I’ll be going over what I’m thinking about, what I decide, and why I changed my mind just minutes after making a decision after days of thinking.
Tags:
homestudio, music
Update: The definition has been updated to include support for atoms, variables and function names as well as additional file extensions. Screen shot and downloadable content have been updated.
Thus far I’ve done all of my Erlang development on Fedora using vim or KWrite (which does a decent job in Ruby mode).
But today I found myself on a windows box and wanted a basic syntax highlighting editor for Erlang that was free and worked on Windows. Oh – and not Eclipse+Erlide. I wanted something small and fast.
I grabbed the “free as in beer” and “free as in speech” editor NotePad++ and created a simple syntax file that is a bit hokey but will serve my needs fine.
Here’s a screen shot …

NotePad++ has pretty weak syntax highlighting but was sufficent to do most of what I wanted. Some regex based rules would make this a more robust.
Highlighted entities include
I’ve probably missed several things.
Looks a lot better than nothing and it took all of 10 15 minutes.
If you are using NotePad++ here is the file:
http://www.roberthorvick.com/wp-content/uploads/2009/07/erlangSyntaxDefinition.zip
And here are the instructions on how to install it:
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Syntax_Highlighting_Sharing
And here’s the instructions on modifying or creating your own:
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages