Answers.Body: <p>Yes, it is possible, even if the best approach could be different from  neural networks. Anyway, you should extract some significant features from the audio (energy, onsets, root frequencies, and other). Usually, more features than those really needed are extracted and afterwards the most sigificant are selected through some algorithm (e.g. PCA). In this way you will obtain an array of features (say between 10 and 100 features) with which you can train your NNs.</p>
  
  <p>Note that NNs do not tell you <em>why</em> two audio are similar but only if they are or not. This is a big disadvantage. Instead, algorithms based on grey-box modeling such as rule or case based algorithm (maybe using fuzzy logic) could be more useful, provided that you have a deeper knowledge of the problem.</p>
  
  <p>References and deepening sources: <a href="http://smc.dei.unipd.it/education.html" rel="nofollow noreferrer">SMC Lab from University of Padua education material</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-23T08:57:32.103Z
Answers.LastActivityDate: 2017-08-23T14:56:34.697Z
Answers.LastEditDate: 2017-08-23T14:56:34.697Z
Answers.UserDisplayName: fortea
Body: <p>I wonder on the following concept:</p>
  
  <blockquote>
    <p>A given neural network gets two audio input (preferably music) and gives a real number between 0 and 1 which describes "similarity" between the second and the first track.</p>
  </blockquote>
  
  <p>As far as my understanding of neural networks go, the problem fits the concept of NNs, as pattern recognition in music can help determine similarities and discrepancies in audio, see voice recognition.</p>
  
  <p>However, due to the nature of long and complex inputs, and the vague nature of learning datasets (how similar, for instance, Diana Ross "It's your move", and The Vaporwave legend "Floral Shoppe" exactly are? 0.9? 0.6? other?), such a network would be extremely slow and convoluted.</p>
  
  <p>Is it possible today to build and train such a model? If yes, how would it look like?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-23T14:56:10.357Z
Comments.Text: i don't think sound recognition in humans is well-understood enough to be able to construct a model that does what you naively want to do (these two sounds are similar)
Comments.UserDisplayName: k.c. sayz 'k.c sayz'
Tags: <neural-networks><deep-learning><pattern-recognition><voice-recognition><similarity>
Title: Is music/sound similarity comparison feasible on neural networks?
UserDisplayName: Zoltán Schmidt
ThreadText: # Is music/sound similarity comparison feasible on neural networks?
  
  (Asked by: username_0 on 2017-08-22)
  
  I wonder on the following concept:
  
  > A given neural network gets two audio input (preferably music) and gives a real number between 0 and 1 which describes "similarity" between the second and the first track.
  
  As far as my understanding of neural networks go, the problem fits the concept of NNs, as pattern recognition in music can help determine similarities and discrepancies in audio, see voice recognition.
  
  However, due to the nature of long and complex inputs, and the vague nature of learning datasets (how similar, for instance, Diana Ross "It's your move", and The Vaporwave legend "Floral Shoppe" exactly are? 0.9? 0.6? other?), such a network would be extremely slow and convoluted.
  
  Is it possible today to build and train such a model? If yes, how would it look like?
  
  **Tags:** neural-networks, deep-learning, pattern-recognition, voice-recognition, similarity
  
  > **Comments:**
  > **username_1**: i don't think sound recognition in humans is well-understood enough to be able to construct a model that does what you naively want to do (these two sounds are similar)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-08-23. Score: 3 | Accepted answer
  
  Yes, it is possible, even if the best approach could be different from neural networks. Anyway, you should extract some significant features from the audio (energy, onsets, root frequencies, and other). Usually, more features than those really needed are extracted and afterwards the most sigificant are selected through some algorithm (e.g. PCA). In this way you will obtain an array of features (say between 10 and 100 features) with which you can train your NNs.
  
  Note that NNs do not tell you *why* two audio are similar but only if they are or not. This is a big disadvantage. Instead, algorithms based on grey-box modeling such as rule or case based algorithm (maybe using fuzzy logic) could be more useful, provided that you have a deeper knowledge of the problem.
  
  References and deepening sources: [SMC Lab from University of Padua education material](http://smc.dei.unipd.it/education.html)
  
  
  ---
  
  