Exemplo n.º 1
0
		private void Timer2_Tick(object sender, System.EventArgs e)
		{
			int left = 0;
			int right = 0;

			if (FFTEnabled.Checked)
			{
				PictureBox1.Refresh();
			}

			//Dim leftamplitude(512) As Integer
			//player.GetFFTValues(1024, ZPlay.TFFTWindow.fwBartlett, Nothing, Nothing, leftamplitude, Nothing, Nothing, Nothing)
			//leftvu.Value = leftamplitude(1)

			player.GetVUData(ref left, ref right);
			leftvu.Value = left;
			rightvu.Value = right;

		}