Example #1
0
 public void record() {
   String name;
   try {
     name = JSONPresets.getPresets().getCurrent().getString("name");
     if (sequencer.isAdded()) {
       name += "_" + JSONSequencerPresets.getPresets().getCurrent().getString("name");
     }
   } catch (Exception e) {
     e.printStackTrace();
     name = "errorerrorerror";
   }
   File outfolder = new File(Environment.getExternalStorageDirectory(), "Plasma Sound");
   outfolder.mkdirs();
   String filename = pdman.recordOnOff(outfolder, name, true);
   MiscDialogs.checkForSoundcloudAndDoThatOrNot(this, filename, name);
 }
Example #2
0
 @Override
 public void onStart() {
   super.onStart();
   JSONSequencerPresets.getPresets().addListener(this);
 }
Example #3
0
 @Override
 public void onStop() {
   super.onStop();
   JSONPresets.getPresets().removeListener(this);
   JSONSequencerPresets.getPresets().removeListener(this);
 }
Example #4
0
 public void loadSequenceSettings() {
   JSONSequencerPresets.getPresets().showLoadMenu(this, sequencer);
 }
Example #5
0
 public void saveSequenceSettings() {
   JSONSequencerPresets.getPresets().showSaveMenu(this, sequencer);
 }