Hacker News new | ask | show | jobs
by smoe 3107 days ago
I love how the results sounds, so I wanted to now how it works.

Very briefly glancing over the code and listening to the audio files in the samples folder:

The six articles correspond two six different voices or "instruments" which are pre-recorded samples of drone like sound and sequences of notes varying in pitch and speed. The letters in the article then trigger play and stop events for the samples according to a mapping.

Example for 'u':

https://raw.githubusercontent.com/AlesTsurko/microscale/gh-p...

https://raw.githubusercontent.com/AlesTsurko/microscale/gh-p...

As the description indicates, there doesn't seem to be any tone generation or modulation going on in the browser.

1 comments

Exactly. There is a farther explanation in the interview: http://www.preservedsound.com/news/ales-tsurko-microscale-ge...
Great work, fitting everything together so well!

How did you go about deciding on the mapping setting like "shouldPauseEventOnMatch", "isLoop" and "eventLength"? Is there a logic behind it or more testing and listing what works together?

Thanks!

I started with the composition (the music one). So these have been dictated by composition techniques: some samples should play in a loop, others should be played fully before the sequencer's cursor increments etc.