![]() |
Forum Index : Microcontroller and PC projects : When playing audio, do we have a pointer?
Author | Message | ||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1030 |
Like can we jump to any location? Can we create a looper? |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4562 |
Loop is simple, let the interrupt at end of song, restart play. Volhout PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7151 |
I'm pretty certain that you can't jump to partway through a track, if that's what the question meant. Music files aren't ordinary data files. If you are using a VS1053 you might be able to create a looper in a circular array of MIDI instructions. Edited 2025-02-04 18:37 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1030 |
Yeah, I was thinking along the lines of a backing-track player for solo gigs. I see that we have stop/start to pause/resume but sometimes you might wanna jump back and repeat a chorus, for example. I suppose I could make a supplemental recording and just trigger that if/when needed. |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4562 |
Phenix, Honestly, there is a wealth on musical tools that do exactly that. I am not sure that shouldbe the playfield for a "mite". Volhout PicomiteVGA PETSCII ROBOTS |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1030 |
Oh yeah...I have many of these already, dedicated hardware and also apps for my Android tablet. I could even create something in a few hours, using RFO Basic on Android. But I'm inspired by other PicoMite capabilities. One would think that everything of any useful purpose would already exist in the market....but it doesn't ![]() Solo performances are becoming more and more popular due to cost and floor-space savings but I have identified areas where a bit more automation would be welcome. The backing tracks that I use; the instruments are all on separate tracks. I eliminate most of them because I feel like an idiot when I only have a guitar and a full orchestra comes blaring out of the speakers ![]() These tracks are eventually mixed-down to a single MP3 which is OK but the venue can have an influence on the sound. I would like to be able to set the levels of each instrument to suit the acoustics of the venue. A device has recently hit the market but it's super-expensive and lacks capabilities that my version would have. Darned PicoMite is giving me too many ideas ![]() |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7151 |
I suspect the only way to do it is to have a big enough buffer to hold the entire track so that you have the option to loop sections. I can't see that happening on a Pico, but you might be able to do something on a CMM2. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4562 |
Pico with PSRAM might have sufficient resources, but this kind of application requires all kinds or real-time behaviour that is not build in into MMBasic. And this is so far from the current implementation that I do not think it can be based on MMBasic. An MP3 player, yes. A midi player, yes. But manipulation of audio data, looping, smooth transitions, starting and stopping, 16 bit audio, maybe even audio in....far off. Volhout PicomiteVGA PETSCII ROBOTS |
||||
![]() |