Page 1 of 1

Keyboard piano app dds9 available

Posted: Fri Oct 14, 2022 9:06 pm
by don570

Keyboard piano app available...
dds9
I grabbed it from fatdog64. I don't know its source.
I had to add font to package to make it run.
EDIT: I recompiled it so that it doesn't need a font to be added 8-)
Instructions are written in window.

dds9-piano_amd64.pet
(10.37 KiB) Downloaded 53 times

Set to square wave for best sound.
______________________________________________


Re: Keyboard piano app dds9 available

Posted: Sat Oct 15, 2022 1:32 pm
by BarryK

I am unable to download. I logged in to google, but cannot d/l the file, it says "access denied".


Re: Keyboard piano app dds9 available

Posted: Sat Oct 15, 2022 6:41 pm
by don570

I was able to download from anonymous machine. Just click download
button in middle of window.
___________________________


Re: Keyboard piano app dds9 available

Posted: Sat Oct 15, 2022 7:36 pm
by don570

It seems to download differently than a SFS file.
There are is a warning message that I don't get when downloading my audacity SFS
___________________________

Screenshot 2022-10-15 15.35.11.png
Screenshot 2022-10-15 15.35.11.png (24.66 KiB) Viewed 955 times

Re: Keyboard piano app dds9 available

Posted: Sun Oct 16, 2022 3:42 pm
by jamesbond

Source and build instructions: http://distro.ibiblio.org/fatdog/source ... 4-1.tar.gz

The actual name of the cutie is just "dds", and "9" was the initial version where I released it to Fatdog - hence "dds9".
I have since updated it to version 11, and it should have been called "dds11" now, but ... but the name kind of "stuck", so it's "dds9 version 11" now :lol:

Best played with a gaming keyboard that can handle at least 6 simultaneous keypress (assuming you can press and hold up to 6 keys at the same time). In a standard keyboard, if you press and hold more than 3 keys, sometimes the keypress of the 4th key onwards won't be registered until you released the first 3 keys. But you can have fun even either way.

Sample output with square wave on standard keyboard (live recorded - one-take no editing - pardon the mistake): https://drive.google.com/file/d/134kMEQ ... sp=sharing


Re: Keyboard piano app dds9 available

Posted: Tue Oct 18, 2022 9:33 pm
by don570

When I tried compiling in Easy OS , the binary complained that
dejavu font wasn't available . However when I checked it definitely is installed.
_______________________________________________________


Re: Keyboard piano app dds9 available

Posted: Wed Oct 19, 2022 10:32 am
by jamesbond
don570 wrote: Tue Oct 18, 2022 9:33 pm

When I tried compiling in Easy OS , the binary complained that
dejavu font wasn't available . However when I checked it definitely is installed.
_______________________________________________________

Font location (and size) is defined here:

Code: Select all

#define RENDER_FONT "/usr/share/fonts/X11/TTF/DejaVuSans.ttf"
#define RENDER_FONT_SIZE 16

Change that to use a different font or use a different location.
It has to be a TTF font and nothing else (not even OTF font).

If you use a different font or size, you may want to make the window bigger (or smaller).

Code: Select all

screen = SDL_SetVideoMode( 640, 400, 0, 0 );

Change 640 and 400 to whatever dimensions you like.

Enjoy.


Keyboard piano app dds9 recompiled

Posted: Mon Oct 24, 2022 9:34 pm
by don570

Thanks to James Bond...
changed to

Code: Select all

#define RENDER_FONT "/usr/share/fonts/TTF/DejaVuSans.ttf"

Easy stores fonts in different place than fatdog64
so I recompiled . THe pet package is very small so I can post it in the first post.

_____________________________________-