Building custom reusable NativeScript view for native audio Waveform display

Instead of creating an Angular Component for our Waveform display, we will create a custom NativeScript view component, that taps into native APIs, that we can then register with Angular to use in our components. The reason for doing this is due to NativeScript's powerful view base class that we can extend, which provides a nice API when using underlying native APIs for the view. This Waveform display will work in tandem with the RecordModel we just created to bring to life our real-time Waveform feedback display of the device's microphone. It would also be amazing to reuse this Waveform display as a static audio file waveform rendering on our track list, as an alternate ...

Get NativeScript for Angular Mobile Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.