Live data from Hacker News

Show HN: Lofimusic.app, an open source Background Music Progressive Web App

lofimusic.app

61–70 of 78 posts

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#61
post #15

Is it in line with YouTube's TOS to embed them like this? Without displaying the video gui? It also seems to somehow supress the ads?

I had to implement something similar to this a few years ago. I scoured the ToS to make sure I wasn't doing anything wrong by removing the GUI. IIRC it was totally fine as long as you still link to the youtube video.

As for ads -- I don't remember how we dealt with those. I don't think embeds show the pre-roll ads, only mid-video ads. Since this is a streaming video I assume it doesn't have those.

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#62
post #15

Is it in line with YouTube's TOS to embed them like this? Without displaying the video gui? It also seems to somehow supress the ads?

I had to implement something similar to this a few years ago. I scoured the ToS to make sure I wasn't doing anything wrong by removing the GUI. IIRC it was totally fine as long as you still link to the youtube video. As for ads -- I don't remember how we dealt with those. I don't think embeds show the pre-roll ads, only mid-video ads. Since this is a streaming video I assume it doesn't have those.

How did you remove the GUI?

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#63

A bit of a tangent, but this sort of music actually makes it near impossible for me to concentrate. Instead, I have what I call "loop songs", which are selected favourite tracks that span a range of genres from fairly heavy metal to Afrobeats. When I want to focus I pick a loop song and set it to repeat (the ideal volume varies per song, but is typically moderately loud). I can't explain how or why but it settles my…

I used to listen to Bach's Musical Offering when studying for my qualifying exams. I think the repetition of the main theme through the piece contributed to my focus

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#65

I don't know if it's just my Chrome browser but this website doesn't load at all for me and just hangs on a black screen. The only relevant extension I have is uBlock and uMatrix.

uMatrix breaks many websites if you don't mess with it constantly.

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#66

A bit of a tangent, but this sort of music actually makes it near impossible for me to concentrate. Instead, I have what I call "loop songs", which are selected favourite tracks that span a range of genres from fairly heavy metal to Afrobeats. When I want to focus I pick a loop song and set it to repeat (the ideal volume varies per song, but is typically moderately loud). I can't explain how or why but it settles my…

[deleted]

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#67

A bit of a tangent, but this sort of music actually makes it near impossible for me to concentrate. Instead, I have what I call "loop songs", which are selected favourite tracks that span a range of genres from fairly heavy metal to Afrobeats. When I want to focus I pick a loop song and set it to repeat (the ideal volume varies per song, but is typically moderately loud). I can't explain how or why but it settles my…

Me too. It might be caused by the crackling sound, the dominant instruments being melodic instrument in midtones/treble, or the amount of highpass filter applied to the music. It might relate with the frequency you're comfortable with (for example, I'm not really comfortable with the frequency of typewriter or the voice of my project manager near deadline :p)

I loop GTA V soundtracks for driving, the curation seems to be optimized for it https://open.spotify.com/playlist/2YYOp3xA7HcgZQ5hhRJuK1?si=...

While I loop meshuggah's whole album for working. The polyrhythmical barrage of riff is cathartic.

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#68

What does it mean that members of society have evolved to constantly need audible stimulation? I feel like there has to be some sort of mental effect from listening to music constantly.

Well I don't constantly need it, but there's certainly stretches of time where I want something for my ears to focus on, leaving the rest of my mind to focus on something else.

And selecting music I actually want to listen to is counterproductive - as is scrolling through playlists and youtube channels finding the "right thing" to put on and forget about.

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#69
post #62

Earlier quoted context omitted.

I had to implement something similar to this a few years ago. I scoured the ToS to make sure I wasn't doing anything wrong by removing the GUI. IIRC it was totally fine as long as you still link to the youtube video. As for ads -- I don't remember how we dealt with those. I don't think embeds show the pre-roll ads, only mid-video ads. Since this is a streaming video I assume it doesn't have those.

How did you remove the GUI?

We used the Youtube API to load the video -- I think their was multiple things we did but you can specifically request no controls be shown: https://developers.google.com/youtube/player_parameters#cont...

I was going to link the site I used it on, but it looks like since I worked there they switched to Youtube's controls rather than the custom ones I implemented; not sure why.

Re: Show HN: Lofimusic.app, an open source Background Music Progressive Web App

#70

Earlier quoted context omitted.

> The reason why I don't stay tuned to the YT channels is exactly because of ads This is why God gave us ad blockers :)

I'm curious - are there good adblockers today that can block YouTube ads? I vaguely remember uBlock Origin facing the problem of Google serving ads from the same domains/addresses as the actual video, making adblocking on YouTube virtually impossible.

I use uBlock Origin on Firefox and it seems to work fine for blocking YouTube ads (to the point where I frequently forget YouTube has ads until I make the mistake of trying to access it on a browser lacking an ad-blocker, lol).
Post reply on HN