Skip to Content
Deep Learning Cookbook
book

Deep Learning Cookbook

by Douwe Osinga
June 2018
Intermediate to advanced
252 pages
6h 9m
English
O'Reilly Media, Inc.
Content preview from Deep Learning Cookbook

Chapter 15. Music and Deep Learning

The other chapters in this book are all about processing of images or texts. Those chapters represent the balance of media in deep learning research, but that is not to say that sound processing isn’t interesting and that we haven’t seen some great developments in this area in the last few years. Speech recognition and speech synthesis are what made home assistants like Amazon Alexa and Google Home a possibility. The old sitcom joke where the phone dials the wrong number hasn’t really been current since Siri came out.

It is easy to start experimenting with these systems; there are APIs out there that let you get a simple voice app up and running in a few hours. The voice processing, however, is done in Amazon, Google, or Apple’s data center, so we can’t really count these as deep learning experiments. Building state-of-the-art voice recognition systems is hard, although Mozilla’s Deep Speech is making some impressive progress.

This chapter focuses on music. We’ll start out with training a music classification model that can tell us what music we’re listening to. We’ll then use the results of this model to index local MP3s, making it possible to find songs similar in style. After that we’ll use the Spotify API to create a corpus of public playlists that we’ll use to train a music recommender.

The notebooks for this chapter are:

15.1 Song Classification
15.2 Index Local MP3s
15.3 Spotify Playlists
15.4 Train a Music Recommender

15.1 Creating ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

TensorFlow 2 Reinforcement Learning Cookbook

TensorFlow 2 Reinforcement Learning Cookbook

Palanisamy
TensorFlow Deep Learning Projects

TensorFlow Deep Learning Projects

Alexey Grigorev, Srinivas Kulkarni, Rajalingappaa Shanmugamani

Publisher Resources

ISBN: 9781491995839Errata Page