Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-23 Thread 'Mike Day' via Programming
Sorry, I’d rather overlooked this thread. As a pianist (too loud) and singer, I might have something to add; I still have APL (Dyalog) too. But I don’t know what page 54 refers to. The Schillinger Wiki article doesn’t tell me. Perhaps it’s “Cybernetic Music” (or similar) mentioned earlier in th

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-23 Thread Thomas McGuire
Harvey, You mentioned errata for Cybernetic Music by Jaxitron. One of the last routines I coded (before I was distracted by something else) was the DVLP2 melody routine. I had placed one mistake in the code for DVLP2. But there seems to be a discrepancy in the hand code on page 119 and the usage

Re: [Jprogramming] Mac question

2020-04-23 Thread Ian Clark
Just tried it with j901 under Catalina -- it works. To make a jscript determine which jqt session it's running in: get the pid using: 2!:6'' . pid numbers ascend in value, so the latest jqt session launched will have the highest pid. Write the pid out as a textfile in (say) ~temp. The file will sh

Re: [Jprogramming] Mac question

2020-04-23 Thread chris burke
In addition to Ian's suggestions, you can also set up different profile scripts each with its own config directory. This way the sessions can be distinguished by color, position, J version etc. This also helps with different applications. On Thu, Apr 23, 2020 at 3:39 AM Ian Clark wrote: > > Just

Re: [Jprogramming] Mac question

2020-04-23 Thread Hauke Rehr
in my opinion, this is the way to do this properly • you won’t have to repeat too much in the future (upgrades) • you won’t have copies which is always a bad idea after all, that’s one of the use cases profile scripts are meant for Am 23.04.20 um 13:17 schrieb chris burke: In addition to Ian's s

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-23 Thread Brian Schott
Harvey, Your explanations were very helpful. Especially of the second line of RSLTNT output. There is no listing of the notes that go with the example RSLTNT 5 3, are there? Your explanation just understands what notes are typical and the meaning of "interference patterns", right? Thank you, --

Re: [Jprogramming] Suggested Fix for lack of jbreak icon

2020-04-23 Thread David Mitchell
As far as I can see, the normal installers no longer create the jbreak icon. Here is one possible update to ~addons/ide/jhs/installer.ijs jbreak to add a jbreak option for shortcut: Old: Winx=: 3 : 0 select. y case.'jc' do. win'jc' ;'jconsole';'jgray.ico';LIB case. 'jhs' do. win'jhs';'jconso

Re: [Jprogramming] Suggested Fix for lack of jbreak icon

2020-04-23 Thread Eric Iverson
The JHS script you refer to is obsolete and should be removed. That code for building desktop icons is now part of pacman. I will consider updating pacman to include building the jyellow icon and perhaps adding it to be part of an install. On Thu, Apr 23, 2020 at 9:50 AM David Mitchell wrote: >

Re: [Jprogramming] Suggested Fix for lack of jbreak icon

2020-04-23 Thread David Mitchell
Does pacman have an equivalent of the shortcut script? I have found the shortcut helpful to create or recreate individual shortcut files, for a variety of reasons. On 4/23/2020 10:10, Eric Iverson wrote: The JHS script you refer to is obsolete and should be removed. That code for building des

Re: [Jprogramming] Suggested Fix for lack of jbreak icon

2020-04-23 Thread Eric Iverson
The JHS desktop utilities were moved to pacman. for details, see: https://code.jsoftware.com/wiki/Pacman On Thu, Apr 23, 2020 at 11:01 AM David Mitchell wrote: > Does pacman have an equivalent of the shortcut script? I have found the > shortcut helpful to create or recreate individual shortcut

Re: [Jprogramming] Suggested Fix for lack of jbreak icon

2020-04-23 Thread David Mitchell
Thanks, I looked, but I didn't go to the end of the J wiki search on shortcuts. On 4/23/2020 11:14, Eric Iverson wrote: The JHS desktop utilities were moved to pacman. for details, see: https://code.jsoftware.com/wiki/Pacman On Thu, Apr 23, 2020 at 11:01 AM David Mitchell wrote: Does pacman

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-23 Thread Thomas McGuire
I fixed up the n2p routine, although not in the same output format as the book (“Cybernetic Music”) it seems to track the relative octave increases and decreases from the examples. I apologize for the not very J-ish style for the support routine ‘ROCT’ (new routine not part of the original APL).