Parallel Audio Tracks, Independent Volume
We’ve bought a meditation course the place the college member needed to have a guided meditation observe and an optionally available musical background observe with independently managed quantity. Initially, the audio was hosted on Panopto and the background tracks have been from a SoundCloud playlist. The SoundCloud embed doesn’t have an impartial quantity management.
I began with a consideration of primary HTML audio choices. I may undoubtedly show two gamers and begin/cease them with a central button and a few javascript. I had impartial quantity controls. I couldn’t take away parts of the controls although. It was a bit of higher however I didn’t really feel prefer it was a lot of an enchancment. I additionally did one thing comparable with an exterior participant (plyr.io) but it surely had comparable issues.
See the Pen
audio parallel meditation by Tom (@twwoodward)
on CodePen.
I believed I may do one thing with Howler JS which I’d messed round with in some unspecified time in the future previously.
This was far more like what I needed. While I needed to construct the weather, I may management precisely what was there. Now I had one place to play/pause/cease each tracks and impartial quantity controls. I additionally set the background observe to loop. Pretty good and it felt far more unified.
See the Pen
howler meditation by Tom (@twwoodward)
on CodePen.
Now, what I wanted to do was allow individuals to make new variations with completely different audio information. My regular answer right here is to make use of URL parameters. That’s what I did right here. There at the moment are two pages, one is for filling out the shape fields to affiliate the audio information and modify top/width. It additionally builds the iframe and provides you a button to repeat it. The different web page is the web page that will get embedded. It appears for the audio information within the URL parameters.
You find yourself with an iframe like this.
<iframe src="https://experiments.middcreate.internet/extras/audio-meditation/participant.html?backgroundUrl=httpspercent3Apercent2Fpercent2Fia601805.us.archive.orgpercent2F27percent2Fitemspercent2Fmeditation-music-2019percent2FMeditationpercent2520Musicpercent2520percent25282019percent2529percent2F07.%2520percent2520Gurulikepercent2520percent2520-%2520percent2520Newpercent2520Planetpercent2520percent2528Meditationpercent2520percent2526percent2520Inspirationpercent2529.mp3&guidanceUrl=httpspercent3Apercent2Fpercent2Fd2y36twrtb17ty.cloudfront.netpercent2Fsessionspercent2F66820e81-766f-4907-976c-b2ac0154aefepercent2F92032578-86e6-47e0-b405-b2ac0154af07-8d5686ac-780b-40f1-9bde-b2ac0154be4c.mp4percent3FinvocationIdpercent3D8ff7703e-0816-f011-a9f8-0a1a827ad0ec" width="100%" top="400" frameborder="0" allowfullscreen></iframe>
That creates an embed like this.
HI-FI News
through Bionic Teaching https://ift.tt/jKSvkZo
April 10, 2025 at 07:26PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








