Ejemplo n.º 1
0
        /// <summary>
        /// Generate a Spectrogram.
        /// </summary>
        /// <param name="bytes">
        /// The bytes.
        /// </param>
        /// <returns>
        /// Spectrogram image.
        /// </returns>
        private static Image Spectrogram(byte[] bytes)
        {
            IWavReader wavReader = new WavStreamReader(bytes);

            return(GetSpectrogram(wavReader, 1));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Generate a Spectrogram.
        /// </summary>
        /// <param name="bytes">
        /// The bytes.
        /// </param>
        /// <returns>
        /// Spectrogram image.
        /// </returns>
        public Image <Rgb24> Spectrogram(byte[] bytes)
        {
            IWavReader wavReader = new WavStreamReader(bytes);

            return(GetSpectrogram(wavReader, 1));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Generate a Spectrogram.
        /// </summary>
        /// <param name="bytes">
        /// The bytes.
        /// </param>
        /// <returns>
        /// Spectrogram image.
        /// </returns>
        public Bitmap Spectrogram(byte[] bytes)
        {
            IWavReader wavReader = new WavStreamReader(bytes);

            return(new Bitmap(GetSpectrogram(wavReader, 1)));
        }