Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" Newsgroups: comp.lang.c,comp.lang.c++ Subject: Re: [OT] Re: Music while in a coding session... Date: Thu, 18 Jul 2024 11:43:15 -0700 Organization: A noiseless patient Spider Lines: 76 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 18 Jul 2024 20:43:16 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ca8754bbaf40299427dce2d3a2ecebf1"; logging-data="2678954"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18df1773YuockwGwTbQ0jncM6PP3iacnQ8=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:7xugjSy074hglki6CJ9bivj4884= In-Reply-To: Content-Language: en-US Bytes: 4435 On 7/18/2024 12:31 AM, David Brown wrote: > On 17/07/2024 22:42, Chris M. Thomasson wrote: >> On 7/17/2024 12:45 AM, David Brown wrote: >>> On 17/07/2024 02:07, Lynn McGuire wrote: >>>> On 7/15/2024 7:53 PM, John McCue wrote: >>> >>>>> >>>>> This is OT, usually I would ignore, but :) >>>>> >>>>> I have never done that over the many decades I have >>>>> been a programmer.  I would suggest you do no more then >>>>> say 12 hours straight.  Mistakes will happen plus, this >>>>> will affect your health. >>>>> >>>>> Just a friendly warning. >>>> >>>> Not OT, most programmers love music.  The arithmetic of music draws >>>> our attention to it. >> >> What about using C++ to create music (say, MIDI for now) that you can >> listen to while creating other music and/or other fun things indeed? >> > > What about not posting random youtube links at all? They are not random... I used to give a link without any title information. So that was bad. > Please understand the topicality of these groups - then you can make a > conscious decision to stretch the topicality if you think it is > appropriate, instead of just spilling every stray thought that passes > through your head.  (Again - I personally am not as rigid about sticking > to topicality as some regulars, but I think it is important not to get > carried away, and it is important to know when something is not even > close to topical.  Technical groups need to maintain a level of focus or > they either disappear entirely, or descend into cesspits like > sci.electronics.design.) Have you ever written a C++ program to generate music in wav and/or midi form? It's great fun, and is also able to make an n-ary field "dance" to it. For some reason I always start with creating an algorithm for percussion wrt midi. This sets the "main beat" for everything else to follow... Fwiw, here is an example called 3d Field Test (ver:0.0.2) where the field lines respond to the music. It's rather crude, but works: https://youtu.be/yZbO0314gRo > These groups are about the /languages/ C and C++.  They are not about > programs that happen to be written in those languages, and certainly not > about what was created using programs that happened to be written in > those languages. > > So if you've written a program in C++, it is topical to discuss > particular aspects of the code that you think were hard, or interesting, > or that you have questions about, or that use unusual techniques that > you want to share with others.  The complete program is not topical, nor > are its uses. > > Can you appreciate the difference? > Yes. Well, I am now trying to give the titles the youtube links I post, did you notice that? They are not random. Creating a percussion using say, mod, can be fun. Creating interesting drum beats. Using different tracks with midi channel 10 can be used to separate the percussion instruments. Humm... I wonder if the music that C++ coders tend to listen to might be different that the music Java programmers listen to? Interesting in a sense? Keeping all of this contained in this thread should be easy for others to just block, ignore, ect...?