cube48

Metronome audio out on STM32F4DISCOVERY?

8 posts in this topic

It came to me if there could be a metronome beeping out from audio output featured on STM32F4DISCOVERY?

 

Setting two different beep frequencies and maybe length of the beep somewhere in the config or via bootloader but even predefined values would be perfect. Something like good old Atari ST Cubase.

 

My MBSeq is not even finished but I was already scratching my head about how do I go with MIDI metronome. I'm not exactly thrilled by sacrificing one MIDI channel/voice, I would rather spend one audio channel on the mixer if I could choose. But of course I'll live happily wit MIDI metronome ;-)

 

How do you guys run your metronome on MBSeq? Drum hits? Beeps? Something else?

Share this post


Link to post
Share on other sites

You could start with drums first, then you have a beat to synchronize your synth recordings to.

If you want to start with synths first, then you probably have a free drum midi channel and use the metronome to drive e.g. a short hihat.

 

Many greets!

Peter

Share this post


Link to post
Share on other sites

I think having a metronome on the DAC of the STM32F4 is a great idea.

We've got a DAC on this board and it should be used. This would be an excellent first step for someone to implement.

Share this post


Link to post
Share on other sites

From the STM32 core page on ucapps:

"Pin mapping suboptimal in some cases. E.g., the outputs of the integrated DAC (not the on-board Audio-DAC) overlay SPI1 pins. However, one DAC channel has been freed up with the small drawback that SPI1 can't be used in slave mode.

The IO pins of the SDIO peripheral (high speed SD Card access) conflicts with the on-board Audio DAC, so that it can't be used."

Is the SD card continuously scanned? If not, perhaps the audio DAC could be used when the SD card isn't reading or writing. I thought I remembered TK suggesting a SEQ V5 with audio output was under development.

Share this post


Link to post
Share on other sites

latigid on: it's the high speed SD card port that can't be used because of the audio dac using the same pin.

 

AFAIK the SD card is accessed via a slower SPI port and the audio dac is available.

Share this post


Link to post
Share on other sites

It's not the first time somebody requests this.

Using the on-board Audio DAC is feasible, it will cost a bit performance of the application, but as long as it only outputs a beep it should be ok.

 

I added this to the wish list for V4 Plus

 

No, I don't plan to spend too much effort on this topic - beeping ok, playing samples not ok.

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Thanks for considering it. Just beeps are perfectly fine. I usually prefer them as they are more distinguishable from other rhytmical elements.

Share this post


Link to post
Share on other sites

Hi Guys,  an metronome on the audio out will be great really. 

Instead of the beep sound I would prefer the pulse / clicks. When I am drumming these are the only ones that I can hear properly.

Anyhow only beeps would also be fine. The online metronome below also has a good sound. Some hybride pulse/beep. 

Additionally triplets, dotted triplets will be very welcome 

Actually not sure if its dotted but it can be found here: https://www.imusic-school.com/en/tools/online-metronome/

The button next to triplets,

It is very useful when playing swing. 

 

Cheers

 

Tim

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now