diff options
Diffstat (limited to 'vfg/src/testApp.cpp')
| -rwxr-xr-x | vfg/src/testApp.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/vfg/src/testApp.cpp b/vfg/src/testApp.cpp index 7710326..675baef 100755 --- a/vfg/src/testApp.cpp +++ b/vfg/src/testApp.cpp @@ -3,6 +3,11 @@ //-------------------------------------------------------------- void testApp::setup(){ testsong=new song("VODA_MUS_DeckTheHalls-Backing_v.1.3.mp3","VODA_MUS_DeckTheHalls-Melody_v.1.3.mp3","MIDI_DeckTheHalls_Test.1.3.xml"); + testsong->setTimeframe(1500); + testsong->preRoll(250); + + ofSetBackgroundAuto(false); + ofBackground(0,0,0); } void testApp::exit(){ @@ -15,7 +20,11 @@ void testApp::update(){ //-------------------------------------------------------------- void testApp::draw(){ - + ofEnableAlphaBlending(); + //ofBackground(0,0,0,0.1); + ofSetColor(0,0,0,100); + ofRect(0,0,ofGetWidth(),ofGetHeight()); + if (testsong->isPlaying) testsong->draw(); } //-------------------------------------------------------------- |
