two sfreocrd~ – duration of one file longer than other
Having a slight problem with sfrecord~ (included patch) when recording to two audio files. I’ve noticed that the duration of one of the output wave files is longer than the other. However, during recording, both show that they are the same length until you press stop (toggle the start/stop) and then there is a slight pause (i’m guessing this pause is maxmsp closing the file(s)?) and then the durations change.
Is this a bug or have i done something wrong? Or is it possible that one file is stopped (and closed) before the other? As i’ve tried a mixture of IDE and SATA drives (old and new) and it doesn’t seem to make a difference.
Cheers for any help!
(p.s – I’m using 5.0.6 or XP64)
----------begin_max5_patcher---------- 856.3oc0Y0rbaBCD9ryL4cfQmccQR7at0ouAsGyzoirQwgLFACH2jlLMO6UZ EfIXbL1AaSNXDZEH8se6OZE9kquZBZd5S7Bj0MV2ZMYxKJIS.YZISpDLAkvd ZwJVA7fH9yQrEuhlVNlXcR5Z4JtDF0tRbFSt39XwxemyWHMKfi6L6oVTritw zQe05WUuSbDr.oye3K3lyernZ5Ifv+c8U5VUyzdiZ0zLmmuA12kJjEwOy0Ch Iyr6VcHUhSRi3uQPG5GlDp0IhQ0v9PCwtoFlkyK3BISFmJfUtZ.yZJ+aF2LW nh3kB1JzTKzcqRYpUndNTi.L8FLq0EAKAdUz2xi0uWGTpsCpKbzPCnXJXh7H fFPC2VC97XNbB.z6aORsFz8YMvdAmIqQBunfsjWCHI+I.CHxAZfvui8H.r.d PzOkLyUoRAM0ksH8Frb+3zvfgNqglHluVJU9GGFQPa6o9dLiCvI9fU119i3m p8P0+hEM8QqMm+fuHMOB0CVU+JlEC8SYZVWrsm89bfITvykRgrJd96w+Eezl oVln96Sho.cSqg1wS8yYhknN2KyIb+Q5X.F16DGCDQsy.cwh6YhBqcDuim4F 5hC7OBB10SqLAPlLW35PG0i8F7ZE3Opl3sIIk0KiKhrJXIY.hGXxxwvUlxGr 6XCqONYQonA1kZcBWr9XXB59KUD7WBr6AQnS3Ul6qYPnjmTr4IBzCOsL+n1s YSOhSydTRcOX+918817zIqWwdrtGS2oW1DM1KgVmIMnNnyUruJmjxgdE2BOa v8nMQ7DXe.e7oH7mN3GUXmDUpJ525627UId1ir+Xo9M7o.LUA3ZxAfOIILo1 meFibxXrxScgCcNgTFI7bsGSwc4PQZuZMj0dWczTC6XBD2SF0xi7bvLUvmal pL.z+zST98inLyKZUrXqOTC.e8.snuhz04KpfWUEnVMzgHdgLVTWT6sabxa9 T2GGEwEu4q5jDGkkp1frdmqcaUGXvoSZcA.mmcuXtfwL37uHfSWo4nk45I3t LLGTY5mbvELhSkzVEFW44vWl.B7XNZEOlyyMlSB21fsi.B8+Lvk.c98CczQb 7Z3kIjHrWFV5kwtBKKduf6fMqk+CBv2Cxmz9dyU0ImcM2OLtngmo7hZApl+C OF1fWB -----------end_max5_patcher-----------
Not sure about what’s causing the problem (how big is the difference? is it always the same amount, or does it vary?)
Could you record your audio to a single multi-channel file (sfrecord allows up to 8 or 16 channels, not sure, but I know it can do 4) and then split it later?
The difference isn’t consistent, it varies from roughly half a second to a second and a half. So im assuming maxmsp stops one sfrecord and waits until the files closes before stopping the other, even when the stop/start ‘bang’ toggle has been sent to both.
I did try a multi-channel wave file (using ‘sfrecord~ 4’), but it only seems to store 2 channels – have tried it in Audacity, Audition and Cubase LE and i’m sure one of those supports multi-channel waves.
It’s not a problem as i’m dealing with mono channels whilst doing some checking on phasing issues, but i found it a little odd that it happened.
I guess its a bug. Stop recording (writing samples to disc) and closing the file should be two different things with different priorities. I have seen this as well, not with multiple sfrecord~, but a single one would record longer than it is supposed to…
The starting points are correct though, that’s why it never bothered me…
I hope that the support is monitoring the forum in the same way as the list, for them it must be harder with the forum as well…
(hint: a reply to this post would proof it…
Forums > MaxMSP