Learning computer programming you mean? If you think creating something musical would motivate you, JavaScript using the WebAudio API isn’t a bad starting place, as it provides high level components such as oscillators and filters that you can plug together without needing to know the internals - for example, check out
https://teropa.info/blog/2016/07/28/javascript-systems-music..., which is aimed more or less at newcomers to programming. Another good starting point if you are using Mac (and iOS, if you like) is AudioKit, which has some great interactive “playgrounds” and similar high level “blocks” of code as WebAudio, which you can wire together to get quick results.
If you want to write your own plugins or audio software you’ll need to learn C++ at some point, which I think is a fairly complex language to start with and likely to be frustrating in terms of getting quick results, but your mileage may vary!
A colleague of mine learned C++ as his first “real” language (which is now his job) because he started out playing around in SuperCollider (a DSL for computer music stuff) and wanted to turn his ideas into real plugins, but it can get pretty complex pretty quickly so I’d say you’d have to be pretty motivated to do this!
If you do want to go down this route I would probably start with the aforementioned SuperCollider or something similar (maybe Max/MSP) to get an idea of how the musical side of things works without having to master C++ at the same time, then when you feel confident you can start learning C++ - personally I’d recommend the JUCE framework as it is designed for audio apps, hides some of the complexity/gotchas of C++, and has some good tutorials for beginners: http://juce.com.
DSP stuff can get pretty maths heavy and I’ve not come across anything equivalent to the building blocks supplied by WebAudio/AudioKit for C++, although JUCE does now have some DSP modules such as filters which you can easily use, and there is sample code online... but you’ll probably have to get your hands dirty at some point :) Will Pirkle’s book on audio plugins provides quite a good intro to DSP but the code in the book is, to be honest, pretty outdated/bad style - he is apparently working on an updated version, but if you are able to take the code with a pinch of salt (e.g. write the examples yourself in JUCE rather than using his RackAFX framework) you might find it useful.
Feel free to reach out to me for more advice, my background is in web development but I’ve been working on audio stuff professionally for the last couple of years so have been through the learning process of C++ etc and would be happy to help if I can!