1
0
Fork 0

Removed tarsos code; added nonphatic icons

This commit is contained in:
Jonathan Chan 2016-08-05 23:44:57 -07:00
parent 8f5ac74823
commit dc8bc33b05
8 changed files with 0 additions and 15 deletions

View File

@ -326,24 +326,9 @@ public class MainActivity extends AppCompatActivity {
mediaPlayer = MediaPlayer.create(this, R.raw.nyan);
mediaPlayer.setLooping(true);
mediaPlayer.start();
//testOnsets();
break;
}
}
public void testOnsets() {
// needs ffmpeg???
AudioDispatcher dispatcher = AudioDispatcherFactory.fromPipe("/res/raw/nyan.mp3", 44100,5000,2500);
ComplexOnsetDetector cod = new ComplexOnsetDetector(521, 0.3, 256.0/44100.0*4.0, -70);
dispatcher.addAudioProcessor(cod);
cod.setHandler(new OnsetHandler() {
@Override
public void handleOnset(double v, double v1) {
System.out.println(v);
}
});
}
//endregion
//region ACTIVITIES

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB