Skip to content

Unable to get the powermap example working #59

@R3Ngfx

Description

@R3Ngfx

Hello, thank you for making this framework open and available! Sorry for the specific question, but after days of trying I have been unable to get a standalone implementation of the powermap example working.
I made a small C program based on the code available for the SPARTA powermap VST that reads an audio file and generates a series of image files of the audio power maps, but I have not been able to obtain correct results.

In my implementation, I read a chunk of the audio file, call the powermap_analyisis and powermap_getPmap functions with the read data, save the image to a file and then read the next chunk of audio data.

However, the power maps generated are incorrect, and they differ greatly from the results obtained when using the powermap SPARTA VST, but what I find really strange is that, for a given audio file, all the generated maps are identical despite the audio chunk data passed to the powermap_analysis function being very different. Interestingly, the map changes when using a different file, but the maps are always incorrect and identical between different chunks of the same file.

Here's are two examples of incorrectly generated PWD powermaps for different ambisonic sound files of first and third order respectively, where it seems to be repeated twice horizontally:
0000
0000

Lastly, I've noticed that when using the CroPaC LCMV mode it outputs the error:

 ** On entry to CPOSV NEYSafe minimumFULCPOSVX1FullEpsilon parameter number  1 had an illegal value
SAF WARNING: Could not solve the linear equation in utility_cslslv(). Output matrices/vectors have been zeroed.

So I'm inclined to believe there might be something wrong with the data being passed, but I think I'm using all the functions correctly and I'm certain that audio data is being read correctly, so I was wondering if there was any information I was missing on the format of the audio (as I'm using float32 audio samples), or other function calls that need to be in place when doing the powermap analysis.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions