Hydra Live Coding Visuals to Noise Music Example

https://makertube.net/w/2j6fwTj74dLE6csNU48vkt

Hydra Live Coding Visuals to Noise Music Example

PeerTube

First organ gig

(Scroll to the bottom for the video)

My friend Evan suggested that I could just remove all the organ electronics and replace the MIDI jack and this would likely work without posing a danger to my laptop. So I finally did.

I replaced the original batteries with a phone charging battery from Argos. It goes to a PD trigger – a USB C board that tells the battery something is using it and draws a steady DC voltage. I’m drawing 12 volts.

This voltage is then split to go to two buck stepdown boards. The one currently in use is 8v, because the part of the organ in the wind chest uses 8v. The other part of the system is not yet installed, but will run on 5v.

A block diagram of how things are powered.

The actuators have three power cables, a heavy yellow ground and a red and a blue wire both at 8v.

The power wires in the original electronics are on the left screw terminal.

Then there are the MIDI wires.

This picture of the original electronics shows the MIDI white and orange wires. Neither is ground. One is 5v and the other is the data.

Fortunately, looking at the existing MIDI jack revealed which wire was which.

Instead of using a cable, the previous owner has driven nails into the jack.

Simply compare the nail position with the MIDI spec.

The MIDI pins are not in the order I would have guessed.

Fortunately, this followed the spec, as the data changed too fast to be discovered via voltmeter.

The voltmeter did let me know that the PD trigger I bought has on and off labelled in reverse on the device.

The board has limited documentation.The one with the glowing red numbers is reporting the output voltage.

The black thing on the breadboard is the new input MIDI jack.

And it worked.

So I brought it to the algorave and live coded it with SuperCollider.

https://www.youtube.com/live/8qwSbHKV5eQ?si=oES4-ZyXUGZ6j9rK&t=2180

#liveCode #organ

@davebauerart @Dreamwieber

#HyperCard and its programming language #HyperTalk (inspired by #Smalltalk) spread widely into several authoring tools of the early web, like #Macromedia #Director and later #Flash.

There was also a Windows clone #MetaCard that lives on till today under the name #LiveCode (https://en.wikipedia.org/wiki/LiveCode). Sadly it didn’t stick to it’s simplicity. It’s now bloatware, not usable for me.

Some people name the language #Delphi as a successor, but I’ve never tried it.

LiveCode - Wikipedia

So when I'm doing live coding in SuperCollider, I like to use Pbinds with \degree.

I have this busking organ with a three octave range with 20 sort of random notes and I'd like to use \degree to live code the MIDI, but the weird note arrangement doesn't actually work will with Scale.

I made a new class OrganScale that has all of Scale's methods. To figure out what these should return, I looked at Event.sc

If you give it a \degree, it calculates a note:

~note = (~degree).degreeToKey(~scale, ~scale.stepsPerOctave);

So it's got all the midinotes in an array and the degrees are (0..(midinotes.size - 1)) and the stepsmPerOctave is midinote.size

Then, Event gets from ~note to ~midinote:

~midinote =
(~note.value / ~scale.stepsPerOctave ) * ((12 * ~scale.octaveRatio.log2) + 60);

so therefore, if I want the ~note to be equal to the ~midinote, ((12 * ~scale.octaveRatio.log2) + 60) == ~scale.stepsPerOctave;

so ~scale.octaveRatio.log2 = (~scale.stepsPerOctave - 60) / 12;

And the relationship between log2 and exponents is if a.log2 = b , therefore a = 2.pow(b). So

~scale.octaveRatio = 2.pow((~scale.stepsPerOctave - 60) / 12);

So Event should get from \degree 0 to the first midinote on the organ.

Except it doesn't, so I must have made a mistake.Which I can't find.

#SuperCollider #LiveCode

Ok, this is a confession, but also a request for context by anybody who remembers.

I was at one of the first concerts using Estuary. It was in a white room that felt like a hallway. I don't remember where or what year. I was kind of drunk. I think I still owned my Nokia n900 phone, which had a keyboard.

Which is relevant because I navigated over to the projected URL, opened the web page and typed a comment in one of the empty squares. (This was very naughty and I should not have done it.)

Did the website have a password that I guessed? I don't think of myself as somebody who guesses passwords... Or did passwords become a later feature after this?

#Estuary #LiveCode #ImSorryIWasKindOfDrunk

Looking for a live coding gig in Barcelona (or the South of France on 3 or 4 June.

#LiveCode #SeekingGig

IO - Dreamy Live Coding Jam

PeerTube

Continuing to work on that schmoovement pve platfighter !!! Revamping character physics for a better gamefeel !

https://www.twitch.tv/blessedsleepseeker

#gamedev #indiedev #godot #godotengine #livecode

Continuing to work on that schmoovement pve platfighter !!! Let's implement the rest of the movement kit today !

https://www.twitch.tv/blessedsleepseeker

Come see !

#gamedev #indiedev #godot #godotengine #livecode

Making a Techno Bass in Strudel

YouTube