2022-12-05-TIL

Today I Learned

WAVE File Format Specification

  • https://www.loc.gov/preservation/digital/formats/fdd/fdd000001.shtml
  • https://www.bitsforbyte.com/2021/04/09/wave-file-format-specification/
  • https://ccrma.stanford.edu/courses/422-winter-2014/projects/WaveFormat/
  • http://soundfile.sapp.org/doc/WaveFormat/
  • https://sites.google.com/site/musicgapi/technical-documents/wav-file-format
  • https://www.mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html
  • https://docs.fileformat.com/audio/wav/

MP3 File Format Specification

  • https://www.loc.gov/preservation/digital/formats/fdd/fdd000105.shtml
  • http://www.multiweb.cz/twoinches/mp3inside.htm
  • https://docs.fileformat.com/audio/mp3/
  • https://en.wikipedia.org/wiki/MP3
  • http://mpgedit.org/mpgedit/mpeg_format/MP3Format.html
  • https://www.loc.gov/preservation/digital/formats/fdd/fdd000012.shtml

Using FFmpeg to Get an MP3's Duration and 4 Ways to Get the File Size

  • https://nickjanetakis.com/blog/using-ffmpeg-to-get-an-mp3s-duration-and-4-ways-to-get-the-file-size

JavaScript get Duration

  • https://stackoverflow.com/questions/71118040/getting-the-duration-of-an-mp3-file-in-a-variable
  • https://ourcodeworld.com/articles/read/1036/how-to-retrieve-the-duration-of-a-mp3-wav-audio-file-in-the-browser-with-javascript
  • https://shadowfacts.net/2021/mp3-duration/

Java Sound API

What audio formats does Java Sound support? Java Sound supports the following audio file formats: AIFF, AU and WAV. It also supports the following MIDI based song file formats: SMF type 0 (Standard MIDI File, aka .mid files), SMF type 1 and RMF.

MP3 등 여러가지 압축 포맷은 지원하지 않는다.

  • https://stackoverflow.com/questions/10645594/what-audio-format-should-i-use-for-java
  • https://docs.oracle.com/javase/8/docs/technotes/guides/sound/index.html
  • https://developers.google.com/resources/api-libraries/documentation/youtube/v3/java/latest/com/google/api/services/youtube/model/VideoFileDetails.html
  • https://docs.oracle.com/javase/7/docs/api/javax/sound/sampled/Clip.html
  • https://docs.oracle.com/javase/7/docs/api/javax/sound/sampled/AudioFileFormat.html
  • https://stackoverflow.com/questions/3046669/how-do-i-get-a-mp3-files-total-time-in-java
  • https://stackoverflow.com/questions/72009794/how-can-i-extract-metadata-from-a-mp4-and-a-avi-with-native-library-in-java
  • https://stackoverflow.com/questions/1645803/how-to-read-mp3-file-tags#answer-21746415
  • https://community.oracle.com/tech/developers/discussion/2416733/get-the-duration-of-all-mp3-files-inside-a-directory
  • https://docs.oracle.com/javase/tutorial/sound/
  • https://www.tabnine.com/code/java/methods/javax.sound.sampled.AudioFileFormat/properties
  • https://docs.oracle.com/en/java/javase/19/docs/api/java.desktop/javax/sound/sampled/AudioFileFormat.html
  • https://www.youtube.com/watch?v=nUKya2DvYSo
  • https://gist.github.com/EslamElassal/4a0a165db71680eb0f80
  • https://stackoverflow.com/questions/47957848/java-getting-the-metadata-tags-from-a-wave-audio-file
  • https://itecnote.com/tecnote/java-play-load-mp3-using-java-apis-and-jmf-error-unsupported-format/
  • https://stackoverflow.com/questions/2709508/how-to-learn-wav-duration-in-java-media-frame-work
  • https://stackoverflow.com/questions/30183642/how-to-get-duration-of-audio-file

Extract Metadata of MP3 Files using REST API in Java

  • https://blog.groupdocs.cloud/2021/07/09/extract-metadata-of-mp3-files-using-rest-api-in-java/

Java Managing Metadata

  • https://docs.oracle.com/javase/tutorial/essential/io/fileAttr.html
  • https://stackoverflow.com/questions/24797585/extracting-metadata-in-java

How to Extract Metadata from Music Files in JavaScript

  • https://www.youtube.com/watch?v=6TQab8AVdVQ

JPA Column Default Value

  • https://thorben-janssen.com/dynamic-inserts-and-updates-with-spring-data-jpa/
  • https://eocoding.tistory.com/71
  • https://www.baeldung.com/jpa-default-column-values
  • https://dotoridev.tistory.com/6
  • https://goodteacher.tistory.com/369
  • https://gaemi606.tistory.com/entry/JPA-DynamicInsert-DynamicUpdate-%EC%97%94%ED%8B%B0%ED%8B%B0-%EB%A6%AC%EC%8A%A4%EB%84%88
  • https://mangchhe.github.io/jpa/2021/09/06/EntityDynamicQuery/