Sony's Developer World forum

    • Home
    • Forum guidelines

    What is "score" file used in ssprocLib?

    Spresense
    2
    4
    80
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NavaneethRao 2 last edited by

      Hi @CamilaSouza,

      I have been using the sound signal processing library (ssprocLib) from Spresense.

      https://github.com/SonySemiconductorSolutions/ssih-music

      Most of the sample examples such as MusicBox, OneKeySynth etc. uses "score" file.

      Could you please help me in knowing what it is? Is it the sheet music file that's been referred here? What is the format of the file?

      BR
      Navaneeth

      C 1 Reply Last reply Reply Quote
      • C
        CamilaSouza DeveloperWorld @NavaneethRao 2 last edited by

        Hi @NavaneethRao-2!

        I haven't used this library myself, but by taking a look at the code I believe this is a MIDI score file they are referring too.

        If you go to test/scoresrc_test.cpp there is a midiparse() function that gets information from this score file and it expects a MIDI file.
        They even use an example file called "BeethovenFurElise.mid". But they probably couldn't upload the file to github for legal reasons.

        Try to use a .mid file and tell me if it works. If it doesn't we can dig deeper.

        N 1 Reply Last reply Reply Quote
        • N
          NavaneethRao 2 @CamilaSouza last edited by

          @CamilaSouza Thanks a lot for the inputs. I had not seen the test scripts. It worked for me.

          C 1 Reply Last reply Reply Quote
          • C
            CamilaSouza DeveloperWorld @NavaneethRao 2 last edited by

            @NavaneethRao-2
            I'm glad 🙂

            1 Reply Last reply Reply Quote
            • First post
              Last post
            Developer World
            Copyright © 2021 Sony Group Corporation. All rights reserved.
            • Contact us
            • Legal