Category Archives: Searching for Music

Posts that are about searching for songs, excluding those about special occasions

New Feature: Filter by Song Length

If you’re trying to get a playlist together for a social dance, it would be nice for the songs to be a reasonable length for your audience. 

I realize that DJ tools will let you manage this in multiple ways, but sometimes it’s just easier to start with songs in the length range you’d like. There are probably other good reasons to be able to filter on the duration of a song; let me know if you think of any.

Again at Arne’s prompting, I implemented the ability to filter on song length using the advanced search page. My quick and dirty implementation is to filter on a range of seconds. This implementation will let you do things like get all the Salsa songs in the catalog between 90 and 180 seconds between 150-180 beats per minute. Or any other variations that you come up with.

I already store the duration values for songs, so this wasn’t a heavy lift. But I did take some shortcuts to get this feature out quickly. I’d prefer a slicker control to choose the length, and it would be awfully nice if when you searched or sorted on the length that the length showed up in the results. Neither of these would be particularly hard to do. Still, I’d like to hear if others are using this feature and how they’re using it before I invest more into it.

As always, I’m very interested in your feedback, so please share any thoughts and ideas you have about this post or the site by commenting below or using other feedback mechanisms listed here. In addition, if you enjoy the site or the blog (or both), please consider contributing in whatever way that makes sense for you.

New Feature: General Search

I’ve finally added a feature that should really be a part of any good website. A general search of the entire site is available by typing one or more keywords in the search box in the upper right and clicking search. Try it out, and let me know what you think.

As I continue to improve music4dance, I find myself torn between making things easier for new or casual members of the site and deeper features that may only be used by more dedicated members. I tend to lean towards the latter because they are often the features that I use or the features based on feedback from members who have been using the site a lot. But I would love to get more people involved, which means making the initial experience as seamless as possible.

Search is pretty much the core feature of this site. The idea is, after all, to try to help partner dancers find music that inspires them to dance. I’ve invested a lot in the search engine that lets you search for songs and made a big push to make the core search work better. But in the meantime, I’ve written many blogs posts, some help pages, and added other content to the site that isn’t directly embedded in the song catalog.

So how do you search for any of the other information? And for that matter, if you’re a first-time user of the site, shouldn’t you be able to search the whole site easily without clicking through to a search page from the home page?

Some technical issues made this a bit more challenging than it would appear. Not the least of which is that the blog and help system are actually an entirely different site using a different technology that I have less control over. But after going down a few different paths, I think I’ve got something that I’m happy with. It could still use some work, and a couple of things about it feel a little kludgy. But I feel like it’s a significant improvement, especially for a first-time user. It also enables a full-text search of the core site, which will let me invest more in content that isn’t directly part of the song catalog. I’ve got a bunch of things I’ve been thinking about along those lines that I haven’t implemented because I was worried they’d be buried without a generalized search.

So as I mentioned at the beginning of this post. You should be able to just type a keyword or two into the search control in the header (or under the hamburger menu if you’re on a smaller device), and you’ll be taken to a search results page. That page is a little more complicated than I’d like but hopefully pretty effective.

As always, I’m very interested in your feedback, so please share any thoughts and ideas you have about this post or the site by commenting below or using other feedback mechanisms listed here. In addition, if you enjoy the site or the blog (or both), please consider contributing in whatever way that makes sense for you.

New Feature: Searching for a song from Spotify or iTunes

A new member of the music4dance community, Arne, pointed out that he expected to be able to search by Spotify Id. Furthermore, he figured out how to do that by going to the Add Song by Id and dragging the song from Spotify into the edit field on that page.

This is a case of programmer myopia on my part. I wrote all of the code to look up a song in the Spotify and iTunes catalog with the idea of (a) being able to link back to those catalogs and then (b) to make it easier to add songs to the music4dance catalog. I didn’t really think that someone would want to look for a song they were playing in Spotify or Apple Music in the music4dance catalog. Actually – I did, but the way I was thinking about that was a much bigger feature that I may never get around to implementing.

What clicked in my slow programmer brain when I saw Arne’s question was that I had most of the code for a really cool feature but hadn’t seen the opportunity to implement it since I had this much more grandiose feature in my head. After the obligatory forehead slap and exclamation of “Duh!” I set about seeing how easy it would be to use what I had already written to implement a reasonably smooth version of what our Arne was doing.

It was definitely straightforward – a bit of refactoring and a few dozen lines of new code, and I’ve got something that I think is pretty slick. But I’ll let you judge:

When listening to a song in Spotify or  Apple Music, drag the song from the player and drop it into the text box on the top of either the Song Library page or the Advanced Search page. If the song is in the music4dance catalog, we’ll take you directly to the song page and show you what others have voted on to dance to that song. If it’s not already in the library, we’ll give you the option to add the song yourself.

As always, I’m very interested in your feedback. As should be obvious from this post, your feedback is essential to making music4dance better. In addition, I read every piece of feedback that comes through and respond to as much as I can. So please share any thoughts and ideas you have about this post or the site by commenting below or using other feedback mechanisms listed here. In addition, if you enjoy the site or the blog (or both), please consider contributing in whatever way that makes sense for you.

Ask Music4Dance: How do I find a “Pop Rock” song to dance a Slow Foxtrot to?

This is another question that I’ve seen a bunch of variations on over the years.  It’s one of the reasons that I started music4dance.  I love Big Band music and grew up playing Basie and Goodman in Jazz bands.  And my dad was a big fan of Buddy Rich.  On top of that Foxtrot and Swing co-evolved with this kind of music, so there is no problem finding plenty of music of that style to dance to.

But I’m also pretty eclectic in my musical tastes and some of the most fun I’ve had as a dancer is choreographing an exhibition dance to music that wasn’t written to be danced to – or at least not a traditional ballroom style dance.  There are obviously limits to this, but you see it all the time on shows like Dancing With the Stars and So You Think You Can Dance.

When I received a variation on this question again recently, I checked and realized that in my big rewrite of the site, I had broken the easiest way to do this kind of search.  This is now fixed,  so you can go to the info page for the dance style you’re interested in by choosing “Dances” from the Music menu. Pick the dance style you’re interested in (in this case Slow Foxtrot). Scroll down to the bottom of the page and you’ll see a tags section.  This is a tag cloud that includes all of the tags (other than dance style tags) that people have associated with songs that someone has also tagged as danceable to Slow Foxtrot.  From there you can explore all the unusual songs and musical styles that someone at some point has attempted to dance the Slow Foxtrot to.

I have to admit, going through some of these, that there are plenty that are a stretch – even with a choreographed set piece.  But still a lot of fun to think about.  If you go down this road and find things that stretch your ability to imagine dancing a particular style to and feel that they’re a mistake rather than a fun (but out there) variation, please feel free to vote them down.  Remember all of this content is crowd-sourced, so you’ve got a vote if you choose to use it.

One thing that I realized as I was writing this is that there isn’t an easy way to go the other direction.  You can use Advanced Search or the main Tag Cloud to list all of the songs associated with any tag.  But that doesn’t give you a direct list of all of the dance styles, you have to scroll through all the songs and figure that out yourself.  Let me know if that would be interesting to you and I’ll increase the priority of that feature. 

And as always I love to hear from you – so please send me feedback about the site or with questions about this post.  I may even feature your question in a future post.

Quick Tip:

If you want to be able to listen to a Spotify Playlist of all of the songs that you find in a search like the one above (or any other search on the site), you can do so by signing up for a premium subscription. I took the liberty of generating a playlist for the example above here in case you want to check it out – while you’re on Spotify, please “like” the music4dance account and any of the other playlists that you enjoy.

Ask music4dance: Why don’t you have info about musical genres like you do about dance styles?

One of the main reasons that I love working on the music4dance project is that I get to hear from dancers and musicians that find the site useful. 

Here is a question that a user recently asked:

I searched on your webpage, I could not find info about genre Pop. Can you show me info about genre Pop, please? Will you update/make info about genre Pop like the genre Bolero (https://www.music4dance.net/dances/bolero)

Which is perfectly fair.  I have certainly biased towards more information about dance than about music, and have kept the music details to those that specifically apply to partner dancing.  The way the site is set up, I have a primary “index” of the various partner dances.  Then I think about refining that search on things like musical genre or tempo.

That said, it is still possible to start from musical genre and go from there.  The full list of genres that are available on music4dance can been seen on the tags page.  The genres are the green tags.  And now that I look at it from this perspective, it would be nice to be able to filter on just genre tags – I’ll see if I can get that feature implemented soon1.  You can click on the Pop tag on that page and see a list of all of the pop songs in the music4dance catalog.

What I don’t give you in this context is a description of the “Pop” genre the way I do with a dance style.  While I think that’s an interesting idea, I feel like it’s been covered elsewhere in more detail than I would be able to manage.  For instance, there is a site called rateyourmusic.com that does something pretty close to what I’m doing, but specifically for musical genres rather than dance styles.  Check out their Pop page.  And of course wikipedia is always a great source for information like this.

I’m always happy to answer questions and would like to get enough questions to make this a regular part of the blog.  So please feel free to submit questions via our feedback form or by emailing directly to info@music4dance.net.

  1. Update 2024: I added the ability to filter on different tag types in the tag cloud during my last rewrite of the UI (sometime early in 2021) – check out the documentation for details. ↩︎

Music for Dance Through the Decades

One of the ways that I like to search for music is by era.  At least as far as twentieth century American music goes, this tends to be categorized by decade.

Early on, I tried some experiments around pulling publication date for a song to help with this kind of search.  But the sources I had generally listed release date as whatever the most recent release of the song was, which was often on a compilation album and had nothing to do with when the song was first published.  Even more importantly, when we think of music associated with a particular decade it’s a very loose definition and involves a judgement call about style as much as any technicality around original the release date.

But since I’ve been grabbing information from a bunch of different places and a few of them have been tagging music by decade, I’ve got a decent catalog of songs that have decade tags.  You can take a look by going to the tags page and clicking on any of the decades like the 1970s  or 2000s

If you’re interested in finding songs for a particular dance style from a specific decade, that’s exactly what the Advanced Search functionality is for.  You can go to the form, choose Rumba from the “dance style” chooser and go to the “Other” tags under “Include Tags”  (the brown pencil).  Choose 1980s from the list of tags and click include.  Then click search, and you will get a list of songs from the 80’s that you should be able to dance a Rumba to.  If you’ve got particular tempo needs, for instance, if you’re looking for a slower or faster Rumba, you can always restrict the tempo in the advanced search form as well. If you don’t have a good handle on dance tempi for dances, check out our tempi tool.

Speaking of searching for specific tempos.  One of the features that we’ve recently added is the ability to find songs by tempo even if we haven’t identified a specific partner dance for the song.  As of this writing, we are trying this out as a premium feature.  If you have purchased a premium subscription, you can check the box on the Advanced Search page to include the “Not categorized by dance” bonus content, specify your tempo range and get a larger list of songs that meet those criteria.  (Check out more details on my bonus content blog post.) This should be useful for people that are looking for music of a specific tempo for dances that we haven’t categorized yet or for exercise that isn’t dancing.

As always, I’m interested in your feedback. Let me know how you use this feature, or what would make it better.

Search like Google Part III: Advanced Search – The Best of Both Worlds?

I’ve just updated the music4dance site with the remaining features for our search beta (see What if I just want to search for songs on music4dance like I do on Google? and Search like Google Part II: Autocomplete, Filter by Dance Style and Sorting for some background).  You should now be able to take advantage of both the new features like auto-complete and simple Google/Bing style searches with all of the dance specific features like filtering by tempo and dance style using the Advanced Search Beta.

Give both a try and let me know what you think.  I’ll leave both the beta and the legacy search capabilities up on the site for a bit so that you can compare and contrast.  Bug reports are welcome here.  And as always please submit any general feedback or suggestions here.

The Google Miniseries:

Search like Google Part II: Autocomplete, Filter by Dance Style and Sorting

I am continuing to rebuild the music4dance database capabilities in the more intuitive style of current search engines like Google and Bing – the initial attempt at this is documented in this post.

Auto-Complete

Auto-complete is something everyone expects when searching these days.  So if you were to type “Peab” into the search box on the simple search page you should see suggestions like the following pop-up:

  • Peabody
  • Peabo Bryson
  • Tonight, I Celebrate My Love (feat. Peabo Bryson)
  • Peabo Bryson & Regina Belle
  • Peabo Bryson And Roberta Flack
  • Love and Rapture: The Best of Peabo Bryson

And just like Bing or Google, clicking on the selection will take you to a list of songs that contain the selected text.

The thing that is a little different for music4dance than a generic search is that one might want to do combinations of things like a fragment of a title and a dance style name.  I haven’t figured out an easy way to do that, but as always I’m open to suggestions.

Filter by Dance Style

But I can fall back to the original way that I landed on for just searching within a single dance style.  So now on the Simple Search page, you can select a dance style from the drop down to the left of the search box and we’ll just show you results for that dance style.  So if you select Cha Cha and then type “tea” into the search box you should get only songs that have the word tea somewhere in the description that have also been tagged as Cha Cha.

Sorting

And finally, I’ve implemented sorting by Title, Artist, Tempo, Beat, Energy, Mood and Recency.  Just click on the appropriate heading in the Simple Search Page, just like you did in the classic search page.  I’m still looking for a reasonable way to sort by votes on dance style.

The Google Miniseries:

What if I just want to search for songs on music4dance like I do on Google?

One of the things that I’ve had a lot of fun with is building a sophisticated search engine where I (and you) can do things like find songs that someone has tagged as Waltz and someone else has tagged as Foxtrot.  Or find all swing songs that are in a particular tempo range.  There are lots of neat things that you can do with the Advanced Search system if you’ve got some knowledge of dance and music and want to dig deep into these corners of the music4dance catalog.

But what if you just want to search through the catalog the same way you would on Google or Bing?   For instance, what if you’re looking for a song that has been tagged as Wedding and has the words “Love” and “Time” in it?  With simple search you can just type Wedding Love Time into the search box and you’ll get some useful results.  You can further refine the search by using some of the standard search modifiers like + and – and putting quotes (“) around phrases to be more precise about your searches (for instance try “First Dance” +Foxtrot +Rock).  But if you’re the type that doesn’t bother with that on Google you should be fine not worrying about it here as well.

More information is available on the help page but you should be able to go to Simple Search from the “Music” menu on the music4dance home page and dive right in.

The Google Miniseries:

Are there songs that you never want to dance to again?

I know for me there are a few songs that I spent way too much time listening to while learning choreography or cutting medleys.  I never want to hear them again, much less dance to them. And as much as I love music, there are some songs that I just don’t like right off the bat.  So I don’t want either of these showing up time after time because other people find them to be particularly good Rumba or Foxtrot music.

Up to now that’s been a bit of a problem with the music4dance site since there wasn’t a way to explicitly like or not like a song, Everything was based on collective voting to match a song with a dance.  But today I’ve added a feature where you can like and dislike a song.  Then by default when you’re signed into the site, you won’t see those songs in your searches.

While I was at it, I added a few additional ways to filter searches based on how you’ve tagged and liked songs.  Check them out on the Advanced Search page (remember you have to be signed into your account and have tagged or liked some songs for this to be useful).

And while you’re thinking about this, I have a question.  What is a reasonable opposite of ‘like’ in this case?  I’ve been using ‘not like’, but hate seems like it might be more accurate.  Unlike and dislike were other options.  But none of these seem quite right.  If you’ve got any ideas, please comment on this post and let me know.