klesun-productions / klesun-productions.github.io

MIDI song editor in a web page + soundfont player... and 100500 other misc web apps on my server
https://klesun.github.io/
10 stars 4 forks source link

Apply lowpass Filtering to all samples and store them in the new structure #70

Open klesun opened 8 years ago

klesun commented 8 years ago

The thing is, Filtering is used quite a lot in Fluid, but, damn life, biquadFilter is pretty heavy operation in javascript (twices the CPU load).

I think it will be logical to have such folder structure, since it would match what i now store in the info file:

+-+preset_81
  |
  +-+instrument_1
  |  |
  |  +-Sample_1
  |  |
  |  +-Sample_2
  | 
  +-instrument_2

As you may guess, with such structure we would have several samples duplicating, but gladly, soundfont is stupid format - this is rare case on practice.

klesun commented 8 years ago

While we are at it, it would probably make sense to by the way apply all volume, pitch corrections and stuff, and then remove all the applied stuff from info file.