AndrewJBateman / ionic-angular-audiorep

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚑ 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

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

License:MIT License


Languages

Language:TypeScript 54.7%Language:SCSS 20.8%Language:HTML 14.8%Language:JavaScript 9.8%