Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: 1 [2]   Go Down

Author Topic: Filter Algorithms  (Read 16635 times)

0 Members and 2 Guests are viewing this topic.

barryvan

  • I can't decide if you're adorable or creepy.
  • Newbie
  • Offline Offline
  • Posts: 130
    • View Profile
    • barryvan
Re: Filter Algorithms
« Reply #10 on: September 25, 2008, 02:00:53 »

If you do want to do work with FFTs, there are ways and means to get around windowing difficulties, like sliding windows, pyramid schemes, combinations thereof, limited number of frequencies analysed, and a lot more. Bear in mind, though, that they're likely to be a tad processor-hungry for low-powerered devices like the DS.
Logged
www.barryvan.com.au - design & music

the barryvan compo - Bimonthly inspiration-based compo

barryvan  @ Last.fm

urban soul

  • New User
  • Offline Offline
  • Posts: 30
    • View Profile
    • freak stuff
Re: Filter Algorithms
« Reply #11 on: September 25, 2008, 03:30:33 »

If you do want to do work with FFTs, there are ways and means to get around windowing difficulties, like sliding windows, pyramid schemes, combinations thereof, limited number of frequencies analysed, and a lot more. Bear in mind, though, that they're likely to be a tad processor-hungry for low-powerered devices like the DS.
I'd like to know more about these windowing tricks. What pyramid schemes ?

The only thing I know is, that I compared an offline convolution to a FFT based realtime convolution (reverb here) and the difference in sound quality was disappointing. The non-FFT-based implementation sounded way better to me. I also compared transposing tools in Max/MSP. The difference was not so clear and depended on source material.
Logged
„Es mejor morir de pie que vivir toda una vida de rodillas!“ Zapata

phate

  • New User
  • Offline Offline
  • Posts: 19
    • View Profile
Re: Filter Algorithms
« Reply #12 on: September 25, 2008, 03:42:48 »

Bear in mind, though, that they're likely to be a tad processor-hungry for low-powerered devices like the DS.

Yeah, I know. Luckily, this isn't going to need realtime processing, being an audio editor and all, although I've actually seen real-time spectral analysis done on the DS, so I guess that sort of thing is possible.
Logged

barryvan

  • I can't decide if you're adorable or creepy.
  • Newbie
  • Offline Offline
  • Posts: 130
    • View Profile
    • barryvan
Re: Filter Algorithms
« Reply #13 on: September 25, 2008, 03:45:00 »

@urban soul: There are lots of ways to do FFTs. I investigated quite a few for my thesis. There's your plain vanilla DFT, which you should know. Then there's your frequency-limited DFT (which I use) - once I've finished my thesis, I'll put it up on the web with pseudocode on how to do that. There's sliding window analysis:

...which I think you know, and then there's pyramid stuff. (I've got a pretty diagram for that, too, but I haven't uploaded it yet.) Basically, pyramid analysis uses windows of different sizes overlapped to analyse different frequencies. This allows you to overcome some of the problems related to the tradeoff between the temporal resolution and the frequencies you can detect. Recall that in an FFT, you can only detect frequencies up to the Nyquist frequency; that is, you can only detect a freq if it has at least one full cycle in the window you analyse. So to detect a low freq, you need a long window; but this means that you can't pick up rapid changes in notes. :)

@ phate: Yeah. Spectral analysis on low powered devices (which is kinda my thesis' point) is best done with a limited set of frequencies - like, for example, the notes of a scale (generally 12TET). This means that you might have difficulty working with out-of-tune or untuned instruments, but meh. :)
« Last Edit: September 25, 2008, 03:47:25 by barryvan »
Logged
www.barryvan.com.au - design & music

the barryvan compo - Bimonthly inspiration-based compo

barryvan  @ Last.fm

urban soul

  • New User
  • Offline Offline
  • Posts: 30
    • View Profile
    • freak stuff
Re: Filter Algorithms
« Reply #14 on: September 25, 2008, 04:33:26 »

@barryvan: Oh thx, I see. You can get a pretty good trade-off between frequency selection , floating windows (frequency dependent, different types) , and FFT length. So you have to know (analyze) the input signal.
Logged
„Es mejor morir de pie que vivir toda una vida de rodillas!“ Zapata
Pages: 1 [2]   Go Up