-
Notifications
You must be signed in to change notification settings - Fork 0
Samples
Ccwilliams314 edited this page Apr 4, 2026
·
1 revision
| Module | limewire/pages/samples.py |
| Class | SamplesPage(ScrollFrame) |
Freesound.org sample browser and downloader. Search for loops, sound effects, and one-shots with filters for duration, sort order, and license type. Preview samples inline and download directly to a local folder.
- Search Freesound.org API with text queries
- Duration filters: any, 0-5s, 5-30s, 30s-2m, 2m+
- Sort options: relevance score, downloads, rating, duration, creation date
- Results display: name, duration, sample rate, download count, license
- Inline audio preview via pyglet backend
- Direct download of selected samples
- Open sample page in system browser
- API key management (saved to app settings)
- Per-page settings: results per page, request timeout
| Method | Description |
|---|---|
_search() |
Query Freesound API with current filters and populate results list |
_preview() |
Download and play a preview of the selected sample |
_download() |
Download selected sample to the configured output folder |
_open_web() |
Open the Freesound page for the selected sample in a browser |
_save_key() |
Save the Freesound API key to application settings |