Class/Object

de.sciss.freesound

Filter

Related Docs: object Filter | package freesound

Permalink

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

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Filter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new 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)

    Permalink

    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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val avgRating: Option

    Permalink

    numerical, average rating, from 0 to 5

  6. val bitDepth: Option

    Permalink

    integer, WARNING is not to be trusted right now

  7. val bitRate: Option

    Permalink

    numerical, WARNING is not to be trusted right now

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val comment: StringTokens

    Permalink

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

  10. val created: Option

    Permalink

    date

  11. val description: StringTokens

    Permalink

    string, tokenized

  12. val duration: Option

    Permalink

    numerical, duration of sound in seconds

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. val fileName: StringTokens

    Permalink

    string, tokenized

  15. val fileSize: Option

    Permalink

    integer, file size in bytes

  16. val fileType: Option

    Permalink

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

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val geoTag: Expr

    Permalink

    boolean

  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. val id: Option

    Permalink

    sound id on freesound

  21. def isDefined: Boolean

    Permalink
  22. def isEmpty: Boolean

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val isRemix: Optional[Boolean]

    Permalink

    boolean

  25. val license: Option

    Permalink

    license restriction

  26. val md5: Option

    Permalink

    string, 32-byte md5 hash of file

  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def nonEmpty: Boolean

    Permalink
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. val numChannels: Option

    Permalink

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

  32. val numComments: Option

    Permalink

    numerical, number of comments

  33. val numDownloads: Option

    Permalink

    integer

  34. val numRatings: Option

    Permalink

    integer, number of ratings

  35. val pack: Option

    Permalink

    string

  36. val packTokens: StringTokens

    Permalink

    string, tokenized

  37. val sampleRate: Option

    Permalink

    integer

  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. val tags: Option

    Permalink

    string

  40. def toPropertyOption: Option[String]

    Permalink
  41. def toString(): String

    Permalink
    Definition Classes
    Filter → AnyRef → Any
  42. val userName: Option

    Permalink

    string, not tokenized

  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. val wasRemixed: Optional[Boolean]

    Permalink

    boolean

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped