Live data from Hacker News

Music Grid

music-grid.surge.sh

131–140 of 243 posts

Re: Music Grid

#132
post #125
post #124

Did anyone try this using AirPods Pro? On the iPhone’s speaker it sounds fine, on the AirPods I hear a lot of crackling noises between notes. Maybe the successive playback and stop of individual sounds messes up something in the compression used by the AirPods??

Could it be the audio stream stopping and starting in gaps, rather than playing silence, causing power saving to kick in and briefly stop the Bluetooth stream?

Exactly what I was trying to say but in much better words.

Re: Music Grid

#133
post #10
post #6

Earlier quoted context omitted.

I added to yours! Fun! https://music-grid.surge.sh/#272-80-256-40-256-32-256-288-13...

And I have added to the both of yours! It needed some B A S S. https://music-grid.surge.sh/#2320-2128-2304-2088-1280-1056-1...

Is this what collaborative open source music creation looks like?

Re: Music Grid

#134

I'm not trying to be cynical but what is special about this verses that 1000s of similar sites that came before? Here's one of google's https://www.google.com/logos/2017/fischinger/fischinger17.ht... Here's Ableton's https://learningmusic.ableton.com/ Is there something special about this one?

Ironically that google link seems to be broken in Chrome, because it predates the time in 2018 when chrome intentionally broke most/all existing webaudio content.

(Ostensibly the change was meant to prevent pages from auto-playing sounds without user input, but in practice it broke pages regardless of whether they did so.)

Details: https://developers.google.com/web/updates/2018/11/web-audio-...

Re: Music Grid

#135

Really nice! Props for Svelte. A one minute doodle: https://music-grid.surge.sh/#41-512-320-2597-840-64-512-1189... Would be nice if it did `history.replace` instead of push, it currently nukes your back button. There is also something off, maybe a 4-note limit per row? I couldn't quite put my finger on it but some high notes seem to not come out.

Hey, Author here. Thanks!

> Would be nice if it did `history.replace` instead of push, it currently nukes your back button.

This is fixed now. Can you check now?

> There is also something off, maybe a 4-note limit per row?

Yeah, I felt this too. Something is off when most of the notes in a row are selected. I will figure this out.

Re: Music Grid

#136
post #5

That was enjoyable to play with! Thanks for sharing. I think it would be nicer if it didn't use the anchor tag for storing data which messes up history, especially since it has a built-in share that generates a URL that can recreate the song. It would be cool if it just read the URL in once on load and didn't update it unless share was clicked.

Hey. Author here.

The history issue is fixed now :). I ended up using replaceState instead of pushState

Re: Music Grid

#138
post #120

This is neat! Cool to encode the state in the URL, but it’s better to use replaceState rather than pushState for this. I don’t typically want every single change I make to add an entry to my browser history.

Made this change. Thank you!

Re: Music Grid

#140

Earlier quoted context omitted.

B C# F# G# C# D# E G# B C# F# G# Based off what I hear here: https://music-grid.surge.sh/#0-0-0-1025-1-2-4-8-16-32-64-128... One might assume it's B Major with no 7th, but I think it sounds more like C# Minor/Dorian with no 6th.

Would be awesome if it had a selector to change the mode while keeping the same grid selections.

That sounds like a good idea.

https://github.com/irshadshalu/music-grid/issues/12

Post reply on HN