package com.bignerdranch.android.beatbox;

/**
 * Created by dcordero on 14/10/15.
 */
public class Sound {
}

package com.bignerdranch.android.beatbox;

public class Sound {
    private String mAssetPath;

    private String mName;

    public Sound(String assetPath) {
        mAssetPath = assetPath;

        String[] components = assetPath.split("/");
        String fileName = components[components.length - 1];
        mName = fileName.replace(".wav", "");
    }

    public String getAssetPath() {
        return mAssetPath;
    }

    public String getName() {
        return mName;
    }
}

Create class Sound to manage each wav asset