/* ISoundGenerator.java (c) 2011-2016 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 v9t9.common.sound; import v9t9.common.settings.SettingSchema; import ejs.base.sound.ISoundOutput; import ejs.base.sound.ISoundVoice; import ejs.base.sound.SoundFormat; /** * @author ejs * */ public interface ISoundGenerator { String getName(); SettingSchema getRecordingSettingSchema(); boolean isSilenceRecorded(); /** Get the format the generator produces */ SoundFormat getSoundFormat(); ISoundVoice[] getSoundVoices(); //void tick(); /** Add any mutators, as needed */ void configureSoundOutput(ISoundOutput output); void generate(ISoundOutput output, int pos, int total); void flushAudio(ISoundOutput iSoundOutput, int pos, int total); }