1.0.3 • Published 3 years ago

wavesoundjs v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

wavesoundjs

License Package Version

SoundWaweformJS example

Installation

$ npm install wavesoundjs

Usage

Create container:

<style>
  .container {
    width: 500px;
    height: 100px;
    position: relative;
  }
</style>

<div class="container">
  <audio
    class="current_audio"
    src="http://www.archive.org/download/aliceinwonderland_1102_librivox/aliceinwonderland_00_carroll.mp3"
    type="audio/mpeg"
    preload="metadata"
  ></audio>
</div>
const player_container = document.querySelector('.container');

WaveSoundjs.create({
  container: player_container,
  points: [-29, 20, ...]
})

Development

# Terminal 1
$ docker-compose up

# Terminal 2
$ docker-compose exec app bash

# > Build Project
$ tsc

# > Run Project
$ npm run start
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago