freesound-0.1.0: Access the Freesound Project database

Sound.Freesound.Query

Synopsis

Documentation

data Query Source

A Query type for searching the database.

Constructors

Query 

Fields

string :: String

The query string

minDur :: Maybe Double

Minimum duration in seconds

maxDur :: Maybe Double

Maximum duration in seconds

bitRate :: Maybe Int

Bit rate of the soundfile

bitDepth :: Maybe Int

Bit depth of the soundfile

sampleRate :: Maybe Int

Sample rate of the soundfile

stringQuery :: String -> QuerySource

Construct a Query to search the database for a String.

toPostFields :: Query -> [String]Source

Convert a query to POST request fields.