• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
jubertioai

jubertioai

text-to-ambience

Public
Like
text-to-ambience
Home
Code
2
README.md
H
main.ts
Branches
1
Pull requests
Remixes
History
Environment variables
1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
10/8/2025
Viewing readonly version of main branch: v4
View latest version
README.md

Freesound Audio Search

A simple web application that allows users to search for audio files using the Freesound API and play them in a loop.

Features

  • Simple Google-like search interface
  • Server-side Freesound API integration
  • High-quality audio preview playback
  • Automatic looping
  • Replace previous audio with new search results

Structure

  • backend/index.ts - Main Hono server with API routes
  • frontend/index.html - Main HTML interface
  • frontend/index.js - Client-side JavaScript for audio playback
  • frontend/style.css - Styling

API Endpoints

  • GET / - Serves the main HTML interface
  • GET /api/search?q={query} - Search for audio files and return playback URL

Setup

The application uses the Freesound API. You'll need to set the FREESOUND_API_KEY environment variable with your Freesound API key.

Get your API key from: https://freesound.org/apiv2/apply/

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.