Forums

    19 posts

  • avatar
    117 sounds
    38 posts
    Pure Data external - Mootcher


    Hi All !

    For the last few months I have been working on a PD external, called the Mootcher, that connects to this website. With this external you can easily connect to the freesound website from within PD (without having to use your internet browser). Search, download and use all the sounds on the fly!

    please take a look at this page:
    http://freesound.iua.upf.edu/mootcher.php

    For now, only a windows version is available. However we are working on a Linux (PD) and Mac (PD & Max) version. They should be available soon.

    For c++ programmers
    Since the library is Open Source (LGPL), feel free to make your own plugins/programs using the C++ library. Please subscribe to the freesound development mailing list. And ofcource Let us know if you made something cool.

    Have fun !

    ...All your sound are belong to us... www.twistedlemon.nl
  • avatar
    186 sounds
    319 posts


    Congratulations!
    Dont forget to post over at pd-list!

    Cheers

  • avatar
    117 sounds
    38 posts


    Thanks Anton !

    I just mailed it to pd-announce.
    Feel free to spread the word wink

    ...All your sound are belong to us... www.twistedlemon.nl
  • avatar
    186 sounds
    319 posts


    TwistedLemon
    Thanks Anton !

    I just mailed it to pd-announce.
    Feel free to spread the word wink

    I am smile

    Weird, I have yet to receive that pd-anounce message. Are you sure it was sent? (Maybe you could 'accidentally' drop it on pd-list... pd-anounce has a smaller subscriber base...

  • avatar
    0 sounds
    3 posts


    hi, cool external, trying to get it running on gentoo-amd64 http://whats-your.name/pd/mootcher.linux.tbz2 and the server returns the error "Invalid Content-Length" ;

    T 192.168.2.200:58927 -> 193.145.55.3:80 [AP]
    POST /forum/login.php HTTP/1.1..User-Agent: libcurl-agent/1.0..Host: freeso
    und.iua.upf.edu..Accept: */*..Content-Length: 4294967295..Content-Type: app
    lication/x-www-form-urlencoded..Expect: 100-continue....
    ######
    T 193.145.55.3:80 -> 192.168.2.200:58927 [AP]
    HTTP/1.1 400 Bad Request..Date: Fri, 08 Jul 2005 12:47:55 GMT..Server: Apac
    he/1.3.31 (Debian GNU/Linux) PHP/5.0.3-0.6ubuntumtg..Connection: close..Tra
    nsfer-Encoding: chunked..Content-Type: text/html; charset=iso-8859-1....13f
    ..<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">.<HTML><HEAD>.<TITLE>40
    0 Bad Request</TITLE>.</HEAD><BODY>.<H1>Bad Request</H1>.Your browser sent
    a request that this server could not understand.<P>.Invalid Content-Length<
    P>.<HR>.<ADDRESS>Apache/1.3.31 Server at freesound.iua.upf.edu Port 80</ADD
    RESS>.</BODY></HTML>...0....

  • avatar
    117 sounds
    38 posts


    Hi ix

    the function Mootcher:grinoLogin(std:weirdtring login, std:weirdtring password) will return "0" to the flext object if the variable "connection" is "0".

    //preform online request
    res = curl_easy_perform(curl);
    // if something go's wrong 'connection' is set to '0'
    if(strcmp(curl_easy_strerror(res), "no error") == 0) connection = 1;
    else connection = 0;

    This means curl cannot make a connection. Can you check if it's really sending something over the network?
    Did you see anything strange while debugging? maybe you can check what string curl_easy_strerror(res) returns.

    ...All your sound are belong to us... www.twistedlemon.nl
  • avatar
    0 sounds
    3 posts


    TwistedLemon

    This means curl cannot make a connection. Can you check if it's really sending something over the network?

    yeah its sending over the net: Invalid Content-Length 4294967295 is the error, i guess i dont know enough about C++ to know whats up, but ive attached a diff and SConstruct link above so you dont have to do the boring stuff to make it compile if you want to take a stab at it. nice work..cant wait to try it out!

  • avatar
    117 sounds
    38 posts


    Hi ix,

    I got a experiental linux build which i can mail to you, if you want.
    Maybe you can see and tell me how/if it works?

    ...All your sound are belong to us... www.twistedlemon.nl
  • avatar
    0 sounds
    3 posts


    TwistedLemon
    I got a experiental linux build which i can mail to you, if you want.Maybe you can see and tell me how/if it works?

    unless you are running amd64, i wouldnt be able to test. a great thing to do would be to add mootcher to pure-data externals CVS, if you need access, Guenter can add you to the project., then lots more people would check it out as many people install from the externals 'build' system ...

  • avatar
    117 sounds
    38 posts


    Thats a good idea. I'm probably going to do that when i'm a 100% sure the Linux and Mac builds work.
    Maybe a stupid question... but can't your OS run 32bit compiled programs on your 64bit system?

    ...All your sound are belong to us... www.twistedlemon.nl
  • avatar
    190 sounds
    179 posts


    Hey mr Lemon.. congrats

    If you need betatesting on the Mac max (or mac pc) external, please contact me... i cannot wait to put my hands on this one.

    Take care

    Jaume Ferrete www.jaumeferrete.net
  • avatar
    117 sounds
    38 posts


    I'll let you know a.s.a.p.
    Beta testers are always welcome wink

    ...All your sound are belong to us... www.twistedlemon.nl
  • avatar
    190 sounds
    179 posts


    Are there any aproximated dates for the max external ? i am so impatient i know...

    Jaume Ferrete www.jaumeferrete.net
  • avatar
    8 sounds
    3 posts


    NICE!!!

    Cant wait to make an random sound downloader!!

  • avatar
    68 sounds
    11 posts


    I only wet my feet recently into Pd (but working already a few years with higher end sw packages like AudioMulch and Bidule ...) ... is my understanding correct that this addition allows to replace a "load file" building block by a "find a sample on the freesound project" building block ...

    (sorry for the non-techie talk wink )

    ------ http://www.mbazzy.tk ---------
  • avatar
    121 sounds
    1538 posts


    correct.

    and also: "load this file into memory" and "what's it's samplerate/description/tags/......" and "find similar files to this one"

    - bram

    Warning: if you break the rules, see my avatar. Freesound Admin, Moderator, Ex-Freesound-Coder & Benevolent Dictator For Life.
  • avatar
    68 sounds
    11 posts


    Ic .. so than I need an OsX version soonest ... :wink: cool

    ------ http://www.mbazzy.tk ---------
  • avatar
    186 sounds
    319 posts


    just.sounds
    NICE!!!

    Cant wait to make an random sound downloader!!


    Ive created a nice one smile. I can stream online contact me by pm or via the other info you can find in my profile.

    cheers

  • avatar
    0 sounds
    7 posts


    Hi, just wondering, what's the status on the Mac Max version... I'm eagerly anticipating it!

    up up down down left right left right b a start

    19 posts