Hacker News new | past | comments | ask | show | jobs | submit login

Wow that was quick, thanks!

Have imagined a music theory/improvisation practice program that looks something like Dasher + Guitar Hero.




# Topic 3: New Zealand is a small world

I noticed from your profile that you're currently based in Dunedin and seem to quite like the place. :)

Your location, interests & a mention on your site about the local Makerspace makes me think it's probably quite likely you know https://news.ycombinator.com/threads?id=Taniwha / https://github.com/MoonbaseOtago ? (Who I haven't caught up with for ages but I see is doing some RISC-V related things apparently?)

I'm also wondering if we might actually have run into each other when you lived in Christchurch around the quake times (as I did) because I do remember meeting someone who did Antarctic neutrino-related things at one of the regular local end-of-the-week tech gatherings... If so, it'd be an even smaller world. :)

Finally, I don't suppose you've got another of those Rust + firmware + NZ remote jobs/contracts lying around do you? :D I'm currently "exploring available work opportunities" but have almost given up on finding a role with even one of that trifecta let alone the whole bunch!

If you do decide to be "up for a change" with the eye-tracking thing feel free to get in touch if you're looking for someone to continue your current work. :D

Anyway, thanks for reading all my verbiage & I hope at least some of it was of interest. :)

Enjoy the cold Dunedin winter!


Yes, it is a small world after all! I'll email soon.

Sorry, my memory is pretty fuzzy, but here's a contemporary photo in case yours works better: https://icecube.wisc.edu/gallery/winterovers/#modulagallery-...


Nice, look forward to hearing from you!


Okay, so, your comment about a "Dasher + Guitar Hero music theory/improvisation practice program" just sent me down a huge rabbit hole...

Well, rabbit hole(s) plural, I guess, most not directly related. :D

Largely because I made the "mistake" of looking at your HN profile & discovering you're also in NZ & we seem to have somewhat overlapping interests (and an affinity for "bacon" in account names, apparently), so, some thoughts[0]... :)

# Topic 1: Nissan Leaf VSP hacking

After reading your recent posts (https://ianrrees.github.io//2023/07/03/vsp-hacking.html & https://ianrrees.github.io//2023/08/05/voltage-glitch-inject...) on this topic & noting your remark about wanting to try reverse engineering a firmware image, I found the following thesis PDF (via a brief google search for `"reverse engineer" "firmware" "Renesas"`):

* "AUTOMOTIVE FIRMWARE EXTRACTION AND ANALYSIS TECHNIQUES" by Jan Van den Herrewegen https://etheses.bham.ac.uk/id/eprint/11516/1/VandenHerrewege...

Not really what I was anticipating finding but seems relevant to your interests--I don't think it was already in your resource list.

While the thesis addresses the Renesas 78K0 rather than the Renesas 78K0R, from a brief look at the "Flash Protection" PDF Application Note in your resource list it seems there's a large overlap.

Perhaps most significantly the author presents "novel methods" that combine bootloader binary analysis with constraint-based power glitching in an effort to improve on the results described in "Shaping the Glitch".

While I haven't read the entire 186 pages :D they theorize that using their approach extracting 8kB firmware might only take ~10 hours.

And, most helpfully, they even published their source code under the GPL here: https://github.com/janvdherrewegen/bootl-attacks

So, an interesting adjacent read even if it turns out not to be directly applicable to your situation.

Given I have an interest in & a little experience with firmware reversing my original thought was to maybe provide some hopefully helpful references that more generically related to firmware reversing but more specific is good too, I guess. :)

In terms of reverse engineering tooling, I've used Rizin/Cutter/radare2 previously: https://rizin.re https://cutter.re

On the CAN tooling/info front, you might be interested in taking a look at my "Adequate CAN" list which I originally wrote-up for a client a couple years ago: https://gitlab.com/RancidBacon/adequate-can

Some other probably outdated reverse engineering tooling links of mine: https://web.archive.org/web/20200119074540/http://www.labrad...

In terms of how to approach RE, other than just "getting started & digging in" & learning by doing, I've sometimes found it informative to read other people's firmware reverse engineering write-ups to learn about potentially useful approaches/tools.

Anyway, hopefully some of this is helpful!

[0] I have a tendency to be a little... "verbose" and/or "thorough" (depending on one's POV :) ) so I'll probably split this over a couple of comments, in case I run out of steam while writing and for topic separation.


# Topic 2: Dasher + Guitar Hero style music theory/improvisation practice program

Back "on topic": I remember being quite enamoured/fascinated by dasher when I first encountered it. It's quite a unique interaction paradigm with the constant "forward movement" and "intelligent" pre-filtering/constraint of options with size-based prioritization.

Your suggestion to extend this interaction style for use in the music theory domain immediately appealed to me, as it intersects with some musical things I've been thinking about/playing with recently.

Over the past couple of years I've been playing around with ("rules based" rather than ML) procedural music generation primarily in the context of games.

This has been motivated by a couple of things: partly a procgen project is helpful as a driver for gaining an deeper understanding of music theory which I would like to develop for my own composition/production; and, I'm really interested in exploring ways of providing people with the experience of actually composing/creating their own music--which is something I think many people perceive as something only "musicians"/"composers" can do.

The latter is driven by my own music composition/creation/education experience: I learned piano as a kid for about a year until it was "mutually agreed" that if I wasn't going to practice perhaps it would be best to stop. :D But I've always really enjoyed music, particularly electronic/dance/EDM, and wanted to also create it & not just consume it--over the years I played around a tiny amount with creating some but gravitated toward DJing as my primary means of musical expression.

Then a few years ago I started "more seriously" creating tracks with LMMS (a FLOSS DAW https://lmms.io) and while progress was slow it was still nice to be able to enjoy the results.

But I grew frustrated/dissatisfied by the fact that I didn't really know how to add more of a melodic component to my music. (I'm an Anthemic Trance guy from way back. :D )

Over a couple of years after butting my head up against Music Theory a few times and bouncing off again (not unlike my experience with Rust :D ) one day I suddenly somehow "saw" some of the (simplified) Music Theory patterns/rules that I'd not internalised/understood previously.

And then I could add melody to my tracks! :o I mean they weren't masterpieces but it sounded like music! It blew my mind. :)

Not long after I realised something I found quite profound: it felt like music, instrument skills & music theory had only ever been presented to me as a thing that you did so you could play other people's music but I never wanted to play other people's music, I wanted to create my own!

Which then triggered a period of "Why didn't anyone teach me years ago when I was a kid that you could create your own music by starting with a few simple rules & building on them? Here I was "many" years later voluntarily learning about music theory, trying to apply it and even practising scales! :o

Anyway, that experience made me wonder if other people have experienced music & its creation in the same way and what opportunities there might be (particularly within a game/casual context) to provide those people with their first taste of creating music through a "guided" experience of just playing (in both senses of the word).

So, yeah, the "Guitar Dasher"/"Piano Dasher" concept aligns quite nicely with that. :)

Not that anyone asked me. :D

Couple of related things:

* Your suggestion also reminded me of another FLOSS DAW I played around with called Helio which has a "chord tool" (https://docs.helio.fm/tips-and-tricks.html#chord-tool) which appears as a pie-menu pre-populated with chords that fit with the current scale/root. I seem to recall that there are commercial DAWs that also have a similar UI.

* While I'm not particularly happy with its current state (really need to upload the most recent version of the code, which I'm fractionally happier with) here's my first foray into music procgen for a game jam entry (with a "debug quality UI" for controlling the output), if you're interested in checking it out: https://rancidbacon.itch.io/the-conductor

* And from a different angle here's another game jam entry where the concept I was playing with was essentially using music theory concepts as the basis for creating combat interactions/patterns (e.g. "Oh, no, how am I going to harmonize with whatever that was that the boss just played?!") and it all takes place on the "Grand Staff"/"Great Stave": https://rancidbacon.itch.io/stave-off

(Unfortunately as often seems to be the case I ended up spending more time fighting with a Unicode music engraving font/standard than I did writing game play for that last one. :) )




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: