summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/midiutil.h (follow)
Commit message (Collapse)AuthorAge
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
| | | | | | | | directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
* Remove tabsAndree Buschmann2010-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24547 a1c6a512-1295-4272-9138-f99709370657
* midi: yield more, fixes flickering backlight fade on some targets while ↵Nils Wallménius2009-03-28
| | | | | | playing midi. Some coding style clean up, it's a little better but still a mess git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20562 a1c6a512-1295-4272-9138-f99709370657
* Rearrange the main synth loop a little and move some tests around for a ~5% ↵Nils Wallménius2008-11-24
| | | | | | speedup on c200, increase the output buffer size to make skips less likely, playback of simple midi files should now be mostly skip free on pp based players git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19207 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* MIDI: Increase percision of synthesizer by a factor of 4 - makes certain ↵Stepan Moskovchenko2007-11-17
| | | | | | | | | | parts (guitar bends, mostly) sound more natural. Also, completely rearrange the order of operations in the delta computation. Had to use long longs. Probably not a good idea for speed, but the order can be optimized more later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15652 a1c6a512-1295-4272-9138-f99709370657
* Revert some changes that broke looping in midiplayerNils Wallménius2007-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15631 a1c6a512-1295-4272-9138-f99709370657
* Rearrange logic in the synthVoice loop to do less tests and remove need of a ↵Nils Wallménius2007-11-11
| | | | | | struct member for a small speedup, move some memory lookups out of the loop for a small speedup, further cosmetic changes to the synthVoice function. Change isUsed to a bool for clearer logic and also a tiny speedup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15563 a1c6a512-1295-4272-9138-f99709370657
* MIDI: Fix ringing/beeks in music caused by improper parsing of some pitch ↵Stepan Moskovchenko2007-10-21
| | | | | | bend events. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15252 a1c6a512-1295-4272-9138-f99709370657
* Clean out an unused struct member from the synthObject structNils Wallménius2007-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15189 a1c6a512-1295-4272-9138-f99709370657
* MIDI: Optimize the new pitch bending code for a small speedup.Stepan Moskovchenko2007-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15160 a1c6a512-1295-4272-9138-f99709370657
* MIDI: At long last, though quick and dirty, pitch bend depth! Or, I think it ↵Stepan Moskovchenko2007-10-15
| | | | | | | | | | works. Tested on two files. Let me know if anyone discovers any problems with this. This commit also includes Nils's synth loop optimization patch. I hope committing it does not cause problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15112 a1c6a512-1295-4272-9138-f99709370657
* Increase output buffer size to 32kB, results in less buffer missing in ↵Nils Wallménius2007-10-04
| | | | | | general and avoids buffer misses when lcd remote is plugged in while playing and ticking reduction is enabled. Increase max voices used on coldfire targets to 24 and reduce voices used on pp targets to 16. Put one more struct in iram for a slight speedup on coldfire. Fix comments in midiutil.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14984 a1c6a512-1295-4272-9138-f99709370657
* Optimisation of the midi player, reducing the number of multiplications and ↵Nils Wallménius2007-10-04
| | | | | | memory accesses inside a very frequently executed loop, also does shifting of the whole sample when synthing is done which improves accurracy slightly, ~10% fewer buffer misses git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14983 a1c6a512-1295-4272-9138-f99709370657
* static/inline/iram raid gives nice speedupNils Wallménius2007-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14915 a1c6a512-1295-4272-9138-f99709370657
* Maybe 25 was too much with the new decay rates.Stepan Moskovchenko2007-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14911 a1c6a512-1295-4272-9138-f99709370657
* MIDI: Kick up number of voices and decrease the decay rate, taking Stepan Moskovchenko2007-09-30
| | | | | | | | advantage of the recent speedups. Some instruments sound a lot more natural now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14910 a1c6a512-1295-4272-9138-f99709370657
* Do not duplicate const table, make getEvent function static inline, gives ↵Nils Wallménius2007-09-27
| | | | | | about a ~1.5% speedup, put tick function in iram, ~3.5% speedup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14873 a1c6a512-1295-4272-9138-f99709370657
* Simplify the sendEvent function, makes it _slightly_ faster and quite a bit ↵Nils Wallménius2007-09-27
| | | | | | smaller, build midiplay with -O2 for coldfire, gives about a 23% speedup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14872 a1c6a512-1295-4272-9138-f99709370657
* Move all of midiplay into its subdir and add a Makefile for it, add header ↵Nils Wallménius2007-09-24
files as necessary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14841 a1c6a512-1295-4272-9138-f99709370657