Mercurial > hg > svcore
annotate data/fileio/AudioFileReader.cpp @ 264:260032c26c4f
* don't store fft values scaled by fftsize/2; that's a special requirement
for the spectrogram, and other applications will not expect it -- make the
spectrogram do that scaling itself
* add a higher-resolution memory cache (still polar, though) as an alternative
to the 16-bit compact cache
* don't use the memory cache if we want rectangular coords (unless the disc
cache is totally infeasible) as conversion slows it down anyway
* avoid redundant rectangular -> polar -> rectangular conversion when storing
values in a rectangular-mode disc cache
author | Chris Cannam |
---|---|
date | Fri, 01 Jun 2007 13:56:35 +0000 |
parents | b0f4555b625e |
children | 20028c634494 |
rev | line source |
---|---|
Chris@175 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@175 | 2 |
Chris@175 | 3 /* |
Chris@175 | 4 Sonic Visualiser |
Chris@175 | 5 An audio file viewer and annotation editor. |
Chris@175 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@175 | 7 This file copyright 2006 Chris Cannam. |
Chris@175 | 8 |
Chris@175 | 9 This program is free software; you can redistribute it and/or |
Chris@175 | 10 modify it under the terms of the GNU General Public License as |
Chris@175 | 11 published by the Free Software Foundation; either version 2 of the |
Chris@175 | 12 License, or (at your option) any later version. See the file |
Chris@175 | 13 COPYING included with this distribution for more information. |
Chris@175 | 14 */ |
Chris@175 | 15 |
Chris@175 | 16 #include "AudioFileReader.h" |
Chris@175 | 17 |