/* IEditableSoundView.java (c) 2012 Edward Swartz All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html */ package ejs.base.sound; /** * @author ejs * */ public interface IEditableSoundView extends ISoundView, IWriteArrayAccess { /** * Set the sample value * @param frameOffs * @param channel * @param value */ void set(int frameOffs, int channel, float value); /** * Set the frame to have all channels the same value * @param frameOffs * @param value */ void setFrame(int frameOffs, float value); IEditableSoundView getSoundView(int fromSample, int count); IEditableSoundView getSoundViewFrames(int fromFrame, int count); IEditableSoundView getSoundViewTime(float fromTime, float length); }