1. elhobbs

    OP elhobbs GBAtemp Advanced Fan
    Member

    Joined:
    Jul 28, 2008
    Messages:
    909
    Country:
    United States
    does anyone have an ndsp minimal example that they would be willing to share or provide a link?
     
  2. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
  3. elhobbs

    OP elhobbs GBAtemp Advanced Fan
    Member

    Joined:
    Jul 28, 2008
    Messages:
    909
    Country:
    United States
  4. DiscostewSM

    DiscostewSM GBAtemp Guru
    Member

    Joined:
    Feb 10, 2009
    Messages:
    5,456
    Country:
    United States
    I know this is almost a month old, but just wanted to comment that calculating the number of samples from the dataSize is missing the number of channels the audio contains. Thought looping wasn't implemented yet when playing a 1-minute audio file (as there was silence at the end), but it turns out that not taking into account the channel count (in my case, my file was 2-channel) resulted in setting double the samples than there really was.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - minimal, example,