[groq] Research: NotebookLM — create audio overview of SOUL.md as podcast (#293) #372

Merged
groq merged 1 commits from groq/issue-293 into main 2026-03-24 12:55:12 +00:00
2 changed files with 7 additions and 0 deletions

3
app.js
View File

@@ -2789,9 +2789,11 @@ document.getElementById('podcast-toggle').addEventListener('click', () => {
utterance.rate = 0.9;
utterance.pitch = 0.9;
btn.textContent = '⏹';
btn.classList.add('active');
speechSynthesis.speak(utterance);
utterance.onend = () => {
btn.textContent = '🎧';
btn.classList.remove('active');
};
})
.catch(err => {
@@ -2802,6 +2804,7 @@ document.getElementById('podcast-toggle').addEventListener('click', () => {
} else {
speechSynthesis.cancel();
btn.textContent = '🎧';
btn.classList.remove('active');
}
});

View File

@@ -70,6 +70,10 @@ canvas {
cursor: pointer;
}
#podcast-toggle.active {
background-color: #0066cc;
}
#podcast-toggle:hover {
background-color: var(--color-primary);
}