Tribal, cinematic, electronic, traditional ... Percussions are the very armature of modern music. From exotic and organic rhythms to mechanical drum beats, the album Contempory Pop Percussions puts the percussive instruments back at the center of music production. An eclectic panel of tracks with furious rhythms, interspersed with many "breaks", ideal points for editing, thought for advertising.
Album | Title | Alt. | Duration | Compo/Artist | Description | Keywords | Key | BPM |
|
|
---|---|---|---|---|---|---|---|---|---|---|
|
Ritmo de Favela [CEZ4388 - 1] |
2 | 1'51 | Vermair | Wild, lively & driving. Percussion ensemble. | carnival percussion ensemble wild team sport ... | Abm | 110 |
|
|
|
Ritmo de Favela Alternate [CEZ4388 - 25] |
0 | 0'47 | Vermair | Wild, lively & driving. Percussion ensemble. 45 seconds version. | carnival wild percussion ensemble team sport ... | Abm | 109 |
|
|
|
Ritmo de Favela Alternate 2 [CEZ4388 - 26] |
0 | 0'33 | Vermair | Wild, lively & driving. Percussion ensemble. 30 seconds version. | carnival wild percussion ensemble team sport ... | Gbm | 110 |
|
|
|
Urban Chase [CEZ4388 - 2] |
4 | 1'00 | Baptiste Thiry | Strict, mechanical & driving. Electronic percussion. | electronic percussion percussive percussive pop advertising ... | Dbm | 116 |
|
|
|
Urban Chase Alternate 1 [CEZ4388 - 27] |
0 | 0'15 | Baptiste Thiry | Strict, mechanical & driving. Electronic percussion. 15 seconds ... | electronic percussion percussive advertising fashion ... | Dbm | 116 |
|
|
|
Urban Chase Alternate 2 [CEZ4388 - 28] |
0 | 0'30 | Baptiste Thiry | Strict, mechanical & driving. Electronic percussion. 30 seconds ... | electronic percussion percussive advertising fashion ... | Dbm | 116 |
|
|
|
Urban Chase Alternate 3 [CEZ4388 - 29] |
0 | 0'45 | Baptiste Thiry | Strict, mechanical & driving. Electronic percussion. 45 seconds ... | electronic percussion percussive advertising fashion ... | Dbm | 116 |
|
|
|
Urban Chase Alternate 4 [CEZ4388 - 30] |
0 | 1'00 | Baptiste Thiry | Strict, mechanical & driving. Electronic percussion. 1 minute version. | electronic percussion percussive advertising fashion ... | Dbm | 116 |
|
|
|
The Kraken Wakes [CEZ4388 - 3] |
0 | 2'07 | Gabriel Saban, Philippe Briand | Powerful, urgent & conquering. fx stopwatch, synth, cinematic ... | percussive pop percussion ensemble cinematic percussion powerful & imposing ... | Dbm | 146 |
|
|
|
Maharajah [CEZ4388 - 4] |
1 | 2'31 | Chomsk' | Catchy, hypnotic & urban. Sampled voice & rhythm. | percussion ensemble world pop electronic percussion India ... | C | 155 |
|
|
|
Maharajah Alternate [CEZ4388 - 31] |
0 | 1'17 | Chomsk' | Catchy, hypnotic & urban. Electronic percussion. | percussion ensemble India electronic percussion relentless ... | Cm | 155 |
|
|
|
Hidden Temple Remastered [CEZ4388 - 5] |
1 | 2'38 | Romain Magnan | Tribal, urban & insidious. Synth & rhythm. | percussion ensemble percussive pop electronic percussion snap ... | C | 120 |
|
|
|
Hidden Temple Remastered ...
[CEZ4388 - 32] |
0 | 1'50 | Romain Magnan | Tribal, urban & insidious. Synth & rhythm. | percussion ensemble electronic percussion wild extreme & fighting sport ... | C | 120 |
|
|
|
Easy Over [CEZ4388 - 6] |
3 | 1'10 | Colo Colo | Mischievous, exotic & patient. Percussion ensemble. | percussive pop undefined percussion cha cha cha interrogative ... | Gbm | 127 |
|
|
|
Easy Over Alternate 1 [CEZ4388 - 33] |
0 | 1'09 | Colo Colo | Mischievous, exotic & patient. Percussion ensemble. 1 minute version. | undefined percussion interrogative electronic percussion rhythm section ... | Gbm | 127 |
|
|
|
Easy Over Alternate 2 [CEZ4388 - 34] |
0 | 0'37 | Colo Colo | Mischievous, exotic & patient. Percussion ensemble. 30 seconds ... | undefined percussion interrogative electronic percussion rhythm section ... | Gbm | 127 |
|
|
|
Easy Over Alternate 3 [CEZ4388 - 35] |
0 | 0'37 | Colo Colo | Mischievous, exotic & patient. Percussion ensemble. 30 seconds ... | undefined percussion interrogative electronic percussion rhythm section ... | Gbm | 127 |
|
|
|
Lab Dance [CEZ4388 - 7] |
0 | 1'48 | Thomas Didier | Relentless, heavy & intriguing. Pitched voices & electronic ... | percussion ensemble electronic percussion heavy relentless ... | Gbm | 60 |
|
|
|
Sunny Side Up [CEZ4388 - 8] |
1 | 1'25 | Colo Colo | Exotic, confident & rhythm. Percussion ensemble. | percussion ensemble rhythmic lively ethnic percussion ensemble ... | Bm | 113 |
|
|
|
Sunny Side Up Alternate [CEZ4388 - 36] |
0 | 0'35 | Colo Colo | Exotic, confident & rhythm. Percussion ensemble. 30 seconds version. | rhythmic lively ethnic percussion ensemble exotic ... | Bm | 113 |
|
|
|
Strict Discipline [CEZ4388 - 9] |
1 | 0'54 | Clément Bachelier | Fiery, energic & accurate. Percussion ensemble. | percussive advertising fiery metallic ... | Dm | 130 |
|
|
|
Strict Discipline Alternate [CEZ4388 - 37] |
0 | 0'55 | Clément Bachelier | Fiery, energic & accurate. Percussion ensemble. 1 minute version. | percussive advertising fiery metallic ... | Gm | 130 |
|
|
|
Tribal Rites [CEZ4388 - 10] |
0 | 1'24 | Sebastien Forrester | Tribal, swirling & relentless. Percussion ensemble | percussion ensemble chase derbouka relentless ... | Gbm | 137 |
|
|
|
Ready to Jump [CEZ4388 - 11] |
0 | 2'04 | Chomsk' | Incisive, percussive & relentless. Electronic percussion. | percussion ensemble relentless electronic percussion percussive ... | Gbm | 125 |
|
|
|
Random Patterns [CEZ4388 - 12] |
1 | 1'16 | Boris Popov | Relentless & rigorous. Electronic percussion. | percussion ensemble electronic percussion rhythm section relentless ... | Am | 140 |
|
|
|
Random Patterns Alternate [CEZ4388 - 38] |
0 | 0'33 | Boris Popov | Relentless & rigorous. Electronic percussion. 30 seconds version. | percussion ensemble electronic percussion rhythm section relentless ... | Am | 140 |
|
|
|
Contortions [CEZ4388 - 13] |
0 | 0'50 | Patrice Duthoo | Sauvage & déterminé. Ethnic percussion ensemble. | driving percussion ensemble ethnic percussion ensemble lively ... | Dbm | 120 |
|
|
|
Cat and Mouse [CEZ4388 - 14] |
0 | 1'42 | Nicolas Gueguen | Rhythmic & catchy. Clap & electronic percussion. | percussive electronic percussion advertising fiery ... | Gbm | 125 |
|
|
|
No Game for Losers [CEZ4388 - 15] |
0 | 1'47 | Thomas Didier | Inexorable, wild & powerful. cinematic percussion. | inexorable cinematic percussion percussive extreme & fighting sport ... | Em | 150 |
|
|
|
Hey [CEZ4388 - 16] |
0 | 2'21 | Missonne | Robotic, bouncy & quirky. Sampled voices, synth & rhythm. | percussion ensemble relentless sampled male voice electronic percussion ... | Am | 120 |
|
|
|
Party Island [CEZ4388 - 17] |
1 | 1'23 | Colo Colo | Bouncy, rhythmic & lively. Electronic percussion. | percussion ensemble electronic percussion rhythmic lively ... | Em | 117 |
|
|
|
Party Island Alternate [CEZ4388 - 39] |
0 | 0'33 | Colo Colo | Bouncy, rhythmic & lively. Electronic percussion. 30 seconds version. | percussion ensemble electronic percussion rhythmic team sport ... | Em | 117 |
|
|
|
Under Construction [CEZ4388 - 18] |
0 | 0'50 | Mathieu Laurent | Jerky, urgent & wild. Percussion ensemble. | kung fu relentless percussion ensemble electronic percussion ... | Em | 129 |
|
|
|
Unreachable [CEZ4388 - 19] |
0 | 0'27 | Clément Bachelier | Urgent, driving & dynamic. Electronic percussion. | electronic percussion percussive advertising rhythmic ... | Ebm | 185 |
|
|
|
The Art of Juggling [CEZ4388 - 20] |
3 | 1'46 | Patrice Duthoo | Interrogative, strict & anticipation. Percussion ensemble. | ethnic percussion ensemble percussion ensemble interrogative anticipation ... | Dbm | 120 |
|
|
|
The Art of Juggling Alternate ...
[CEZ4388 - 40] |
0 | 0'17 | Patrice Duthoo | Interrogative, strict & anticipation. Percussion ensemble. 15 seconds ... | ethnic percussion ensemble percussion ensemble interrogative anticipation ... | Dbm | 120 |
|
|
|
The Art of Juggling Alternate ...
[CEZ4388 - 41] |
0 | 0'33 | Patrice Duthoo | Interrogative, strict & anticipation. Percussion ensemble. 30 seconds ... | ethnic percussion ensemble percussion ensemble interrogative anticipation ... | Dbm | 156 |
|
|
|
The Art of Juggling Alternate ...
[CEZ4388 - 42] |
0 | 0'49 | Patrice Duthoo | Interrogative, strict & anticipation. Percussion ensemble. 50 seconds ... | ethnic percussion ensemble percussion ensemble interrogative anticipation ... | Dbm | 120 |
|
|
|
Mechanisms [CEZ4388 - 21] |
1 | 1'27 | Colo Colo | Rhythmic, mechanical & exotic. Electronic percussion. | percussion ensemble electronic percussion advertising fashion ... | Abm | 112 |
|
|
|
Mechanisms Alternate [CEZ4388 - 43] |
0 | 0'33 | Colo Colo | Rhythmic, mechanical & exotic. Electronic percussion. 30 seconds ... | percussion ensemble electronic percussion advertising danceable ... | Abm | 112 |
|
|
|
Body Moves [CEZ4388 - 22] |
0 | 0'58 | Clément Bachelier | Rhythmic, strict & lively. Clap & electronic percussion. | handclap advertising rhythmic electronic percussion ... | Gbm | 120 |
|
|
|
Clap Trap [CEZ4388 - 23] |
0 | 1'05 | Mathieu Laurent | Urgent, relentless & incisif. Clap & electronic percussion. | handclap electronic percussion advertising percussion ensemble ... | Abm | 155 |
|
|
|
Jamboree [CEZ4388 - 24] |
3 | 1'26 | Colo Colo | Driving, confident & exotic. Marimba, goblet drum & percussion ... | percussion ensemble percussive advertising driving ... | Em | 118 |
|
|
|
Jamboree Alternate 1 [CEZ4388 - 44] |
0 | 0'38 | Colo Colo | Driving, confident & exotic. Marimba, goblet drum & percussion ... | Africa percussion ensemble advertising driving ... | Em | 118 |
|
|
|
Jamboree Alternate 2 [CEZ4388 - 45] |
0 | 1'26 | Colo Colo | Driving, confident & exotic. Marimba, goblet drum & percussion ... | Africa percussion ensemble percussive advertising ... | Em | 118 |
|
|
|
Jamboree Alternate 3 [CEZ4388 - 46] |
0 | 0'39 | Colo Colo | Driving, confident & exotic. Marimba, goblet drum & percussion ... | Africa percussion ensemble percussive advertising ... | Em | 118 |
|
login
password
Nom
Loading ' + file.name + ' ' + (file.size ? (file.size/1024|0) + 'K' : ''); fichier=file.name; } } //--- //- recog readfiles //--- readfiles = function(files) { var formData = tests.formdata ? new FormData() : null; for (var i = 0; i < files.length; i++) { if (tests.formdata) formData.append('file', files[i]); // previewfile(files[i]); en commentaire pcq nom du fichier pas important et pas beau } formData.set('lang','en'); // now post a new XHR request if (tests.formdata) { var xhr = new XMLHttpRequest(); xhr.open('POST', '/recog/upload.php'); xhr.onload = function() { progress.value = progress.innerHTML = 100; }; xhr.onloadend = function() { JSONreponse= xhr.responseText.trim(); if(JSONreponse=="ERR"){ spinnerStopCancellable(); $('#progress_external_recommendation_file').hide(); document.getElementById('file_external_recommendation').files = null; document.getElementById('file_external_recommendation_lbl').innerHTML = 'Choose file from your computer'; getAlertDanger("An error has occured, please try again with another file"); }else if(JSONreponse=="ERR_NOT_CONNECTED"){ //jQuery('#infoBoxListePage_connect').show(); TipNotConnected(); }else{ $('#fichiercharge').remove(); $('#chargementde').remove(); $('progress').hide(); spinnerStop(); reponses = JSON.parse(JSONreponse); reponsesMots = reponses.mots; suggestiontitres(files[0].name, 'mp3'); /** SG 21/10/2021 : POUR CACHER LA BOX QD RESULTAT AFFICHÉ **/ if($('.external_recommendationbox').length){ /** SG 22/10/2021 : POUR PROGRESS BAR EXTERNAL_RECOMMENDATION **/ $('#progress_external_recommendation_file').width('100%'); $('.external_recommendationbox').hide(); $('#progress_external_recommendation_file').width('0%'); $('#progress_external_recommendation_file').hide(); $('#file_external_recommendation').val(''); document.getElementById('file_external_recommendation_lbl').innerHTML = 'Drop your file here.'; } } }; if (tests.progress) { $('progress').show(); $('#progress_external_recommendation_file').show(); spinnerStart(); xhr.upload.onprogress = function (event) { if (event.lengthComputable) { var complete = (event.loaded / event.total * 100 | 0); if(complete!=100){ $('#recogdiv').each(function(){$(this).remove();}); } /** SG 22/10/2021 : PR PROGRESS BAR EXTERNAL_RECOMMENDATION **/ if($('#progress_external_recommendation_file').length){ $('#progress_external_recommendation_file').width((event.loaded/event.total*100)+'%'); } progress.value = progress.innerHTML = complete; } } } xhr.send(formData); } } //--- //- recog readfiles //--- readfiles_image = function(files) { var formData = tests.formdata ? new FormData() : null; for (var i = 0; i < files.length; i++) { if (tests.formdata) formData.append('file', files[i]); // previewfile(files[i]); en commentaire pcq nom du fichier pas important et pas beau } formData.set('lang','en'); // now post a new XHR request if (tests.formdata) { var xhr = new XMLHttpRequest(); xhr.open('POST', '/ajax/get_keywords_from_brief.php'); xhr.onload = function() { progress.value = progress.innerHTML = 100; }; xhr.onloadend = function() { JSONreponse= xhr.responseText.trim(); if(JSONreponse=="ERR"){ spinnerStopCancellable(); $('#progress_external_recommendation_file').hide(); document.getElementById('file_external_recommendation').files = null; document.getElementById('file_external_recommendation_lbl').innerHTML = 'Choose file from your computer'; getAlertDanger("XXXXXAn error has occured, please try again with another file"); }else if(JSONreponse=="ERR_NOT_CONNECTED"){ //jQuery('#infoBoxListePage_connect').show(); TipNotConnected(); }else{ $('#fichiercharge').remove(); $('#chargementde').remove(); $('progress').hide(); spinnerStop(); var parsedRes = JSON.parse(JSONreponse); var div_error = document.getElementById('external_brief_errors'); if ( parsedRes.error !== undefined ) { var txt_error = "Error : "; if ( parsedRes.error == "brief_empty" ) { txt_error += "Your brief is empty"; } else if ( parsedRes.error == "brief_too_long" ) { txt_error += "Your brief is too long, it must be 1000 characters long maximum"; } div_error.innerHTML = txt_error; div_error.style.display = 'block'; spinnerStop(); } else { div_error.innerHTML = ''; div_error.style.display = 'none'; var responseJSON = parsedRes; var response = responseJSON; var url = "/liste_resultats.php?"; var params = []; var tab_mots = []; for( var valou of response ) { params.push("mot[]=" + encodeURI(valou + "@@@@" + valou + "@@@@" + valou)); tab_mots.push(valou); } if ( params.length == 0 ) { div_error.innerHTML = 'No results found, please try again later.'; div_error.style.display = 'block'; spinnerStop(); return; } url += params.join("&"); xajax_check_multiple_words(tab_mots.join(' '), [], false, true, false, ''); //window.location.href = url; } } }; if (tests.progress) { $('progress').show(); $('#progress_external_recommendation_file').show(); spinnerStart(); xhr.upload.onprogress = function (event) { if (event.lengthComputable) { var complete = (event.loaded / event.total * 100 | 0); if(complete!=100){ $('#recogdiv').each(function(){$(this).remove();}); } /** SG 22/10/2021 : PR PROGRESS BAR EXTERNAL_RECOMMENDATION **/ if($('#progress_external_recommendation_file').length){ $('#progress_external_recommendation_file').width((event.loaded/event.total*100)+'%'); } progress.value = progress.innerHTML = complete; } } } xhr.send(formData); } } //--- //- afficherPanneauEntree //--- afficherPanneauEntree = function(){ var zeObj = $('#header-search-query'); if(zeObj.val()!=""){ $('#boiteAdviceRico').show(500); } } //--- //- jelancenoresult //--- jelancenoresult = function(){ in_search=false; $('#msgdbg').text($("#header-search-query").attr('value')); spinnerStart(); //xajax_check_multiple_words($("#header-search-query").attr('value'), xajax.getFormValues('search_form')); }; var mytimeoutrb; var randomPercent = 0 randomBar = function( ){ randomPercent = randomPercent + 5 if(randomPercent > 100) { randomPercent = 0 } progress = document.getElementById('uploadprogress'); progress.value = progress.innerHTML = randomPercent; mytimeoutrb = setTimeout( function(){randomBar( );} , 300); } todoOnKeyDown = function(zeObj,e){ $carousel_gallery_home.flickity('pausePlayer'); /** le moteur suggest est désactivé quand on tape une touche, cela empeche le masque "Entrée" de s'afficher, et lance le timeout de 3 secondes pour l'ouvrir **/ spinnerStop(); clearTimeout(timeoutAfficherPanneauEntree); in_search=true; timeoutAfficherPanneauEntree = setTimeout(function(){afficherPanneauEntree();},3000); //var kc=e.keyCode; var kc = e.key || e.code; if(kc=="Enter" || kc==13 || kc==37 || kc==38 || kc==39 || kc==40 || zeObj.value=='' || zeObj.value.indexOf('?+')!=-1){ spinnerStop(); } if($('#btn_external_recommendation').length > 0){ /** SG 21/20/2021 : POUR CACHER BOUTON external_recommendation QD QQUE CHOSE DE TAPER **/ if((zeObj.value).length>0){ /////16/04/2024 Eric / on ne le retire plus. : document.getElementById('btn_external_recommendation').style.display = 'none'; }else{ document.getElementById('btn_external_recommendation').style.display = 'flex'; } } if(( kc==13 || kc=='Enter') && zeObj.value!='' ){ var r = $(".text-tags .text-label").map( function(){return $(this).text();}).get().join(' '); if(r!=''){ var phrase=r + ' ' + zeObj.value; }else{ var phrase=zeObj.value; } $.ajax({ type: "POST", url: "/ajax/check_is_prompt.php", data: { phrase: phrase, langue: 'en' } }).done(function(reponse) { if (reponse === "OK") { /**vider le formulaire de recherche**/ empty_search_form(); /**appeler la fonction de recommandation par brief**/ searchExternalRecommendationFromBrief(phrase); } else { //bouton entrée tappé fct_menuzonehidden(); spinnerStart(); clearTimeout('jelancelenoresultdansxsecondes'); xajax_check_multiple_words(phrase, xajax.getFormValues('search_form')); } }); }else if(( kc==13 || kc=='Enter') && zeObj.value==''){ fct_menuzonehidden(); } } todoOnBlur = function(zeObj,e){ var v = zeObj.value; $carousel_gallery_home.flickity('pausePlayer'); spinnerStop(); clearTimeout(timeoutAfficherPanneauEntree); in_search=true; timeoutAfficherPanneauEntree = setTimeout(function(){afficherPanneauEntree();},3000); spinnerStop(); /** SG 24/10/2023 : POUR CACHER BOUTON external_recommendation QD QQUE CHOSE DE TAPER **/ if($('#btn_external_recommendation').length > 0){ if((zeObj.value).length>0){ /////16/04/2024 Eric / on ne le retire plus. : document.getElementById('btn_external_recommendation').style.display = 'none'; }else{ document.getElementById('btn_external_recommendation').style.display = 'flex'; } } if(v!=''){ fct_menuzonehidden(); spinnerStart(); clearTimeout('jelancelenoresultdansxsecondes'); zeObj.value = ''; var r = $(".text-tags .text-label").map( function(){return $(this).text();}).get().join(' '); var phrase = ''; if ( r!='' ) { phrase = r + ' ' + v; } else { phrase = v; } $.ajax({ type: "POST", url: "/ajax/check_is_prompt.php", data: { phrase: phrase, langue: 'en' } }).done(function(reponse) { if (reponse === "OK") { /**vider le formulaire de recherche**/ empty_search_form(); /**appeler la fonction de recommandation par brief**/ searchExternalRecommendationFromBrief(phrase); } else { //bouton entrée tappé fct_menuzonehidden(); spinnerStart(); clearTimeout('jelancelenoresultdansxsecondes'); xajax_check_multiple_words(phrase, xajax.getFormValues('search_form')); ////////show_bpm_key_zone("search"); } }); } else { //fct_menuzonehidden(); //remettre cette ligne si problème sur le onblur //SG 03/11/2023 : afin que la cartouche ne se ferme plus au onblur de l'input et que le bouton ai search se cache quand des mots sont présents dans l'input var r = $(".text-tags .text-label").map( function(){return $(this).text();}).get().join(' '); if ( r!="" ) { /////16/04/2024 Eric / on ne le retire plus. : $("#btn_external_recommendation").hide(); } else { if (document.getElementsByClassName('recogbutton').length == 0) { fct_menuzonehidden(); } } } } //Tooltip sur liste track search v4 pour les recommandations tooltip_menu_media = function(button,id_media,content){ //CONTENT:: id="tooltiprecommandation_55793" const $tooltip = $("#"+content+"_" + id_media); if ($tooltip.length === 0) { console.error("Tooltip element not found:", "#" + content + "_" + id_media); return; } jcAlertTT($tooltip.html(), {boxWidth: 'calc(600px + 10%)',theme: 'cez-tooltiprecommandation', draggable: true, backgroundDismiss: false} ); $(document).on("mousedown", function (e) { const modalBackdrop = $(".jconfirm-cez-tooltiprecommandation .jconfirm-cell"); // Cible uniquement le backdrop de la modale if (modalBackdrop.is(e.target)) { // Vérifie que le clic est strictement sur le backdrop $tooltip.find('.Ttr_timingdebut').val(''); $tooltip.find('.Ttr_timingfin').val(''); fctclearRegions(); } }); //on charge pour ce contenu le code pour la region if(content === "tooltiprecommandation"){ from_last_click ="recommandationedit"; if (!myPlaylist || typeof myPlaylist.playlist !== 'object') { //console.error("myPlaylist.playlist n'est pas un objet valide."); return; } //console.log("",myPlaylist.playlist); //! Cas ajaxify surtout, où le titre du player ne fait pas parti de la liste de lecture de la page nouvellement affichée // Vérifier si l'id_media est présent dans la playlist const idExistsInPlaylist = myPlaylist.playlist.some( item => String(item.id_media) === id_media ); if (!idExistsInPlaylist) { // Récupérer les IDs dans l'attribut onclick du bouton Tl_play let $parentTr = $(button).closest('tr'); let $parentUl = $parentTr.find('td:first ul.boxcontroleplayer'); let id_mediaAttr = $parentUl.attr('id_media'); let positionAttr = $parentUl.attr('position'); let onclickAttr = $parentUl.find("button.Tl_play").attr("onclick"); console.log(id_mediaAttr+" pos"+positionAttr); // Extraire les IDs avec une expression régulière let match = onclickAttr.match(/PlayPauseUnTitreButton\('([^']+)'/); if (match && match[1]) { let idsList = match[1]; xajax_load_player_playlist(idsList,0,positionAttr,from_last_click,"oui"); } }else{ //! Si le titre existe dans la playlist, c'est que la page a été rechargé. Ici 2 problematiques, soit on a cliqué sur un bouton de lecture de la liste de titre et on a prechargé une playlist contenant les alernates, ou bien c'est une version playlist allegée //--playlist avec les alernates if (String(id_media).startsWith("0")) { id_media_alt = String(id_media).slice(1); // Supprime le premier caractère pos = $('#boxcontrol_'+id_media_alt).attr('curposition'); //--sinon c'est la playlist allegée }else{ const playlistValues = Object.values(myPlaylist.playlist); // Rechercher l'index const index = myPlaylist.playlist.findIndex( item => String(item.id_media) === id_media ); //console.log("Index trouvé :", index, "Données :", playlistValues); if (index !== -1) { const currentItem = playlistValues[index]; pos = index; } } window.setCurrentSongLOAD(pos); } setTimeout(() => { let dureetrack = $("#time-total").html(); let [minutesDT, secondsDT] = dureetrack.split(':').map(Number); let newseconds = (minutesDT * 60) + secondsDT; window.createRegion('0', newseconds, 'false', 'false', '', 'recommandation_' + id_media); jQuery('.wavesurfer-handle-start').css('width','4px').css('background-color','#222222'); jQuery('.wavesurfer-handle-end').css('width','4px').css('background-color','#222222'); }, 150); $(document).on("click", ".Ttr_validate", function (e) { let timingdebut = $tooltip.find('.Ttr_timingdebut').val(); let timingfin = $tooltip.find('.Ttr_timingfin').val(); //console.log(timingdebut+" "+timingfin+" Suivant"); //launch_recommendation('https://stream.cezamemusic.com/albums/CEZ4388/mp3/128/12-Jamboree.mp3','55793');" }); $(document).on("click", ".Ttr_cancel", function (e) { $tooltip.find('.Ttr_timingdebut').val(''); $tooltip.find('.Ttr_timingfin').val(''); $('.jconfirm-cez-tooltiprecommandation .jconfirm-closeIcon').trigger("click"); fctclearRegions(); }); } } launch_recommendation = function(localurl,last_item_played, debut=null, fin=null){ let logged_in = false; jQuery.ajax({url: "/ajax/check_conn.php", type: "GET", async: false, success: function(JSONreponseFromAjax){ logged_in = JSONreponseFromAjax; }} ); var cookiepubai = document.cookie.match('(^|;) ?no_pub_ai=([^;]*)(;|$)'); var test_pubai = false; if ( cookiepubai !== null ) { test_pubai = cookiepubai[2]; } //SG 14/11/2023 : si pas connecté, on affiche la popup de pub pour les fonctionnalités complémentaires de l'IA // if ( logged_in != "OK" && !test_pubai ) { ///pour l'instant on met ça de côté ... TipNotConnectedPubAi(false); // } $('progress').hide(); spinnerStart(); /**on supprime le div de recog, vu que l'on va en charger un nouveau**/ jQuery('#recogdiv').remove(); if ( !$('body').hasClass('mobile') ) { randomBar( ); } if (debut !== null && fin !== null && Number.isFinite(debut) && Number.isFinite(fin)) { paramjson = {localurl: localurl, id_media: last_item_played,lang:'en', debut: debut, fin: fin}; }else{ paramjson = {localurl: localurl, id_media: last_item_played,lang:'en'}; } jQuery.ajax({url: "/recog/upload.php", type: "POST", data : paramjson, success: function(JSONreponseFromAjax){ if(JSONreponseFromAjax=="ERR"){ $('progress').hide(); spinnerStop(); }else if(JSONreponseFromAjax=="ERR_NOT_CONNECTED"){ TipNotConnected(); $('progress').hide(); spinnerStop(); }else if(JSONreponseFromAjax.match(/^ERR_/) ){ $('progress').hide(); spinnerStop(); clearTimeout(mytimeoutrb); }else { clearTimeout(mytimeoutrb); if ( !$('body').hasClass('mobile') ) { progress = document.getElementById('uploadprogress'); progress.value = progress.innerHTML = 0; } jQuery('progress').hide(); spinnerStop(); reponses = JSON.parse(JSONreponseFromAjax); reponsesMots = reponses.mots; JSONreponse = JSONreponseFromAjax; suggestiontitres(last_item_played,'equal'); } } }); } // Fonction pour obtenir le début et la fin d'une région spécifique function getRegionTiming(idMedia) { // Supposons que votre instance WaveSurfer est dans la variable 'wavesurfer' const regionId = 'recommandation_' + idMedia; const regionKey = hasRegionStartingWith(); let region = null; //ne jamais clear les (climax[0-9]) //if(regionKey.some(item => item.startsWith('climax'))){ if(regionKey){ regionKey.forEach(key => { if(key==regionId){ region=myPlaylist.regions.list[key]; } }); } if (region!=null) { return { start: region.start, // Début en secondes end: region.end // Fin en secondes }; } return { start: null, // Début en secondes end: null // Fin en secondes }; } //--- //- changeScrollHeight //--- changeScrollHeight = function() { var h = parseInt(window.prompt('Please type new scroll height (number in pixels):', jQuery.Autocompleter.defaults.scrollHeight)); if(h > 0) { $("#suggest1").setOptions({ scrollHeight: h }); } } //--- //- focus_header_search_query //--- focus_header_search_query = function(){ //$("#header-search-query").trigger("activate.autocomplete"); $("#header-search-query").click(); } //--- //- RemoveAccents //--- RemoveAccents = function(strAccents) { var strAccents = strAccents.split(''); var strAccentsOut = new Array(); var strAccentsLen = strAccents.length; var accents = 'ÀÁÂÃÄÅàáâãäåÒÓÔÕÕÖØòóôõöøÈÉÊËèéêëðÇçÐÌÍÎÏìíîïÙÚÛÜùúûüÑñÿý'; var accentsOut = "AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz"; for (var y = 0; y < strAccentsLen; y++) { if (accents.indexOf(strAccents[y]) != -1) { strAccentsOut[y] = accentsOut.substr(accents.indexOf(strAccents[y]), 1); } else strAccentsOut[y] = strAccents[y]; } strAccentsOut = strAccentsOut.join(''); //return strAccentsOut.replace(/ +/,"-"); strAccentsOut=strAccentsOut.replace(/'/g,"-").replace(/&+/g," ").replace(/ +/g,"-").replace(/\-+/,'-'); return strAccentsOut; } //--- //- addAlbumAndLaunch //--- addAlbumAndLaunch = function(id_album,e,f){ e.after(""); f.submit(); } //--- //- launchSearch //--- launchSearch = function(){ jQuery('.loupe').click(); } /**tout ce qui se rapoporte au filtrage par bpm et key**/ load_bpm_key_slider = function(){ jQuery('#slider').slider({ range: true, min: 10, max: 300, step: 1, values: [ 10, 300 ], slide: function( event, ui ) { jQuery('.slider-min').html(ui.values[ 0 ]); jQuery('.slider-max').html(ui.values[ 1 ]); }, change: function( event, ui ) { var min = ui.values[ 0 ]; var max = ui.values[ 1 ]; jQuery('#customFilterBpm').val(''); jQuery.ajax({ url: '/ajax/ajax_search_filters.php?minbpm='+min+'&maxbpm='+max} ).done(function(){ var only_word_search = jQuery('#search_form').serialize().replace('search_external_recommendation_youtube=&search_external_recommendation_brief=', ''); const url_params = new URLSearchParams(window.location.search); const id_media_str = url_params.get('id_media_str'); var tmp_url = ""; if ( id_media_str !== null ) { tmp_url = '/liste_resultats.php?id_media_str='+id_media_str+'&randkeybpm='+Math.random().toString(36).substring(7); }else if(only_word_search!=''){ tmp_url = '/liste_resultats.php?'+jQuery('#search_form').serialize()+'&randkeybpm='+Math.random().toString(36).substring(7); } goLaunchAjaxify(tmp_url,'#searchlink','search_' + Math.random().toString(36).substring(7)); }); } }); } -->