Recent

Author Topic: Sound - by frequency and duration?  (Read 2513 times)

ozznixon

  • Full Member
  • ***
  • Posts: 119
    • http://www.modernpascal.com/
Sound - by frequency and duration?
« on: September 03, 2023, 08:40:16 pm »
I am in the process of porting my 'Glitch' ANSI Terminal to Lazarus from Turbo Pascal.


I found the CRT unit works for CRT commands on the Mac. However, Sound(500); Delay(80); NoSound; ... does not produce any noise on my Mac.


* I don't need to play external files - as the sound commands will be inline from the host/BBS.


Thanks in advance!
Ozz
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

MarkMLl

  • Hero Member
  • *****
  • Posts: 8034
Re: Sound - by frequency and duration?
« Reply #1 on: September 03, 2023, 09:53:29 pm »
You want /simple/? Read https://forum.lazarus.freepascal.org/index.php/topic,49502.0.html and then consider that it only covers one OS.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018