Spleeter – Practical use of Machine Learning

Came across this brilliant piece of software called spleeter from Deezer which is a music streaming company.

We all are aware of how modern sound studio recording consists of numerous audio sources – vocals, guitars, piano, bass, drums, other percussions, synths. These sources are recorded separately, edited digitally and mixed together to provide a single recording. The production recording has multiple channels, but these channels are only for spatial separation for audio reproduction (Left, Right, Front, Rear etc.). But once the track is “flattened”, it becomes very difficult to separate these sources from the track. This separation has many applications – simplest ones that come to mind are generating karaoke tracks for practicing the vocals or piano track for learning how to play it easily etc.

This is where this new piece of software comes into play! On the outset, it looks like a simple python based software, but it is powered by Google’s TensorFlow machine learning framework and it leverages pre-trained models for separating 2, 4 or 5 stems (sources). You just give it the original track and a few command line arguments (basically how many sources do you want to identify) and it gets busy and produces its output.

I just used this on a random audio track (well semi-random, because it has to be an A. R. Rahman track 🙂 ). I thought that the software would not work so well on the heavily engineered and processed soundtrack. But I am positively surprised with the results. Check out how the output looks on 2stem , 4step and 5 stem separation!

(If the embedded players below do not work, click here to go directly to the demo)

लाभले आम्हास भाग्य बोलतो मराठी

लाभले आम्हास भाग्य बोलतो मराठी
जाहलो खरेच धन्य ऐकतो मराठी
धर्म , पंथ , जात एक जाणतो मराठी
एवढ्या जगात माय मानतो मराठी

आमुच्या मनामनात दंगते मराठी
आमुच्या रगारगात रंगते मराठी
आमुच्या उराराउरात स्पंदते मराठी
आमुच्या नसानसात नाचते मराठी

आमुच्या पिलापिलात जन्मते मराठी
आमुच्या लहानग्यात रांगते मराठी
आमुच्या मुलामुलीत खेळते मराठी
आमुच्या घराघरात वाढते मराठी

आमुच्या कुलाकुलात नांदते मराठी
येथल्या फुलाफुलात हासते मराठी
येथल्या दिशादिशात दाटते मराठी
येथल्या नगानगात गर्जते मराठी

येथल्या दरीदरीत हिंडते मराठी
येथल्या वनावनात गुंजते मराठी
येथल्या तरुलतात साजते मराठी
येथल्या कळीकळीत लाजते मराठी

येथल्या नभामधून वर्षते मराठी
येथल्या पिकांमधून डोलते मराठी
येथल्या नद्यांमधून वाहते मराठी
येथल्या चराचरात राहते मराठी

पाहुणे जरी असंख्य पोसते मराठी
आपुल्या घरात हाल सोसते मराठी
हे असे कितीक खेळ पाहते मराठी
शेवटी मदांध तख्त फोडते मराठी

कवी – सुरेश भट
संगीत – कौशल इनामदार

What is taking up your Google storage

As you know Google counts your photos, gmail and drive storage as a single bucket now and it is sometimes hard to find where all the big files are. The place to find your current storage is this: https://drive.google.com/settings/storage

Here are some tips to find the big items from each individual service:

  1. Google drive – Visit http://drive.google.com/#quota and it will open all files in your drive nicely sorted in descending order of their size. Delete / Save off the top few items and you are done.

If you (like me) are logged in to multiple google accounts at the same time and it opens a different account when you visit that link, you can just click on the top right link on the page to switch the google account. You can also access that above link from Incognito browser and use the new credentials on that page.

  1. Gmail – In the search bar type: “size:10MB” or “larger_than:10MB” It will find conversations which consume more than 10 MB.
    There is an undocumented search operator to search for older email, you can try that to find emails larger than 10 MB and older than 1 year “larger_than:10MB older_than:1y”

  2. Photos – If you upload photos at high quality (not original quality!), they are not counted against your quota. Google photos allows unlimited storage for high quality photos! I will update this post to find current photos which are counted against your storage quota.

Sad demise of Narendra Dabholkar

It was saddening to know that anti-superstition crusader Narendra Dabholkar was shot dead in Pune yesterday. Dr. Dabholkar had worked tirelessly in fighting against superstition. He founded the Maharashtra Andhashraddha Nirmoolan Samiti, wrote several books, had given countless talks against these practices and worked really hard in tabling anti-superstition and black magic bill in Maharashtra Assembly.

Here are some videos of Dr. Dabholkar to give a glimpse into his personality and work: