Jump to content

DECPS Player - VT520/VT525 Play Sound Simulator 1.0.2

   (0 reviews)

2 Screenshots

About This File

DECPS is an escape sequence to Play Sound (PS) on VT520 and VT525 terminals by Digital Equipment Corporation (DEC). A coming version of Windows Terminal will support this since a pull request was accepted. The corresponding issue had some examples and I converted them automatically to BASIC DATA statements for Commander X16 with my Basicode-3 and -3C sound subroutine. The subroutine has extra features since it can also play polyphonic music by using other entry line numbers. This program can also play a chord for each note.

I put all the examples in a file and converted to BASIC v2 DATA statements using this command line in Linux, and then I shortened the lines to less than 80 characters manually:
sed 's/printf "\\e\[/REM DATA /;s/;/,/g;s/~\\e\[/1E4,/g;s/~"/2E4/' decps.sh

There is a simple 1 to 1 relationship between a string for e.g. VT520 and the DATA statements in this program DECPS.BAS. The open source bas-file is also included in the zip-file and it's FOSS with license GPLv3.

Edited by mobluse


What's New in Version 1.0.2   See changelog

Released

Fixed spelling of chord.


try_it

Yes

try_it_start_prg

DECPS.PRG
 Share


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...

Important Information

Please review our Terms of Use