Class AudioModifier

java.lang.Object
app.media_managers.AudioModifier
Direct Known Subclasses:
VideoModifier

public class AudioModifier extends Object
  • Constructor Details

    • AudioModifier

      public AudioModifier()
  • Method Details

    • addMedia

      public void addMedia(MediaCommunicator communicator, double x, double y) throws Exception
      Allows the user to select an audio file to add to the page
      Throws:
      Exception - when user selected file fails to load
    • modifyMedia

      public void modifyMedia(MediaAudio audio, javafx.util.Duration timestamp, MediaCommunicator communicator) throws Exception
      Allowing timestamps to either be added or removed from referenced parameter audio

      If this class' timestamp attribute already exist in the audio attribute, it is removed from audio. Otherwise, it is added

      Throws:
      Exception - when MediaCommunicator fails to update referenced audio