Homebrew Ndsp minimal example

  • Thread starter Thread starter elhobbs
  • Start date Start date
  • Views Views 2,186
  • Replies Replies 3
@_Nanni made an old ones when working on Kairy just to let me know how the service work but i don't know if it's perfectly reliable in any circumstances: https://github.com/CurryGuy/ndsp-example/blob/master/source/main.cpp

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.
 

Site & Scene News

Popular threads in this forum