https://github.com/artskydj/test-audio
:musical_score: A small collection of ogg, wav, and flac files, for testing!
https://github.com/artskydj/test-audio
Last synced: about 1 year ago
JSON representation
:musical_score: A small collection of ogg, wav, and flac files, for testing!
- Host: GitHub
- URL: https://github.com/artskydj/test-audio
- Owner: ArtskydJ
- Created: 2015-04-30T01:49:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-05T00:22:37.000Z (about 10 years ago)
- Last Synced: 2025-02-21T06:33:11.619Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 5.62 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
test-audio
==========
[](https://travis-ci.org/ArtskydJ/test-audio)
> A tiny collection of ogg, wav, flac, and mp3 files, for testing!
# example
```js
var testAudio = require('test-audio')()
console.log(testAudio)
```
```js
[ { name: '30047__corsica-s__drippy.flac',
bytes: 24686,
type: 'flac',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\30047__corsica-s__drippy.flac' },
{ name: '50775__smcameron__drips2.ogg',
bytes: 67338,
type: 'ogg',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\50775__smcameron__drips2.ogg' },
{ name: '75344__neotone__drip2.wav',
bytes: 36792,
type: 'wav',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\75344__neotone__drip2.wav' },
{ name: '8000__cfork__cf-fx-bloibb.mp3',
bytes: 23302,
type: 'mp3',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\8000__cfork__cf-fx-bloibb.mp3' },
flac: { name: '30047__corsica-s__drippy.flac', // Alias for element [0]
bytes: 24686,
type: 'flac',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\30047__corsica-s__drippy.flac' },
ogg: { name: '50775__smcameron__drips2.ogg', // Alias for element [1]
bytes: 67338,
type: 'ogg',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\50775__smcameron__drips2.ogg' },
wav: { name: '75344__neotone__drip2.wav', // Alias for element [2]
bytes: 36792,
type: 'wav',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\75344__neotone__drip2.wav' },
mp3: { name: '8000__cfork__cf-fx-bloibb.mp3', // Alias for element [3]
bytes: 23302,
type: 'mp3',
path: 'C:\\Users\\Michael\\Github\\test-audio\\audio\\8000__cfork__cf-fx-bloibb.mp3' } ]
```
# api
```js
var getTestAudio = require('test-audio')
```
# `var files = getTestAudio()`
`files` is an array of objects. Each object represents a test audio file, and has the following properties:
- `name` is the file name, e.g. `'test_4.wav'`
- `bytes` is the size of the file in bytes, e.g. `23868`
- `type` is the extension of the file, e.g. `'wav'`
- `path` is the absolute path of the file
There are also properties on the array, corresponding to the type. E.g. `files.mp3` is the same as `files[3]`.
# credits
The sound files and album image are public domain/licensed for commercial reuse.
- [cf_FD_bloibb.mp3](http://www.freesound.org/people/cfork/sounds/8000/)
- [drippy.flac](http://www.freesound.org/people/Corsica_S/sounds/30047/)
- [drips2.ogg](http://www.freesound.org/people/smcameron/sounds/50775/)
- [drip2.wav](http://www.freesound.org/people/Neotone/sounds/75344/)
- [album.jpg](http://orig15.deviantart.net/bece/f/2014/311/5/7/buster_s_adventures_4___scary_encounter_by_busterthefox-d85numc.jpg)
# install
With [npm](http://nodejs.org/download) do:
```
npm install test-audio
```
# license
[MIT](http://opensource.org/licenses/MIT)