annotate src/uk/ac/qmul/eecs/depic/daw/Sample.java @ 4:473da40f3d39 tip

added html formatting to Daw/package-info.java
author Fiore Martin <f.martin@qmul.ac.uk>
date Thu, 25 Feb 2016 17:50:09 +0000
parents 629262395647
children
rev   line source
f@0 1 /*
f@0 2 Cross-Modal DAW Prototype - Prototype of a simple Cross-Modal Digital Audio Workstation.
f@0 3
f@0 4 Copyright (C) 2015 Queen Mary University of London (http://depic.eecs.qmul.ac.uk/)
f@0 5
f@0 6 This program is free software: you can redistribute it and/or modify
f@0 7 it under the terms of the GNU General Public License as published by
f@0 8 the Free Software Foundation, either version 3 of the License, or
f@0 9 (at your option) any later version.
f@0 10
f@0 11 This program is distributed in the hope that it will be useful,
f@0 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
f@0 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f@0 14 GNU General Public License for more details.
f@0 15
f@0 16 You should have received a copy of the GNU General Public License
f@0 17 along with this program. If not, see <http://www.gnu.org/licenses/>.
f@0 18 */
f@0 19 package uk.ac.qmul.eecs.depic.daw;
f@0 20
f@1 21 /**
f@1 22 *
f@1 23 * An Audio Sample
f@1 24 *
f@1 25 */
f@0 26 public interface Sample {
f@0 27
f@0 28 public int getBytesPerSample();
f@0 29
f@0 30 public void getFrame(int arg0, float[] arg1);
f@0 31
f@0 32 public void getFrameCubic(double arg0, float[] arg1);
f@0 33
f@0 34 public void getFrameLinear(double arg0, float[] arg1);
f@0 35
f@0 36 public void getFrameNoInterp(double arg0, float[] arg1);
f@0 37
f@0 38 public void getFrames(int arg0, float[][] arg1);
f@0 39
f@0 40 public float getLength();
f@0 41
f@0 42 public int getNumChannels();
f@0 43
f@0 44 public long getNumFrames();
f@0 45
f@0 46 public float getSampleRate();
f@0 47
f@0 48 public double msToSamples(double arg0);
f@0 49
f@0 50 public double samplesToMs(double arg0);
f@0 51
f@0 52
f@0 53 }