Showing posts with label Music. Show all posts
Showing posts with label Music. Show all posts

Wednesday, November 27, 2013

Google Play Music Internet Radio (Raspberry Pi and Arduino)

IMG_20130626_095126.jpgI was looking for a project to do with my Raspberry Pi and found this Instructable and thought I would have a go at something similar which worked with Google Play Music. I had a rough idea of what I wanted the final item to end up like and was able to get my dad interested in helping me with the design and construction of the enclosure.

All code and CAD drawings can be found in the GitHub repo.

Before we begin I should probably point out that a reasonably good understanding of electronics and Linux makes this project a lot easier, especially since my Instructables are probably not the easiest to follow (I do try my best), however feel free to ask if something isn't clear enough.

A full parts list is a little difficult for a project this size so I'll highlight the important parts only: Arduino IC (i.e. ATmega 328 with Arduino bootloader, you can but them blank and flash then yourself or pre flashed with a bootloader) Raspberry Pi (512MB version if possible, because you know, more memory is better... but seriously I haven't tested with a 256MB version, but it should still work) Digital potentiometers (logarithmic taper (we'll be using it to attenuate audio) & i2c (from the Pi), a DS1807 will do) Amplifiers (I used pre-built modules but feel free to build your own if you feel up to it) DC-DC converters (12v to 5v, 600mA output, isolated) Rotary encoders (from font panel, cursor movement and volume) An LCD (4 rows, 20 columns works for me, if you have songs with really long names maybe get a 40 column one) As for tools, you just need all the standard electronics and woodworking tools, a few others which may be useful: Bus Pirate (I don't actually have one, but they are very useful, alternatively you can do what I do and write Arduino scripts to make an Arduino act like a Pus Pirate to some degree) Laser cutter/engraver (not essential, but makes production of mounting hardware and front panels SO much easier) Router (for construction of enclosure) Accurate callipers (essential for measuring sizes for panels and mounting hardware) I think that is about it for specialist parts and tools, but of course I would highly recommend you read through the entire Instructable before starting work on this project.

[I will have a video here when I get a chance to shoot and edit one, most likely 27/06]

IMG_20130411_172632 (copy).jpgThe order in which I went about this project seemed fairly logical and seemed to work for me, so I'll go with that.

In that case first up is the electronics which control communication between the radio and the user, in my radio the included 6 buttons, two rotary encoders which also have a switch for when they are pressed and a 4 row, 20 column backlit LCD, the majority of this is controlled using a ATmega 328p which interfaces with the Raspberry Pi using RS232 (over a level converter, since the Pi has a logic level of 3.3v and the Arduino is 5v), the one exception is the LCD backlight which is switched on and off using a GPIO pin from the Pi.

So here is an overview of what IO devices were actually connected to the Arduino, how they were connected and why: Pins 0 and 1 connected to the Raspberry Pi GPO header through a MOSFET level converter, this was for the serial communication between the Pi and the Arduino. The front panel button were connected to ADC pins 0 to 5 with either an external pull up or pull down resistor (whichever is easiest, in hindsight pull up would have been easier then I would only need ground on my front panel board). The LCD is connected on digital pins 8 to 13, the actual pin assignment is not important at this stage as it can be configured in the Arduino script. The encoder buttons are on pins 6 and 7, using the internal pull up resistor. The encoders are on pins 3 and 5 and 2 and 4, it is important to have at least one interrupt pin per encoder, this will greatly improve the performance. Most of this can be seen easily on the schematic which has all of these relevant sections annotated, note that this is the schematic for the main board only, so the actual devices are shown as pin headers, I will go over wiring the actual devices in the next step.

View the original article here

Monday, October 14, 2013

The Basics of Music Production: The Complete Guide

Over the last month we've learned all about the basics of music production, posting new lessons on a weekly basics. With the lessons finished, now you can get the complete guide and find out how you can learn more.

Want all of these lessons as a PDF? Download one here. Just be sure to visit the online lessons as well to watch the videos or you'll miss out on a lot!

In our first lesson, we take a look at the equipment you'll need to set up a home studio. You don't have to get it all, but rather pick and choose what you'll need to record the kind of music you want to make in your home.

After setting up your home studio, you need to know how to use it! This lesson will start you off on the basics of recording and getting used to your DAW software.

You can create some awesome tracks with recorded instruments, but you can do so much more with virtual ones. Implementing them into your music allows you access to all sorts of sounds you otherwise wouldn't have, from blips and beeps to an entire orchestra.

The most difficult part of making your music sound good is achieving a good mix. While it'll take a lot of practice to become great at mixing, this lessons discusses the basics so you can get started on the right foot.

These lessons serve as a basic introduction to music production, not a complete course. You’ll need to learn more through practice, but additional resources can help as well. Here are a few we recommend:

Lynda.com: Lynda offers plenty of in-depth lessons on all kinds of software. If you're looking to learn more about Cubase or any other DAW, they'll likely have you covered. While it costs a minimum of $25 per month, that's a low price to pay if you're only going to subscribe for a month or two and get a few lessons. I've learned a lot through Lynda and consider it one of the best video lesson sites online.Mixing Secrets for the Small Studio: Regardless of the software you use, the most important skill you can have is the ability to mix. This book will help you learn a solid mixing skill set.Gearslutz: When you have a question during the learning process, this message board is the place to go. Even if you don't have a question, you can learn a lot from reading what others have asked in the past.Thanks for learning with us! If you follow these lessons and make some great music, share it in the discussions bellow.


View the original article here

Friday, October 11, 2013

Wednesday, September 25, 2013

Earbits Offers Fast, Completely Free Streaming Music

Web/Android: With all the talk of streaming music services vying for your headphone time, it's easy to overlook some of the ones that are simple, fun, and pump out a stream of good, interesting music when you fire them up. Earbits is one of those services, and it's available for Android and the web, completely free.

On your Android device, Earbits will scan your device for music and load up blended channels and radio stations that combine your music with the free songs that Earbits has to offer. On the web, you just click "Listen to Editor's Picks" or "Browse Channels" to start the music, no questions, no sign-ups (unless you want to save your preferences), no hassle. Browsing channels takes you to a tiled selection of genres, each with their own subgenres that you can select to further narrow the songs Earbits plays for you, but at most it's two or three clicks before the music starts flowing.

From there, Earbits works like some of the other great, underrated music services we've mentioned—your play history is in the sidebar, you can favorite songs to make note of them, and you can sign up for an artist's mailing list, like their Facebook page, or otherwise connect with them right from the song you're listening to. When you do, you earn "Groovies," a currency that lets you play specific songs whenever you like, bypassing the radio feature. Best of all, Earbits is completely free.

Hit the link below to try it out, or grab the Android app from Google Play. When I tested it out, I found the Android app was particularly useful at generating blended stations that fit all of my music tastes together in one. It helps that the Android app is really good looking, too.

Earbits

Google has updated its Play Music app so it's now both faster and less of a bandwidth hog.

Google has updated its Play Music app so it's now both faster and less of a bandwidth hog. Sweet! [via Talk Android]


View the original article here

Friday, September 6, 2013

Monday, August 12, 2013

How to Merge Multiple Music Services Into a Mega-Library with Tomahawk

As more music services appear on the scene, it's become more and more difficult to keep your library from becoming a disjointed, cluttered mess split between 10 different apps. Tomahawk is a free, cross-platform music player that combines a wide variety of services and files into one place so you can have one giant mega-library of everything you want.

At its core, Tomahawk is a simple, free, desktop music player. What makes Tomahawk interesting is its resolvers and extensions. Instead of just having access to a set of music files on your computer when you search for something, Tomahawk can also look for tracks on services like Spotify, Soundcloud, YouTube, exfm, and plenty of others. This essentially turns the entire internet into your music library. From there, you can set up Pandora style radio stations, share playlists, or search for tracks on a half dozen services at once.

What's more, you can also set up Tomahawk to share your library with friends over Google Chat or Jabber. Provided both you and your friends have Tomahawk installed and running, you'll always have access to their entire music library. This social aspect happens within Tomahawk, so you don't need to worry about going through other services or signing up for something new. It might sound like a pain to set up, but it's actually remarkably easy to do.

First things first, we need to get Tomahawk installed. Head over to the download page and grab a copy of Tomahawk for Windows, Mac, or Linux.

Once it's downloaded and installed, you're asked to point Tomahawk to your current music folder on your hard drive. Do that, and wait a few minutes (or more depending on the size of your library) for Tomahawk to scan everything you own.

After Tomahawk is done scanning your local library, it's time to set up the various external services you want to use. Click Tomahawk > Preferences > Services to get to the services panel.

Here you'll find a menu to easily install resolvers. Resolvers are the various external services you can add to extend your music library and search for music. When you install one of these, every time you search for a track within Tomahawk it will search your local library as well as these services. For example, if you install Soundcloud, Tomahawk shows you search results both from your local library and from Soundcloud's external library.

In most cases, it's beneficial to install all of these. Just click the checkbox next to the service name, and Tomahawk does the rest. That said, some services, like Spotify and Grooveshark, require a premium account to work, so don't bother with those if you don't have the right account types.

How to Merge Multiple Music Services Into a Mega-Library with Tomahawk

Not everything you need to get the most out of Tomahawk is built into the app. If you want to expand the source list to include the likes of YouTube, 8Tracks, and others, you'll need to seek out additional resolvers. You can find a list of additional resolvers here, but be warned, not all of them are ready for primetime. They'll typically still work though, and won't mess anything up if they don't. Installation of these is simple:

Download the the resolver you want from here.In Tomahawk, navigate to Tomahawk > Preferences > Services.Select "Install from File," and navigate to the to the folder you just downloaded. Select the JS or AXE file inside the folder (usually located at > Content > Contents > Code). Click "Open" and that resolver will be installed.That's it, these resolvers will now work and every time you search for music the new sources will appear in your list. This is probably the most handy for YouTube, but some of the others can extend your music library quite a bit as well.

Tomahawk's more than just a socially connected music player. It has all sorts of little features hidden away that make it fun to use in a variety of ways. Here are just a few things we've found useful.

How to Merge Multiple Music Services Into a Mega-Library with Tomahawk

One of the best things you can do with Tomahawk is create Pandora-style automatically generated playlists. You can keep this simple, or make it incredibly specific.

To create a playlist, just head to the Stations section, and select "Create new Station." If you want to create something like you find on Pandora or Spotify Radio, just select the "Artist" and "Similar To" boxes, and enter the artist name. Tomahawk will pull from all your sources to create a playlist for you on the spot.

You can also get really specific with these playlists. Just select a setting from the drop-down menu, set the parameters, and then click the "+" button to add more. You can add as many as you want, and the end result is an incredibly specific playlist just for you. For example, as you can see in the image above we've made a playlist with the requirements: "Songs similar to Jeff Buckley about 96 BPM, wish a sad mood, a very low danceability, in C minor, and with very low energy.

This might sound silly, but it's pretty fun to dig really deep and make playlists for yourself based on specific moods. So, have fun and play around with these settings to come up with truly unique playlists.

How to Merge Multiple Music Services Into a Mega-Library with Tomahawk

Searching for new music within Tomahawk is great, but it doesn't really help when you're just browsing the internet and find some music you like. Thankfully, the Tomahklet bookmarklet does just that.

With the bookmarklet installed, you can generate playlists from within web pages. So, if you're browsing on a site like NPR's All Songs Considered, and find a song you like, just click the bookmarklet and Tomahawk automatically searches for all the songs listed on the page. The list of supported sites is pretty massive, and the Tomahklet ends up being a nice way to bookmark songs for later listening.

How to Merge Multiple Music Services Into a Mega-Library with Tomahawk

Tomahawk has a few different external plugins and apps that extend the experience beyond what's listed above. There are a a bunch of options for this, but here are a few of our favorite external apps that integrate with Tomahawk:

Global playlists: Want to integrate playlists from different services into one, easily playable format? Global playlists does it, and makes them instantly compatible with Tomahawk.Playlick: Playlick combines Last.fm with Tomahawk to create a huge library of content right in your browser. If you're a big Last.fm user, Playlick is worth a look.John Peel's Collection: Legendary DJ John Peel's record collection is massive, and filled with all kind of gems. With this little app, you can browse his collection and play any of those songs in Tomahawk.How to Merge Multiple Music Services Into a Mega-Library with Tomahawk

Creating a massive library of music using both your local files and several services on the internet is great. Where Tomahawk really shines is in its ability to combine and share your library with friends. Thankfully, this is super easy to set up, and once you do you'll be able to share your entire music collection easily with anyone you want.

Currently, Tomahawk has two ways to connect you to friends to share your music library: GChat and Jabber. With one of these accounts, you'll invite and authorize friends to share libraries. Setup is super easy:

Head to Tomahawk > Preferences > Services.Select Google or Jabber, and click the "Add Account" button.Add your account details and back out to the main Tomahawk screen.Click the Google Talk or Jabber logo in the top right-hand corner.Invite your friends to share your music library by entering their username and selecting "invite."Once they accept your invite, you share your entire music library as long as you're online. Your friends will see what you've been listening to, what you've "liked," currently playing tracks, and all your playlists. They'll also automatically start sharing their library with you as well (You can always enter a private mode by navigating to Controls > Listen Privately).

To view a friends library, just click their name and then click "Collection." Better still, to view a gigantic, mega-library, head up the Browse section in the left-side panel of Tomahawk, and click "SuperCollection." This is a collection of tracks from your library, your friends library, and any tracks you've added or liked from additional sources.

With Tomahawk running, you're also broadcasting everything you're listening to so friends can listen along. To listen along to a friend, select their name from the Friends list, and click the headphone icon next to their currently playing track. You'll start listening to what they're listening to within a couple seconds. This is a surprisingly fun way to discover new music, or to just keep up with what your friends are listening to without asking them to make playlists or mixtapes for you.

The one quirk with this setting is that you'll need to have UPnP enabled on your router, which, as we've pointed out before, isn't the most secure setting. There are some workarounds for the security conscious, but the basic UPnP setting is still the easiest way to make the library sharing function work.

Being an open-source project, Tomahawk does have a few quirks. Some of the interface is a bit confusing, and occasionally it doesn't work exactly as you'd expect it to. Still, it's an app that makes browsing for music—whether it's your next favorite song, or a classic—easier than ever. It also manages to turn your tiny little music library into a full-fledged record store caliber collection in the matter of about five minutes.

Photo by Lonely (Shutterstock).

Thursday, July 25, 2013

Thursday, July 4, 2013

Spotify Discover Guides You to New Music Based on People You Follow

Web: Spotify's radio feature already tries to suggest bands and artists based on the ones you like, but Discover suggests new music to you based on the people you follow. Your recommendations will be packed with playlists, songs, and artists your friends enjoy that you may not have tried.

Spotify has one of the web's biggest databases of streaming music, and while it's always had things like shared playlists and the ability to see what your friends are listening to, Discover is a more direct take on music discovery. It takes things a step further and tries to combine truly useful suggestions with playlists and artists that your friends have recently enjoyed.

If you're worried that you'll get stuck with a bunch of suggestions you'll hate because you and your friends have different tastes in music, don't worry: Spotify says that the recommendations you'll see take a number of things into consideration, not just what your friends are listening to. To try Discover, head over to Spotify's web player—it's only available on the web right now (partially because it's supposed to replace Spotify's home page eventually) and will make its way to the desktop and mobile apps soon.

Spotify Web Player | Spotify via The Verge


View the original article here

Friday, May 31, 2013

The Basics of Music Production, Lesson 2: Recording Audio

You can have a lot of fun making music, but getting a good recording and arrangement of your song requires some work and knowledge. Last week we set up a home recording studio. This week we're going to start recording.

Note: This is primarily a video lesson and you'll get a lot more information from watching the video above. That said, the instructions below will suffice and you should hang on to them for reference.

If you participated in last week's lesson, you should have all the equipment you need to get started. If not, read last week's lesson first before preceding. We're not going to make equipment recommendations here, but you should know what equipment you're going to need to participate in this lesson:

Your computer with the DAW software of your choice installed (we'll be using Cubase)A digital audio interface (with 48v phantom power) hooked up to your computerA microphone connected to your digital audio interface, most likely via XLR cableAn instrument (e.g. a guitar, your voice, etc.)About 20-30 minutes of your timeOnce you've got everything ready, boot up your DAW software and let's get started!

Interface elements vary between different DAWs, but they embody the same ideas. We'll use Cubase to demonstrate here, but if you're using something else you should find things are pretty similar. Let's take a look at the common parts you'll need to know about.

S

The main project window is where you'll do a lot of your work. This window lets you interact with your instruments and sounds as well as bring up individual channel settings as needed. You can do a lot more, too, but those are the basics.

S

The mixer (in Cubase, this is the first of three mixers) looks like a hardware mixing board in a lot of ways. You can adjust the levels of individual tracks, open their channel settings, monitor the master output, and keep a general eye on what's going on with your mix as it plays.

S

The transporter does what you probably expect: it transports you around your project. This is where you press record, stop, and play, but also where you can toggle the metronome, set time signatures, loop your project, and get information about where you currently are in your project.

The VST instruments panel isn't something you really need to know about until the next lesson, but it's simply where you add virtual instruments to your project.

S

When you click the little "e" button next to an audio track you get its channel settings. You can add input (track-specific) and send (multi-track) effects here, use the built-in EQ, and adjust gain.

Those are the main elements of the interface you need to know about. Read on to learn how to set up your first project!

S

You already know how to record audio if you know how to push a button, but digital audio workstation (DAW) software requires some setup before that big red circle will actually capture an audio signal. Although we'll be using Cubase to set up our project, most DAW software works in similar ways. If you're not using Cubase, you should be able to follow along just fine but will need to look in slightly different locations for menu items and certain buttons. Here's what to do:

To get started, create a new project by selecting New Project in the File menu. Select "Empty" as a project type. Cubase will ask you where to save it, so pick one and wait for everything to load.Before you can start recording, you need to make sure Cubase (or whatever DAW you're using) can find your interface and the mics (or whatever else) you have hooked up to it. Go to the Device menu and choose VST Connections.From there, click the Inputs tab and set the first mono input to your first microphone. Repeat this process for any additional microphones or inputs (e.g. electric guitars).Click the Outputs tab and you should see a pair of stereo outputs. Set the first one to your left speaker and the second one to your right speaker.Now that your inputs and outputs are properly routed, close VST Connections and go to the Project menu. Choose Add Track -> Audio.When the new track window appears, create one track and set its configuration to mono. Because we're just recording from a single microphone in this lesson, you don't need a stereo track. In fact, you'll rarely choose stereo even when recording from two microphones because you'll likely prefer to have the channels separated. This provides you with greater control over where they're placed in the recording (i.e. where it sounds like the recorded voice or instrument is) and the character of the sound. When you're done, click Add Track.By default, the new track should have its record enabling toggle button lit up red. You'll see this beneath the track name. If it isn't lit, click on it to enable recording on this track.Also by default, your track should be set to your first microphone. If not, take a look at the panel on the left side of the main project window and you'll see input and output settings. The output should be set to Stereo (which is the default name for Cubase's stereo output) and then input should be set to whatever you named your first microphone (usually Mono In by default, but this can vary). If you see No Bus that means nothing is connected to this audio track, so click on No Bus and change it to the name of your first microphone.Using the transporter—which is the thin horizontal window strip with lots of tools and buttons on it—press the record button. You'll see the recording start. Talk, sing, or play an instrument into the microphone and the waveform of your audio will appear in real time.When finished recording, press the stop button on the transporter.That's all there is to it! You've just recorded your first bit of audio. It probably sounds bad, but that's likely due to a need for EQ, higher gain (increase in the amplitude of the frequency so it sounds louder), or some other problem. We're not going to worry about that just yet because you're still getting used to how your DAW works. We'll tackle mixing individual audio tracks and the entire mix in a later lesson, though you can get a preview if you watch the video above.

Want to learn more? Join us next Tuesday at 5:00 PM PT for our next lesson: playing and recording virtual instruments. Don't forget to bring your MIDI keyboard!