Re: [PATCH 0/4] Introduce the aural error reporting framework
From: Matteo Croce
Date: Tue Apr 02 2019 - 07:50:44 EST
On Tue, Apr 2, 2019 at 11:33 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> On Mon, 1 Apr 2019, Peter Zijlstra wrote:
> > On Mon, Apr 01, 2019 at 12:24:51PM +0200, Matteo Croce wrote:
> > > The buzzer driver is simple, requires just a few register writes to work,
> > > the hardware is extremely cheap and is already present on most machines.
> >
> > What, no morse-code register dumps?
>
> Aside of that, where is the android-app to customize and decode the
> melodies?
>
> I surely want to have the music theme of 'Once Upon a Time in the West' on
> kernel crashes.
>
> Thanks,
>
> tglx
>
Hi Thomas,
I'm a little rusty with Android programming, so I'll share the script
I use to convert notes to frequences.
With some awk magic it can turn notes into a C array, I hope that you
find it useful.
Bye,
--
Matteo Croce
per aspera ad upstream
Attachment:
notes2freq.sh
Description: application/shellscript