Programming

Work on web MIDI editor continues…

Progress on my web-based MIDI editor / animator has been slower than I’d like, but isn’t that always the case? At the moment, I’ve got the basics I want; you can add and delete notes, copy and paste, create and delete tracks, hide and show tracks, and edit track colors. Still need to allow you to add and delete measures though.

But what I want to work on next is the sound; my editor doesn’t actually play any sound yet. I may perhaps try and utilize this javascript soundfont player: https://logue.dev/smfplayer.js/ … of course, soundfonts don’t sound nearly as great as sample libraries, but until someone programs a javascript-based VST host that a browser can use, I’ll have to settle for what I can find. Users should be able to import and export MIDI files anyway.

136 days left until July 31st!

By S P Hannifin, ago
Old posts

The Deadline is July 31st

I’m writing this blog post on my phone with a bluetooth keyboard and the WordPress app for Android that I’ve never tried before. So far, pretty good. My LG G6 seems more responsive that the old iPad I tried using before. Unfortunately the screen is significantly smaller on my phone, but I will manage.

So I’m continuing to work on that music-generating software that I hope to turn into a business. My deadline is July 31st of this year (2019). By the end of July, the app must be presentable, either to advertise it and open it to limited paid beta-testing, or to seek interest from investors. (Or both, I guess.) That gives me about 5.5 months to build the first version of the app. If the app cannot be completed by that date, it will have to go onto the back-burner. Because money. Can’t afford to spend the entire year tinkering with it if it will need a significant more amount of work to be presentable.

At the moment, I’m working on the “music / MIDI note editor” part of the app. It will be a browser-based web app (at least the first version of it), and I’m programming the editor in JavaScript using the WebGL library three.js and jQuery for the GUI. (I’ve seen developers argue that jQuery is outdated, but for prototyping I think it will work fine.) The midi editor will be a lot like the “MIDI animator” I programmed with jMonkey engine; I’m using a lot of my code from there, translating it from Java to JavaScript. Check out my twitch channel if you’re curious to see some of this [often boring] programming process.

Hoping to get the editor part done by the end of next week, March 1st. Then I’ve got to start thinking about how to get the browser to play sounds. MIDI synths from one’s operating system are no longer supported by most browsers, so it may be a matter of using JavaScript and a bunch of little MP3 sounds, or utilizing the WebMIDI API (which I don’t know much about yet). We’ll see. 162 days left!

By S P Hannifin, ago
My life

Goals for 2019

Well, they’re not really for 2019 specifically; they’re goals I had last year too. But since it’s the first day of a new year, seems a good time to remind oneself of one’s goals:

So I’ve got two main goals (aside from the constant goal of “be more productive and don’t waste too much time web browsing”):

  1. Continue preparing to start a business. This is the computer-assisted music composing software I’ve been working on for years now, and there is of course still much work to be done. This will be my main focus, as it certainly seems the most promising and the most rewarding.
  2. Write some fiction. I plotted quite a few stories in 2018, but I need to get back to actually writing some fiction. I’m thinking about posting some work on Royal Road, a story-sharing site. The goal, other than actually writing the fiction, is write regularly enough to build an audience, which may be easier on a site like Royal Road. There is so much competition on Amazon nowadays, and readers seem less likely to pay for an author whom they’ve never heard of before. Plus, if even a small number of people are reading my work as I’m working on it, it feels like it would encourage me to continue writing. A lot of famous writers were able work like that, publishing stories in pieces (like Charles Dickens), and then the practice sort of disappeared with the advent of television. The Internet has slowly been working to bring it back, but of course the competition is fiercer than ever.

So those are my two goals. They both require enough work that any other goal would be folly indeed.

Oh, one last goal is to write some more music and put out another album. But that won’t require nearly as much work as the two goals above, since the next album is 80% done already.

Also, I still need to post my yearly montage of all the films I watched last year, along with my “Year’s Best” for 2018 (and for 2017, which I never did). In the meantime, I updated my film log on MCL.

By S P Hannifin, ago