示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            var lff  = FourierTransformer.LFF(fft, wav.Frequency, Convert.ToDouble(textBox2.Text));
            var data = lff.Select((c, i) => new SignalPoint {
                X = i, Y = c.Real
            });

            SaveWav(@"D:\stud_repo\astu\DS\FourierTransform\FourierTransform\wav\lff_test.wav"
                    , data.Select(p => (int)p.Y).ToArray());
            chart5.DataSource              = data;
            chart5.Series[0].XValueMember  = "X";
            chart5.Series[0].YValueMembers = "Y";
            chart5.DataBind();
        }