Created
January 6, 2012 19:25
-
-
Save siscia/1572006 to your computer and use it in GitHub Desktop.
prova clojure jaudiotagger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defproject audiotagger "1.0.0-SNAPSHOT" | |
| :description "FIXME: write description" | |
| :dependencies [[org.clojure/clojure "1.3.0"] | |
| [org/jaudiotagger "2.0.3"]] | |
| :java-source-path [["src/java"]] | |
| :main audiotagger.core) | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| (ns audiotagger.core | |
| (:gen-class) | |
| (:import [org.jaudiotagger.audio AudioFileIO])) | |
| (defn -main [& args] | |
| (let [fl (new java.io.FileInputStream "a.mp3"), | |
| hio (AudioFileIO.)] | |
| (.read hio fl) | |
| (println "this is launched with this arg:" args))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment