public PureDataItem Play(string soundName, object source, float delay, params PureDataOption[] options) { PureDataSingleItem item = GetPureDataSingleItem(soundName, source); item.ApplyOptions(options); item.Play(delay); return(item); }
public PureDataSingleItem GetPureDataSourceItem(PureDataSubContainer subContainer, object source) { PureDataSingleItem sourceAudioItem = null; switch (subContainer.type) { default: sourceAudioItem = GetPureDataSingleItem(subContainer.infoName, source); sourceAudioItem.ApplyOptions(subContainer.options); break; } return(sourceAudioItem); }