Re:Show HN: Computer Music with Python
by erikschoster on Thursday August 27, 2020 @03:11AM
(#24290874)
Pyo might fit the bill for you! http://ajaxsoundstudio.com/software/pyo/
Re:Show HN: Computer Music with Python
by IdiocyInAction on Thursday August 27, 2020 @03:38AM
(#24291017)
Programming is way more accessible than it's ever been.
Re:Show HN: Computer Music with Python
by djaychela on Thursday August 27, 2020 @05:53AM
(#24291870)
I disagree. 80s home computers camev with an interpreted language built in, and you were 5 seconds from power on to writing code. In addition, everything was accessible easily via comprehensible commands, directly. I don't think that's the case today, and in addition the bar is immensely higher than it was in the past. Commercial games in the early 80s looked like the kind of things you programmed yourself, whereas I think any title my kids play now looks like a cgi movie, and is the product of hundreds or thousands of people.
Remembering me when I was retyping Basic listings from mid 80's magazines...
Can you elaborate what you mean with real time sounds
Re:Show HN: Computer Music with Python
by djaychela on Thursday August 27, 2020 @05:50AM
(#24291843)
The other day I was looking at an old BBC micro demo (cold tea) and thought about porting it to python for fun. In BBC basic there is a sound command which has 4 parameters, allowing you to play a sound straight away -not play back a wav file (a la pygame etc), but generate musical pitches easily with a single command. Other older era systems had similar commands, and that immediacy (both literally in terms of command leads directly to an audio output, as well as the command being a single line and easy to understand even for 11 year old me) is what I'm looking for.
As an example, DOS machines came with a form of BASIC and you had these: https://en.wikibooks.org/wiki/QBasic/Sound
We had fun in school putting the SOUND command in a loop and either increasing or reducing the Hz to test our hearing and prove that yes, "old people" (such as our teachers who probably weren't much past 30) have terrible ears for higher pitched sounds.
If anyone knows of one, I'd love to know about it.