Node.Js Freesound

    Oct 12 2018 | 6:44 am
    Dear all, I am getting this error message when trying to use the freesound example (from the Cycling74/n4m-examples github page) with node.script: "node.script: No value for key FREESOUND_CLIENT_KEY in .env file. Please make sure to create a file called .env with a Freesound API Client key." Can someone tell me how to fix this? Thank you! Frank

    • Oct 12 2018 | 7:58 am
      From the README:
      Getting an API key
      Before you can do anything with Freesound, you'll need an API key.
      Get a Freesound account. It's free. Go to and sign up.
      After you've logged in go to
      Fill in the form to apply for a new set of API keys.
      You may notice that Freesound has fewer keys than Twitter. That's because Freesound only hands out client keys, not access keys. So, whereas using the access keys someone could post tweets from your Twitter account, the same isn't true for Freesound.
      Anyway, note down the client ID and API key.
      In this freesound folder, you should see a file named .env-template. This is an environment file, it contains key-value pairs that other applications, like Node, can load before running.
      Duplicate the .env-template file to a new file named .env. It must be named .env, not my.env or anything like that. Fill in this file using the keys you got from Freesound.
      You should be all set. Open the Max patcher freesound.maxpat and see!
    • Oct 12 2018 | 2:01 pm
      Thanks for this !!
      In my folders I can't find the .env-template file, is there a place I can download it?
    • Oct 12 2018 | 2:03 pm
      You need to make invisible files visible for the folder in order to see it. On OSX, this is Cmd-Shift-.