Tone Generator for Ionic 2

Hi Guys,

I would like to import a Tone Generator to an Ionic 2 project.

I have tried to import Tone.js (link Tone.js at the end of index.html; and also “declare var Tone: any;” at the begining of page.ts) but it kept saying “Tone is not defined”. Could it be fixed?

Alternatively, is there any other working Tone Generator for an Ionic 2 project?

Thanks in advance.