#musicbrainz

/

      • djc123
        2. take the signature/fingerprint, give it to musicbrains/musicip, and get the ID and other track info
      • 2008-04-04 09523, 2008

      • BrianFreud
        generating a fingerprint is open. turning a fingerprint into a puid is musicip's proprietary bit.
      • 2008-04-04 09531, 2008

      • djc123
        thats fine
      • 2008-04-04 09545, 2008

      • djc123
        but it should be part of the secnd step, not the first
      • 2008-04-04 09556, 2008

      • BrianFreud just uses it, he didn't invent the thing :)
      • 2008-04-04 09503, 2008

      • djc123
        nod
      • 2008-04-04 09512, 2008

      • BrianFreud
        ;)
      • 2008-04-04 09542, 2008

      • djc123
        uhm, great.. no source
      • 2008-04-04 09549, 2008

      • djc123
        how do I compile it with no source
      • 2008-04-04 09558, 2008

      • djc123
        sigh
      • 2008-04-04 09518, 2008

      • djc123
        are any of genpuid, libofa, musicmixer
      • 2008-04-04 09522, 2008

      • djc123
        GNU/open ?
      • 2008-04-04 09528, 2008

      • djc123
        well not genpuid
      • 2008-04-04 09541, 2008

      • BrianFreud
        libofa might be, I really don't know. The other two, no.
      • 2008-04-04 09545, 2008

      • djc123
        i need to find the 'open' part that generates just the fingerprint
      • 2008-04-04 09515, 2008

      • djc123
        then I need to find a way to use curl or wget or something that I can get the full source for, to take that, feed it to musicip or whoever and get a puid and track info
      • 2008-04-04 09554, 2008

      • BrianFreud
        why curl/wget, and not just using genpuid, which already does that?
      • 2008-04-04 09522, 2008

      • djc123
        because that tarball has no source, and theres only a linux binary
      • 2008-04-04 09524, 2008

      • djc123
        im on freebsd
      • 2008-04-04 09547, 2008

      • djc123
        i need something that i either already have that I can call from a shellscript, or something I can get full source for that I can compile
      • 2008-04-04 09554, 2008

      • BrianFreud
      • 2008-04-04 09504, 2008

      • djc123
        ive found ibofa in freebsd ports
      • 2008-04-04 09515, 2008

      • djc123
        once I get that in place and working,
      • 2008-04-04 09530, 2008

      • djc123
        then I just need to figure out how to submit the fingerprint to them to get puid
      • 2008-04-04 09548, 2008

      • djc123
        libofa is compiling
      • 2008-04-04 09553, 2008

      • milosz
        t3h secure
      • 2008-04-04 09527, 2008

      • djc123
        ?
      • 2008-04-04 09540, 2008

      • milosz
        !
      • 2008-04-04 09546, 2008

      • djc123
        Hrm.. ok, libofa is just a library.. I need some tool I can call that will use it... sigh
      • 2008-04-04 09513, 2008

      • djc123
        _cli_ tool
      • 2008-04-04 09537, 2008

      • milosz
        for what OS?
      • 2008-04-04 09547, 2008

      • djc123
        freebsd
      • 2008-04-04 09554, 2008

      • milosz
        do you have gstreamer installed?
      • 2008-04-04 09557, 2008

      • djc123
        CLI
      • 2008-04-04 09517, 2008

      • milosz
        lol
      • 2008-04-04 09524, 2008

      • milosz
        ok i'll give you the link anyway then you can decide: http://projects.backtrace.info/pmwiki.php?n=Main.…
      • 2008-04-04 09537, 2008

      • milosz
        it's a ___________!!!CLI!!!____________ tool using gstreamer to calculate a PUID
      • 2008-04-04 09542, 2008

      • djc123
        decide what? oh ok
      • 2008-04-04 09552, 2008

      • djc123
        i thought gstreamer was a gnome media player thing
      • 2008-04-04 09555, 2008

      • djc123
        eg, gui
      • 2008-04-04 09501, 2008

      • milosz
        it's a backend, not a GUI
      • 2008-04-04 09521, 2008

      • djc123
        hopefully it doesnt require some huge pile of gnome libraries
      • 2008-04-04 09541, 2008

      • djc123
        this is a headless server that doesnt have X and gnome stuff installed
      • 2008-04-04 09543, 2008

      • milosz
        it might require some pile of gst libraries
      • 2008-04-04 09502, 2008

      • milosz
        which again are not GUI, but besides that i don't really know any other CLI tool to calculate you a PUID
      • 2008-04-04 09532, 2008

      • milosz
        it's not trivial because to use libofa you need to decode the audio
      • 2008-04-04 09540, 2008

      • milosz
        so you will need _some_ audio decoding library or framework anyway
      • 2008-04-04 09544, 2008

      • djc123
        hrm.. I have a pile of gstreamer-somethings in ports/audio
      • 2008-04-04 09500, 2008

      • djc123
        and other stuff related in multimedia, graphics...
      • 2008-04-04 09504, 2008

      • milosz
        i'm not up to date with the ports
      • 2008-04-04 09513, 2008

      • djc123
        not sure which is is 'gstreamer' itself
      • 2008-04-04 09549, 2008

      • djc123
        although I suppose.. if I installed one of the -somethings that seems like I might need it anyway, I suppose it will pull in its dependencies
      • 2008-04-04 09500, 2008

      • milosz
        gstreamer-core or maybe just "gstreamer"
      • 2008-04-04 09510, 2008

      • milosz
        and then gstreamer-plugins-base that should be enough for the tool to compile
      • 2008-04-04 09525, 2008

      • milosz
        but if you want to actually decode audio you will need the additional things to decode vorbis, mp3, and so on
      • 2008-04-04 09528, 2008

      • djc123
        im building gstreamer-plugins-lame
      • 2008-04-04 09537, 2008

      • milosz
        that's for encoding
      • 2008-04-04 09540, 2008

      • djc123
        only interested in mp3
      • 2008-04-04 09505, 2008

      • snarlydwarf has quit
      • 2008-04-04 09507, 2008

      • djc123
        well, i figure its a good start, and will pull in all the base stuff.. then if I need -mp3 i'll add it
      • 2008-04-04 09545, 2008

      • djc123
        great.. it bombed.. its unhappy with my /usr/X11R6/
      • 2008-04-04 09502, 2008

      • djc123
        maybe if I add -DWITHOUT_X11
      • 2008-04-04 09507, 2008

      • milosz
        --without-x
      • 2008-04-04 09510, 2008

      • djc123
        I dont need X.. really. I dont. no GUI tools need to be built
      • 2008-04-04 09509, 2008

      • djc123
        why audio tools would rely on graphics libraries is beyond me
      • 2008-04-04 09518, 2008

      • djc123
        er, audio libraries, that is
      • 2008-04-04 09522, 2008

      • djc123
        gui audio tools, perhaps
      • 2008-04-04 09534, 2008

      • milosz
        well it's "multimedia" not just audio
      • 2008-04-04 09546, 2008

      • milosz
        so they have stuff for video
      • 2008-04-04 09514, 2008

      • djc123
        small tools that each do their own thing, that you can then combine to perform more complex tasks
      • 2008-04-04 09529, 2008

      • djc123
        as opposed to huge tools that do a billion things, that you have to install to use just one tiny feature of it
      • 2008-04-04 09505, 2008

      • djc123
        it seems gstreamer whats me to update my entire X library set
      • 2008-04-04 09515, 2008

      • djc123
        before it will compile
      • 2008-04-04 09516, 2008

      • milosz
        that disappoints me too
      • 2008-04-04 09520, 2008

      • djc123
        all I want is a cli tool to generate audio fingerprints.. absolutely silly that it should require a huge set of bloated libaries, that itself requires another huge set of libraries
      • 2008-04-04 09536, 2008

      • ojnkpjg
        why don't you just use genpuid?
      • 2008-04-04 09513, 2008

      • djc123
      • 2008-04-04 09540, 2008

      • ojnkpjg
        oh, freebsd
      • 2008-04-04 09542, 2008

      • Tykling joined the channel
      • 2008-04-04 09544, 2008

      • djc123
        Got somewhere I can download it? (by 'it', I mean C source code
      • 2008-04-04 09552, 2008

      • ojnkpjg
        the source isn't available
      • 2008-04-04 09555, 2008

      • djc123
        which is the way most "real" software is distributed)
      • 2008-04-04 09531, 2008

      • djc123
        doing it that way avoids most of this problem of having to worry about which platform you use
      • 2008-04-04 09540, 2008

      • djc123
        not all, but most
      • 2008-04-04 09519, 2008

      • djc123
        keeping the source secret and having to build binaries for mutliple platforms is obviously not a good solution, for either end
      • 2008-04-04 09533, 2008

      • ojnkpjg
        are you trying to convince me?
      • 2008-04-04 09543, 2008

      • djc123
        especially since I dont need the 'secret' part, I just need the fingerprint generation
      • 2008-04-04 09553, 2008

      • ojnkpjg
        then write a cli program using libofa
      • 2008-04-04 09501, 2008

      • ojnkpjg
        and whatever other libraries that'll decode the audio formats you care about
      • 2008-04-04 09514, 2008

      • djc123
        Im a bash programmer
      • 2008-04-04 09518, 2008

      • ojnkpjg
        do they exist?
      • 2008-04-04 09537, 2008

      • djc123
        if libofa had included an actual tool one could call to use it, that would have been great
      • 2008-04-04 09556, 2008

      • ojnkpjg
        it's probably a 10-liner if you've got wav
      • 2008-04-04 09504, 2008

      • BrianFreud
        point is that they have 2 tools, libofa is the lib for people who want to write their own...
      • 2008-04-04 09511, 2008

      • djc123
        its fairly trivial to convert mp3 to wav
      • 2008-04-04 09537, 2008

      • ojnkpjg
        it'd probably be fairly trivial to write a little program using libmad and libofa, too
      • 2008-04-04 09550, 2008

      • ojnkpjg
        or to just use libofa and pipe in the audio
      • 2008-04-04 09501, 2008

      • djc123
        yeah, if there was a tool to pipe the audio _to_
      • 2008-04-04 09517, 2008

      • djc123
        mp3towav file.mp3 | missingtool -o fingerprintfile
      • 2008-04-04 09521, 2008

      • ojnkpjg
        sure, so write it
      • 2008-04-04 09525, 2008

      • ojnkpjg
        it'd probably be 10 lines
      • 2008-04-04 09554, 2008

      • djc123
        in bash?
      • 2008-04-04 09506, 2008

      • djc123
        there seems to be no way to use 'libofa' from bash
      • 2008-04-04 09524, 2008

      • djc123
        so writing a way to use it in bash, in bash, i think is not going to work
      • 2008-04-04 09535, 2008

      • ojnkpjg
        so write it in C
      • 2008-04-04 09537, 2008

      • ojnkpjg
        and then use it in bash
      • 2008-04-04 09539, 2008

      • djc123
        I dont know C
      • 2008-04-04 09541, 2008

      • aCiD2|Cycles has quit
      • 2008-04-04 09548, 2008

      • ojnkpjg
        you wouldn't need to know much C to get what you want, i'd bet
      • 2008-04-04 09513, 2008

      • djc123
        Ok.. I'l keep looking then.. Seems like such a silly and obvious thing to be missing
      • 2008-04-04 09513, 2008

      • djc123
      • 2008-04-04 09517, 2008

      • djc123
        Posted by: richardsur at March 13, 2006 05:19 PM
      • 2008-04-04 09527, 2008

      • djc123
        apparently im not the only one that thought such a thing would make sense
      • 2008-04-04 09526, 2008

      • djc123
        ok nvm he was asking for something different, i think
      • 2008-04-04 09558, 2008

      • ojnkpjg
        it looks like there are programs to do what you want in the "examples" directory in the libofa src tree
      • 2008-04-04 09535, 2008

      • djc123
        really? ok then whoever built the port apparently didnt notice them or decided not to include them in the installed stuff for some reason
      • 2008-04-04 09554, 2008

      • ojnkpjg
        well, i think they're intended more as documentation than as utilities for end-users
      • 2008-04-04 09518, 2008

      • aCiD2 joined the channel