Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (654)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 3 4 [5] 6 7 ... 10
 41 
 on: 2015-08-03 01:41:43 
Started by BurntPizza - Last post by BurntPizza
VSTs are a bit rough, but this is the starting point I used: http://www.martin-finke.de/blog/articles/audio-plugins-001-introduction/
There's also some good links here: http://www.kvraudio.com/forum/viewtopic.php?t=329696
JUCE looks promising, but I haven't messed with it.

 42 
 on: 2015-08-03 01:19:08 
Started by BurntPizza - Last post by philfrei
Just getting going with coding today. So far, though, posted an excerpt of a composition of mine on YouTube.

https://www.youtube.com/watch?v=WjkqQ9hQPQY

It is a piano rendition of a woodwind quartet accompaniment to a silent film, an old horror classic called "Der Golem" (1920). It starts off slow as preparations are made, then gets going when the spell starts. If you check it out, you'll see some neat pyrotechnic/smoke effects for the time. About 3+ minutes long.

Also, tested the data in a table I found on the correspondence between numbers used for the "modulation amplitude" on a synth (DX7S) and on the supposed resulting "modulation index", and how that MI sounds on in the FM synthesizer I wrote. It isn't matching up as expected. But it is consistent and something that can be worked with. So, file under "something wrong with theory:implementation match" and move on.

When I was getting the music ready for the posted video (two weeks ago), I was doing a LOT of MIDI editing. In the process, I worked out an innovative idea or two on how to edit MIDI key velocity data more efficiently, in relationship to measures and meters. I think it could lead to a useful editing tool for sound track composers. The functionality doesn't exist yet as a feature of any DAW that I know of.

But looking into VST programming (did this last week) was discouraging. There is a big learning curve and it is mostly being done with C++. I might be able to (I WANT to) use some of the concepts in my own audio library. But making a marketable VST requires meeting someone* with VST programming chops.

*Would be interested in meeting such a person for collaboration.

 43 
 on: 2015-08-03 00:38:59 
Started by SauronWatchesYou - Last post by SauronWatchesYou
Okay fixed! Leaving the solution that finally worked.

I completely wiped Visual Studio 2015 from the PC and installed it onto the SSD where my OS is. During the end of the installation process, Avast anti-virus moved a file into the chest. I removed this file from the chest and everything is working perfectly. If anyone instalsl the software, maybe make sure that your anti-virus doesn't do the same as what mine did.

Hopefully this helps someone if they face a similar issue!

 44 
 on: 2015-08-03 00:05:13 
Started by pquiring - Last post by DarkCart
Gives me this when I launch the game


 45 
 on: 2015-08-02 22:54:33 
Started by mooman219 - Last post by Riven
@Riven
Yeah, it was actually really slow to use the switch statement. I however have a different approach I think I'll try.
Given these benchmarks are often unrealistic because often the array can fit in cache, why not just allocate the array offheap, get the base address / size of each element, then just use dead reckoning to pull the value. If anything it should be faster as it avoids bounds checks, Unsafe should get compiled down by the jit, and it doesn't have to load the array.
I think you don't quite understand yet how memory/caching works. Smiley The JVM doesn't load 'the array' into CPU cache at all, it merely calculates a memory address and tells the CPU to retreive the value at that address. The CPU 'notices' memory access patterns and pulls entire pages (4K) from your system memory, moving it through L3, L2 and L1 cache. Whether that memory access is caused by a field access, an array access or by Unsafe, is all the same to the CPU.

The bounds check is very likely to be removed entirely as the masking basically does that implicitly.

 46 
 on: 2015-08-02 22:53:21 
Started by erikd - Last post by erikd
But the whole point is that it stays enabled when you return, right?
So just for my (perhaps slow) understanding, does this mean you might have to set some non-standard flags on the JVM to stop it from enforcing default settings there? Or is it just a testing issue?

 47 
 on: 2015-08-02 22:50:04 
Started by mooman219 - Last post by mooman219
@Riven
Yeah, it was actually really slow to use the switch statement. I however have a different approach I think I'll try.
Given these benchmarks are often unrealistic because often the array can fit in cache, why not just allocate the array offheap, get the base address / size of each element, then just use dead reckoning to pull the value. If anything it should be faster as it avoids bounds checks, Unsafe should get compiled down by the jit, and it doesn't have to load the array.

 48 
 on: 2015-08-02 22:48:58 
Started by KevinWorkman - Last post by Riven
Apache is easier to overload than this crude long-poller, so why would I even bother. You can do pretty effective damage control at the firewall level - why burden applications with it.

If you look at the raw network traffic you'll see I do slightly more than this, behind the scenes, but in the end the entire setup is mostly single threaded. Naturally this thread manages a JDBC connection, that polls MySQL for the latest post-id at 1Hz. Once that changes, it is considered an event, and the responses will be sent.

 49 
 on: 2015-08-02 22:30:39 
Started by erikd - Last post by Spasi
Yes, you're allowed to change MXCSR inside a JNI call, but you have to change it back before returning. Enabling FTZ and DAZ like above is against the JVM specs and likely to cause issues. But I don't think it's really that dangerous. The register has thread scope, it won't affect anything other than the thread in which you enable FTZ/DAZ.

 50 
 on: 2015-08-02 22:24:55 
Started by KevinWorkman - Last post by KevinWorkman
That's interesting, thanks for the reply.

That's a little lower level than I assumed, but I guess the question is the same: won't you end up with a big list of sockets? Wouldn't it be possible (or even easy) for bad guys to overload that list until something breaks? And aren't you keeping around references to a bunch of sockets that have been disconnected, since users make a request every time they load a page? Am I missing something, or are those references so tiny that it's not a real concern?

Apologies for the dumb questions, I've just been trying to wrap my head around this stuff for a few days now. It's been an unproductive weekend!

Pages: 1 ... 3 4 [5] 6 7 ... 10
 
SHC (32 views)
2015-08-01 03:58:20

Jesse (22 views)
2015-07-29 04:35:27

Riven (42 views)
2015-07-27 16:38:00

Riven (23 views)
2015-07-27 15:35:20

Riven (26 views)
2015-07-27 12:26:13

Riven (17 views)
2015-07-27 12:23:39

BurntPizza (38 views)
2015-07-25 00:14:37

BurntPizza (47 views)
2015-07-24 22:06:39

BurntPizza (32 views)
2015-07-24 06:06:53

NoxInc (39 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21
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!