so for those who are coders, amaybe you guys canm help me. I found 2xl tapes on the archive.org, and i want a python program that will first ask me to select a follder containing files called side1.mp3, side2.mp3, side3.mp4, and side4.mp3. Then it will play side1 when it was selected. Now here's where chat gpt failed epicly. When i pressed 2 for side2, all the other tracks should mute, and track2 should mute, but not stop. When 3 and 4 and 1 are pressed, those respective tracks should be unmuted and the ones the nonj respective tracks should be muted. Like when i press 1, 2 3 and 4 must be muted but 1 should be unmuted. Similarely, when i press 3 or 4, tracks 1 2 and 4 should be muted when 3 is pressed, and 3 should be unmuted, and for track4, 1 2 and 3 should be muted and 4 should be unmuted. Remember, they must be muted, not stopped. Anyone up to the challenge?
=> More informations about this toot | More toots from spacepup@dragonscave.space
@spacepup This sounds difficult. Finding a cross-platform audio thing that will play MP3 from Python is hard enough.
One option - but not possible with mp3 since it only supports two channels - is have the audio streams mixed into one four-channel file. That way, the other muted tracks will keep playing, but writing a player for this won't be trivial
=> More informations about this toot | More toots from scruss@xoxo.zone
@scruss maybe i should just make them ogg files. That might be simpler
=> More informations about this toot | More toots from spacepup@dragonscave.space
text/gemini
This content has been proxied by September (3851b).