Skip to content

Instantly share code, notes, and snippets.

@siscia
Created January 6, 2012 19:25
Show Gist options
  • Select an option

  • Save siscia/1572006 to your computer and use it in GitHub Desktop.

Select an option

Save siscia/1572006 to your computer and use it in GitHub Desktop.
prova clojure jaudiotagger
(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