Class/Object

de.sciss.freesound

Sound

Related Docs: object Sound | package freesound

Permalink

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

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)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sound
  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 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)

    Permalink

    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)

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: Double

    Permalink

    average rating of the second (0 to 5)

  6. val bitDepth: Int

    Permalink

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

  7. val bitRate: Int

    Permalink

    bit rate in kbps

  8. def clone(): AnyRef

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

    Permalink
  10. val description: String

    Permalink

    verbose description of the sound

  11. val duration: Double

    Permalink

    duration in seconds

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

    Permalink
    Definition Classes
    AnyRef
  13. val fileName: String

    Permalink

    the name given to the sound by the uploader

  14. val fileSize: Long

    Permalink

    file size in bytes

  15. val fileType: FileType

    Permalink
  16. def finalize(): Unit

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

    Permalink

    optional geographical location where the sound was recorded

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. val id: Int

    Permalink

    the unique identifier on the Freesound platform

  20. def imageUri(spectral: Boolean, hq: Boolean): URI

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val license: License

    Permalink

    URI of the license applying to the usage of the sound

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

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. val numChannels: Int

    Permalink

    number of channels

  27. val numComments: Int

    Permalink
  28. val numDownloads: Int

    Permalink

    number of times the sound has been downloaded

  29. val numRatings: Int

    Permalink

    number of times the sound has been rated

  30. val packId: Int

    Permalink

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

  31. def previewUri(ogg: Boolean, hq: Boolean): URI

    Permalink
  32. val sampleRate: Double

    Permalink

    sample rate in Hertz

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

    Permalink
    Definition Classes
    AnyRef
  34. val tags: List[String]

    Permalink

    list of tags describing the sound

  35. def toString(): String

    Permalink
    Definition Classes
    Sound → AnyRef → Any
  36. def uniqueFileName: String

    Permalink

    Constructs a new file name based on the id and fileType of this sound.

    Constructs a new file name based on the id and fileType of this sound. E.g. if id is 1234 and fileType is FileType.AIFF, the methods returns 1234.aif.

  37. val userId: Int

    Permalink

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

  38. val userName: String

    Permalink

    Freesound user-name of the uploader

  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped