Jump to content
  • Advertisement

gasto

Member
  • Content Count

    210
  • Joined

  • Last visited

Community Reputation

303 Neutral

About gasto

  • Rank
    Member

Personal Information

  1. Correct me if I am wrong: root is distributive with respect to division and multiplication but not with respect to addition and subtraction.
  2. If I could parse a phrase or a sentence to the algorithm, how easy would it be to generate a level based on the semantics extracted from the sentence. Especially for a puzzle/adventure game.   Imagine parsing the words: "latent ball in slope" and generate a level that contains a slope where a ball rotates and menaces squashing the player.  
  3. How is that "margin" between the highest frequencies and half the sampling rate measured? One is a continuous signal(?) while the other is a digital signal(samples per second.)
  4. I've read that the human ear can hear up to 22000hz frequency, I suppose that when they write "frequency" they are referring to cycles per second. A standard frequency to store audio files is 44khz because that is the double of 22khz, being needed because of the Nyquist theorem. However, how would this translate in samples per second? imagining a sine wave(or a sawtooth wave) four samples as minimum would be needed to complete a cycle(a sample when sine receives 0?, the next one at ?/2, the next one at 1?, and the last one on the cycle at 3?/2). That results in 22000hz*4samples == 88000 samples per second Am I correct?
  5. I would understand it in 32 bit machines, word is 16 bits, so the last assembly statement assigns the first 16 bits of the 32 bit register eax to var2(hence it uses ax.) But in 64 bit machines, is eax 64 bits and ax 16bits?
  6. Yes. For example, If: #include <stdint.h> int main() { uint8_t var = 0xFF; uint16_t var2 = var<<8; return 0; } Checking with the debugger the value of var2 after executing its initialization is 0xFF00, which makes me deduce that the compiler transformed var to a uint16_t or bigger when the bit shift happens.
  7. Is there a way to Postfix a letter to a numeral, like in the case of a long integer: 2344532L, but for indicating a byte sized numeral?
  8. gasto

    *. not the same as ->

    My mistake, I had positioned the dereferencing asterisk after, not before(as it should be) the complicated expression.
  9. I remember that -> was an alias for dereferencing and field selection, and dereferencing in C is done with : *  field selection with: . So I wonder why is it not compiling when I use *. ?  
  10. Thanks that was helpful. I guess I need an engineering degree in acoustics to understand volume. Hehehe .
  11. Gain is well, how much the wave will be amplified. Amplitude is the level of decibels the wave arrives at each cycle without being influenced by gain. velocity is mostly used for MIDI. Volume is the final mixdown amplitude of all the waves.   Is that correct?
  12. Oh, yes. What an idiot I am. 1.1, I could n't figure that out. [bashes head against desktop] Thanks.
  13. I am not good at math notation. I need  to define a function that calculates the yearly accumulated deposit + interest.   For example I have got $30 in a fixed bank account, with an yearly interest of %10 .  After a year I would possess $33, after another year $36.3, and so on.   x?0; f(x)=(f(x-1)+30·0.1)x   Or some kind of recursive function I can't figure out.
  14. Ordinals are to permutations as cardinals are to combinations.   Is that assertion true?
  15. gasto

    From Python to Android

    Cool, using Pygame games to port it on android. It seems like a dream became true.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!