HNHacker News
TopNewBestAskShowJobs

errozero

925 karma · joined December 13, 2014

contact me: info at {my username} .co.uk
submissionscomments
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
My mixer channels are a gain node (for input), followed by 2 gain nodes - which are used as fx slots and replaced when an effect is added, the last fx slot connects to another gain node (for channel output) - that then connects to the mixer master gain node.

You could have it as simple as 1 gain node for each channel which you use for input and output to the mixer master gain. This would make it difficult to add fx later though.

errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
In Acid Machine, I have created a kind of virtual 4 channel mixer, that is the only thing that connects directly to the main destination output. All osc nodes that are generated by an instrument get connected to the instruments master gain node, then that connects to one of the mixer channels. All mixer channels then connect to a master mixer gain, then the output.

If you do it that way, you just need to attach the recorder to the master output of the mixer.

errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
Nice, I like the simplicity. Your download function is almost exactly the same as my modification to recorderJS, so you could just grab a copy of that and swap out the download function for your code.
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
I experimented with the MediaRecorder too but couldn't get anything to work. In the end, I used this: https://github.com/mattdiamond/Recorderjs - It has been abandoned by the author and the forceDownload function does not work anymore so I had to replace that. I'll send you a copy of my version if you like?
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
It did take me a while to make a decision about the separate screens. I wanted a more fully featured piano roll screen and couldn't fit it in properly underneath the synth like the old version. I thought about putting the piano roll in a window so that you could still see the controls at the same time. This could be an option in a future update.
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
It should show a full screen message on FF to say that it will not work as well as Chrome. It has a continue button to hide the message. Did you see that or did it just show the loading bar straight away?
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
I will look into it now that it has been mentioned a few times.
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
This is the approach to scheduling I used if anyone is interested: https://www.html5rocks.com/en/tutorials/audio/scheduling/

I also tried to minimize any visual events that cause a repaint on the main instrument screen.

errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
Thanks for that, I really need to write a little getting started guide or a tutorial video.
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
You can use your keyboard number keys to play the drum machine.

I could probably add in keyboard control for the synth knobs, I might add that in a future update. If you have a midi controller, you can control almost everything with the midi learn functionality.

errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
The tempo does not fluctuate on my setup. That is something I really tried to eliminate. Can I ask what browser, OS and computer spec do you use?
errozero··on Show HN: TB-303 Synth, Drum Machine and Sequencer in Web Audio
I did do a lot of back and forth testing with Rebirth, and the VST plugin: ABL3 whilst developing this and specifically whilst setting the max values for the cutoff, resonance and env.mod. - The tricky thing is that they all have an affect on each other, the max resonance is lower when the cutoff is lower for example.

Regarding the rotary controls: These work by measuring the distance in pixels from the point you first clicked to the point the mouse have moved to. I only managed to test this on a 3 different computers so I think if you have a really high resolution, the knobs will move too fast. I'll change this at some point to be percentage based instead of pixel based.

I added the right-click to delete as that is how FL-Studio works, which is my favorite daw. Its handy to keep the left click as you can use it to select a note in the drum editor and then set velocity.

Thanks for checking it out!

errozero··on Show HN: Acid Machine 2 – Javascript Techno Tool
Hey, I'm around to answer questions about this if anyone has any. I know it desperately needs a manual and at the moment, it only works in Chrome.
errozero··on The State of JavaScript – Survey results
I worked on an Ember project once, the first JS framework I ever used. It really frustrated me that I had it had to use Babel to convert the ES6 into ES5. For some reason, on my laptop, that took about 10 seconds, so every time I wanted to check if some new code worked as expected, there was this long delay. There were a lot of other issues I had with it too.

I love working with straight Javascript (ES5), jQuery and template engines like handlebars. I can design things in a way that works for the project and can quickly just refresh the browser to check my changes.

errozero··on My Most Important Project Was a Bytecode Interpreter
You can even wire up an arduino into a vga monitor. There are a few vids on youtube showing simple games displayed this way.
errozero··on From Chrome Apps to the Web
Is this your app?
errozero··on From Chrome Apps to the Web
I don't know but there is no free version at the moment. Looking at the updates in the description it mentions that they will refund any unsatisfied customers, that was in 2013 so it was for sale back then too.
errozero··on From Chrome Apps to the Web
It is possible to make some money on there. If you own a Chromebook with Chrome OS, it's the only place to get software. There is a torrent app for sale on the Chrome store for £1.89 and has over 50k installs: https://chrome.google.com/webstore/detail/jstorrent/anhdpjpo...
errozero··on IO-808: A Web-Based TR-808 Drum Machine Using React, Redux, and Web Audio API
I'm working on a web-audio app at the moment that allows you to import ReBirth files. Emulates 2 303's and the two drum machines. - Will be released as version 2 of this: http://errozero.co.uk/acid-machine/
errozero··on Playing Fasttracker2 .XM files in JavaScript
Great work. Nice smooth visuals too. Could you implement a html5 file reader to load any .xm file?
errozero··on WindowsLies/BlockWindows
There is lots of Windows only software that people rely on other than games.
errozero··on WindowsLies/BlockWindows
I use a music production program called FL Studio, which is Windows only, I've used it for over 12 years and am really productive with it. Switching to OSX would also mean switching to different production software with a completely different workflow and losing the fact that I can almost use my current program with my eyes closed. Linux is not a viable option at all for music production.
errozero··on LSD – Line Square Dot Game
Cool little game, even better that it's made without a framework. Maybe you should add a facebook opengraph image so it looks a bit more attractive when shared.
errozero··on The Making of Lemmings
I'll definitely check this out later, thanks.
errozero··on Show HN: Jam.now.im – Multiplayer HTML5 audio
This is really cool, I've just played about 10 tracks with it. A little bit confusing though, not sure what BlueberryJam means in the top left corner, is that my channel name?
errozero··on Show HN: JavaScript Acid Techno Machine
Record to wav is now possible! :)
errozero··on Show HN: JavaScript Acid Techno Machine
I added a sequencer - but also added a record to wave feature so the performance part of it should now be a lot more fun :)
errozero··on Show HN: JavaScript Acid Techno Machine
Basic sequencer now added. Automation next!
errozero··on Show HN: JavaScript Acid Techno Machine
Thanks for the suggestion, I emailed Christian Schaub and he's going to send me over what he knows! :) Hopefully I can add a Rebirth importer at some point in the next few weeks.
errozero··on Show HN: JavaScript Acid Techno Machine
Hey, yes that is a very good point and something I was thinking about changing. I think I'm going to swap out the whole keyboard and step selection for a mini piano roll under each synth.
← PreviousPage 3 of 4Next →