#209 Sonic Annotator multiplexing not working?

v2.1
open
nobody
5
2014-10-22
2014-10-22
Bruno Dias
No

Greetings! Due to the fact that I can't find the sonic annotator forum/support board, I'm writing this in here.

I have 5 files and I want to get the beatgrid from them. I can do it with, or without, the multiplexing option.

sonic-annotator -d vamp:qm-vamp-plugins:qm-barbeattracker:beats -w json 1.mp3 2.mp3 3.mp3 4.mp3 5.mp3 -m

After running this command, sonic annotator generates just one json file. The contents of that file refer only to 1.mp3. Am I doing something wrong??

Thanks in advance!

Related

Bugs: #209

Discussion

  • Chris Cannam

    Chris Cannam - 2014-10-22

    The multiplex option is used to tell Sonic Annotator to pretend to the plugin that it only has a single input file, where that file is composed of one channel from each of the audio files that you actually supply (and each file is mixed down to a single channel for that purpose).

    It can be used, for example, to provide the input to the MATCH audio alignment plugin, which expects to get two related but different recordings on the two channels of its input audio, which it calculates an alignment between. With the multiplex option, Sonic Annotator will take two distinct audio files and provide them as the two channels of input to a single run of the plugin.

    If you simply want to extract features from more than one audio file, as appears to be the case here, then you normally just want to supply the audio files on the command line without the multiplex option. That's what Sonic Annotator will do by default.

     
    • Bruno Dias

      Bruno Dias - 2014-10-22

      Ooooh, I got confused with the description. I'm sorry.

      2014-10-22 18:01 GMT+01:00 Chris Cannam cannam@users.sf.net:

      The multiplex option is used to tell Sonic Annotator to pretend to the
      plugin that it only has a single input file, where that file is composed of
      one channel from each of the audio files that you actually supply (and each
      file is mixed down to a single channel for that purpose).

      It can be used, for example, to provide the input to the MATCH audio
      alignment plugin, which expects to get two related but different recordings
      on the two channels of its input audio, which it calculates an alignment
      between. With the multiplex option, Sonic Annotator will take two distinct
      audio files and provide them as the two channels of input to a single run
      of the plugin.

      If you simply want to extract features from more than one audio file, as
      appears to be the case here, then you normally just want to supply the
      audio files on the command line without the multiplex option. That's what
      Sonic Annotator will do by default.


      Status: open
      Group: v2.1
      Labels: sonic annotator
      Created: Wed Oct 22, 2014 04:35 PM UTC by Bruno Dias
      Last Updated: Wed Oct 22, 2014 04:35 PM UTC
      Owner: nobody

      Greetings! Due to the fact that I can't find the sonic annotator
      forum/support board, I'm writing this in here.

      I have 5 files and I want to get the beatgrid from them. I can do it with,
      or without, the multiplexing option.

      sonic-annotator -d vamp:qm-vamp-plugins:qm-barbeattracker:beats -w json
      1.mp3 2.mp3 3.mp3 4.mp3 5.mp3 -m

      After running this command, sonic annotator generates just one json file.
      The contents of that file refer only to 1.mp3. Am I doing something wrong??

      Thanks in advance!

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/sv1/bugs/209/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #209


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks