Results 1 to 3 of 3

Thread: Compare different audio

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2021
    Posts
    166

    Compare different audio

    Well I've asked a question similar to vb.net, but this is a little different let's go there: well I want to know if two songs are equal or similar the difference is that the first mp3 has 2 minutes and the second 4 and the ritimo of two are different one is faster another slower some next neighbor algorithim can do this in vb6 ?

    I researched and there is a way to compare the frequency of files but this varies according to quality, so I thought that if the song is 27% equal is considered as the same.

    Basically the files will come from two strigs:

    HTML Code:
    Option Explicit
    
    Rem MscO(MusicOne) , Msct(MusicTwo)
    
    Dim music1 as String = "C:\windows\user\music\mscO.mp3"
    Dim music2 as String = "C:\windows\user\music\mscT.mp3" 
    
    
     Rem Verify if exist files from module bas :
    Rem https://www.vbforums.com/showthread.php?349990-Classic-VB-How-can-I-check-if-a-file-exists
    Private Sub Command_Click()
       if FileExists(music1) Then
               if FileExists(music2) Then
                 
                       REM Compare music1   with music2 frequênci           
    
               End if
      End if
    End Sub

  2. #2

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2021
    Posts
    166

    Re: Compare different audio


    in a search thanks to your efforts I found something relevant I will try to recreate but first I will test.

    See it:

    https://www.freevbcode.com/ShowCode.asp?ID=2685

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width