Keep in mind, in bare metal embedded programming, dynamic memory is used way less than in applications running under an OS
That’s what i meant to say in rather a convoluted fashion when talking about ‘idomatic’ programming.
What i want to achieve is to load samples (and objects describing them, e.g. root key, range, etc.) from the SD card into the memory for playback.
What apart from audio drop-outs and very limited memory speaks against using dynamic memory in embedded systems?