Jump to content
IGNORED

Frequencies for beep & honk?


S1500

Recommended Posts

Intern by Heiner Martin

 

0034 : BR GROM@>03CB	Accept tone
0036 : BR GROM@>03D3	Bad response tone

Accept Tone
03CB : DST @>8358,>0475	Load tone
03CF : I/O @>8358,>00	Print
03D2 : RTN
Bad response tone
03D3 : DST @>8358,>0480	Load tone
03D7 : BR GROM@>03CF	Execute

Sound list accept tone
0475 : DATA >06
0476 : DATA >BF
0477 : DATA >DF
0478 : DATA >FF
0479 : DATA >80		>050 = 80
047A : DATA >05
047B : DATA >92
047C : DATA >0A
047D : DATA >01
047E : DATA >9F
047F : DATA >00

Sound list bad tone
0480 : DATA >06
0481 : DATA >BF
0482 : DATA >DF
0483 : DATA >FF
0484 : DATA >80		>200 = 512
0485 : DATA >20
0486 : DATA >90
0487 : DATA >0A
0488 : DATA >01
0489 : DATA >9F
048A : DATA >00

E/A-manual

 

Thus, f = 111,860.8/N can always be used to calculate the frequency code. The lowest possible frequency is 110 Hz, and the highest is 55,938 Hz. For example, to output a frequency of 110 Hz, f = 111,860.8/110 or approximately 1017 (>3F9).

 

111,860.8 / 80 = 1,398,26 Hz

 

111,860.8 / 512 = 218,48 Hz

  • Like 2
Link to comment
Share on other sites

E/A-manual

 

Thus, f = 111,860.8/N can always be used to calculate the frequency code. The lowest possible frequency is 110 Hz, and the highest is 55,938 Hz. For example, to output a frequency of 110 Hz, f = 111,860.8/110 or approximately 1017 (>3F9).

 

111,860.8 / 80 = 1,398,26 Hz

 

111,860.8 / 512 = 218,48 Hz

 

I was close. I have always used 220 and 1350 in BASIC. I figured that out with a FOR/NEXT with CALL SOUND.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...