Richard Carter

Computer Science & Game Development Student at North Carolina State University

Archive for February, 2011

02-13-11

MIDI Lag

Posted by

I got a keyboard (piano) and USB-midi module for it for Christmas a few years ago from my dad and step-mom. I played around with it quite a bit but there was always a huge lag of about 1 second, so it was really tough to do anything good with it.

I just dusted the piano off and plugged the USB thing into my MacBook Pro and then opened up GarageBand. I was surprised to find there is zero lag.

I always assumed the lag was because of the USB interface causing a delay or something. But nope; it was Windows’s fault. I tried all sorts of settings, even tried it across different versions of Windows, and different programs. Everything in Windows had a delay, I was so CERTAIN that it was the USB module! But just now I literally muted my piano’s output and played the piano with the sound coming out of my MBP’s speakers. There was no delay at all. That’s incredible.

And of course it was as easy as plugging in the USB cord and opening GarageBand. Nothing to install or set up, it just worked. Hooray!

02-6-11

Posted by

This is the safety warning notice that came with my Cr-48. I love the sense of humor. :)

02-6-11

Firefox Problems

Posted by

Here is an account of my latest browser switches, for documentation purposes.

In Safari I read a news item about a Firefox update, to 4 beta 10. The changelog listed some improvements which matched the reasons I moved away from Firefox: “Compatibility and stability improvements when using Adobe Flash on Mac OS X” and “Improvements in memory usage”. So I decided to give it another try. It’s really awesome! I think I feel most at-home in Firefox (at least on Mac; in Windows I clearly prefer Chrome and have finished juggling browsers).

But for a while now I’ve noticed that it develops a weird stutter. Like every few seconds, it will freeze for about one second; it’s not so noticeable when browsing, but when a YouTube video keeps freezing in place, well, it bugged me.

I got out a watch and found that it happened every 10 seconds. How convenient! There is a HUGE difference between doing a Google search for “firefox stutters periodically” and “firefox “every 10 seconds”“; the latter search returns every instance where someone has complained about Firefox doing something every 10 seconds, and I don’t imagine what else it might be other than freezing.

So I found some old articles. Apparently Firefox used to freeze every 10 seconds due to saving the tab session, which is the feature that will reload your tabs if the browser crashes or if you close and reopen it. There was a config option to change that, but it already defaulted to 15 seconds, so I didn’t think that was it. Nevertheless, I changed it to 300 seconds (5 minutes) and restarted Firefox. Soon after, the every-10-second stutter was back.

I couldn’t find anything recent or specifically relating to OS X. I then ran around my add-ons, looking for preferences set to do something every 10 seconds, but there were none. I never actually took the time to try and disable each add-on to find a specific one that might be causing this problem, mainly because I don’t think I want to sacrifice any of my add-ons. I don’t have any extras as it is; they’re trimmed down to only the essentials that I use all the time.

So I’m back in Chrome now, because Firefox in my Mac OS X was stuttering every 10 seconds in YouTube videos and typing and pretty much everything.

Chrome seems to be the browser of choice for many developers nowadays anyway. It used to be the too-lightweight browser without extensions, but now it’s a very full-featured browser which directly competes with Firefox and in many cases is still lighter-weight in a good way.

Plus, it integrates with my Google account for syncing and such. When I first got my Cr-48, I turned it on and logged in with my Gmail username and password. Immediately, it pulled down my theme, extensions, preferences, and so on from my Google account. The whole browser (therefore the whole computer) was all set up, just because I’d already set up my desktop copy of Chrome and it synchronized everything with my account.

So I’m now in Google Chrome. I don’t remember what made me change from it last time, but hopefully if I find it again, it will either have been fixed or I will remember to write it here so I can move forward instead of continuing to go in circles.

02-3-11

Google Cr-48

Posted by

A Google Cr-48 arrived on my doorstep Monday! I’ve been using it nonstop since then. I’m still giving it thought but I’ll post a blog entry detailing it soon. Suffice to say I love it though!

02-3-11

Studying Old Games

Posted by

I had a thought yesterday as I was heading to my “Intro to Film” class. In that class, we watch a few recent movies, but most of the movies and clips we watch are black and white films from decades ago. We study those because the effects are more simple and rough, not as smooth/hidden/perfect as modern-day films. Also the technology was more limited, so for example the movie we watched last night didn’t have zoom because it wasn’t invented yet (the camera had to dolly forward to “zoom” which isn’t quite the same). There also, obviously, wasn’t CGI, so any editing was done by hand.

Anyway I got to thinking, what if the same applies to computer games? We game developers constantly play modern games which are massive and complex and made by huge teams of people, but maybe it would be good for us to go back and seriously spend some time in the older, simpler games — the games which were created with older technology by fewer people with smaller budgets. Maybe those would be more realistic for me to play and try to imitate, rather than attempting a huge game which is way out of my league and failing.

Sorry for the mess! I recently got hacked and lost my previous theme, so I'm working on reconstructing that. In the meantime, this theme is messy/broken but at least you can read my posts. Sorry!!


Hi, I'm Richard Carter! I use this blog to document particularly difficult-to-solve computer problems. My posts are written for clarity and keywords for search engines to pick up on, so that the next person that runs into the same problem will easily find my solution here and have an easier time than I had! I'm forging a path through the brush, so to speak. So if you came here by search engine, I guess it worked! Enjoy the solution to your problem.