- data User = User {}
- data Description = Description User String
- data Statistics = Statistics {}
- type Tag = String
- data Properties = Properties {
- sampleId :: Int
- user :: User
- date :: String
- originalFileName :: String
- statistics :: Statistics
- image :: URLString
- preview :: URLString
- colors :: URLString
- extension :: String
- sampleRate :: Int
- bitRate :: Int
- bitDepth :: Int
- channels :: Int
- duration :: Double
- fileSize :: Int
- descriptions :: [Description]
- tags :: [Tag]
- fromXML :: Element -> Maybe Properties
- listFromXML :: Element -> [Properties]
Documentation
User of the Freesound database.
data Description Source
Description of a Sample
, containing user and text.
data Statistics Source
Statistics of a Sample
in the database.
data Properties Source
Properties of a Sample
in the database.
Properties | |
|
fromXML :: Element -> Maybe PropertiesSource
Read a Properties
value from an Element
in the Maybe
monad.
listFromXML :: Element -> [Properties]Source
Read a list of Properties
from an Element
.