(34C) Musical Notes (Original by J.M. Bowsher)
|
02-10-2019, 04:37 PM
(This post was last modified: 02-10-2019 07:57 PM by Dieter.)
Post: #4
|
|||
|
|||
RE: (34C) Musical Notes (Original by J.M. Bowsher)
(02-10-2019 03:28 PM)Thomas Klemm Wrote: Input smaller than 11.9495 is considered a musical notation. OK, but the 34C has two label keys A and B so that this kind of trick is not required. (02-10-2019 03:28 PM)Thomas Klemm Wrote: \(15.88609958 = \frac{440}{2^\frac{115}{24}}\) I now have a program for the HP67 that is based on a slightly different constant and returns the output in the same way as the original program. Both conversions fit into not much more than 67 steps. 450 [A] => 9,439 4698,63 [A] => 2,800 7,6 [B] => 1568,0 Changing the input/output the way you did allows even more compact code, as you have shown. I think it even makes more sense to have the octave and then the tone plus cents. So instead of 9,439 I think that 4 and 9,39 are more intuitive. Edit: Here is an HP-34C version of your program. Since there is no two-line display the octave is displayed with "PAUSE". In either case the octave is returned/entered in Y and the note in X. Code: 001 LBL A 450 [A] => "4" 9,39 6 [ENTER] 7 [B] => 1568,0 Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(34C) Musical Notes (Original by J.M. Bowsher) - Hans Brueggemann - 02-09-2019, 12:11 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Dieter - 02-10-2019, 01:26 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Thomas Klemm - 02-10-2019, 03:28 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Dieter - 02-10-2019 04:37 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Thomas Klemm - 02-10-2019, 06:15 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Dieter - 02-11-2019, 07:49 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Thomas Klemm - 02-11-2019, 10:26 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Thomas Klemm - 02-11-2019, 11:04 PM
RE: (34C) Musical Notes (Original by J.M. Bowsher) - Thomas Klemm - 02-13-2019, 10:28 PM
|
User(s) browsing this thread: 1 Guest(s)