News for hackers. Stuff that matters.
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by dahart on Friday October 27, 2017 @01:11PM (#15570278)
Very cool! It's like shadertoy for canvas. The 3rd example I got in the slideshow was this one, which struck me immediately because of the greek letter variable names... awesome! https://www.dwitter.net/d/855

Worth visiting the "top" list: https://www.dwitter.net/top

Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by NHQ on Friday October 27, 2017 @12:57PM (#15570155)
Would be cool to be able to post sound loops in the same style. You could use this web audio module for that: https://www.npmjs.com/package/jsynth
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by zserge on Saturday October 28, 2017 @06:01AM (#15574589)
I have been working on Glitch for a while. Not forcefully limited to short tweet-size tunes, it makes generative music from simple chiptunes [1] to something more advanced [2].

I would be happy to answer any questions, if you are interested in!

It's open source and new version is coming soon - https://github.com/naivesound/glitch

[1]: http://bit.ly/2ib97gq (parser seems to trim the last parenthesis, so I had to use URL shortener)

[2]: http://bit.ly/2gQDWKM

Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by atesgoral on Saturday October 28, 2017 @01:09PM (#15575821)
This is awesome!
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by virgil_disgr4ce on Friday October 27, 2017 @03:20PM (#15571390)
I LOVE this idea....
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by atesgoral on Sunday November 05, 2017 @11:18PM (#15633416)
Added a new feature: Trig function (sine, cosine, tangent) morphing by beat & FFT buckets. Looks trippy and goes well with glitch/ambient/IDM: https://dweetplayer.net/demo/v1/*/1829@10f,683f2,3313f1,915f...
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by etskinner on Friday October 27, 2017 @12:33PM (#15569927)
Very cool. Might be a good idea to add a volume slider instead of just toggle, since that's often easier to get to than system volume.
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by atesgoral on Friday October 27, 2017 @02:02PM (#15570763)
Also, if you're interested in some background and process, here are the slides from the Toronto Hack && Tell presentation I gave last week: https://docs.google.com/presentation/d/19tQgPg9Wb9xwuregHCGF...
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by maaaats on Friday October 27, 2017 @11:25AM (#15569285)
Always been so impressed by what people make on Dwitter only having 140chars of code. https://www.dwitter.net/
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by aeleos on Friday October 27, 2017 @11:31AM (#15569364)
I remember having seen this a while ago and having been unable to find it since. Thanks for posting this, its always really cool to see what can be done in such a little amount of space.
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by amenghra on Saturday October 28, 2017 @01:18AM (#15574075)
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by divenorth on Friday October 27, 2017 @11:31AM (#15569363)
Loads to about 90% and freezes. I'm on iOS 10.
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by atesgoral on Friday October 27, 2017 @11:51AM (#15569568)
Thanks for reporting that. I suspect it could be this known issue where I didn't anticipate autoplay for media to be disabled: https://github.com/atesgoral/dweet-player/issues/8
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by andai on Friday October 27, 2017 @12:51PM (#15570098)
On Android it loads to 90%, freezes, then works normally after 10-15 sec. Although low fps.
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by atesgoral on Friday October 27, 2017 @02:11PM (#15570844)
The "freezing" is when the audio track is still taking time to load. The dweets themselves load in an instant. Yeah, FPS will unfortunately be an issue on slower devices :(
Re:Show HN: Audiovisual sequencer for tweet-sized JavaScript... by bluetwo on Friday October 27, 2017 @01:15PM (#15570321)
Safari/Mac same issue as iOS 10.

>> Unhandled Promise Rejection: ReferenceError: Can't find variable: AudioContext

Chrome/Mac works great.