Wrong forum... But, also, you're kind of missing a point: when you are a programmer, the skills and knowledge you pick up in re-implementation will help you in programming contexts even if you end up working in a completely different environment.
Yes, if you have an immediate deadline, heading straight for the current goal is typically the right approach. But if you neglect opportunities when they're available, you should maybe reconsider what it is that you think you want to be doing. Maybe not all the time, sure, but if even 30 minutes a day seems like too much, ... well... I should let you draw your own conclusions about what your own goals are. But -- even more than that -- you need to be aware that every successful interface will have people advocating its use. And they'll be right about some things. But lower level interfaces will also have their uses and people need to be using them to retain the skills needed to maintain function of the higher level interfaces in the context of ongoing changes elsewhere. (Lower level interfaces, here, would be probably be the OS-specific sound system. OSX: https://en.wikipedia.org/wiki/Core_Audio, Windows: https://en.wikipedia.org/wiki/XAudio2, Linux: https://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture, OpenBSD: https://en.wikipedia.org/wiki/Sndio, ... Though generating a file for playback -- .wav file, in this thread -- can also serve and can be a great place to start.) Music, and sound, have some really interesting time constraints, and those are worth exploring and addressing. That said, I'd really rather be talking about how to emulate different sorts of sounds. Especially low frequency instruments. For example some of the https://en.wikipedia.org/wiki/Effects_unit mechanisms used with a bass guitar... ------ One of the most powerful tools a programmer has, for understanding code -- code they've written, code they're working on, etc. -- is inspecting the data. J's approach (arrays) bring some unique strengths there. But other approaches and perspectives can also be useful. With music, the sound itself is a crucial mechanism for inspecting and understanding the data. And we could use a bit more of that here. Thanks, -- Raul On Sun, Mar 29, 2020 at 3:47 AM Hauke Rehr <hauke.r...@uni-jena.de> wrote: > > could one as easily have a lilypond file created instead? > since converting from MusicXML usually doesn’t work that well > > else I’d rather re-implement the music generation in scheme > (guile) in order to use it in lilypond directly > > Am 29.03.20 um 05:14 schrieb Thomas McGuire: > > I have a couple of files one is rough and hastily thrown together. But it > > pulls together a few ideas from various people and tries to implement a > > VOSS algorithm to randomly generate music in a fractal pattern. It will > > also generate MusicXML so you can load it it into a musical score > > application. > > > > Tom McGuire > > > > > > > > > >> On Mar 28, 2020, at 5:27 PM, Devon McCormick <devon...@gmail.com> wrote: > >> > >> Hi - > >> has anyone done work with generating music or musical phrases in J? I'm > >> helping someone develop a music training game that starts by generating > >> sounds with a particular key, tempo, and phrase length. The idea is to > >> help students to train their ears by testing them on their ability to play > >> back a randomly-generated musical phrase. > >> > >> I've told my collaborator that I think the generation part should be > >> relatively straightforward but I am not schooled in music, so I'm not sure > >> how to start. > >> I'm guessing that the second part of comparing the user's response to the > >> generated phrase will be more difficult but I'd like to get any kind of > >> start I can. > >> > >> Does anyone have any ideas about this? > >> > >> Thanks, > >> > >> Devon > >> > >> -- > >> > >> Devon McCormick, CFA > >> > >> Quantitative Consultant > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > ---------------------- > mail written using NEO > neo-layout.org > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm