##### Views

- Page
- Discussion
- View source
- History

# SoundData:getSample

Gets the sample at the specified position.

## Function

### Synopsis

sample = SoundData:getSample( i )

### Arguments

`number i`
  The position of the sample (0 means first sample).

### Returns

`number sample`
  The normalized sample (range -1.0 to 1.0).

## See Also

- SoundData

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/SoundData:getSample"
Categories: Templates | Functions

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties