Skip to content

📋 App to play audio files using audio library Howler, another great tutorial from Simon Grimm of Devtactic

License

Notifications You must be signed in to change notification settings

AndrewJBateman/ionic-angular-audiorep

Repository files navigation

⚡ Ionic Angular Audio Reproduction

  • Ionic-Angular app to play mp3 audio files.
  • Code from Simon Grimm - see 👏 Inspiration below, with updates & refactoring - e.g. use of ternery expressions. Updated to latest Ionic/Angular + dependencies. Strict mode enabled which required strict initialisation of properties, e.g. range, player to avoid errors.
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

📄 Table of contents

📚 General info

  • Uses the Howler audio library to play mp3 files.

📷 Screenshots

screenshot

📶 Technologies

💾 Setup

  • npm i to install dependencies
  • To start the server on localhost://8100 type: 'ionic serve'
  • To start the server on a mobile using Ionic devapp and connected via wifi, type: 'ionic serve --devapp'
  • The Ionic DevApp was installed on an Android device from the Google Play app store.

💻 Code Examples

  • home.page.ts function to toggle Howl player play and pause functions
    togglePlayer(pause: Boolean) {
    this.isPlaying = !pause;
    pause ? this.player.pause() : this.player.play();
  }

🆒 Features

📋 Status & To-do list

  • Status: Working
  • To-do: Nothing

👏 Inspiration

📁 License

  • This project is licensed under the terms of the MIT license.

✉️ Contact

  • Repo created by ABateman, email: gomezbateman@yahoo.com

About

📋 App to play audio files using audio library Howler, another great tutorial from Simon Grimm of Devtactic

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published