Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (804)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (868)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  DinkMaker (Audio Tool)  (Read 6087 times)
0 Members and 1 Guest are viewing this topic.
Offline philfrei
« Posted 2016-10-18 22:07:26 »

I've been working on a mini-synth for making short "utility" audio cues, such as the clicks and dinks for things like clicking on menus. It uses an FM Synth that I wrote (Phase Modulation, more accurately) that has a carrier/modulator pair, an LFO (for either pitch or volume uses) and some frequency sweep options and an ASR envelope. With this, there are actually some tricky and odd sounds that can be made besides clicks.

Running the app, you can make and export wav files for game use. Another option is to import the jar into your game program and use the synth in real time. This second option has a couple benefits:
  • wavs for the cues not needed
  • can tweak settings on the fly (based on game state)

DinkMaker.zip

The zip file includes the app (dinkmaker.jar, for non-java users: just double-click it to run it) and twenty xml preset files that can be loaded and edited. Requires Java 8.



Very basic, bare-bones GUI at this point. There is some HELP available via the menu bar "Help" (first draft) but I will admit that knowing a bit about audio already will make it much easier to use.

I had some fun working as a "sound designer" instead of as a programmer, and making these patches. If you'd like to listen to a few:

http://www.adonax.com/dink/wavs/dinkA6.wav
http://www.adonax.com/dink/wavs/chirpUp.wav  // multiple bird chirps are probably best played at slightly  
http://www.adonax.com/dink/wavs/chirpDown.wav  // different carrier pitches instead of the same pitch
http://www.adonax.com/dink/wavs/raygun1.wav
http://www.adonax.com/dink/wavs/raygun2.wav
http://www.adonax.com/dink/wavs/odd1.wav  
http://www.adonax.com/dink/wavs/odd2.wav
http://www.adonax.com/dink/wavs/odd3.wav
http://www.adonax.com/dink/wavs/powerup.wav
http://www.adonax.com/dink/wavs/powerdown.wav
http://www.adonax.com/dink/wavs/cricket.wav

Depending on the browser, there might be a bit of clipping of the files as they are so short.

This is the first time I really worked with Java Properties. I'm trying to use them to store a default directory for the saves and loads. Please let me know if it messes up or if the design can be improved.

Suggestions very much appreciated: on gui, on demo patch set, anything really!

I will look into getting api info up later in the week for use as part of a library. It would be great to have someone using libgdx or android to work with directly, if anyone would like to experiment with trying out the library. I recently wrote a wrapper for lwjgl 3, and earlier wrote an android wrapper. But in both cases it will probably take further tweaking to make it work smoothly.

If anyone wants to, feel free to post patches on this thread. They are just XML (text) files.




Was playing around with ideas on naming, e.g., DinkSynth or DinkySynth for example. DinkMaker doesn't exactly roll off the tongue (and reminds me of Mattel's "ThingMaker": my "Creepy Crawlers" kit from ages past.)

music and music apps: http://adonax.com
Offline ndnwarrior15
« Reply #1 - Posted 2016-10-20 03:13:18 »

This is awesome! I'll probably be using it here in the very near future, thanks for sharing it.
Pages: [1]
  ignore  |  Print  
 
 

 
Riven (583 views)
2019-09-04 15:33:17

hadezbladez (5521 views)
2018-11-16 13:46:03

hadezbladez (2405 views)
2018-11-16 13:41:33

hadezbladez (5783 views)
2018-11-16 13:35:35

hadezbladez (1226 views)
2018-11-16 13:32:03

EgonOlsen (4664 views)
2018-06-10 19:43:48

EgonOlsen (5684 views)
2018-06-10 19:43:44

EgonOlsen (3199 views)
2018-06-10 19:43:20

DesertCoockie (4099 views)
2018-05-13 18:23:11

nelsongames (5116 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!