aboutsummaryrefslogtreecommitdiff
path: root/visualization/qmpvisualization.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-09-16 23:27:11 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-09-16 23:27:11 +0800
commit41f9cf6fa2718155c8231d579c8af5f24d947b49 (patch)
tree03153558d9042167023ef170055ed151caf79752 /visualization/qmpvisualization.cpp
parente12b8c202f92d1b154ed3d9cb5dc58c73aa08787 (diff)
downloadQMidiPlayer-41f9cf6fa2718155c8231d579c8af5f24d947b49.tar.xz
Minor bug fix. Update documentation.
Diffstat (limited to 'visualization/qmpvisualization.cpp')
-rw-r--r--visualization/qmpvisualization.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/visualization/qmpvisualization.cpp b/visualization/qmpvisualization.cpp
index 202b7b0..29a1925 100644
--- a/visualization/qmpvisualization.cpp
+++ b/visualization/qmpvisualization.cpp
@@ -336,10 +336,10 @@ bool qmpVisualization::update()
else spectrar[i][j]=spectra[i][j];
if(spectrar[i][j])
{
- smvec3d a(0.63*((double)j-64+api->getPitchBend(i))+.1,
+ smvec3d a(0.756*((double)j-64+api->getPitchBend(i))+.12,
(stairpiano?(56-i*7.):(64-i*8.)),
spectrar[i][j]*1.2*(1+0.02*sin(sm->smGetTime()*32))+(stairpiano&&showpiano&&!horizontal)*i*2.);
- smvec3d b(0.63*((double)j-64+api->getPitchBend(i))+.7,
+ smvec3d b(0.756*((double)j-64+api->getPitchBend(i))+.84,
(stairpiano?(56-i*7.):(64-i*8.))+.4,
(stairpiano&&showpiano&&!horizontal)*i*2.);
drawCube(a,b,SETA(iccolors[i],204),0);
@@ -790,7 +790,7 @@ void qmpVisualization::deinit()
const char* qmpVisualization::pluginGetName()
{return "QMidiPlayer Default Visualization Plugin";}
const char* qmpVisualization::pluginGetVersion()
-{return "0.8.1";}
+{return "0.8.3";}
void qmpVisualization::pushNoteOn(uint32_t tc,uint32_t ch,uint32_t key,uint32_t vel)
{