The Place Behind The Stars

1 Result / Page 1 of 1

AD
bandii

Featured

Your Invitation to “The Place Behind The Stars”

You Have Been Cordially Invited to "The Place Behind The Stars" After a twelve-year hiatus from releasing new music, the revered ska-punk trailblazers Streetlight Manifesto have sent a jolt of electricity through the fanbase with the announcement of a new album, "The Place Behind The Stars" slated for a June 24, 2025 release via Pentimento Music Co. The news, which has been met with widespread elation, was accompanied by the […]

todayJune 10, 2025 12

AD
Chat with Deforest
} // --- NEW: Audio Player Logic --- let currentAudio = null; function playAudioFromBase64(base64String) { if (currentAudio) { currentAudio.pause(); } const audioData = `data:audio/mpeg;base64,${base64String}`; currentAudio = new Audio(audioData); currentAudio.play().catch(e => console.error("Audio play failed:", e)); } function toggleRacketeerChat() { const chatIsHidden = rrChatPopup.style.display === 'none'; rrChatPopup.style.display = chatIsHidden ? 'flex' : 'none'; if (!chatIsHidden && currentAudio) { currentAudio.pause(); // Stop audio when closing chat } } async function sendRacketeerMessage() { const query = rrUserInput.value.trim(); if (!query) return; addRacketeerMessage('You', query); rrUserInput.value = ''; try { const response = await fetch(RR_API_URL, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ query: query, sessionId: userSessionId }), }); if (!response.ok) throw new Error('Network error'); const data = await response.json(); // Add the text to the screen addRacketeerMessage('Deforest', data.response); // If we received audio data, play it if (data.audioBase64) { playAudioFromBase64(data.audioBase64); } } catch (error) { console.error('Error:', error); addRacketeerMessage('Deforest', 'Sorry, I seem to be having trouble connecting.'); } } function addRacketeerMessage(sender, text) { const messageElement = document.createElement('p'); messageElement.innerHTML = `${sender}: `; messageElement.appendChild(document.createTextNode(text)); rrChatWindow.appendChild(messageElement); rrChatWindow.scrollTop = rrChatWindow.scrollHeight; } // Voice input logic is the same, but we remove the old speakText function // ... (add the SpeechRecognition code here, but delete the old speakText function) ...
RBA Racketeer Radio KFQX

FREE
VIEW