Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sound Processing by Edi Syaputra

420 views

Published on

Presentasi dari Edi Syaputra Batubara, Crew dari Agate Studio dalam event Talent Development Saturday Agate Studio. http://agatestudio.com

Talent Development Saturday adalah acara Agate Studio crew sharing berbagai topik. Mulai dari Art, Programming, Game Production dan General Business/Management. TDS ini dilakukan tanggal 8 Februari 2014 di Bandung Digital Valley.

Published in: Education
  • Be the first to comment

  • Be the first to like this

Sound Processing by Edi Syaputra

  1. 1. @agatestudio Sound Processing dengan FFT Edi Syaputra Knight Agate Studio
  2. 2. @agatestudio DISCLAIMER AS3, based on “FFT Based Spectrum Analyzer” (by : Gerry Beauregard) Processing, bukan Recognizing (apalagi pake voice) Less technique!!!! Yang presentasi buta nada
  3. 3. @agatestudio Sound Processing? • Bukan “masukin suara ke game”, tapi “menggunakan masukan (input) suara ke game • Input suara -> store -> tweak/process->... • Image Processing : Manipulating array of pixels • Sound Processing : Manipulating “array” of samples
  4. 4. What For? • Alternatif input, selain keyboard/mouse/joystick/tombol-tombol lainnya
  5. 5. @agatestudio FFT • Fast Fourier Transform Fourier Transform, yang cepat... :v DFT (Discrete Fourier Transform) yang cepat • Fourier : fungsi yang dibentuk dalam sejumlah fungsi sinus cosinus.
  6. 6. @agatestudio FFT – How? • Raw Input (berupa sinyal suara/time domain) • Proses • Output (Frekuensi/frequency domain) Konversi dari time domain ke frequency domain, Analog ke digital
  7. 7. @agatestudio FFT – How? (2) • Di AS3, Input microphone (sample) di-store kedalam variable • Store sample ke buffer, lalu lakukan perhitungan • Output bisa berupa magnitude atau frekuensi Gampang, kan? :D
  8. 8. :D computing the DFT of N points in the naive way, using the definition, takes O(N2) arithmetical operations, while a FFT can compute the same DFT in only O(N log N) operations.
  9. 9. @agatestudio Applications • Game berbasis suara (ya iyalah) – Karaoke (frekuensi/pitch) – Dll • Manipulasi suara
  10. 10. @agatestudio Pros • Faster than DFT • Yang sudah dijelaskan sebelumnya (itu yang diatas juga sih...)
  11. 11. @agatestudio Cons • Slow/Heavy sometimes, may cause a little latecoming of information (delay) • Sensitive!
  12. 12. Thanks! • http://www.audiostretch.com/spectrum/ • http://gerrybeauregard.wordpress.com/2010/08/06/real-time-spectrum- analysis/ • http://gerrybeauregard.wordpress.com/2010/08/03/an-even-faster-as3- fft/ • http://www.aes.org/sections/pnw/pnwrecaps/2012/jj_jan/fft.pptx
  13. 13. Demo, yay!

×