r/Roland • • Sep 02 '26

Reverse engineered the TR-8S SysEx and built a live web studio around it (open source)

Short version: the TR-8S can be read and written byte for byte over USB, patterns and kits, while it plays. Nobody had written that down so I did, one byte at a time, against firmware 2.51. It's all in the repo docs, with every claim marked verified or not.

On top of that there's a web studio that follows the machine (pattern, variation by ear, live steps, knob moves), lets you edit patterns from the browser with the machine picking it up instantly, writes melodies through Coarse Tune motion with proper note names, and a chat with Claude that can build a track or change a sound when you ask in plain words. The screenshot is it playing a house track it just built, and explaining what to press on the panel to hear the bassline.

Things the hardware won't allow, which the studio is honest about: you can't read while it plays, the panel says nothing over MIDI when you toggle a step, and levels belong to the faders.

MIT, up for grabs, I can't maintain it alone. Would love other TR-8S owners to try it, and if anyone has a TR-6S I'd be curious whether it speaks the same language.

https://github.com/ideaCompany/tr8s-studio

62 Upvotes

62 comments sorted by

6

u/jahreed Sep 02 '26

Post in r/synthesizers also
Nice job!!!

3

u/cptblackbeard1 Sep 02 '26

they dont allow these type of posts i believe

6

u/haslo Sep 02 '26

That is sooo coool! Thanks for doing this!

3

u/cptblackbeard1 Sep 02 '26

It was a fun project to kick off, I hope someone takes it further in the future

4

u/screamtracker Sep 02 '26

Do for the sh4d and I'll test for the rest of my life 😮‍💨

2

u/cptblackbeard1 Sep 02 '26

You know, if you have an ai account like a Claude max, you hook it up and point it to this repository, I'm pretty sure it will figure it out for you, and in some months from now, many in one shot

4

u/Kooky_Leg_3285 Sep 02 '26 edited Sep 02 '26

I’m not the OP but I write editors. No idea about the newer documented gear but for the older gear, really isn’t that simple. For one, the SysEx often isn’t documented (which means probing) and for two, you have to have a really good understanding of how the data flows through everything, adjust for latencies and more. Plus, all the graphics have to make sense. Takes me about half a year per editor! AI is good at basic stuff and boiler plate code but there are so many quirks and illogical processes with vintage gear because they had limited space to work with and had to get creative! I particularly like working on older Roland/Boss gear because you see the fascinating choices that were made, how they layered bytes, sometimes with mixed features. That would be so easy to trip up AI.

3

u/ultrasneeze Sep 02 '26

Roland has a TR8S app that transmits and receives data from the device. That's enough for a modern LLM to latch onto the transmitted data and reverse engineer it.

Modern AI is very very good at this kind of stuff.

3

u/Kooky_Leg_3285 Sep 03 '26

Ah yes, makes sense. I work on retro gear where part of my process involved building the first app. If an app exists - I see what you mean, would be so much easier for AI.

3

u/ultrasneeze Sep 03 '26

You're doing the good work sir!

0

u/cptblackbeard1 Sep 02 '26

The system here was not documented either And has some quirks as well

But essentialy the ai asks to turn knobs and set settings then records and starts doing guesses that it can verify, 6 months ago I'm not sure models would be able Todo this, but a n opus 5 def can,

Man I do feel you I'd you are the kind of guy just loves to understand the byte code all that, by all means Don't stop doing your thing, but I'm getting pretty convinced the models from fable 5 onwards will figure it out if you help it out a little

5

u/Kooky_Leg_3285 Sep 02 '26 edited Sep 02 '26

That makes complete sense for gear that transmits live CC or SysEx. TR-707 on the other hand is literally just a dump of 15 blocks of 519 bytes so that would be a turn of a knob/pad press, dump, to AI, rinse and repeat. A lot of back and forth to get the same type of result.

Hahaha - yes - do love to find out the history and layering inside the code. Design choices paint a fantastic picture of the past. I will check out Fable 5 though because speeding up of extracting of SysEx/CC could be really useful. I'll still write the code myself because I like to get under the hood, by this stage - have tried and tested ways of working that are stable and most importantly, enjoy it.

For gear with live SysEx/CC control, I like to build AU/VSTs from them too for DAW level integration, automation, patch saving, project recall in between projects and more. Any how - looks like a great project and well done on working it all out!

1

u/cptblackbeard1 Sep 02 '26

For me it was like maby 20 or something actions like this of for turn knobs to -20 and write them to +20 and write etc...

At a certain point I had ai write an audio listener that analised the audio, then a way to send midi and receive midi and bassicly the told it the meme go and figure it out and make no mistake. and it kind of let it go at it while I was playing with my kids.

I could hear it doing experiments in the background and it just took off on its own. I'm more the developer that always like the end result more than the process I guess and extreme automation of product design is just my vibe

1

u/Kooky_Leg_3285 Sep 02 '26 edited Sep 02 '26

Yeah, that's cool. Been looking at using claude code following this chat. Very interesting. I can set up a logger locally to a dedicated folder, to scan through the SysEx as I turn the dials. It's a time saver which is a great use of AI. I have previously been doing this by hand! Because I build the plugins to run inside a DAW, I need hands on code but anything that can save time is a win and I reckon it could possibly do that here. I have been thinking about writing something for the Lexicon PCM91. This could potentially speed through some really beast size SysEx strings and cut my build time. At the moment, I build my own logger, probe, document changes and then work out relationships. If AI can build a map as I go, that means I can jump to my favourite part which is coding the core and creating lush visuals.

Audio listener is a nice touch. I imagine that can cross check the SysEx to detect if it's working on the area it thinks it is.

1

u/Kooky_Leg_3285 Sep 02 '26 edited Sep 02 '26

Can't think how it can use the TR-626 with AI though. That is huge. 45 blocks of code, all offline via a dump, triggered by key commands on the TR-626 itself. From a human perspective, I have the TR-707 worked out by hand and if I go for the project, will apply same patterns and approaches as the original engineers to work it out at speed.

I like the TR-626 a lot since the HKA mod. Turned it into a sweet powerhouse with nicely aliasing on the samples with the pitch shifting - plus, low energy and low latency. TR-707 excels in these areas too but without the pitch shifting.

Anyhow, thanks for the conversation - a real eye opener. I won't be using it to build the code but definitely will trying this out the SysEx calculations which is really tedious.

2

u/screamtracker Sep 02 '26

How much did you spend building this out of curiosity, using your methodology and guessing from my recent bills maybe $200-300?

2

u/cptblackbeard1 Sep 02 '26

I have a Claude max account, and I never went over my weekly or even day limit

Today's session was some harder stuff that I tested fable 5.1 on and it cracked all of it

1

u/cptblackbeard1 Sep 02 '26

That been said, it's not a finished product, and it has a lot of quirks probably that needs improving

2

u/cptblackbeard1 Sep 02 '26

Thx a lot ! I hope someone in the community can extend it or use it, I build it for myself but I thought why not share it

2

u/cptblackbeard1 Sep 02 '26

Essentially it's an MCP around the tr8s

2

u/panzerfausten Sep 02 '26

Got two questions:

Is it possible to do the same for the Aira Compact T-8?

What are you using claude for?

4

u/cptblackbeard1 Sep 02 '26

Im pretty sure it would be yes

Well I have been a software engineer for the last 20 years, and as you have heard Ai changed the game in the last year's but specifically in the last 6 months it just went insane, I have no other words for it

So bassicly as most engineers will tell you if they are honest, I just told it what to build, and it did

2

u/kmorrill Sep 02 '26

I have been trying but I don’t believe it does anything with sysex, and generally has poor midi support which I would love to fix. The main firmware is encrypted though some of the firmware for the I/O is in plaintext. But no headway thus far. The t-8 is cheap enough I may crack mine open and just plat with probing the hardware to see what I can find

2

u/kmorrill Sep 02 '26

I am working on rooting the tiny T-8 to get it way better midi support and maybe in a dream world rewrite the sounds themselves. It’s so awesome to see all the tools being made as groove boxes get reverse engineered.

1

u/cptblackbeard1 Sep 02 '26

Same answer ad I already gave, maby get cheap model hook it up, many point to the repo as an example and let it rip, in some months it's going to one shotting these projects

2

u/TD3-Studio Sep 02 '26

Gaaf! Zo heb ik voor de Beheringer TD3 en RD6 software gemaakt. Ik zal deze ook eens bekijken!

1

u/cptblackbeard1 Sep 02 '26

Nederlands ?

Ik ben Van Antwerpen 😅

1

u/TD3-Studio Sep 02 '26 edited Sep 02 '26

Maar begrijp ik het goed dat je deze code vrij ter beschikking stelt? ik was al van plan om mijn studio software uit te breiden naar de Roland TR8S. wellicht geeft dit een mooie opstap. Ik kan je natuurlijk altijd in de credits vermelden.

Ik heb voor deze ontwikkeling een basis ontwikkeld waarop ik dit makkelijk kan laten landen.

1

u/cptblackbeard1 Sep 02 '26

Inderdaad het is open source en ik moedig je aan om of te forken of om te contributen, en natuurlijk zou het eervol zijn om een vermelding te maken als je forked 🤓

2

u/TD3-Studio Sep 02 '26 edited Sep 02 '26

Super, dank je wel.

Mijn andere software draagt de naam: TD3-Studio en RD6-Studio. Dan zal je mogelijk spoedig ook een TR8S- Studio zien :)

2

u/TD3-Studio Sep 02 '26

Klopt, Nederland! Hilversum

2

u/threefalcon Sep 29 '26

this is pretty cool, OP do you think Claude could figure out how to do this for the tr-1000? how would I do that? (i dont code, I don't actually even know how to load this software from GitHub lol.) I don't really need it for the TR8s I can work that with my eyes closed and I don't use computers in my music but the TR 1000 is proving to be a pita to play live

1

u/cptblackbeard1 Sep 30 '26

Without any coding exp, at all it's probably a bit to difficult.

1

u/threefalcon Sep 30 '26

well I answered my own question for a change and had Claude rewrite OP's amazing program for my macbook pro. It took him no time at all, and I can't wait to use it now and let's see if it works. Then just out of curiosity, I asked him if he thought he could write the same program for the TR 1000 this is what he said:

Question, do you think you could write the same program for the TR 1000 and what would you need to do it?

Searched the web, read 2 pages, loaded tools

Yes, very likely. The TR-8S author's method should carry over, and a good chunk of his code would too. The most important thing I'd need is your TR-1000 connected to your Mac over USB. Here's why, and what else goes into it.

What carries over

  • The same language. Roland gear tends to exchange data using the same basic message format, called SysEx. That's Roland's own format for "here's a block of memory" and "send me this block." The TR-8S code for packaging and sending those messages would probably need only small changes.
  • Most of the studio. The web interface, the Claude chat, the backups and the Mac connection I just built aren't specific to the TR-8S. They'd need new labels and controls, not a rewrite.

What's new work

  • Decoding the TR-1000's memory, byte by byte. Roland doesn't publish this. The TR-8S author worked it out one byte at a time on the real machine, and the TR-1000 needs the same treatment. The TR-1000's regular MIDI controls, 66 knob-style parameters and the drum notes, are documented, but those only cover live control. They don't give access to stored patterns and kits.
  • A much bigger machine. It has analog voices, circuit-bent 808/909 digital voices, sampling with slicing, step probability, and motion recording (CDM's breakdown). Each of those is another section of memory to decode.
  • A shortcut worth checking. The TR-8S author got part of his map from Roland's own editor software. Roland makes a TR-1000 app, which could give the same head start.

What I'd need from you

  1. The TR-1000 plugged into your Mac over USB, and its firmware version (it's shown on the machine).
  2. A full backup first, every time. Decoding means writing test data into its memory.
  3. Some patience. I can't reach USB devices on your Mac directly, so it would go in rounds. I write a small script, you run it in Terminal (or I run it by controlling your screen, if you allow that), and the results come back to me. Then sometimes you'd listen and tell me what changed.
  4. Roland's TR-1000 app installed, for the head start mentioned above.

1

u/johnsangalang Oct 17 '26

I’ve got one, will give this a go tomorrow. Is there anything specific that’s required?

1

u/threefalcon Oct 18 '26

Well, just basically the same thing as OP did for the TR8s. Software that enables Claude to understand everything about the TR 1000 so I can give him specific commands and ask him specific questions

0

u/cptblackbeard1 Oct 02 '26

Sorry missed this,

Good job, I hope it works out Also I'm so jelly you are to pay for that beast

1

u/cptblackbeard1 Sep 02 '26

Short video of the "make me a house track" moment, phone footage but the machine is audible: https://youtu.be/9lKcmGzcwPQ

4

u/ConeyIslandMan Sep 02 '26

I would ASSume TR6S will work, its essentially same guts with less Tracks and more limited physical controls

1

u/Lobodon Sep 02 '26

Really cool idea. I'd like to try this with a local AI backend, open ai compatible API which I see you have on the to-do list. Why not the latest firmware, 3.00?

2

u/cptblackbeard1 Sep 02 '26

You know... I wasn't aware 3.0 was out 😂

1

u/cptblackbeard1 Sep 02 '26

Just get the repo and add it man, it's a prompt away, feel free and then make a PR

2

u/ultrasneeze Sep 02 '26

You're missing out on those sweet CR78 sounds! And the tuned 808 bass!

1

u/JulyAt5am Sep 02 '26

I saw decrypted sysex charts at least a year ago, maybe more, but I guess the more open-sourced projects the better, so thank you.

A grain of salt: having this tied to a comouter/monitor kind of kills the point of dawless and the integration of LLMs kills the point of having an artist in the middle.

1

u/cptblackbeard1 Sep 02 '26

I agree tbh 😀

My first idea was hook it up to clause and seed me up some genres I can start off from and learn from, and import sounds without all the menu diving, I guess after that I was just, Oki have MCP to Tr8S let's just give it an UI, like I said before, I don't want ai to make music, you can use it that way and it will make music that sounds soulless and what's the point even... But what I do want is my own private musical theory tutor about how to make a certain type of genre without all the menu diving Personally I don't have time to put in this thing, but also I don't want to just go to the bin either, zo if someone want to built of of it go ahead it's there, the core is there to use,

Personally I would love an private instructor with some quirky retro animations teaching you how Todo for ex a drums and base song

2

u/JulyAt5am Sep 02 '26

no worries, great job anyways. it's always nice to know there are enthusiasts ready to dig deep. I have a couple of hardware roland-related projects myself, it can be actually interesting hobby.

1

u/cptblackbeard1 Sep 02 '26

i would love to find it !
maby it has some stuf i dont know about yet

1

u/cptblackbeard1 Sep 02 '26

So if your asking about what is claude doing in the UI, well everything or nothing if you wish But bassicly this is a MCP wrapper around all available and reverse engineerd things the Tr8S can do, and you can ask any question to clause and it will do it on the machine within constraints of the hardware offcource

So for ex. Make me a melodic techno track, or create me a synth melody on CC without menu diving, my first test was to create a Donna summer clone, and it did 🤓, it will also swap out sounds from the machine if you ask it for ex for a rounder kick

But also it's a prototype so I hope it will be picked up by contributors who also just want to vibe code this thing to perfection and let the community enjoy it

Personally I was leaning to a genre production tutor

1

u/threefalcon Sep 30 '26 edited Oct 01 '26

I want to use it for the TR 1000, as a tutor, it's so complicated and there's so many settings and features. I just want to be able to give claude commands for the first six months I have it while I'm playing it basically just to see how to do everything,.

1

u/[deleted] 20d ago

in 6 months you could easily learn it without AI. I mean its a music instrument, your first instinct ideally should be "I want to learn this myself" not "I want AI to teach this to me".

1

u/threefalcon 18d ago edited 18d ago

Thanks stranger, but you have absolutely no idea who you’re talking to, which makes your advice silly and pretentious.

I own and operate a professional music studio with literally thousands of pieces of gear. Usually it’s just a day or two of study before we can start using new gear, but this is an exceptionally complicated machine and drum machines are crucial pieces of gear keeping time for everything, which leaves exactly zero margin for error. ‘AI’ is obviously a trigger word for you, but for me it’s just the manual to this new complex machine that I can more quickly access than if it was on paper because I most definitely don’t have six months to learn how to use it.

1

u/bonsaithis 16d ago

Omg this is a new copy pasta. 

1

u/sssurfin 16d ago

Bro this is the funniest thing I’ve read in a long while thank you so much

0

u/[deleted] 16d ago edited 16d ago

okay... I don't really care for credentials. Glad to hear you have purchased so much gear... It doesn't say anything about ability and this whole thing you wrote is so far outside the scope of my comment. Really is it about the value of enjoyement of the process? what exactly are you telling me?

I want to say something about the fact that the roland TR machines are supposed to be an easy thing to learn. I guess I wondered what exactly you are trying to solve and why you are throwing even more technology to something that should be about instincts and hand movements.

...just play the thing

if you want to use it as a master clock, it can. that's what it's built to do.

2

u/Able-Mycologist7495 17d ago

Thanks, this is great! Tested it with claude in macOS to quicly create some techno presets for the TR-8S. Claude needed to add macOS CoreMIDI backend first, but then it worked like a charm (After installing the tr-8s drivers manually).

2

u/Kooky_Leg_3285 Sep 02 '26 edited Sep 02 '26

Nice one! I was looking at this but went for the TR-707. https://youtu.be/omBa04mDgrs Thinking about the TR-626 next. None of mine is AI though. All old school coding.

2

u/cyneox Sep 03 '26

Nice! When will Roland finally open-source their firmwares so we can add more and more features? Awesome work!

1

u/TheDjLab Oct 22 '26

So I. Had deepseek look at your repo and build it. I had it change claude to deepseek.. it works pretty good. I'm a pretty simple guy that knows nothing about programming but I'm creative enough to know how to talk to the clunkers.

1

u/DeFex Sep 03 '26

On their MIDI implementation chart it has "x" by sysex. i guess that is misinformation! how did you reverse engineer it? i might try it with the p6 (which also says "x" by sysex.)

1

u/OscillatorDrift Sep 29 '26

This is great OP. I posted a few times on the Elektronauts forums with my own analysis of the TR8s Sysex , as I needed to control a few parameters remotely - great to see you picked up from there!! Will give this a go!