DEV Community

Valentino Gagliardi
Valentino Gagliardi

Posted on

Am I weird?

I'm the only one completely unable to code or even write a single sentence with music in my hears? I cannot seem to focus when there is background music, let alone if it's rock or something. I feel weird sometimes! I can write or code stuff only if there's almost total silence.

How about you? Curious to see if there is some "colleague" out there!

Top comments (27)

Collapse
 
aadibajpai profile image
Aadi Bajpai

I actually would program or design or write with Spotify playing in the background, the rhythm helps me focus. The problem would be that I'm singing along and suddenly there's a verse I don't catch that totally throws me off until I google the lyrics. Interestingly, that's what prompted me to make my first open-source library last year, I made it for myself but now it's got ~41k downloads so I think others might go something similar too.

GitHub logo SwagLyrics / SwagLyrics-For-Spotify

📃 Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later.

SwagLyricsSwagLyrics-For-Spotify

Build Status Build Status PyPI GitHub closed issues Downloads

Fetches the currently playing song from Spotify on Windows, Linux and macOS and displays the lyrics in the command-line or in a browser tab Refreshes automatically when song changes. The lyrics are fetched from Genius Turns out Deezer already has this feature in-built but with swaglyrics, you can have it in Spotify as well.

I'm mainly trying to build this project as far as I can, for practice and to learn and work with more technologies and platforms.

Initially developed this for personal use. Pretty much functionality oriented -- I usually develop something that I can see helping me and other users in the same situation. Packaged so I can first hand handle production-ready code to an extent and to make distribution and usage easier.

Installation

Requires Python3. Use pip or pip3 depending on your installation. You might want to use the --user flag on Linux to avoid…

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

Really cool project!

Collapse
 
aadibajpai profile image
Aadi Bajpai

Thanks! I've spent more time working on it now than I actually use it 😂

Collapse
 
hamatti profile image
Juha-Matti Santala

Have you tried white noise, like Noisli or Coffitivity?

In today's work life it's getting harder and harder to find a place where you can work in total silence unfortunately so good noise-cancelling headphones and white noise can be a solution for some who finds music disturbing.

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

Interesting! Will take a look for sure!

Collapse
 
dance2die profile image
Sung M. Kim • Edited

I can play with music but only if there is no "lyric" in it.
Once I hear a lyric, I lose the focus completely.

I sometimes zone in better with music (w/ lyrics) and some other times in total silence.

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

That's almost the same for me!

Collapse
 
scottishross profile image
Ross Henderson

I have two colleagues that barely listen to music when coding, instead just deals with the background noise.

But I learnt to code in a call centre, which had about 50+ people in the office, so you can imagine how loud it could get. I really struggle without music because of that, which can be a hinderance at times!

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

I can imagine!

Collapse
 
deciduously profile image
Ben Lovy

The only music I can have playing is jazz, and it's the only time I listen to jazz. Go figure.

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

That's funny isnt' it?

Collapse
 
dedaniel profile image
Daniel

For me it’s nearly the same and I’ve wondered why I’m hearing music while programming that I wouldn’t hear normally.

Collapse
 
jamos47 profile image
Jordan Amos

I have a pet theory that ADHD and some ADD kids, especially untreated, use the music as a minimal distraction.

I need a certain amount of distraction to ignore so that I can remain focused. I'll be looking for stimulation from the street or something silly if I am not actively ignoring something.

Collapse
 
senesk profile image
Sen Toren

Huh, that makes a lot of sense for me and my process.

Collapse
 
jaakidup profile image
Jaaki

I used to always code with music in my ears as a way of controlling the environment. It's better to have the same songs in your ears than people randomly talking. Your brain then filters what it becomes used to, whereas people talking (in a small office) is usually quite obtrusive.

As a musician, my ears and brain is wired to always listen for fine details in sound, whether I want it to or not. That's when well known music helps.

But these days I only listen to music when I'm doing coding tasks that have become second nature. Like from muscle memory or the subconscious.

When learning new concepts I keep the music to a minimum.

Collapse
 
drighz profile image
Rodrigo Mikin

Sometimes I like it really quiet. Sometimes I like to play EDM and affects my coding speed to go faster. It actually really depends on how you actually deal with focus and what is actually happening in your head. I prefer to listen to music so that no one can bother me of what i am doing as I really hate being interrupted while I am in a middle of something.

Collapse
 
pinotattari profile image
Riccardo Bernardini

At the moment I am listening some middle-east pop music :-) Just before that it was '80s disco.

To me music is like "mental cooling fluid" (that is how I feel it, actually). Without music I get tired fast. And it must be fast and rhythmic music like disco, trance, r'n'r from 50-60, italo disco. Soft stuff like relaxing, jazz or classical does not work.

Do not ask why...

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

I won't :-D

Collapse
 
anduser96 profile image
Andrei Gatej

I can’t imagine working without listening to music. My favorite genres are rap and rock.

These days, ironically enough, I’ve been listening to italian music(Francesco Renga, Ligabue - might sound familiar to you!);

I don’t know how this affects my productivity though. It’s been going well this way!

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

If you like italian music you should listen to Francesco De Gregori as well :-) Ciao dall'Italia!

Collapse
 
bradtaniguchi profile image
Brad

The one thing that music gives you is a beat. If you have a beat, you can get in a rhythm. I find it easier to "stay in the zone" listening to something with a good beat. I used to not listen to music as the music I listened to seemed to just get me distracted.

I've found something like jazz or EDM to provides a beat that helps me have a pace while typing programming.

I love rock/hard rock, but its a lot harder to keep my pace and focus listening to that stuff. I just might be rocking out to hard to focus 🤘 😉

I'm not saying music works for everyone, but I found the more "abstract" music helps me the most :)

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

I'm just trying white noise right now and I think I could handle it!

Collapse
 
miledi_delafer profile image
Anastasia

It nice to have total silence, but often it's impossible if you work at the office. It would be great to be able to abstract from any noise.

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

I know :-(

Collapse
 
ivolimmen profile image
Ivo Limmen

I can recommend generative.fm/. It is music that endlessly keeps playing. I am a fan of Aphex Twin and the site has aisatsana in endless mode; so cool.

Collapse
 
valentinogagliardi profile image
Valentino Gagliardi

Makes sense!