[Ardour-Users] Exporting multichannel (> 2) files?
andersvi at extern.uio.no
andersvi at extern.uio.no
Wed Nov 26 09:39:16 PST 2008
>>>>> "J" == Jörn Nettingsmeier <nettings at stackingdwarves.net> writes:
J> Paul Davis wrote:
J> or download and install timemachine:
J> timemachine -c N where N is the desired number of channels.
J> you can tweak the output format to be wavex or plain wav.
J> you'll need to crop it manually afterwards, though :(
Theres a bug in timemachine causing a click after the pre-record buffer.
Heres a diff i use, which gets rid of the click, possibly introducing
another bug - there must be a reason for having the '+ 1' in the loop
which i cant see by looking in these 5 lines...
Ive sent an email to Steve, but should perhaps send this to linux-audio
as well...
*** /tmp/timemachine-0.3.1/src/threads.c 2008-11-26 18:24:35.000000000 +0100
--- /tmp/timemachine-0.3.1/src/threads.c~ 2005-07-18 16:03:06.000000000 +0200
***************
*** 157,164 ****
for (j = 0; j < BUF_SIZE && i < pre_size; i++, j++) {
for (k = 0; k < num_ports; k++) {
buf[j * num_ports + k] =
! /* pre_buffer[k][(i + 1 + pre_pos) % pre_size]; */
! pre_buffer[k][(i + pre_pos) % pre_size];
}
}
sf_writef_float(out, buf, j);
--- 157,163 ----
for (j = 0; j < BUF_SIZE && i < pre_size; i++, j++) {
for (k = 0; k < num_ports; k++) {
buf[j * num_ports + k] =
! pre_buffer[k][(i + 1 + pre_pos) % pre_size];
}
}
sf_writef_float(out, buf, j);
More information about the Ardour-Users
mailing list