The original Fortran, COBOL, Basic are far worse than most modern languages, they were the examples we learnt from. C/C++ are fragile and let you shoot yourself in the foot in many many ways alas (but have important roles in systems and embedded). Python's OK, its got some idiosyncracies, buts that's soon assimilated - I've seldom if ever seen the Python runtime crash on any of the 3 main OS'es. Its certainly much more productive than C/C++ in terms of human time when you're trying to get something done in a hurry, making it invaluable for data analysis and experimental coding (with the massive ecosystem of open source libraries). Its good example of Bazaar v. Cathedral thinking.
They are all just tools in the box, pick the right tool for the job - for generating and processing signals easily scipy.signal is great. I've knocked up a two-level partitioned real-time convolution algorithm both in C++ (for embedded) and Python (to prove the algorithm), and yes in C++ it took far longer and probably has a bug or two lurking in it still because humans are worse at memory management than machines (who knew?!!).
They are all just tools in the box, pick the right tool for the job - for generating and processing signals easily scipy.signal is great. I've knocked up a two-level partitioned real-time convolution algorithm both in C++ (for embedded) and Python (to prove the algorithm), and yes in C++ it took far longer and probably has a bug or two lurking in it still because humans are worse at memory management than machines (who knew?!!).
The types of programs that I write need C++ for speed. I have developed a lot of infrastructure that makes writing C++ easier.
My brief experience with Python was in benchmarking. Python was so slow that I had to scale down the benchmark. 😉
Both languages have their (quite different) uses.
Ed
My brief experience with Python was in benchmarking. Python was so slow that I had to scale down the benchmark. 😉
Both languages have their (quite different) uses.
Ed
Its also a reason I don't have speakers connected to computer sound cards because I can hear the computer noise which is almost as bad.
Hmm. With which kind of gear do you think music is recorded for the last 20 years? 🤔
Streamed sound source can be handy. I like this site for some of their test files:
https://www.audiocheck.net/audiotests_index.php
But any audio editor software can generate whatever signal you need as wav or aiff files, at any sampling frequency and bit depth.
Last edited: