View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002219 | ardour | bugs | public | 2008-04-24 14:31 | 2008-04-24 17:29 |
Reporter | timblech | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | SVN/2.0-ongoing | ||||
Summary | 0002219: exporting multichannel region bug | ||||
Description | when exporting a multichannel region (a 3-channel region in my case), results in a badly exported file: - the exported file is only a 2-channel file - the exported file sounds like it is corrupted during export ardour 2.4.1 | ||||
Additional Information | one of the original files forming the 3-channel region: tim@laptop:~$ sndfile-info usod/interchange/usod/audiofiles/Audio\ 1-7%a.wav Version : libsndfile-1.0.17 ======================================== File : usod/interchange/usod/audiofiles/Audio 1-7%a.wav Length : 20750392 RIFF : 20750384 WAVE fmt : 16 Format : 0x3 => WAVE_FORMAT_IEEE_FLOAT Channels : 1 Sample Rate : 44100 Block Align : 4 Bit Width : 32 Bytes/sec : 176400 fact : 4 frames : 5187584 data : 20750336 End ---------------------------------------- Sample Rate : 44100 Frames : 5187584 Channels : 1 Format : 0x00010006 Sections : 1 Seekable : TRUE Duration : 00:01:57.632 Signal Max : 0.0802881 (-21.91 dB) the exported file: tim@laptop:~$ sndfile-info 3c.wav Version : libsndfile-1.0.17 ======================================== File : 3c.wav Length : 31125548 RIFF : 31125540 WAVE fmt : 16 Format : 0x1 => WAVE_FORMAT_PCM Channels : 2 Sample Rate : 44100 Block Align : 6 Bit Width : 24 Bytes/sec : 264600 data : 31125504 End ---------------------------------------- Sample Rate : 44100 Frames : 5187584 Channels : 2 Format : 0x00010003 Sections : 1 Seekable : TRUE Duration : 00:01:57.632 Signal Max : 687978 (-21.72 dB) | ||||
Tags | No tags attached. | ||||
2008-04-24 17:29
|
0001-fixed-multichannel-export.patch (788 bytes)
From 0a20862f07e8c1a4f421012274ee5cdb8f2156fd Mon Sep 17 00:00:00 2001 From: Tim Blechmann <tim@klingt.org> Date: Thu, 24 Apr 2008 19:26:31 +0200 Subject: [PATCH] fixed multichannel export --- libs/ardour/session_export.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index e7a3b3b..58c6cd9 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -70,7 +70,7 @@ convert_spec_to_info (AudioExportSpecification& spec, SF_INFO& sfinfo) sfinfo.format = spec.format; sfinfo.samplerate = spec.sample_rate; sfinfo.frames = spec.end_frame - spec.start_frame + 1; - sfinfo.channels = min (spec.channels, 2U); + sfinfo.channels = spec.channels; return 0; } -- 1.5.5 |