Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 7 Media

You're reading from   Drupal 7 Media Integrate, implement, and extend rich media resources such as images, videos, and audio on your Drupal 7 website with this book and ebook

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781849516082
Length 260 pages
Edition 3rd Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Liran Tal Liran Tal
Author Profile Icon Liran Tal
Liran Tal
Arrow right icon
View More author details
Toc

Customizing audio nodes


Let's break-out from the common module usage of audio player widgets and their configurations and customize the node view for a couple of use cases which can definitely evolve to complete web and mobile apps, if you really put your mind to it.

We will leverage HTML5 Audio field, along with some JavaScript code to manipulate the audio playback, and tie this into the node view rendering within Drupal.

Aiming for multi-channel playback

When music is recorded, each instrument is placed in it's own channel, forming a layered and isolated instance for each one. This can then be used for easily adding or deleting instruments later on when processing the song, or possibly modifying a single channel's sound during the song, without affecting everything else. This is very similar to how drawings are often sketched in layers.

Imagine if we could create a sort of multi-channel player web application where musicians could upload their tracks, each channel of recording in it's own...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime