Wow! I had no idea this was there and has been for a long time.
Really interesting is the wavnote and you play directly. It is of course also interesting to plot the files etc. This here really made my day joy=. 11 11 12 14 14 12 11 9 7 7 9 11 11 9 9 9 joy=. joy,11 11 12 14 14 12 11 9 7 7 9 11 9 7 7 7 0.35 wavnote joy 2010/3/1 June Kim <[email protected]>: > I used wav addon[1]. (the following is one of the earlier versions) > > ma=:(+/%#)\ NB. moving average > norm=:100+900*255%~] NB. normalize > (wavmake 0.005 note_pwav_ norm 100 ma a.i.1!:1 > <'/temp/lispcode.lsp') fwrite 'lisp.wav' > > I compared : ruby, java, perl, c, python, lisp, erlang and J codes. > Each one had its own peculiar fingerprint, and after a couple of > training, I could distinguish each language from listening to its > sound. > > [1] http://www.jsoftware.com/jwiki/Addons/media/wav > > 2010/3/1 Björn Helgason <[email protected]>: >> I would be interested in getting that program. >> >> I do not know anything about waw files but getting a program like that >> might change that. >> >> I am sure others would too. >> >> 2010/3/1 June Kim <[email protected]>: >>> On Mon, Mar 1, 2010 at 11:16 AM, PackRat <[email protected]> wrote: >>>> Björn Helgason wrote: >>>>> Can you work on music files with J and create music to play on a PC? >>> >>> Though I can't say it was "music" exactly, I once did an experimental >>> project(rather a couple of lines) for a special off-line party for IT >>> people. >>> >>> The program could translate any program code into wav files. It did >>> some moving average and a few basic filtering/handlings so that you >>> could hear the program. >>> >>> I translated perl, python, java, c, and J programs as samples to play >>> in the party. >>> >>> What was most pleasant was I could actually distinguish which language >>> the code was just from listening to the sound. I really liked J sound. >>> >>> >>>> >>>> I'm not at that point yet, but I see no reason why not. For some >>>> related info, see Martin Neitzel's article "Sending MIDI Messages to a >>>> Sound-card with J" in "Vector", v. 16, no. 3 >>>> (http://juggle.gaertner.de/bnp/midi.html). The principles described >>>> there would be very similar, if not identical. >>>> >>>> I think it would be a very interesting project (doubt that I have time, >>>> though) to create a MIDI sequencer and editor in J, perhaps using some >>>> (or many) of the ideas in the JAZZ++ open source MIDI sequencer. This >>>> would be a truly wonderful application, since lists and tables are at >>>> the heart of music. Assuming some REALLY powerful graphics were >>>> available under J, you could also create music notation software in J >>>> (perhaps integrated with the sequencer or as a separate application), >>>> again because of the list/table nature of music. As I noted in >>>> previous messages, these would be "humanities" applications, probably >>>> of little interest to most of the mathematicians here, even though they >>>> would present some very interesting J programming challenges. >>>> >>>> The APL code I mentioned consists of MANY small submodules that can >>>> work together to create melodies, harmonies, and rhythms (according to >>>> the Schillinger System of Musical Composition). If that 1980's textual >>>> output from the APL modules can be modified to output MIDI codes >>>> instead (or create translations to MIDI), then music could be created >>>> that could play directly on a PC or on attached synthesizers (rather >>>> than having to be manually transcribed). This is all part of my LONG >>>> list of retirement projects. ;) >>>> >>>> Harvey >>>> >>>> ---------------------------------------------------------------------- >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>>> >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >> >> >> >> -- >> Björn Helgason, Verkfræðingur >> Fornustekkum II >> 781 Hornafirði >> Po Box 127,801 Selfoss , >> t-póst: [email protected] >> gsm: +3546985532 >> sími: +3544781286 >> http://groups.google.com/group/J-Programming >> >> >> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans >> >> góður kennari getur stigið á tær án þess að glansinn fari af skónum >> /|_ .-----------------------------------. >> ,' .\ / | Með léttri lund verður | >> ,--' _,' | Dagurinn í dag | >> / / | Enn betri en gærdagurinn | >> ( -. | `-----------------------------------' >> | ) | (\_ _/) >> (`-. '--.) (='.'=) ♖♘♗♕♔♙ >> `. )----' (")_(") ☃☠ >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði Po Box 127,801 Selfoss , t-póst: [email protected] gsm: +3546985532 sími: +3544781286 http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
