NES: fix dc offset and distortion
Merge pull request #773 from diizy/master

NES: fix dc offset and distortion
Copy+Paste for rubberband selections in track editor
PianoRoll: Note Quick Resize
Basically, this works as such:
- if you click shift *after* starting a note move OR after creating a new note, the note move action is switched into resize mode, so you can quickly resize the note you just created, or the note you just moved. This saves time and improves workflow - at least based on my own experience: I've always wished I could do this, this is a huge time saving when you want to quickly jot down notes of differing lengths.
- if shift is already pressed when you click, the above will not happen, because that would mess with the note copy function. Copying notes with shift-dragging works the same as before.
- note test playback is halted when you click shift while moving. This is purely because it was causing some crackling noise, probably because of the changing length of a note that is currently playing. Maybe that can be fixed later, although it's arguably better not to hear the note while resizing - it's consistent with the other resize.
- works on group of notes as well, if you start moving a group of notes and then click shift, it will go into resize. Exception is notes copied with shift-drag... for obvious reasons.
- that should be all. Testing appreciated.
Nes: implement vibrato, also: make main pitch update at 60hz frequency regardless of period size or samplerate (guarantees consistency in sound for combined pitch sweep + pitch automation)
Merge pull request #784 from diizy/nes

Nes: implement vibrato, also: make main pitch update at 60hz frequency r...
Nes: added pitch sweep for noise channel, freq.quantize mode (constrain frequencies to preset values when using note frequency)
Also added a handful of neat presets that mimick Nes sound effects
Nes: Fix previous - forgot to add new models to load/save funcs
Merge pull request #785 from diizy/nes

Nes updates
FxMixerView: fix crash when loading project while selected channel != 0
Fixes #782
Merge pull request #787 from diizy/master

FxMixerView: fix crash when loading project while selected channel != 0
Merge pull request #778 from diizy/pianoroll

PianoRoll: Note Quick Resize
Merge pull request #776 from xsleonard/cut-copy-paste

Copy+Paste for rubberband selections in track editor
Initial implementation of sample-exact models and controllers
Also featuring a very efficient buffer-based system for transporting sample-exact control data
Also interpolation for automations
The native Amplifier is a reference implementation for taking advantage of sample-exact data and is currently
the only one that does so, it can be used to test things out, and as documentation/example for implementing the
same elsewhere
Move improvements to sample-exact controller handling,
also some coding style fixes
LfoController updates - fix some remaining timing issues
Models: Fix error
Merge pull request #788 from diizy/models

Models branch for 1.2
S.ex. models: implement support for sample-exact controls in fx-mixer
Works for all faders and send knobs
FxMixer, ValueBuffer, etc. fixes