|
Ok. I get it. It's just a log scale with a magic number thrown in probably to match a certain curve.
|
# ? Oct 24, 2016 14:17 |
|
|
# ? May 15, 2024 04:15 |
|
baby puzzle posted:Ok. I get it. It's just a log scale with a magic number thrown in probably to match a certain curve. isnt it something like 1dB = double the volume? Well not quite but here is a bit of detail http://www.animations.physics.unsw.edu.au/jw/dB.htm posted:For instance, suppose we have two loudspeakers, the first playing a sound with power P1, and another playing a louder version of the same sound with power P2, but everything else (how far away, frequency) kept the same.
|
# ? Oct 24, 2016 14:33 |
|
baby puzzle posted:This isn't really programming. What's the formula to increase or decrease the volume of something by a given amount? Multiplying a waveform by 50% doesn't make it sound literally half as loud. I'm completely failing to find the words to search for what I'm talking about. An increase of approximately 10dB corresponds to a perceived doubling of loudness. I don't know why FL Studio chose -12.7 dB to be half volume instead of -10 dB, and googling isn't providing any answers. Is 25% volume -25.4 dB or something else?
|
# ? Oct 24, 2016 19:08 |
|
Yeah, my thinking was that it was probably arbitrary but didn't know if someone knew the inner workings of FL Studio to say why that decision was made.
|
# ? Oct 25, 2016 02:38 |
|
Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout?
|
# ? Oct 25, 2016 15:00 |
|
huhu posted:Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout? https://open.spotify.com/track/0Ihcz5MbImgvTsYHzMm9PY
|
# ? Oct 25, 2016 15:14 |
|
I can crank out some pretty good coding sessions with cheesy power metal (Kamelot, Dragonforce). I'm going to put on some Dead or Alive today in memory of Pete Burns In the electronic genre I've been been listening to a lot of Shpongle if I'm in the mood for a beat or Conelrad if I'm in the mood for more ambient. Sigur Ros is pretty good "Hey there's music happening and I don't have to worry about attention drifting to understanding lyrics"-music.
|
# ? Oct 25, 2016 15:18 |
|
huhu posted:Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout? Really slow doom metal, especially Yob and Sunn
|
# ? Oct 25, 2016 15:24 |
|
huhu posted:Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout? Nothing.
|
# ? Oct 25, 2016 15:34 |
|
huhu posted:Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout? Pouring coffee, mechanical typing, and persistent air conditioning. Occasionally other people's conversations.
|
# ? Oct 25, 2016 15:54 |
|
Music I've heard literally hundreds or thousands of times before, so it takes up basically zero brain time while still providing a useful audio mask and rhythm.
|
# ? Oct 25, 2016 15:59 |
|
If I'm working with z/OS, Perturbator or Dynatron
|
# ? Oct 25, 2016 16:04 |
|
I used to listen to music when doing stuff in high school, but these days, it probably just distracts me.
|
# ? Oct 25, 2016 16:13 |
huhu posted:Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout? TooMuchAbstraction posted:Music I've heard literally hundreds or thousands of times before, so it takes up basically zero brain time while still providing a useful audio mask and rhythm. Techno: Self-Titled - Voices from the Lake Schone Neue Extrawelt - Extrawelt Club Construction, Volume VI - Jam City Jazz-inspired Electronic: Elaenia - Floating Points Grenier meets Archie Pelago - Grenier, Archie Pelago Electronic-inspired jazz / 'Classical' / 'Modern Composition': Dysnomia - Dawn of Midi V 2.0 - Gogo Penguin Idiosynkrasia - Francesco Tristano Ambient: 76:14 - Global Communication Ravedeath, 1972 - Tim Hecker Doom / Other: Conference of the Birds - OM Flood - Boris Self-Titled - ...Of Sinking Ships All of these albums have at least six hours of coding behind them, so I can vouch for them all Eela6 fucked around with this message at 19:15 on Oct 25, 2016 |
|
# ? Oct 25, 2016 16:18 |
|
leper khan posted:Pouring coffee, mechanical typing, and persistent air conditioning. You forgot your office-mate's mouth-breathing, buzzing fluorescent light bulbs, and loud conference calls from your boss in the next office (who never shuts his door, not that it matters, because every noise leaches through the walls anyway).
|
# ? Oct 25, 2016 16:48 |
|
I like K-pop for coding, or doing any reading up on a subject. I dont understand a single word, so it's incredibly non-distracting.
|
# ? Oct 25, 2016 17:57 |
|
I'm recently listening to Ambient Epicuros' mixes on YouTube, most of them are pretty good. On mobile right now so cba to link but should be easy to find.
|
# ? Oct 25, 2016 18:42 |
|
I stream radio in a foreign language I'm idly learning. Most of the banter is just white noise to me, occasionally I feel good about catching a few words, the music(largely english anyway) is eclectic by US standards, and poo poo I don't know I can concentrate anyway?
|
# ? Oct 26, 2016 00:51 |
|
https://www.youtube.com/watch?v=54X-WDpA4K8
|
# ? Oct 26, 2016 01:07 |
|
Peristalsis posted:You forgot your office-mate's mouth-breathing, buzzing fluorescent light bulbs, and loud conference calls from your boss in the next office (who never shuts his door, not that it matters, because every noise leaches through the walls anyway). It's like you totally get me. Except I'm the mouth breather occasionally barking at my monitor.
|
# ? Oct 26, 2016 04:43 |
|
I've been cranking the office Sonos with obscure Japanese jazz and J-Fusion. https://www.youtube.com/watch?v=KYQ2fu8eixM https://www.youtube.com/watch?v=LDFLEQq1jCw
|
# ? Oct 26, 2016 05:26 |
|
Suspicious Dish posted:the office Sonos I've never worked somewhere that does this and it sounds absolutely awful. Do you just leave your desk whenever some jackass throws on ten hours of puddi puddi?
|
# ? Oct 26, 2016 06:23 |
|
you 1) suck it up and learn to appreciate music that is different than your usual tastes, like my amazing j-fusion, 2) put on headphones, 3) work in the soundproofed phone booths for extra space if needed
|
# ? Oct 26, 2016 07:10 |
|
The only jobs I've had where music was played music all day involved manual labor. I can't stand programming and listing to music though, unless I'm wearing headphones and using it to keep me from being distracted otherwise.
|
# ? Oct 26, 2016 09:52 |
|
-Anders posted:I like K-pop for coding, or doing any reading up on a subject. I dont understand a single word, so it's incredibly non-distracting. I am listening at the moment to Japanese/anime music, again i dont get the words but i wish i did,... https://plug.dj/hummingbird-me
|
# ? Oct 26, 2016 11:00 |
|
Suspicious Dish posted:you 1) suck it up and learn to appreciate music that is different than your usual tastes, This is a good idea. My musical universe expanded a ton when I worked somewhere with a similar sort of setup. Of course, most people just listen to pop, but I learned to appreciate that too instead of being a snob about what was my preferred genre. Though, maybe not everyone can do this. Personally, I don't care about music much at all and I can go weeks and realize I haven't actually listened to any music at all.
|
# ? Oct 26, 2016 16:28 |
|
My office is on the same floor as our guitar department, and I'm forced to listen to students practice all day in the halls. It's infuriating. Or there was that summer job in a supermarket where they looped the same mix CD every day, and they still play it 16 years later. Just requested a copy of 'The Hatred of Music' by Pascal Quignard. I have a feeling I'm going to like it.
|
# ? Oct 26, 2016 16:44 |
|
Thermopyle posted:This is a good idea. My musical universe expanded a ton when I worked somewhere with a similar sort of setup. Of course, most people just listen to pop, but I learned to appreciate that too instead of being a snob about what was my preferred genre. The gym where I lift weights plays the most godawful teeny-bopper pop station in town. I've cut workouts short and left the third time the latest Talyer Swift song comes on in an hour. If I had to listen to that all day at work, I'd be climbing the bell tower with an M1 after a week.
|
# ? Oct 26, 2016 19:46 |
|
Peristalsis posted:The gym where I lift weights plays the most godawful teeny-bopper pop station in town. I've cut workouts short and left the third time the latest Talyer Swift song comes on in an hour. If I had to listen to that all day at work, I'd be climbing the bell tower with an M1 after a week. That's the problem I have with pop radio...the constant repeats. I don't mind the pop music itself. Fortunately, in none of the places I work do I find myself being subjected to the torture of having to listen to Closer by The Chainsmokers every 15 minutes. edit: oh, this is a programming thread
|
# ? Oct 26, 2016 20:31 |
|
Peristalsis posted:The gym where I lift weights plays the most godawful teeny-bopper pop station in town. I've cut workouts short and left the third time the latest Talyer Swift song comes on in an hour. If I had to listen to that all day at work, I'd be climbing the bell tower with an M1 after a week. just shake it off, dude
|
# ? Oct 26, 2016 22:44 |
|
Peristalsis posted:The gym where I lift weights plays the most godawful teeny-bopper pop station in town. I've cut workouts short and left the third time the latest Talyer Swift song comes on in an hour. If I had to listen to that all day at work, I'd be climbing the bell tower with an M1 after a week. That's the plan, stops people camping the squat rack
|
# ? Oct 26, 2016 22:58 |
|
Thermopyle posted:Personally, I don't care about music much at all and I can go weeks and realize I haven't actually listened to any music at all. This sounds like me. Maybe it'd be awesome. I dunno. Pretty sure there's zero chance of the office going for it. Maybe I should start a lil in-office gbs.fm so whoever wants to listen communally can do so. Any suggestions for the least painful way to make it happen? Maybe it's a little harder now with streaming services than it was when everyone had mp3s to upload.
|
# ? Oct 26, 2016 23:39 |
|
Peristalsis posted:You forgot your office-mate's mouth-breathing, buzzing fluorescent light bulbs, and loud conference calls from your boss in the next office (who never shuts his door, not that it matters, because every noise leaches through the walls anyway). sneezes
|
# ? Oct 27, 2016 00:01 |
|
Suspicious Dish posted:just shake it off, dude When I go up the tower, you're the first one on my list.
|
# ? Oct 27, 2016 03:41 |
|
Peristalsis posted:The gym where I lift weights plays the most godawful teeny-bopper pop station in town. I've cut workouts short and left the third time the latest Talyer Swift song comes on in an hour. If I had to listen to that all day at work, I'd be climbing the bell tower with an M1 after a week. http://www.meeaudio.com/M7P-BK/ or, you know, whatever you have laying around.
|
# ? Oct 27, 2016 14:34 |
|
Im trying to build a script in MacOS to save the contents of a text file to a variable, but when the filename has spaces in it, cat doesn't seem to work. I get a "No such file or directory" error. What I dont understand is that if I echo the filepath variable and the cat filepath line everything looks good. I can even copy and paste the echo cat filepath output, and the cat works correctly. I have no clue what Im missing here. code:
|
# ? Oct 27, 2016 17:15 |
Instead of calling cat, you should just be able to redirect the file into another "read" call. Bash: code:
|
|
# ? Oct 27, 2016 17:32 |
|
You need to enclose the path in quotation marks. Which you're doing, but I suspect that bash is stripping them for you. So trycode:
|
# ? Oct 27, 2016 17:45 |
|
huhu posted:Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout? Oh and I should probably plug https://dtanders.net/noise again Send bug reports or feature requests by PM please
|
# ? Oct 27, 2016 17:49 |
|
|
# ? May 15, 2024 04:15 |
|
Ok, new question. I am trying to create a function that will take the results of 4 check boxes and, depending on which are marked, define a variable as a number. The number will be different depending on which boxes are checked. More than one can be checked at a time. Is there some way to do this without a huge block of if..then statements?
|
# ? Oct 27, 2016 18:10 |