Community
Message Board

Chat room - users
Game Over
( 394431 downloads)
Work In Progress
( 523201 downloads)
Links

Code Exchange
Downloads
Tutorials
Add to Favourites

Submit news

DIV ARENA FORUMS
Not logged in [Login - Register]
Go To Bottom

Printable Version  
 Pages:  1  
Author: Subject: Harmonica Hero Simulator
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 11-4-2017 at 07:59 PM
Harmonica Hero Simulator


Ever wanted to learn to play the harmonica like a pro without getting dribble over everything?.
Now's your chance.

Instructions:
When the prog starts press 1. (2 doesn't do anything yet.)
The coloured squares are the holes of the harmonica. Move the cursor over the hole you want to play and press left mouse to blow and right mouse to suck.
The harmonica is tuned to C. If you want chromatic notes(sharps /flats), hold down the space key. The horizontal bar on the right indicates this.
If you blow or suck too much in one go you can run out of breath. The vertical bar on the right shows the air level.

The lower down on the hole you have the cursor the harder you blow/suck and the louder the note. This also affects how quickly you run out of breath.

The next step is to add a composer and then some sort of game where you have to follow along to a tune as the notes scroll towards you. (You know, the usual crapp)

Attachment: harmony03.PRG (5kB)
This file has been downloaded 1155 times

Attachment: note512.wav (907kB)
This file has been downloaded 1247 times

SNAP0010.png - 1kB
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 12-2-2019 at 07:28 PM


Owing to overwhelming interest in this project, I have decided to resurrect it. STANDBY.....
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 237
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 13-2-2019 at 12:55 AM


Hi, i'll try your prg. Last year 2018 i wrote a similar prg in the old turbo pascal and tried to translate to div. My problem was that my sound loop in A440 sounded a little bad so i abandoned the project.
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 237
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 13-2-2019 at 01:13 AM


I tried to make a "flute synth" using div, 1 octave, i had problems with the sound of the A440 loop and canceled it. I like your work :)
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 13-2-2019 at 08:46 AM


Whoah!

Dom Cook are you for real? Are you back??? Amazing!
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 13-2-2019 at 08:21 PM


Thanks Mike. I haven't had a usable computer for the last couple of years. When the last one died I lost a few projects. The computer I have now is not exactly ideal but it works. Anyway, I'm happy to be back coding and grateful that this website is still here.
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 13-2-2019 at 08:26 PM


Quote: Originally posted by Vortigano  
I tried to make a "flute synth" using div, 1 octave, i had problems with the sound of the A440 loop and canceled it. I like your work :)


Thanks,
What sort of problem? Perhaps it can be solved. If you revived your flute program too, we'd be on the way to starting a DIV orchestra.
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 237
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 13-2-2019 at 10:27 PM


It's probably that i used a bad wav format, now i prefer to use *.ogg for mono sound loops. I don't remember exactly my problem.
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 13-2-2019 at 10:38 PM


Quote: Originally posted by dom cook  
Owing to overwhelming interest in this project, I have decided to resurrect it. STANDBY.....

Welcome back, dom cook. :)
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 14-2-2019 at 09:02 AM


Quote: Originally posted by dom cook  
Thanks Mike. I haven't had a usable computer for the last couple of years. When the last one died I lost a few projects. The computer I have now is not exactly ideal but it works. Anyway, I'm happy to be back coding and grateful that this website is still here.


Very very glad to have you back Dom!
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 14-2-2019 at 05:37 PM


Glad to be back Chaps,
Although I was always here in spirit.

Remember
"Great art is never finished, only abandoned"




[Edited on 14-2-2019 by dom cook]
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 14-2-2019 at 05:45 PM





Attachment: SNAP0000.PCX (25kB)
This file has been downloaded 892 times

View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 14-2-2019 at 07:48 PM


How come the picture doesn't show?
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 14-2-2019 at 07:57 PM


Maybe the forum don't support PCX image visualization or you need to close it on image tag.
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


thumbup.gif posted on 15-2-2019 at 04:14 AM



SNAP0000.png - 58kB

That's better.
(Hey, it's been a while)
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 16-2-2019 at 05:51 PM
DIVTUNES


This is a sub-project. I need a way to make a bunch of tunes for our Harmonica Hero (TM) to play along to. So I'm making a little player/recorder.
Last time round I got a bit daunted by this prospect but I return from the mountain top renewed.

SNAP0001.png - 29kB

Attachment: DIVTUNES01.PRG (5kB)
This file has been downloaded 814 times

Attachment: note512.wav (907kB)
This file has been downloaded 865 times

[Edited on 17-2-2019 by dom cook]

Attachment: notation.FNT (29kB)
This file has been downloaded 868 times

View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 16-2-2019 at 07:30 PM


My god that wav file. I think everyone in the street heard when i hit play on that. ouch!

Going to be interesting to see what comes of this
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 17-2-2019 at 04:39 AM


It's a refined taste, like good coffee - great for clearing out the cobwebs.
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 237
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 17-2-2019 at 04:49 AM


Quote: Originally posted by dom cook  
This is a sub-project. I need a way to make a bunch of tunes for our Harmonica Hero (TM) to play along to. So I'm making a little player/recorder.
Last time round I got a bit daunted by this prospect but I return from the mountain top renewed.


The notation.fnt is missing so you have to ignore errors in the debugger
or change the line 74 :

notation=load_fnt("notation.fnt");

to

notation=0; // notation=load_fnt("notation.fnt");

I liked it. :)
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 17-2-2019 at 08:43 AM


Oops! I've added the font to the above post
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 19-2-2019 at 07:58 PM


Well this little sub-project is already a lot bigger than the main one and there's still not much to show for it on the surface. Despite appearances it's getting there.




SNAP0000.png - 33kB
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 20-2-2019 at 10:23 AM


Hi dom,

What build of DIVDX are you currently using? because we are noticing that some users have less problems on some builds (maybe earlier) instead of others.
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 20-2-2019 at 09:07 PM


I had to take it back to 2016-12-01. because of an issue with save_map not working on the later versions.
Been using it for a few days now and haven't come across any noticable bugs. apart from the ink colour for numbers defaulting to black every now and again when editing maps.
This is on Windows.
The most recent versions for Linux wouldn't work at all.
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 20-2-2019 at 09:32 PM


Quote: Originally posted by dom cook  
I had to take it back to 2016-12-01. because of an issue with save_map not working on the later versions.
Been using it for a few days now and haven't come across any noticable bugs. apart from the ink colour for numbers defaulting to black every now and again when editing maps.
This is on Windows.

Ok, i see...

Have you ever tried the last build I posted for windows?
http://div-arena.co.uk/forum2/viewthread.php?tid=246

If you are interested in trying it, first make a backup of the current folder before installing the new build.

We are seeing which parts of the repository code to update to get an updated build and see which bugs are still present or new, and test feedback would be useful.

Quote: Originally posted by dom cook  

The most recent versions for Linux wouldn't work at all.

Let's say that I could generate a build for Linux equal to the last released build for windows, but given the problems that the forum has with attachments, it would be better to update the repository so as to get a nightlybuild.
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 387
Registered: 4-3-2016
Member Is Offline


[*] posted on 21-2-2019 at 04:57 AM


I'll try it.


The Linux thing isn't a problem for me right now. The computer I was using was on it's last legs anyway and has now stopped stopped altogether. However I'm thinking of geting a new computer before long and would quite like to get Linux. Would that make my life harder with respect to DIV?
View user's profile View All Posts By User
 Pages:  1  

  Go To Top

Powered by XMB
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 18]