Mercurial > hg > sonic-visualiser
changeset 1991:0cdf87d2f05b import-audio-data
Range and normalisation work
author | Chris Cannam |
---|---|
date | Fri, 07 Sep 2018 16:15:49 +0100 |
parents | 3f3986821ee4 |
children | 592dceb28ba8 |
files | main/MainWindow.cpp repoint-lock.json |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main/MainWindow.cpp Thu Sep 06 16:27:01 2018 +0100 +++ b/main/MainWindow.cpp Fri Sep 07 16:15:49 2018 +0100 @@ -2904,6 +2904,8 @@ } } + CSVAudioFormatDialog::CSVSampleRange range; + { CSVAudioFormatDialog *dialog = new CSVAudioFormatDialog(this, format); if (dialog->exec() != QDialog::Accepted) { @@ -2911,6 +2913,7 @@ return; } format = dialog->getFormat(); + range = dialog->getSampleRange(); delete dialog; } @@ -2918,6 +2921,9 @@ ProgressDialog *progress = new ProgressDialog (tr("Importing audio data..."), true, 0, this, Qt::ApplicationModal); + + //!!! + sample range / scaling + (void)range; WaveFileModel *model = qobject_cast<WaveFileModel *> (DataFileReaderFactory::loadCSV
--- a/repoint-lock.json Thu Sep 06 16:27:01 2018 +0100 +++ b/repoint-lock.json Fri Sep 07 16:15:49 2018 +0100 @@ -4,13 +4,13 @@ "pin": "da86fb0bccb3" }, "svcore": { - "pin": "c9c2aa17439a" + "pin": "b7042aaecebe" }, "svgui": { "pin": "6440ba1ffc86" }, "svapp": { - "pin": "636a5908cf81" + "pin": "0e95c30d6680" }, "checker": { "pin": "2e8a5f665a07"