Search found 628 matches

by Dutchman
Wed Jun 25, 2025 1:32 pm
Forum: BASIC programs
Topic: Bells "Change ringing"
Replies: 0
Views: 34
Flag: Netherlands

Bells "Change ringing"

On the European continent, we know the dull Ding-Dong of church bells. In some British cities and villages, however, you can hear a completely different sound from the bell towers, more like Dinge-Le-Dang-Deng-Dung-Le-Dong, in any case, a playful game of multiple bells in varying order. I had known ...
by Dutchman
Mon Jun 16, 2025 1:20 pm
Forum: BASIC programs
Topic: Programable length of musical note or rest
Replies: 0
Views: 87
Flag: Netherlands

Programable length of musical note or rest

For a musical project, I needed a way to determine the length of a note or rest based on the outcome of a calculation. Therefore, I have created the accompanying function that generates the code, depending on the desired length in 'tics'. A 'tic' is defined as the length of the note or rest as deter...
by Dutchman
Tue Jun 10, 2025 9:04 am
Forum: BASIC programs
Topic: Spaces generator
Replies: 3
Views: 1525
Flag: Netherlands

Re: Spaces generator

Hoi Henk
Click on the 'chain' symbol
by Dutchman
Sun Jun 08, 2025 1:52 pm
Forum: BASIC programs
Topic: Spaces generator
Replies: 3
Views: 1525
Flag: Netherlands

Spaces generator

I needed a function to generate a string with a variable number of spaces. Dav made such a function via a FOR … NEXT loop. See https://nitisara.ru/forum/viewtopic.php?t=1165 I made a recursive method: DEF spaces$(n) ' by Dutchman 2025 ' return string with n spaces IF n<1 THEN RETURN "" IF n>1 THEN S...
by Dutchman
Fri Jun 06, 2025 6:34 pm
Forum: BASIC programs
Topic: From number to note
Replies: 2
Views: 1573
Flag: Netherlands

New Update From number to note

I needed numerical access to bare notes, so without octave number.
Therefore I added numbers 0-11 tot the function.
Furthermore the code has been simplified.
File and picture of test output have both been updated in the original post
by Dutchman
Thu Jun 05, 2025 1:44 pm
Forum: BASIC programs
Topic: From number to note
Replies: 2
Views: 1573
Flag: Netherlands

Re: Update "From number to note"

There was an error in the function.
The OPTION BASE value was not correctly saved.
The error has been corrected in the attached file above.
Sorry for the inconvenience
by Dutchman
Wed Jun 04, 2025 5:28 pm
Forum: BASIC programs
Topic: From number to note
Replies: 2
Views: 1573
Flag: Netherlands

From number to note

For a musical project, I needed a way to choose musical tones at equal intervals on the musical scale. Therefore, I created a function that generates the desired note string from a note number. The function is in the attached file that can be 'included' in the main program. If you remove the */ and ...
by Dutchman
Tue Jun 03, 2025 10:14 am
Forum: Other topics
Topic: Music playtime
Replies: 0
Views: 1311
Flag: Netherlands

Music playtime

Working on a mjusical project and an update of the PDF-manual, i made the following test program: ' Playtime /* Remark by smbstarv 24 may 2024: "NOTESLENGTH() gives the length of the composition m$ played with NOTES TEMPO last set before the NOTES SET m$ was issued." */ ' else NOTESLENGTH should be ...
by Dutchman
Sat May 31, 2025 6:10 pm
Forum: Other topics
Topic: Playing a variable number of musical tracks
Replies: 0
Views: 1574
Flag: Netherlands

Playing a variable number of musical tracks

I am working on a musical project in which a variable number of instruments will play together. So the number of musical tracks for the NOTES SET command will vary from 1 to 8. In the command 'NOTES SET A$,B$,... ' the tracks 'A$,B$,...' are strings and are separated by commas. For a variable number...
by Dutchman
Mon Mar 31, 2025 9:49 am
Forum: BASIC programs
Topic: Radiation Dose Map - problem!
Replies: 6
Views: 10242
Flag: Netherlands

Re: Radiation Dose Map - problem!

… I see it’s mentione in the User Manual, but not under Screen Display, which to me is the logical place to look for it. Also I find that the A (opacity) variable can be omitted. In the (PDF-)User Manual you'll find it in chapter 7 Graphics view In subchapter 7.3.1 Handling Retina display resolutio...