Web-Multi-Media / multi-web-audio-sequencer

Web collaborative step sequencer
https://labs.freesound.org/sequencer
GNU General Public License v3.0
10 stars 2 forks source link

Add pagination and options Freesound search #7

Open xavierfav opened 6 years ago

xavierfav commented 6 years ago

For now, the Freesound search component retrieves only one page of 11 sounds. It would be nice to be able to go through the different pages of the retrieved results. Bootstrap offers pagination components.

Moreover, it would be nice to be able to set some parameters of the query. For instance the sorting option, the filter on duration, etc... Here you can find the documentation of the Freesound API. Here you can find the javascript wrapper that I used.

xavierfav commented 6 years ago

Pagination has been added in #21.

xavierfav commented 6 years ago

It would be nice to have a bit of more options on the search.

Maybe the way to go is to create some profiles with predefined query parameters that make the result fit to a specific type of content selectable with buttons.

valou5940 commented 6 years ago

I added 3 buttons in my last commit :

I plan to add a "clear" button in order to reset the filter because in the current state if a button is clicked that make it disabled and we can't erase the filter.

I'm also planning to add a BPM filter for the loops in freesound.