コード例 #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);
        }
コード例 #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);
        }