Ignore:
Timestamp:
05/10/18 16:04:51 (6 years ago)
Author:
davidb
Message:

Reworking of the code-base to separate logic from graphics. This version of Expeditee now supports a JFX graphics as an alternative to SWING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/apollo/meldex/PitchTracker.java

    r315 r1102  
    33import java.util.ArrayList;
    44
    5 @SuppressWarnings("unchecked") // code in java 1.4
    65public class PitchTracker
    76{
     
    1413
    1514    // The pitch data
    16     ArrayList pitchData;
     15    ArrayList<PitchValue> pitchData;
    1716
    1817    // Our lovely Pitch Period Estimators
     
    2625
    2726
    28     public ArrayList process(byte[] rawData, int rawLength, int rawSampleRate)
     27    public ArrayList<PitchValue> process(byte[] rawData, int rawLength, int rawSampleRate)
    2928    {
    3029        // Save the sample rate of the loaded sample
     
    3231
    3332        // Allocate a new pitch data array to store our pitch values
    34         pitchData = new ArrayList();
     33        pitchData = new ArrayList<PitchValue>();
    3534
    3635        // Reset our 6 pitch period estimators
Note: See TracChangeset for help on using the changeset viewer.