Keyboard piano app dds9 available

Moderator: BarryK

Post Reply
don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Keyboard piano app dds9 available

Post 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 25 times

Set to square wave for best sound.
______________________________________________

Last edited by don570 on Mon Oct 24, 2022 9:32 pm, edited 2 times in total.
User avatar
BarryK
Posts: 2273
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 564 times

Re: Keyboard piano app dds9 available

Post by BarryK »

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

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Keyboard piano app dds9 available

Post by don570 »

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

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Keyboard piano app dds9 available

Post 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 764 times
jamesbond
Posts: 539
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 75 times
Been thanked: 292 times

Re: Keyboard piano app dds9 available

Post 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

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Keyboard piano app dds9 available

Post 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.
_______________________________________________________

jamesbond
Posts: 539
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 75 times
Been thanked: 292 times

Re: Keyboard piano app dds9 available

Post 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.

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Keyboard piano app dds9 recompiled

Post 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.

_____________________________________-

Post Reply

Return to “EasyOS”