justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: I've started writing a Winamp DSP plugin (not released anywhere and I got carried away realizing they're also perfect for visualization), and during some debugging I found out that it always returns 576 samples (except mp3s, where it gives back twice that), and in my head it seems crazy to me that a small buffer is seemingly enough for stuff like time stretch engines to work, which, they do get fed enough data... but still. And so I wonder, why only 576 samples by default?
Asked by Eris Lund (80.228.64.x) on May 5 2025, 11:47am
Reply on May 5 2025, 1:55pm:
    it was linked into the mp3 decoding originally which produces 1152/576 samples depending on whether it was MPEG-1 or MPEG-2.


Comments:
  • Posted by Eris Lund (80.228.64.x) on May 7 2025, 6:34am:
    ah, that explains it! i had done some googling before and this confirms what i was thinking. i know it's a little too late now but i admire how easy/simple it is to get and modify samples, no real extra fluff needed


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS