Quote:
Originally Posted by nvk
Would it be possible to add export_buffer_to_project to the documentation? It seems very useful. I'm not exactly sure what planar_pitch is supposed to do.
|
Ah yeah, it's about that time.
For multichannel exports: planar_pitch should be 0 if interleaved, otherwise it is the distance in memory between channels.
As an example, suppose nch=2, your left channel is at offset 1, your right channel at offset 10000001, and you're writing 32768 samples, you'd call:
export_buffer_to_project(1,32768, 2, srate,trackidx,flags=0, 10000001-1 /* or right_channel-left_channel */);