<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JamCenter Teclado &#8211; AMP en Línea</title>
	<atom:link href="https://www.ampenlinea.com/lesson-category/jamcenter-teclado/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.ampenlinea.com</link>
	<description></description>
	<lastBuildDate>Sun, 12 Oct 2025 19:53:45 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.ampenlinea.com/wp-content/uploads/2020/07/cropped-LOGOamp-solo_enlinea-M5-32x32.png</url>
	<title>JamCenter Teclado &#8211; AMP en Línea</title>
	<link>https://www.ampenlinea.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>TC INF N1 &#8211; Flowers &#8211; Miley Cyrus</title>
		<link>https://www.ampenlinea.com/courses/ama-teclado-inf-n1/lessons/tc-flowers-miley-cyrus-2/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Thu, 02 Oct 2025 19:43:40 +0000</pubDate>
				<category><![CDATA[AMA Teclado N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/lessons/tc-flowers-miley-cyrus-2/</guid>

					<description><![CDATA[Actividad Tocar la siguiente canción para poner en practica todo lo aprendido.]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="73049" class="elementor elementor-73049" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-975ae86 e-flex e-con-boxed e-con e-parent" data-id="975ae86" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-854b4ee elementor-widget elementor-widget-shortcode" data-id="854b4ee" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"> <!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Audio y Metrónomo</title>
  <style>
    body {
      font-family: sans-serif;
      margin: 0;
      background-color: #fafafa;
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      background-color: #fafafa;
      color: #333;
      border-bottom: 1px solid #ccc;
    }

    .toolbar .icons button {
      background: none;
      border: none;
      color: #333;
      font-size: 22px;
      cursor: pointer;
      margin-left: 15px;
    }

  .toolbar .icons img {
      height: 32px;
      width: 32px;
      cursor: pointer;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #fff;
      padding: 20px;
      width: 90%;
      max-width: 480px;
      border-radius: 8px;
      position: relative;
    }

    .modal .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
    }

    .modal iframe {
      width: 100%;
      height: 475px;
      border: none;
      border-radius: 4px;
    }

    .modal .audio-controls {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .modal .audio-controls audio {
      width: 100%;
    }
  </style>
</head>
<body>

  <div class="toolbar">
    <div class="logo">Herramientas AMP<img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f3b6.png" alt="🎶" class="wp-smiley" style="height: 1em; max-height: 1em;" /></div>
    <div class="icons">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/brand-bandlab.svg" alt="Abrir Modales" onclick="abrirModal('audioModal')">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/metronome.svg" alt="Abrir Metrónomo" onclick="abrirModal('metronomeModal')">
    
    </div>
  </div>

  <!-- MODAL AUDIO -->
  <div id="audioModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('audioModal')">&times;</span>
      <h3>Selecciona un audio</h3>
      <div class="audio-controls">
        <select id="audioSelector" onchange="cambiarAudio(this.value)">
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3">GPP Rock Shuffle 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-B-Four-on-the-floor-80-bpm.mp3">GPP Four on the floor 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3411-Disco-80-bpm.mp3">GPP Disco 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3212-Hard-Rock-80-bpm.mp3">GPP Hard Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-219-8th-Note-Rock-80-bpm.mp3">GPP 8th Note Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-A-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock A 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-D-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-5512-Basic-RB-85-bpm.mp3">GPP Basic R&B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-415-Four-on-the-floor-85-bpm.mp3">GPP Four on the floor 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3112-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock A 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-338-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock B 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3116-Disco-100-bpm.mp3">GPP Disco 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-347-Bossa-Nova-100-bpm.mp3">GPP Bossa Nova 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-329-Soca-100-bpm.mp3">GPP 329 Soca 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-253-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-235-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-159-Hard-Rock-100-bpm.mp3">GPP Hard Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-156-16th-Note-Syncopated-Kick-100-bpm.mp3">GPP 16th Note Syncopated Kick 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-147-Four-on-the-floor-100-bpm.mp3">GPP Four on the floor 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-146-Half-time-Shuffle-100-bpm.mp3">GPP Half time Shuffle 100 bpm</option>

        </select>

        <audio id="audioPlayer" controls>
          <source src="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3" type="audio/mp3">
        </audio>

        <label for="velocidadAudio">Velocidad: <span id="velocidadValor">1.00x</span></label>
        <input type="range" id="velocidadAudio" min="0.5" max="2" step="0.05" value="1" oninput="ajustarVelocidad(this.value)">
      </div>
    </div>
  </div>

  <!-- MODAL METRONOMO -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('metronomeModal')">&times;</span>
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light"
        title="Metrónomo Online">
      </iframe>
    </div>
  </div>

  <script>
    const audioPlayer = document.getElementById('audioPlayer');
    const velocidadValor = document.getElementById('velocidadValor');

    function cambiarAudio(src) {
      audioPlayer.src = src;
      audioPlayer.playbackRate = parseFloat(document.getElementById('velocidadAudio').value);
      audioPlayer.play();
    }

    function ajustarVelocidad(speed) {
      velocidadValor.textContent = parseFloat(speed).toFixed(2) + 'x';
      audioPlayer.playbackRate = parseFloat(speed);
    }

    function abrirModal(id) {
      document.getElementById(id).style.display = 'flex';
    }

    function cerrarModal(id) {
      document.getElementById(id).style.display = 'none';
    }

    window.addEventListener('click', (e) => {
      document.querySelectorAll('.modal').forEach(modal => {
        if (e.target === modal) modal.style.display = 'none';
      });
    });
  </script>

</body>
</html>
</div>
				</div>
				</div>
		<!-- dce invisible element 3788504 --><style>
	/* --- Ajustes para usar varios shortcodes en línea --- */
.amp2 {
  display: inline-block;  /* Hace que el widget sea en línea */
  vertical-align: middle; /* Alinea botones al centro */
  margin: 4px;            /* Espaciado opcional entre botones */
}

.amp2-open {
  display: inline-block;  /* Evita que se estire como bloque */
  white-space: nowrap;    /* Mantiene ícono y texto juntos */
}

/* ===== Modal compacto (ajusta --w/--h para tamaño) ===== */
.amp2{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.amp2-open{background:#6d5ef8;color:#fff;border:0;border-radius:10px;padding:8px 14px;font-weight:600;cursor:pointer}
.amp2-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9998}
.amp2-modal{position:fixed;inset:0;display:grid;place-items:center;z-index:9999}
/* Forzar oculto inicial en algunos temas/constructores */
.amp2 [hidden]{display:none !important}
.amp2-card{width:min(640px,95vw);background:#101225;color:#f7f8ff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.55);overflow:hidden}
.amp2-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.amp2-close{background:transparent;border:0;color:#fff;font-size:18px;cursor:pointer}
.amp2-controls{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;font-size:12px}
.amp2-controls select,.amp2-controls button{height:32px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#171a2b;color:#fff;padding:0 10px;cursor:pointer}
.amp2-clear{background:transparent}

.amp2-kb{--w:36px; --h:136px; --bw:22px; --bh:84px; position:relative; padding:12px; background:#0b0d1b}
.amp2-whites{display:flex;position:relative;width:calc(var(--w)*14);height:var(--h);margin:0 auto;z-index:1}
.amp2-blacks{position:absolute;left:50%;top:12px;transform:translateX(-50%);width:calc(var(--w)*14);height:var(--h);pointer-events:none;z-index:2}

.key{position:relative;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.key.white{width:var(--w);height:var(--h);background:linear-gradient(#fff,#ececec);border:1px solid #bfbfbf;border-bottom-left-radius:6px;border-bottom-right-radius:6px;box-sizing:border-box;cursor:pointer}
.key.black{position:absolute;width:var(--bw);height:var(--bh);background:linear-gradient(#222,#111);border:1px solid #000;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.6);cursor:pointer;pointer-events:auto}
.key.active{filter:brightness(1.25)}
.key .dot{position:absolute;left:50%;transform:translateX(-50%);bottom:20px;width:8px;height:8px;border-radius:50%;opacity:0}
.key.root .dot{background:#ffcc00;opacity:1}
.key.member .dot{background:#2c8cff;opacity:1}
.key.selected .dot{background:#00d084;opacity:1}
.key .label{position:absolute;left:50%;transform:translateX(-50%);bottom:4px;font:600 11px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#222}
.key.black .label{color:#e8e8e8;bottom:6px;font-weight:500}
</style><style>
  #btnShowSheet {
    padding: 12px 20px;
    font-size: 18px;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
  }

  .modal-fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }

  .sheet-container {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    overflow: hidden;
  }

  #sheetImage {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  #drawCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: auto;
  }
</style><div class="elementor-element elementor-element-613d70e e-con-full e-flex e-con e-child" data-id="613d70e" data-element_type="container">
				<div class="elementor-element elementor-element-c397543 elementor-widget__width-initial elementor-widget elementor-widget-html" data-id="c397543" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			


<!--&#x1f7e8; Actividad + PÁRRAFO -->
<section class="bloque-leccion">
  
  <h1>Actividad</h1>

<p>Tocar la siguiente canción para poner en practica todo lo aprendido.</p>

</section>

<!-- &#x1f3a8; ESTILO PERSONALIZADO -->
<style>
  .header-leccion {
    background-color: #f2f2f2;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
  }

  .titulo-leccion {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #b30808;
    margin-bottom: 30px;
  }

  .bloque-leccion {
    margin: 30px 0;
  }

  .bloque-leccion h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
  }

  .bloque-leccion p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
  }

  .imagen-responsiva {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
.bloque-leccion {
  user-select: none;           /* Desactiva selección en navegadores modernos */
  -webkit-user-select: none;   /* Chrome/Safari */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
}


</style>

<script>
  // Bloquea clic derecho
  document.addEventListener('contextmenu', function (e) {
    e.preventDefault();
  });

  // Bloquea teclas como Ctrl+C, Ctrl+U, Ctrl+S, Ctrl+Shift+I (inspeccionar)
  document.addEventListener('keydown', function (e) {
    if ((e.ctrlKey && ['c', 'u', 's'].includes(e.key.toLowerCase())) ||
        (e.ctrlKey && e.shiftKey && e.key.toLowerCase() === 'i')) {
      e.preventDefault();
    }
  });
</script>

		</div>
				</div>
				<div class="elementor-element elementor-element-64da7d8 elementor-widget elementor-widget-shortcode" data-id="64da7d8" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"><p>Debes iniciar sesión para ver este contenido.</p></div>
				</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA JamCenter Teclado &#8211; &#8220;Fallin&#8221;</title>
		<link>https://www.ampenlinea.com/lessons/ama-jamcenter-teclado-fallin/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Thu, 30 Jan 2025 14:24:32 +0000</pubDate>
				<category><![CDATA[AMA Teclado N4]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=55574</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Teclado JamCenter &#8211; Fallin &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="55574" class="elementor elementor-55574" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-009b315 e-flex e-con-boxed e-con e-parent" data-id="009b315" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-512090d e-con-full e-grid e-con e-child" data-id="512090d" data-element_type="container">
				<div class="elementor-element elementor-element-4949383 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="4949383" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-bad1d54 elementor-widget elementor-widget-html" data-id="bad1d54" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
  <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    <option value="https://player.vimeo.com/video/930306429?h=9bf836b7df">
      AMP Teclado JamCenter - Fallin
    </option>
   
  </select>

  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-5f704b5 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="5f704b5" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-6f77bd1 elementor-widget elementor-widget-html" data-id="6f77bd1" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/01/JamCenter-Teclado-Fallin.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-414302e elementor-widget elementor-widget-template" data-id="414302e" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA &#8211; As it was &#8211; Harry Styles</title>
		<link>https://www.ampenlinea.com/courses/ama-teclado-n4/lessons/ama-as-it-was-harry-styles/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Wed, 29 Jan 2025 21:36:19 +0000</pubDate>
				<category><![CDATA[AMA Teclado N4]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=55364</guid>

					<description><![CDATA[Actividad Tocar la canción &#8220;As It Was&#8221; de Harry Styles.]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="55364" class="elementor elementor-55364" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-9e1b1f9 e-flex e-con-boxed e-con e-parent" data-id="9e1b1f9" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-1dc95ba elementor-widget elementor-widget-shortcode" data-id="1dc95ba" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"> <!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Audio y Metrónomo</title>
  <style>
    body {
      font-family: sans-serif;
      margin: 0;
      background-color: #fafafa;
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      background-color: #fafafa;
      color: #333;
      border-bottom: 1px solid #ccc;
    }

    .toolbar .icons button {
      background: none;
      border: none;
      color: #333;
      font-size: 22px;
      cursor: pointer;
      margin-left: 15px;
    }

  .toolbar .icons img {
      height: 32px;
      width: 32px;
      cursor: pointer;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #fff;
      padding: 20px;
      width: 90%;
      max-width: 480px;
      border-radius: 8px;
      position: relative;
    }

    .modal .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
    }

    .modal iframe {
      width: 100%;
      height: 475px;
      border: none;
      border-radius: 4px;
    }

    .modal .audio-controls {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .modal .audio-controls audio {
      width: 100%;
    }
  </style>
</head>
<body>

  <div class="toolbar">
    <div class="logo">Herramientas AMP<img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f3b6.png" alt="🎶" class="wp-smiley" style="height: 1em; max-height: 1em;" /></div>
    <div class="icons">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/brand-bandlab.svg" alt="Abrir Modales" onclick="abrirModal('audioModal')">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/metronome.svg" alt="Abrir Metrónomo" onclick="abrirModal('metronomeModal')">
    
    </div>
  </div>

  <!-- MODAL AUDIO -->
  <div id="audioModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('audioModal')">&times;</span>
      <h3>Selecciona un audio</h3>
      <div class="audio-controls">
        <select id="audioSelector" onchange="cambiarAudio(this.value)">
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3">GPP Rock Shuffle 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-B-Four-on-the-floor-80-bpm.mp3">GPP Four on the floor 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3411-Disco-80-bpm.mp3">GPP Disco 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3212-Hard-Rock-80-bpm.mp3">GPP Hard Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-219-8th-Note-Rock-80-bpm.mp3">GPP 8th Note Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-A-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock A 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-D-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-5512-Basic-RB-85-bpm.mp3">GPP Basic R&B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-415-Four-on-the-floor-85-bpm.mp3">GPP Four on the floor 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3112-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock A 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-338-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock B 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3116-Disco-100-bpm.mp3">GPP Disco 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-347-Bossa-Nova-100-bpm.mp3">GPP Bossa Nova 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-329-Soca-100-bpm.mp3">GPP 329 Soca 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-253-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-235-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-159-Hard-Rock-100-bpm.mp3">GPP Hard Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-156-16th-Note-Syncopated-Kick-100-bpm.mp3">GPP 16th Note Syncopated Kick 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-147-Four-on-the-floor-100-bpm.mp3">GPP Four on the floor 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-146-Half-time-Shuffle-100-bpm.mp3">GPP Half time Shuffle 100 bpm</option>

        </select>

        <audio id="audioPlayer" controls>
          <source src="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3" type="audio/mp3">
        </audio>

        <label for="velocidadAudio">Velocidad: <span id="velocidadValor">1.00x</span></label>
        <input type="range" id="velocidadAudio" min="0.5" max="2" step="0.05" value="1" oninput="ajustarVelocidad(this.value)">
      </div>
    </div>
  </div>

  <!-- MODAL METRONOMO -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('metronomeModal')">&times;</span>
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light"
        title="Metrónomo Online">
      </iframe>
    </div>
  </div>

  <script>
    const audioPlayer = document.getElementById('audioPlayer');
    const velocidadValor = document.getElementById('velocidadValor');

    function cambiarAudio(src) {
      audioPlayer.src = src;
      audioPlayer.playbackRate = parseFloat(document.getElementById('velocidadAudio').value);
      audioPlayer.play();
    }

    function ajustarVelocidad(speed) {
      velocidadValor.textContent = parseFloat(speed).toFixed(2) + 'x';
      audioPlayer.playbackRate = parseFloat(speed);
    }

    function abrirModal(id) {
      document.getElementById(id).style.display = 'flex';
    }

    function cerrarModal(id) {
      document.getElementById(id).style.display = 'none';
    }

    window.addEventListener('click', (e) => {
      document.querySelectorAll('.modal').forEach(modal => {
        if (e.target === modal) modal.style.display = 'none';
      });
    });
  </script>

</body>
</html>
</div>
				</div>
				</div>
		<!-- dce invisible element 39a4937 --><style>
	/* --- Ajustes para usar varios shortcodes en línea --- */
.amp2 {
  display: inline-block;  /* Hace que el widget sea en línea */
  vertical-align: middle; /* Alinea botones al centro */
  margin: 4px;            /* Espaciado opcional entre botones */
}

.amp2-open {
  display: inline-block;  /* Evita que se estire como bloque */
  white-space: nowrap;    /* Mantiene ícono y texto juntos */
}

/* ===== Modal compacto (ajusta --w/--h para tamaño) ===== */
.amp2{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.amp2-open{background:#6d5ef8;color:#fff;border:0;border-radius:10px;padding:8px 14px;font-weight:600;cursor:pointer}
.amp2-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9998}
.amp2-modal{position:fixed;inset:0;display:grid;place-items:center;z-index:9999}
/* Forzar oculto inicial en algunos temas/constructores */
.amp2 [hidden]{display:none !important}
.amp2-card{width:min(640px,95vw);background:#101225;color:#f7f8ff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.55);overflow:hidden}
.amp2-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.amp2-close{background:transparent;border:0;color:#fff;font-size:18px;cursor:pointer}
.amp2-controls{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;font-size:12px}
.amp2-controls select,.amp2-controls button{height:32px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#171a2b;color:#fff;padding:0 10px;cursor:pointer}
.amp2-clear{background:transparent}

.amp2-kb{--w:36px; --h:136px; --bw:22px; --bh:84px; position:relative; padding:12px; background:#0b0d1b}
.amp2-whites{display:flex;position:relative;width:calc(var(--w)*14);height:var(--h);margin:0 auto;z-index:1}
.amp2-blacks{position:absolute;left:50%;top:12px;transform:translateX(-50%);width:calc(var(--w)*14);height:var(--h);pointer-events:none;z-index:2}

.key{position:relative;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.key.white{width:var(--w);height:var(--h);background:linear-gradient(#fff,#ececec);border:1px solid #bfbfbf;border-bottom-left-radius:6px;border-bottom-right-radius:6px;box-sizing:border-box;cursor:pointer}
.key.black{position:absolute;width:var(--bw);height:var(--bh);background:linear-gradient(#222,#111);border:1px solid #000;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.6);cursor:pointer;pointer-events:auto}
.key.active{filter:brightness(1.25)}
.key .dot{position:absolute;left:50%;transform:translateX(-50%);bottom:20px;width:8px;height:8px;border-radius:50%;opacity:0}
.key.root .dot{background:#ffcc00;opacity:1}
.key.member .dot{background:#2c8cff;opacity:1}
.key.selected .dot{background:#00d084;opacity:1}
.key .label{position:absolute;left:50%;transform:translateX(-50%);bottom:4px;font:600 11px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#222}
.key.black .label{color:#e8e8e8;bottom:6px;font-weight:500}
</style><style>
  #btnShowSheet {
    padding: 12px 20px;
    font-size: 18px;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
  }

  .modal-fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }

  .sheet-container {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    overflow: hidden;
  }

  #sheetImage {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  #drawCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: auto;
  }
</style><div class="elementor-element elementor-element-eb87c8b e-con-full e-flex e-con e-child" data-id="eb87c8b" data-element_type="container">
				<div class="elementor-element elementor-element-0f94087 elementor-widget__width-initial elementor-widget elementor-widget-html" data-id="0f94087" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			


<!--&#x1f7e8; Actividad + PÁRRAFO -->
<section class="bloque-leccion">
  <h1>Actividad</h1>
  
  <p>Tocar la canción "As It Was" de Harry Styles.</p>
 
</section>

<!-- &#x1f3a8; ESTILO PERSONALIZADO -->
<style>
  .header-leccion {
    background-color: #f2f2f2;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
  }

  .titulo-leccion {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #b30808;
    margin-bottom: 30px;
  }

  .bloque-leccion {
    margin: 30px 0;
  }

  .bloque-leccion h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
  }

  .bloque-leccion p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
  }

  .imagen-responsiva {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
.bloque-leccion {
  user-select: none;           /* Desactiva selección en navegadores modernos */
  -webkit-user-select: none;   /* Chrome/Safari */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
}


</style>

<script>
  // Bloquea clic derecho
  document.addEventListener('contextmenu', function (e) {
    e.preventDefault();
  });

  // Bloquea teclas como Ctrl+C, Ctrl+U, Ctrl+S, Ctrl+Shift+I (inspeccionar)
  document.addEventListener('keydown', function (e) {
    if ((e.ctrlKey && ['c', 'u', 's'].includes(e.key.toLowerCase())) ||
        (e.ctrlKey && e.shiftKey && e.key.toLowerCase() === 'i')) {
      e.preventDefault();
    }
  });
</script>

		</div>
				</div>
				</div>
		<div class="elementor-element elementor-element-0d2a21d e-con-full e-flex e-con e-child" data-id="0d2a21d" data-element_type="container">
				<div class="elementor-element elementor-element-f413d3e elementor-widget elementor-widget-shortcode" data-id="f413d3e" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"><p>Debes iniciar sesión para ver este contenido.</p></div>
				</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA JamCenter Teclado &#8211; &#8220;Danzando&#8221;</title>
		<link>https://www.ampenlinea.com/lessons/ama-jamcenter-teclado-danzando/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 28 Jan 2025 23:21:32 +0000</pubDate>
				<category><![CDATA[AMA Teclado N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=55045</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Teclado JamCenter &#8211; Danzando &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="55045" class="elementor elementor-55045" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-8db91d4 e-flex e-con-boxed e-con e-parent" data-id="8db91d4" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-64f2053 e-con-full e-grid e-con e-child" data-id="64f2053" data-element_type="container">
				<div class="elementor-element elementor-element-b25ba8b elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="b25ba8b" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-701f8f4 elementor-widget elementor-widget-html" data-id="701f8f4" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>

    <option value="https://player.vimeo.com/video/933108497?h=9efeabe25a">
      AMP Teclado JamCenter - Danzando
    </option>
   
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-1fe8cbb elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="1fe8cbb" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-7b866c2 elementor-widget elementor-widget-html" data-id="7b866c2" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/01/JamCenter-Teclado-Danzando.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-17b6a4e elementor-widget elementor-widget-template" data-id="17b6a4e" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMP JamCenter Teclado &#8211; &#8220;Lamento Boliviano&#8221;</title>
		<link>https://www.ampenlinea.com/lessons/amp-jamcenter-teclado-lamento-boliviano/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 28 Jan 2025 23:00:50 +0000</pubDate>
				<category><![CDATA[AMA Teclado N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=55008</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Teclado JamCenter &#8211; Lamento Boliviano &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="55008" class="elementor elementor-55008" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-d3b0ae5 e-flex e-con-boxed e-con e-parent" data-id="d3b0ae5" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-0b786eb e-con-full e-grid e-con e-child" data-id="0b786eb" data-element_type="container">
				<div class="elementor-element elementor-element-e59b087 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="e59b087" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-884a04c elementor-widget elementor-widget-html" data-id="884a04c" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
     <option value="https://player.vimeo.com/video/930310753?h=75fca6a79b">
      AMP Teclado JamCenter - Lamento Boliviano
    </option>
   
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-6ca7140 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="6ca7140" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-2846939 elementor-widget elementor-widget-html" data-id="2846939" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/01/JamCenter-Teclado-Lamento-Boliviano.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-00a6108 elementor-widget elementor-widget-template" data-id="00a6108" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA JamCenter Teclado -&#8220;Just the way you are&#8221;</title>
		<link>https://www.ampenlinea.com/lessons/ama-jamcenter-teclado-just-the-way-you-are/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 28 Jan 2025 21:51:15 +0000</pubDate>
				<category><![CDATA[AMA Teclado N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=54889</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Teclado JamCenter &#8211; Just the way you are &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="54889" class="elementor elementor-54889" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-9017cef e-flex e-con-boxed e-con e-parent" data-id="9017cef" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-64960ca e-con-full e-grid e-con e-child" data-id="64960ca" data-element_type="container">
				<div class="elementor-element elementor-element-8707aee elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="8707aee" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-2bebc99 elementor-widget elementor-widget-html" data-id="2bebc99" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
     <option value="https://player.vimeo.com/video/936799723?h=3383047153">
      AMP Teclado JamCenter - Just the way you are 
    </option>
  
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-bffbc62 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="bffbc62" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-931ff40 elementor-widget elementor-widget-html" data-id="931ff40" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/01/JamCenter-Teclado-jUST-THE-WAY-YOU-ARE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-d6c803f elementor-widget elementor-widget-template" data-id="d6c803f" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA JamCenter Teclado &#8211; &#8220;La Bamba&#8221;</title>
		<link>https://www.ampenlinea.com/lessons/ama-jamcenter-teclado-la-bamba/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 28 Jan 2025 21:41:48 +0000</pubDate>
				<category><![CDATA[AMA Teclado N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=54887</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Teclado JamCenter &#8211; La Bamba &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="54887" class="elementor elementor-54887" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-b1bfc16 e-flex e-con-boxed e-con e-parent" data-id="b1bfc16" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-c737433 e-con-full e-grid e-con e-child" data-id="c737433" data-element_type="container">
				<div class="elementor-element elementor-element-725c3e0 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="725c3e0" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-ea1396b elementor-widget elementor-widget-html" data-id="ea1396b" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
     <option value="https://player.vimeo.com/video/930300332?h=6cd027deaf">
      AMP Teclado JamCenter - La Bamba 
    </option>
  
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-e5d00af elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="e5d00af" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-7fa462e elementor-widget elementor-widget-html" data-id="7fa462e" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/01/JamCenter-Teclado-La-Bamba.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA JamCenter Teclado &#8211; &#8220;Three little birds&#8221;</title>
		<link>https://www.ampenlinea.com/lessons/ama-jamcenter-teclado-three-little-birds/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 28 Jan 2025 21:28:17 +0000</pubDate>
				<category><![CDATA[AMA Teclado N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=54873</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Teclado JamCenter &#8211; Three little Birds &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="54873" class="elementor elementor-54873" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-3e78691 e-flex e-con-boxed e-con e-parent" data-id="3e78691" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-4006ce9 e-con-full e-grid e-con e-child" data-id="4006ce9" data-element_type="container">
				<div class="elementor-element elementor-element-ad7d2fa elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="ad7d2fa" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-808b78d elementor-widget elementor-widget-html" data-id="808b78d" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
     <option value="https://player.vimeo.com/video/930284236?h=4fafebfb3e">
      AMP Teclado JamCenter - Three little Birds
    </option>
   
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-90185f7 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="90185f7" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-64ca66e elementor-widget elementor-widget-html" data-id="64ca66e" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/01/JamCenter-Teclado-Three-Little-Birds.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-f84c601 elementor-widget elementor-widget-template" data-id="f84c601" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>TC &#8211; Flowers &#8211; Miley Cyrus</title>
		<link>https://www.ampenlinea.com/courses/ama-teclado-n1/lessons/tc-flowers-miley-cyrus/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 28 Jan 2025 20:14:22 +0000</pubDate>
				<category><![CDATA[AMA Teclado N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=54783</guid>

					<description><![CDATA[Actividad Tocar la canción &#8220;Flowers&#8221; de Miley Cyrus para poner en practica todo lo aprendido.]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="54783" class="elementor elementor-54783" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-1c32862 e-flex e-con-boxed e-con e-parent" data-id="1c32862" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-d03abda elementor-widget elementor-widget-shortcode" data-id="d03abda" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"> <!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Audio y Metrónomo</title>
  <style>
    body {
      font-family: sans-serif;
      margin: 0;
      background-color: #fafafa;
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      background-color: #fafafa;
      color: #333;
      border-bottom: 1px solid #ccc;
    }

    .toolbar .icons button {
      background: none;
      border: none;
      color: #333;
      font-size: 22px;
      cursor: pointer;
      margin-left: 15px;
    }

  .toolbar .icons img {
      height: 32px;
      width: 32px;
      cursor: pointer;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #fff;
      padding: 20px;
      width: 90%;
      max-width: 480px;
      border-radius: 8px;
      position: relative;
    }

    .modal .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
    }

    .modal iframe {
      width: 100%;
      height: 475px;
      border: none;
      border-radius: 4px;
    }

    .modal .audio-controls {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .modal .audio-controls audio {
      width: 100%;
    }
  </style>
</head>
<body>

  <div class="toolbar">
    <div class="logo">Herramientas AMP<img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f3b6.png" alt="🎶" class="wp-smiley" style="height: 1em; max-height: 1em;" /></div>
    <div class="icons">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/brand-bandlab.svg" alt="Abrir Modales" onclick="abrirModal('audioModal')">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/metronome.svg" alt="Abrir Metrónomo" onclick="abrirModal('metronomeModal')">
    
    </div>
  </div>

  <!-- MODAL AUDIO -->
  <div id="audioModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('audioModal')">&times;</span>
      <h3>Selecciona un audio</h3>
      <div class="audio-controls">
        <select id="audioSelector" onchange="cambiarAudio(this.value)">
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3">GPP Rock Shuffle 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-B-Four-on-the-floor-80-bpm.mp3">GPP Four on the floor 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3411-Disco-80-bpm.mp3">GPP Disco 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3212-Hard-Rock-80-bpm.mp3">GPP Hard Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-219-8th-Note-Rock-80-bpm.mp3">GPP 8th Note Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-A-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock A 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-D-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-5512-Basic-RB-85-bpm.mp3">GPP Basic R&B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-415-Four-on-the-floor-85-bpm.mp3">GPP Four on the floor 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3112-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock A 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-338-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock B 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3116-Disco-100-bpm.mp3">GPP Disco 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-347-Bossa-Nova-100-bpm.mp3">GPP Bossa Nova 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-329-Soca-100-bpm.mp3">GPP 329 Soca 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-253-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-235-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-159-Hard-Rock-100-bpm.mp3">GPP Hard Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-156-16th-Note-Syncopated-Kick-100-bpm.mp3">GPP 16th Note Syncopated Kick 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-147-Four-on-the-floor-100-bpm.mp3">GPP Four on the floor 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-146-Half-time-Shuffle-100-bpm.mp3">GPP Half time Shuffle 100 bpm</option>

        </select>

        <audio id="audioPlayer" controls>
          <source src="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3" type="audio/mp3">
        </audio>

        <label for="velocidadAudio">Velocidad: <span id="velocidadValor">1.00x</span></label>
        <input type="range" id="velocidadAudio" min="0.5" max="2" step="0.05" value="1" oninput="ajustarVelocidad(this.value)">
      </div>
    </div>
  </div>

  <!-- MODAL METRONOMO -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('metronomeModal')">&times;</span>
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light"
        title="Metrónomo Online">
      </iframe>
    </div>
  </div>

  <script>
    const audioPlayer = document.getElementById('audioPlayer');
    const velocidadValor = document.getElementById('velocidadValor');

    function cambiarAudio(src) {
      audioPlayer.src = src;
      audioPlayer.playbackRate = parseFloat(document.getElementById('velocidadAudio').value);
      audioPlayer.play();
    }

    function ajustarVelocidad(speed) {
      velocidadValor.textContent = parseFloat(speed).toFixed(2) + 'x';
      audioPlayer.playbackRate = parseFloat(speed);
    }

    function abrirModal(id) {
      document.getElementById(id).style.display = 'flex';
    }

    function cerrarModal(id) {
      document.getElementById(id).style.display = 'none';
    }

    window.addEventListener('click', (e) => {
      document.querySelectorAll('.modal').forEach(modal => {
        if (e.target === modal) modal.style.display = 'none';
      });
    });
  </script>

</body>
</html>
</div>
				</div>
				</div>
		<!-- dce invisible element 7ceb456 --><style>
	/* --- Ajustes para usar varios shortcodes en línea --- */
.amp2 {
  display: inline-block;  /* Hace que el widget sea en línea */
  vertical-align: middle; /* Alinea botones al centro */
  margin: 4px;            /* Espaciado opcional entre botones */
}

.amp2-open {
  display: inline-block;  /* Evita que se estire como bloque */
  white-space: nowrap;    /* Mantiene ícono y texto juntos */
}

/* ===== Modal compacto (ajusta --w/--h para tamaño) ===== */
.amp2{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.amp2-open{background:#6d5ef8;color:#fff;border:0;border-radius:10px;padding:8px 14px;font-weight:600;cursor:pointer}
.amp2-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9998}
.amp2-modal{position:fixed;inset:0;display:grid;place-items:center;z-index:9999}
/* Forzar oculto inicial en algunos temas/constructores */
.amp2 [hidden]{display:none !important}
.amp2-card{width:min(640px,95vw);background:#101225;color:#f7f8ff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.55);overflow:hidden}
.amp2-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.amp2-close{background:transparent;border:0;color:#fff;font-size:18px;cursor:pointer}
.amp2-controls{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;font-size:12px}
.amp2-controls select,.amp2-controls button{height:32px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#171a2b;color:#fff;padding:0 10px;cursor:pointer}
.amp2-clear{background:transparent}

.amp2-kb{--w:36px; --h:136px; --bw:22px; --bh:84px; position:relative; padding:12px; background:#0b0d1b}
.amp2-whites{display:flex;position:relative;width:calc(var(--w)*14);height:var(--h);margin:0 auto;z-index:1}
.amp2-blacks{position:absolute;left:50%;top:12px;transform:translateX(-50%);width:calc(var(--w)*14);height:var(--h);pointer-events:none;z-index:2}

.key{position:relative;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.key.white{width:var(--w);height:var(--h);background:linear-gradient(#fff,#ececec);border:1px solid #bfbfbf;border-bottom-left-radius:6px;border-bottom-right-radius:6px;box-sizing:border-box;cursor:pointer}
.key.black{position:absolute;width:var(--bw);height:var(--bh);background:linear-gradient(#222,#111);border:1px solid #000;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.6);cursor:pointer;pointer-events:auto}
.key.active{filter:brightness(1.25)}
.key .dot{position:absolute;left:50%;transform:translateX(-50%);bottom:20px;width:8px;height:8px;border-radius:50%;opacity:0}
.key.root .dot{background:#ffcc00;opacity:1}
.key.member .dot{background:#2c8cff;opacity:1}
.key.selected .dot{background:#00d084;opacity:1}
.key .label{position:absolute;left:50%;transform:translateX(-50%);bottom:4px;font:600 11px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#222}
.key.black .label{color:#e8e8e8;bottom:6px;font-weight:500}
</style><style>
  #btnShowSheet {
    padding: 12px 20px;
    font-size: 18px;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
  }

  .modal-fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }

  .sheet-container {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    overflow: hidden;
  }

  #sheetImage {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  #drawCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: auto;
  }
</style><div class="elementor-element elementor-element-f49979a e-con-full e-flex e-con e-child" data-id="f49979a" data-element_type="container">
				<div class="elementor-element elementor-element-b74422c elementor-widget__width-initial elementor-widget elementor-widget-html" data-id="b74422c" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			


<!--&#x1f7e8; Actividad + PÁRRAFO -->
<section class="bloque-leccion">
  
  <h1>Actividad</h1>

<p>Tocar la canción "Flowers" de Miley Cyrus para poner en practica todo lo aprendido.</p>

</section>

<!-- &#x1f3a8; ESTILO PERSONALIZADO -->
<style>
  .header-leccion {
    background-color: #f2f2f2;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
  }

  .titulo-leccion {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #b30808;
    margin-bottom: 30px;
  }

  .bloque-leccion {
    margin: 30px 0;
  }

  .bloque-leccion h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
  }

  .bloque-leccion p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
  }

  .imagen-responsiva {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
.bloque-leccion {
  user-select: none;           /* Desactiva selección en navegadores modernos */
  -webkit-user-select: none;   /* Chrome/Safari */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
}


</style>

<script>
  // Bloquea clic derecho
  document.addEventListener('contextmenu', function (e) {
    e.preventDefault();
  });

  // Bloquea teclas como Ctrl+C, Ctrl+U, Ctrl+S, Ctrl+Shift+I (inspeccionar)
  document.addEventListener('keydown', function (e) {
    if ((e.ctrlKey && ['c', 'u', 's'].includes(e.key.toLowerCase())) ||
        (e.ctrlKey && e.shiftKey && e.key.toLowerCase() === 'i')) {
      e.preventDefault();
    }
  });
</script>

		</div>
				</div>
				<div class="elementor-element elementor-element-6600041 elementor-widget elementor-widget-shortcode" data-id="6600041" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"><p>Debes iniciar sesión para ver este contenido.</p></div>
				</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>TC &#8211; Adventure of a lifetime &#8211; Coldplay</title>
		<link>https://www.ampenlinea.com/courses/ama-teclado-n1/lessons/tc-adventure-of-a-lifetime-coldplay/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 28 Jan 2025 20:09:39 +0000</pubDate>
				<category><![CDATA[AMA Teclado N1]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=54769</guid>

					<description><![CDATA[Actividad Tocar la canción &#8220;Adventure Of A Lifetime&#8221; de Coldplay.]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="54769" class="elementor elementor-54769" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-092221c e-flex e-con-boxed e-con e-parent" data-id="092221c" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-7aec92c elementor-widget elementor-widget-shortcode" data-id="7aec92c" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"> <!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Audio y Metrónomo</title>
  <style>
    body {
      font-family: sans-serif;
      margin: 0;
      background-color: #fafafa;
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      background-color: #fafafa;
      color: #333;
      border-bottom: 1px solid #ccc;
    }

    .toolbar .icons button {
      background: none;
      border: none;
      color: #333;
      font-size: 22px;
      cursor: pointer;
      margin-left: 15px;
    }

  .toolbar .icons img {
      height: 32px;
      width: 32px;
      cursor: pointer;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #fff;
      padding: 20px;
      width: 90%;
      max-width: 480px;
      border-radius: 8px;
      position: relative;
    }

    .modal .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
    }

    .modal iframe {
      width: 100%;
      height: 475px;
      border: none;
      border-radius: 4px;
    }

    .modal .audio-controls {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .modal .audio-controls audio {
      width: 100%;
    }
  </style>
</head>
<body>

  <div class="toolbar">
    <div class="logo">Herramientas AMP<img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f3b6.png" alt="🎶" class="wp-smiley" style="height: 1em; max-height: 1em;" /></div>
    <div class="icons">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/brand-bandlab.svg" alt="Abrir Modales" onclick="abrirModal('audioModal')">
      <img decoding="async" src="https://www.ampenlinea.com/wp-content/uploads/2025/06/metronome.svg" alt="Abrir Metrónomo" onclick="abrirModal('metronomeModal')">
    
    </div>
  </div>

  <!-- MODAL AUDIO -->
  <div id="audioModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('audioModal')">&times;</span>
      <h3>Selecciona un audio</h3>
      <div class="audio-controls">
        <select id="audioSelector" onchange="cambiarAudio(this.value)">
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3">GPP Rock Shuffle 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-B-Four-on-the-floor-80-bpm.mp3">GPP Four on the floor 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3411-Disco-80-bpm.mp3">GPP Disco 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3212-Hard-Rock-80-bpm.mp3">GPP Hard Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-219-8th-Note-Rock-80-bpm.mp3">GPP 8th Note Rock 80 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-A-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock A 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-D-16th-Note-Rock-85-bpm.mp3">GPP 16th Note Rock B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-5512-Basic-RB-85-bpm.mp3">GPP Basic R&B 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-415-Four-on-the-floor-85-bpm.mp3">GPP Four on the floor 85 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3112-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock A 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-338-8th-Note-Rock-90-bpm.mp3">GPP 8th Note Rock B 90 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-3116-Disco-100-bpm.mp3">GPP Disco 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-347-Bossa-Nova-100-bpm.mp3">GPP Bossa Nova 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-329-Soca-100-bpm.mp3">GPP 329 Soca 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-253-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-235-8th-Note-Rock-100-bpm.mp3">GPP 8th Note Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-159-Hard-Rock-100-bpm.mp3">GPP Hard Rock 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-156-16th-Note-Syncopated-Kick-100-bpm.mp3">GPP 16th Note Syncopated Kick 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-147-Four-on-the-floor-100-bpm.mp3">GPP Four on the floor 100 bpm</option>
          <option value="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-146-Half-time-Shuffle-100-bpm.mp3">GPP Half time Shuffle 100 bpm</option>

        </select>

        <audio id="audioPlayer" controls>
          <source src="https://www.ampenlinea.com/wp-content/uploads/2020/08/GPP-4213-C-Rock-Shuffle-80-bpm.mp3" type="audio/mp3">
        </audio>

        <label for="velocidadAudio">Velocidad: <span id="velocidadValor">1.00x</span></label>
        <input type="range" id="velocidadAudio" min="0.5" max="2" step="0.05" value="1" oninput="ajustarVelocidad(this.value)">
      </div>
    </div>
  </div>

  <!-- MODAL METRONOMO -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <span class="close" onclick="cerrarModal('metronomeModal')">&times;</span>
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light"
        title="Metrónomo Online">
      </iframe>
    </div>
  </div>

  <script>
    const audioPlayer = document.getElementById('audioPlayer');
    const velocidadValor = document.getElementById('velocidadValor');

    function cambiarAudio(src) {
      audioPlayer.src = src;
      audioPlayer.playbackRate = parseFloat(document.getElementById('velocidadAudio').value);
      audioPlayer.play();
    }

    function ajustarVelocidad(speed) {
      velocidadValor.textContent = parseFloat(speed).toFixed(2) + 'x';
      audioPlayer.playbackRate = parseFloat(speed);
    }

    function abrirModal(id) {
      document.getElementById(id).style.display = 'flex';
    }

    function cerrarModal(id) {
      document.getElementById(id).style.display = 'none';
    }

    window.addEventListener('click', (e) => {
      document.querySelectorAll('.modal').forEach(modal => {
        if (e.target === modal) modal.style.display = 'none';
      });
    });
  </script>

</body>
</html>
</div>
				</div>
				</div>
		<!-- dce invisible element e68f112 --><style>
	/* --- Ajustes para usar varios shortcodes en línea --- */
.amp2 {
  display: inline-block;  /* Hace que el widget sea en línea */
  vertical-align: middle; /* Alinea botones al centro */
  margin: 4px;            /* Espaciado opcional entre botones */
}

.amp2-open {
  display: inline-block;  /* Evita que se estire como bloque */
  white-space: nowrap;    /* Mantiene ícono y texto juntos */
}

/* ===== Modal compacto (ajusta --w/--h para tamaño) ===== */
.amp2{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.amp2-open{background:#6d5ef8;color:#fff;border:0;border-radius:10px;padding:8px 14px;font-weight:600;cursor:pointer}
.amp2-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9998}
.amp2-modal{position:fixed;inset:0;display:grid;place-items:center;z-index:9999}
/* Forzar oculto inicial en algunos temas/constructores */
.amp2 [hidden]{display:none !important}
.amp2-card{width:min(640px,95vw);background:#101225;color:#f7f8ff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.55);overflow:hidden}
.amp2-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.amp2-close{background:transparent;border:0;color:#fff;font-size:18px;cursor:pointer}
.amp2-controls{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;font-size:12px}
.amp2-controls select,.amp2-controls button{height:32px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#171a2b;color:#fff;padding:0 10px;cursor:pointer}
.amp2-clear{background:transparent}

.amp2-kb{--w:36px; --h:136px; --bw:22px; --bh:84px; position:relative; padding:12px; background:#0b0d1b}
.amp2-whites{display:flex;position:relative;width:calc(var(--w)*14);height:var(--h);margin:0 auto;z-index:1}
.amp2-blacks{position:absolute;left:50%;top:12px;transform:translateX(-50%);width:calc(var(--w)*14);height:var(--h);pointer-events:none;z-index:2}

.key{position:relative;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.key.white{width:var(--w);height:var(--h);background:linear-gradient(#fff,#ececec);border:1px solid #bfbfbf;border-bottom-left-radius:6px;border-bottom-right-radius:6px;box-sizing:border-box;cursor:pointer}
.key.black{position:absolute;width:var(--bw);height:var(--bh);background:linear-gradient(#222,#111);border:1px solid #000;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.6);cursor:pointer;pointer-events:auto}
.key.active{filter:brightness(1.25)}
.key .dot{position:absolute;left:50%;transform:translateX(-50%);bottom:20px;width:8px;height:8px;border-radius:50%;opacity:0}
.key.root .dot{background:#ffcc00;opacity:1}
.key.member .dot{background:#2c8cff;opacity:1}
.key.selected .dot{background:#00d084;opacity:1}
.key .label{position:absolute;left:50%;transform:translateX(-50%);bottom:4px;font:600 11px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#222}
.key.black .label{color:#e8e8e8;bottom:6px;font-weight:500}
</style><style>
  #btnShowSheet {
    padding: 12px 20px;
    font-size: 18px;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
  }

  .modal-fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }

  .sheet-container {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    overflow: hidden;
  }

  #sheetImage {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  #drawCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: auto;
  }
</style><div class="elementor-element elementor-element-b2050c3 e-con-full e-flex e-con e-child" data-id="b2050c3" data-element_type="container">
				<div class="elementor-element elementor-element-14dd7ce elementor-widget__width-initial elementor-widget elementor-widget-html" data-id="14dd7ce" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			 




<!--&#x1f7e8; Actividad + PÁRRAFO -->
<section class="bloque-leccion">

<h1>Actividad</h1>


<p>Tocar la canción "Adventure Of A Lifetime" de Coldplay.</p>
 


</section>

<!-- &#x1f3a8; ESTILO PERSONALIZADO -->
<style>
  .header-leccion {
    background-color: #f2f2f2;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
  }

  .titulo-leccion {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #b30808;
    margin-bottom: 30px;
  }

  .bloque-leccion {
    margin: 30px 0;
  }

  .bloque-leccion h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
  }

  .bloque-leccion p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
  }

  .imagen-responsiva {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
.bloque-leccion {
  user-select: none;           /* Desactiva selección en navegadores modernos */
  -webkit-user-select: none;   /* Chrome/Safari */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
}


</style>

<script>
  // Bloquea clic derecho
  document.addEventListener('contextmenu', function (e) {
    e.preventDefault();
  });

  // Bloquea teclas como Ctrl+C, Ctrl+U, Ctrl+S, Ctrl+Shift+I (inspeccionar)
  document.addEventListener('keydown', function (e) {
    if ((e.ctrlKey && ['c', 'u', 's'].includes(e.key.toLowerCase())) ||
        (e.ctrlKey && e.shiftKey && e.key.toLowerCase() === 'i')) {
      e.preventDefault();
    }
  });
</script>

		</div>
				</div>
				</div>
		<div class="elementor-element elementor-element-41a7ad3 e-con-full e-flex e-con e-child" data-id="41a7ad3" data-element_type="container">
				<div class="elementor-element elementor-element-34e79a5 elementor-widget elementor-widget-shortcode" data-id="34e79a5" data-element_type="widget" data-widget_type="shortcode.default">
				<div class="elementor-widget-container">
					<div class="elementor-shortcode"><p>Debes iniciar sesión para ver este contenido.</p></div>
				</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
