Sound.Freesound.Properties
- 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.
Constructors
| Description User String |
Instances
data Properties Source
Properties of a Sample in the database.
Constructors
| Properties | |
Fields
| |
Instances
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.