Ejemplo n.º 1
0
        //public string[]

        private void button1_Click(object sender, EventArgs e)
        {
            filepath = textBox1.Text + @"\";
            sounds   = NBankManager.getParams(filepath);

            //tl = SoundAnalysis.analysisAll(filepath);
            //WAVAnalyzer.writeWAV(readVoiceD());

            //tl = SoundAnalysis.analysisAll(filepath);
            sa = new SoundAnalysis();
            sa.init(filepath, SourceType.Niaoniao);
            listBox1.Items.Clear();
            for (int i = 0; i < sounds.Length; i++)
            {
                listBox1.Items.Add(sounds[i].name);
            }
        }
Ejemplo n.º 2
0
        private void button5_Click(object sender, EventArgs e)
        {
            filepath = textBox1.Text + @"\";


            //tl = SoundAnalysis.analysisAll(filepath);
            //WAVAnalyzer.writeWAV(readVoiceD());

            //tl = SoundAnalysis.analysisAll(filepath);
            sa = new SoundAnalysis();
            sa.init(filepath, SourceType.UTAU);

            sounds = sa.getNNTonesFromToneList();

            listBox1.Items.Clear();
            for (int i = 0; i < sounds.Length; i++)
            {
                listBox1.Items.Add(sounds[i].name);
            }
        }
 // Use this for initialization
 void Start()
 {
     deformer = gameObject.GetComponent <MeshDeformer>();
     sound    = gameObject.GetComponent <SoundAnalysis>();
 }
 // Use this for initialization
 void Start()
 {
     sound = gameObject.GetComponent <SoundAnalysis>();
 }