summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/guspat.c (follow)
Commit message (Collapse)AuthorAge
* midi: Recalculate (and rename) the note frequency table.Frank Gevaerts2017-01-06
| | | | | | | | | | | | gustable[] contained plain note frequencies in milliHertz, but was named and documented to appear like a table of magic numbers. The values also seemed to be slightly inaccurate (up to about 0.01Hz, so probably irrelevant). This changes the name to freqtable to make the purpose clearer, and uses slightly better values. Change-Id: I6b568d834c8c2c92161bed5290572a29733e28dc
* plugin_midi: expand gustable[] to 128 entriesFrank Gevaerts2013-06-16
| | | | | | | | | | The code assumes that gustable[] has 128 entries, while it only had 120. Since the entries follow a simple pattern (they seem to be note frequencies, so each entry is the previous one multiplied by the 2^(1/12)), expanding the table is the simple fix. Change-Id: If5b5a50378afd3206c9d550227dd9aac8e355c96
* midi plugin: make local functions static where possibleBertrik Sikken2012-02-18
| | | | Change-Id: I702755529f98015586b5b9592ced75cf7591880c
* midi: make the patch sample data pointer a *int16_t to get rid of some ugly ↵Nils Wallménius2011-09-06
| | | | | | casting and drop an acessor macro to make caching the pointer in the synthVoice loop possible. Speeds up midi by 1-2% on cf and 3-5% on PP. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30438 a1c6a512-1295-4272-9138-f99709370657
* Correct checking return value of open in plugins.Teruaki Kawashima2009-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23874 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
* Oops, revert unrelated changesNils Wallménius2008-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18139 a1c6a512-1295-4272-9138-f99709370657
* FS#9221 by Christopher Williams fixing a couple of bugs in keyboxNils Wallménius2008-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18138 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
* 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
* 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
* vel/MROBE500Karl Kurbjun2007-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14813 a1c6a512-1295-4272-9138-f99709370657
* Some quick and dirty MIDI player optimizations, now it works on the X5 and ↵Linus Nielsen Feltzing2007-04-11
| | | | | | M5 too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13108 a1c6a512-1295-4272-9138-f99709370657
* Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold2007-03-16
| | | | | | 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
* == -> =. this should fix a build warningAntoine Cellerier2006-08-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10518 a1c6a512-1295-4272-9138-f99709370657
* ----------------------------------------------------------------------Stepan Moskovchenko2006-05-01
| | | | | | | | | | | | Added Karl Kurbjun's sound output patch, cleaned up some output. Main file is now midiplay.c, midi2wav is still in there for anyone who wants it. Set sampling rate to 22k, and increased note decay time. Reduced number of concurrent active voices and made new notes replace used voices if none are available. This makes lag less apparent. I really hope this wont go red. (turns around and runs) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9858 a1c6a512-1295-4272-9138-f99709370657
* Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - ↵Dave Chapman2005-10-06
| | | | | | letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
* Fixed warnings, adapted to Rockbox coding style, optimized to 78% realtime.Stepan Moskovchenko2005-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6329 a1c6a512-1295-4272-9138-f99709370657
* Some shifting optimizations. Working code. 50% realtime.Stepan Moskovchenko2005-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6323 a1c6a512-1295-4272-9138-f99709370657
* Added xxx2wav support, an icon, and some optimizationsStepan Moskovchenko2005-04-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6306 a1c6a512-1295-4272-9138-f99709370657
* fix compiler errorDaniel Stenberg2005-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6305 a1c6a512-1295-4272-9138-f99709370657
* Code cleanup, fix warnings, error checking, add midi2wav to viewers.configStepan Moskovchenko2005-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6304 a1c6a512-1295-4272-9138-f99709370657
* Added MIDI synthesizer pluginStepan Moskovchenko2005-04-15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6287 a1c6a512-1295-4272-9138-f99709370657