Mercurial > hg > beaglert
annotate examples/04-Audio/FFT-phase-vocoder/SampleData.h @ 470:5a936f8e9447 prerelease
I mean it actually works for real. Libpd checks for file and exits with meaningful error message if it does not find it.
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 20 Jun 2016 18:04:11 +0100 |
parents | 8fcfbfb32aa0 |
children |
rev | line source |
---|---|
robert@464 | 1 /* |
robert@464 | 2 * SampleData.h |
robert@464 | 3 * |
robert@464 | 4 * Created on: Nov 5, 2014 |
robert@464 | 5 * Author: Victor Zappi |
robert@464 | 6 */ |
robert@464 | 7 |
robert@464 | 8 #ifndef SAMPLEDATA_H_ |
robert@464 | 9 #define SAMPLEDATA_H_ |
robert@464 | 10 |
robert@464 | 11 // User defined structure to pass between main and rendere complex data retrieved from file |
robert@464 | 12 struct SampleData { |
robert@464 | 13 float *samples; // Samples in file |
robert@464 | 14 int sampleLen; // Total nume of samples |
robert@464 | 15 }; |
robert@464 | 16 |
robert@464 | 17 |
robert@464 | 18 |
robert@464 | 19 #endif /* SAMPLEDATA_H_ */ |