Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }