Package

de.sciss

freesound

Permalink

package freesound

Visibility
  1. Public
  2. All

Type Members

  1. final case class Auth(accessToken: String, expires: Date, refreshToken: String) extends Product with Serializable

    Permalink
  2. final case class Client(id: String, secret: String) extends Product with Serializable

    Permalink
  3. sealed trait DateExpr extends QueryExpr with Option

    Permalink
  4. final class DateExprOps extends AnyVal

    Permalink
  5. final class DoubleExprOps extends AnyVal

    Permalink
  6. sealed trait FileType extends AnyRef

    Permalink
  7. sealed trait FileTypeExpr extends QueryExpr with Option

    Permalink
  8. final case class Filter(id: Option = None, fileName: StringTokens = None, tags: Option = None, description: StringTokens = None, userName: Option = None, created: Option = None, license: Option = None, pack: Option = None, packTokens: StringTokens = None, geoTag: Expr = GeoTag.Ignore, fileType: Option = None, duration: Option = None, numChannels: Option = None, sampleRate: Option = None, bitDepth: Option = None, bitRate: Option = None, fileSize: Option = None, numDownloads: Option = None, avgRating: Option = None, numRatings: Option = None, comment: StringTokens = None, numComments: Option = None, isRemix: Optional[Boolean] = None, wasRemixed: Optional[Boolean] = None, md5: Option = None) extends Product with Serializable

    Permalink

    The definition of a search filter.

    The definition of a search filter. By default, all fields are in their undefined state, so one can use named arguments to add filter criteria.

    id

    sound id on freesound

    fileName

    string, tokenized

    tags

    string

    description

    string, tokenized

    userName

    string, not tokenized

    created

    date

    license

    license restriction

    pack

    string

    packTokens

    string, tokenized

    geoTag

    boolean

    fileType

    string, original file type (“wav”, “aif”, “aiff”, “ogg”, “mp3” or “flac”)

    duration

    numerical, duration of sound in seconds

    numChannels

    integer, number of channels in sound (mostly 1 or 2)

    sampleRate

    integer

    bitDepth

    integer, WARNING is not to be trusted right now

    bitRate

    numerical, WARNING is not to be trusted right now

    fileSize

    integer, file size in bytes

    numDownloads

    integer

    avgRating

    numerical, average rating, from 0 to 5

    numRatings

    integer, number of ratings

    comment

    string, tokenized (filter is satisfied if sound contains the specified value in at least one of its comments)

    numComments

    numerical, number of comments

    isRemix

    boolean

    wasRemixed

    boolean

    md5

    string, 32-byte md5 hash of file

  9. final case class GeoTag(lat: Double, lon: Double) extends Product with Serializable

    Permalink

    Geo location of a sound.

    Geo location of a sound. Warning: We have seen 'NaN's in the Freesound database.

  10. final class IntExprOps extends AnyVal

    Permalink
  11. sealed trait License extends AnyRef

    Permalink
  12. sealed trait LicenseExpr extends QueryExpr with Option

    Permalink
  13. trait QueryExpr extends AnyRef

    Permalink

    Query expression that can make use of the Solr-style logical operators.

  14. final case class QueryField(key: String, value: String) extends Product with Serializable

    Permalink
  15. sealed trait Sort extends AnyRef

    Permalink

    Sorting order of the search results.

  16. final case class Sound(id: Int, fileName: String, tags: List[String], description: String, userName: String, created: Date, license: License, packId: Int = 0, geoTag: Option[GeoTag], fileType: FileType, duration: Double, numChannels: Int, sampleRate: Double, bitDepth: Int = 0, bitRate: Int, fileSize: Long, numDownloads: Int, avgRating: Double, numRatings: Int, numComments: Int, userId: Int) extends Product with Serializable

    Permalink

    Database record of a sound.

    Database record of a sound.

    id

    the unique identifier on the Freesound platform

    fileName

    the name given to the sound by the uploader

    tags

    list of tags describing the sound

    description

    verbose description of the sound

    userName

    Freesound user-name of the uploader

    license

    URI of the license applying to the usage of the sound

    packId

    id of the collection that contains the sound, or zero if no pack was used.

    geoTag

    optional geographical location where the sound was recorded

    duration

    duration in seconds

    numChannels

    number of channels

    sampleRate

    sample rate in Hertz

    bitDepth

    bit depth (number of bits per sample frame); note that the server reports zero for some sounds

    bitRate

    bit rate in kbps

    fileSize

    file size in bytes

    numDownloads

    number of times the sound has been downloaded

    avgRating

    average rating of the second (0 to 5)

    numRatings

    number of times the sound has been rated

    userId

    the unique identifier on the user that uploaded the sound (required for preview and image URIs)

  17. sealed trait StringExpr extends QueryExpr with Option

    Permalink
  18. final class StringExprOps extends AnyVal

    Permalink
  19. final case class TextSearch(query: String, filter: Filter = Filter(), sort: Sort = Sort.Score, groupByPack: Boolean = false, maxItems: Int = 100) extends Product with Serializable

    Permalink
  20. sealed trait UDoubleExpr extends QueryExpr with Option

    Permalink
  21. sealed trait UIntExpr extends QueryExpr with Option

    Permalink

Value Members

  1. object *

    Permalink
  2. object DateExpr extends Factory[DateExpr]

    Permalink
  3. object FileType

    Permalink
  4. object FileTypeExpr extends Factory[FileTypeExpr]

    Permalink
  5. object Filter extends Serializable

    Permalink
  6. object Freesound

    Permalink
  7. object GeoTag extends Serializable

    Permalink
  8. object Implicits

    Permalink
  9. object License

    Permalink
  10. object LicenseExpr extends Factory[LicenseExpr]

    Permalink
  11. object QueryExpr

    Permalink
  12. object Sort

    Permalink
  13. object Sound extends Serializable

    Permalink
  14. object StringExpr extends Factory[StringExpr]

    Permalink
  15. object TextSearch extends Serializable

    Permalink
  16. object UDoubleExpr extends Factory[UDoubleExpr]

    Permalink
  17. object UIntExpr extends Factory[UIntExpr]

    Permalink
  18. package impl

    Permalink

Ungrouped