New Projects - Fresh from the Labs
This project really caught my eye when browsing through SourceForge this month, and not being a big karaoke guy, this well-established project (more than 12 million users strong) has somehow passed me by all this time. For any others not in the know, Ultrastar Deluxe is “A free and open-source karaoke game inspired by the Singstar game available on the PlayStation. It allows up to six players to sing along with music using microphones in order to score points, depending on the pitch of the voice and the rhythm of singing.” Ultrastar Deluxe also runs on Linux, Windows and Mac OS X.
The most impressive feature I found was the ability to use pretty much any kind of video you want in the background, including MPEG, DivX, YouTube .flv—whatever you like. An extremely impressive and professional demonstration is available on YouTube (au.youtube.com/watch?v=uvBSeme34bE), where you can see the program in action with karaoke cues taking place on top of videos from artists such as the Foo Fighters and Tenacious D. Ultrastar isn't limited only to videos though. Standard gameplay generally takes place with an MP3 playing with a possible artist's picture in the background while the program takes information, such as timing cues and the like, from an accompanying text file. As the text file is raw ASCII and the format is well documented, it leaves the entire process open to fans syncing up their own lyrical cues to any track they like, from any band. The game also comes with an editor built in, which will save hours of headache-inducing raw text editing.
Installing Ultrastar can be a pain without someone holding your hand, but luckily there's a quick-start guide available that's well worth a look. The guide to installing it quickly under Ubuntu is very good, and it's probably the best guide for many other distributions too (if it doesn't work right away, or your distro doesn't use apt, at least the package names should help). I've chopped the Ubuntu guide down to the bare essentials that worked for me, but if you need more information, see the installation guide on-line (ultrastardeluxe.xtremeweb-hosting.net/wiki/doku.php?id=development:compile).
First, you need to satisfy Ultrastar's dependencies. Open a shell, and enter the following:
$ sudo apt-get install fp-compiler fp-units-base ↪fp-units-misc fp-units-fcl fp-units-i386 fp-utils ↪libsdl1.2-dev libsdl-image1.2-dev portaudio19-dev ↪libsqlite3-dev libfreetype6-dev libavcodec-dev ↪libavformat-dev libswscale-dev
You can download the source either by SVN or wget, but for the sake of space, we'll just run with SVN here. If you don't have SVN, grab it with the following command:
$ sudo apt-get install subversion
Open a terminal where you want to save the Ultrastar source, and enter this command:
$ svn co https://ultrastardx.svn.sourceforge.net/svnroot/ ↪ultrastardx/trunk usdx-source
SVN will save the contents to the directory usdx-source. Enter that directory with this command:
$ cd usdx-source
And, compile it with these commands:
$ ./configure $ make $ sudo make install
You can run Ultrastar Deluxe now, but I found with the SVN download, there weren't any songs added along with it (hence, nothing to load up and sing along to). If you check the project's Web site, there are some free songs to download provided by the community. Download a song's zip file and extract the contents somewhere locally. Then, with root or superuser permission, copy the files to the folder /usr/local/share/ultrastardx/songs. Once those are in place, you should be good to go.
After all that, you now should be able to run the program with this command:
Once you're in the game, you'll be presented with the following menu options: sing, party, tools and quit. If you want to jump right into the action, choose sing. Enter your player name, select your difficulty level, and then you'll be taken to your song selection. Here you will find what are quite frankly gorgeous graphics, and an interface that should be familiar with users of programs such as iTunes and the like. Left and right arrows scroll through available tracks, and Enter starts playing a track. If you look at the bottom of the screen, there's a guide to further controls for better navigation and setting up a playlist. Once the track is playing, a number of cues will guide you quite easily through things such as timing and pitch, and anyone mildly familiar with karaoke should have no problems here.
Under party mode, you can choose from a number of innovative playing modes, such as the classic one on one with Duell. Blind Mode removes pitch cues leaving you to sing purely by feel. Until 5000 mode is where each player races to get 5,000 points, and the first one there wins. Once you've played for a while, it's worth checking what's available under tools, as there are options to tweak microphone settings, change the graphics resolution and change the in-game theme, among many others.
If you aren't getting anything from your microphone, check that it's working properly back in desktop land. It's probably a good idea to try to record a small amount of audio under a basic recording program and play it back to make sure everything's in order and sounding decent. Anyone who has the Singstar microphone from the PlayStation game should be able to use this too, according to the instructions (I don't have either the original game or mic, so I can't verify this).
Back in the game, there are settings to tweak the number of channels you can use, including the number of players, and even a party option with up to 12 players with three teams, but I don't have nearly enough space to cover that here.
Honestly, checking out the rest of the Web site is well worth it, as there's a bundle of themes available, including one that will make Ultrastar resemble the Nintendo Wii (quite appropriate given you also can use a Wii controller). The links section of the Web site has instructions for a number of tools, such as the in-game editor and its syntax, plus there's a community board for requesting songs, exchanging help and so on.
Not only is Ultrastar Deluxe a great program for karaoke enthusiasts, it's also a great place for musicians to get their music out there to the public for free while having adoring teenagers singing along. Proprietary solutions may be better for getting famous songs on hand straightaway, but you would have to pay quite a premium for this, and the last time I tried karaoke, one of these machines was using a very lame midi soundtrack (which sounds awful when playing Metallica, trust me)!
If I were an enthusiast setting up at home and didn't mind scouting around for text files or spending some hours making your own, I'd use this program. If I were going into the karaoke business myself, I'd probably still use this program, given the amount of control you have and the ability to play original sound files. With the gorgeous graphics and well-thought-out interface, for karaoke, this is probably your best bet.
John Knight is the New Projects columnist for Linux Journal.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- Paranoid Penguin - Building a Secure Squid Web Proxy, Part IV
- SUSE LLC's SUSE Manager
- Google's SwiftShader Released
- Managing Linux Using Puppet
- My +1 Sword of Productivity
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Non-Linux FOSS: Caffeine!
- SourceClear Open
- SuperTuxKart 0.9.2 Released
- Parsing an RSS News Feed with a Bash Script
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide