View Issue Details

IDProjectCategoryView StatusLast Update
0000319ardourbugspublic2008-11-20 23:58
Reporterv2 Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000319: 32 bit export results in a wav full of zeros
DescriptionI have an open bug (0000285) about session exporting crashing ardour and hanging jackd. To narrow down what could cause it, I tried exporting without any conversion:

Stereo, WAV, 32 bit, Little-endian, 48khz (the sample rate I used), (conversion quality and dither type don't apply, as no conversion is done).

I selected only the master bus out-1 and out-2 to be exported.

Everything went fine, except AFTER the export is finished (status bar is full), I get this on the console:

cannot use real-time scheduling (FIFO/9) (1: Operation not permitted)

Then the export dialog closes, and after a few seconds I get a popup saying that jackd has thrown ardour out.

The resulting wave is just full of zeros. If I export as a raw I can do this:
$ cmp Session.raw /dev/zero
cmp: EOF on Session.raw
TagsNo tags attached.

Activities

paul

2004-03-12 17:23

administrator   ~0000531

please provide the ardour version info. i believe this is fixed in current CVS.

v2

2004-03-13 15:12

developer   ~0000535

Whoops. I knew I forgot something..

Ardour/GTK 0.453.1 running with libardour 0.728.1

v2

2004-03-13 16:10

developer   ~0000536

I tried the nightly cvs snapshot, version:
Ardour/GTK 0.454.0 running with libardour 0.729.0

I still get exported files full of zeros.

paul

2004-03-13 19:26

administrator   ~0000537

libardour 0.729.0 is not the latest CVS. but thats not your fault. for some reason, the nightly build script has not run since march 7th, something i would not have noticed without this report.

please pick up the new "hand-made" CVS tarball and test that one out.

v2

2004-03-13 22:32

developer   ~0000538

I got the new tarball and compiled, version is now:

Ardour/GTK 0.456.0 running with libardour 0.731.0

I still get empty waves. Could this be a library version incompatibility?

All libraries in use by ardour:
 ld-2.3.2.so
 libc-2.3.2.so
 libdl-2.3.2.so
 libgcc_s.so.1
 libm-2.3.2.so
 libpthread-0.10.so
 librt-2.3.2.so
 libX11.so.6.2
 libXext.so.6.4
 libXi.so.6.0
 libcrypto.so.0.9.7
 libssl.so.0.9.7
 libart_lgpl_2.so.2.3.16
 libasound.so.2.0.0
 libcurl.so.2.0.2
 libgdk-1.2.so.0.9.1
 libglib-1.2.so.0.0.10
 libglib-2.0.so.0.200.3
 libgmodule-1.2.so.0.0.10
 libgtk-1.2.so.0.9.1
 libjack.so.0.0.23
 liblrdf.so.0.1.3
 libraptor.so.1.1.0
 libsamplerate.so.0.0.15
 libsndfile.so.1.0.7
 libstdc++.so.5.0.5
 libxml2.so.2.6.6
 libz.so.1.2.1


(btw. I produced this with:
for FILE in $(ls -l $(ldd $(which ardour) | grep '=>' | sed 's/.*=> //' | sed 's/ .*//') | sed 's/.*-> //' | sed 's/.* //'); do basename $FILE; done

This could be useful for mantis reports)

paul

2004-03-13 23:28

administrator   ~0000539

can you do me a favor and try either (or both) 16 bit and float formats?

v2

2004-03-14 10:33

developer   ~0000540

16 bit and float work fine.

paul

2004-04-12 12:26

administrator   ~0000614

tested 3 times at 24bits and 32 bits. considered fixed.

v2

2004-05-28 09:39

developer   ~0000913

Sorry for not testing this earlier.

I just tried this, I recorded a few clicks and exported it to a 32 bit wave. The resulting wave was abs()ized. Except for the clipped samples which were at about -1. The session had one mono track and a stereo master bus. I exported through the master bus.

I'll attach a sample of one exported click.

2004-05-28 09:39

 

RecTest.wav (34,164 bytes)   

v2

2004-12-18 23:17

developer   ~0001741

32 bit exports are still distorted. I believe that for some reason, ardour isn't producing any negative samples. I've just exported a small session and tried opining it with audacity, sweep, snd, kwave and all point to the same direction. All samples are above or at 0.

Ardour/GTK 0.548.1 running with libardour 0.851.1

taybin

2007-01-05 21:23

administrator   ~0003018

Is this still an issue?

Issue History

Date Modified Username Field Change
2004-03-12 16:15 v2 New Issue
2004-03-12 17:23 paul Note Added: 0000531
2004-03-13 15:12 v2 Note Added: 0000535
2004-03-13 16:10 v2 Note Added: 0000536
2004-03-13 19:26 paul Note Added: 0000537
2004-03-13 22:32 v2 Note Added: 0000538
2004-03-13 23:28 paul Note Added: 0000539
2004-03-14 10:33 v2 Note Added: 0000540
2004-04-12 12:26 paul Status new => resolved
2004-04-12 12:26 paul Resolution open => fixed
2004-04-12 12:26 paul Assigned To => paul
2004-04-12 12:26 paul Note Added: 0000614
2004-05-28 09:39 v2 Status resolved => feedback
2004-05-28 09:39 v2 Resolution fixed => reopened
2004-05-28 09:39 v2 Note Added: 0000913
2004-05-28 09:39 v2 File Added: RecTest.wav
2004-12-18 23:17 v2 Note Added: 0001741
2007-01-05 21:23 taybin Note Added: 0003018
2007-02-14 22:57 taybin Status feedback => resolved
2007-02-14 22:57 taybin Resolution reopened => fixed
2008-11-20 23:58 seablade Status resolved => closed