↓ Skip to Main Content (adsbygoogle = window.adsbygoogle || []).push({}); Royalty-Free Music Music FAQ Music Licenses Graph Paper other stuff Contact Me Patreon (adsbygoogle = window.adsbygoogle || []).push({}); New home of Incompetech Music
https://incompetech.filmmusic.io/ function html5play( sample ) { var title = sample; var n = title.length; var strippedTitle = title.substring(0, n - 4); var player = document.getElementById('incomplayer'); var currentAudio = player.currentSrc; if ( typeof currentAudio !== "undefined" ) { currentAudio = player.currentSrc.replace( /.*\//, "" ); } if ( currentAudio != encodeURI( sample ) ) { if (strippedTitle.length > 25){strippedTitle = strippedTitle.substring(0, 23) + "...";} document.getElementById('NowPlaying').innerHTML = strippedTitle; document.getElementById('mp3source').src = "/music/royalty-free/mp3-royaltyfree/" + sample; document.getElementById('incomplayer').load(); html5playOnly(); if ( typeof ga != "undefined" ) { ga( 'send', 'event', { eventCategory: 'music-play', eventAction: 'play', eventLabel: sample } ); } } else { if ( document.getElementById('incomplayer').paused ) { html5playOnly(); } else { html5pause(); } } } function html5playOnly() { document.getElementById('incomplayer').play(); document.getElementById('playButt').style.display = "none"; document.getElementById('pauseButt').style.display = "inline"; } function html5timecontrol(audioplayer) { var curTime = Math.floor(audioplayer.currentTime); var duration = Math.floor(audioplayer.duration); var curTimeMin = Math.floor(curTime / 60); var durationMin = Math.floor(duration / 60); var curTimeSec = curTime - (curTimeMin * 60); var durationSec = duration - (durationMin * 60); if (curTimeSec < 10){curTimeSec = "0" + curTimeSec;} if (durationSec < 10){durationSec = "0" + durationSec;} document.getElementById('Duration').innerHTML = durationMin + ":" + durationSec; document.getElementById('Location').innerHTML = curTimeMin + ":" + curTimeSec; var progressBar = document.getElementById('progress-bar'); var percentage = Math.floor((100 / duration) * curTime); progressBar.value = percentage; progressBar.innerHTML = percentage + '% played'; } function html5pause() { document.getElementById('incomplayer').pause(); document.getElementById('playButt').style.display = "inline"; document.getElementById('pauseButt').style.display = "none"; } function html5seek( time ) { var nowtime = document.getElementById('incomplayer').currentTime; nowtime += time; document.getElementById('incomplayer').currentTime = nowtime; } function html5volume( volume ) { document.getElementById('incomplayer').volume = volume; } [media player] 0:00 0% played 0:00 Your browser does not support the audio tag. The new site features: Premium Downloads with purchased licenses. USER ACCOUNTS! Retrieve licenses or downloads if you lose them Create projects and fill them with candidate tracks Fast support from a team of people Better ways to search and sort More languages (it does a lot... :-) Expand All Collapse All Download all of the music on this site at once! Reset Search Feels (adsbygoogle = window.adsbygoogle || []).push({}); New Music Updates in your inbox! Enter your email address: (adsbygoogle = window.adsbygoogle || []).push({}); © 1997-2019 Incompetech Inc. ↑