Upgrading STM32Cube USB Audio Class driver – More advanced playback

I got back to the audio part of the project for a post. I heard annoying pops and crackles during the playback, and after about 3-4 seconds, a complete distorted sound. I know that I left this part unfinished before.

At last, I routed my 1&2 channels (out of 4 channels) to the audio DAC of the Discovery board with a simple software loop that splits my audio buffer into two separate buffers after the samples came in. My audio buffer stored 16 packets, which means 8ms latency and about 6KByte buffer. The original Audio Class implementation uses 80 samples, and has some other strange thing that I mentioned earlier.

Continue reading

The idea

So here is my idea. Which is just a rough idea. I would like to develop a device, which can interpret Serato timecode vinyl and can use Algoriddim Djay with it.

Figure1

Block level

For that functionality, I will clone my Reloop Beatpad USB interface, and emulate it to Djay. Unfortunately Djay cannot be used with any MIDI controllers and soundcards. It just works with the supported ones, so I need to fake it.

Continue reading