Search:

Type: Posts; User: supermeew

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    4,128

    moving median function

    Could anyone help on how to call this function which will compute a moving median from an input array and return an output array with replaced median values




    void CWaveBuf::BMedian35(short*...
  2. Thread: Little help?

    by supermeew
    Replies
    3
    Views
    990

    not sure how that got in there!

    not sure how that got in there!
  3. Thread: Little help?

    by supermeew
    Replies
    3
    Views
    990

    Little help?

    This code is reading in short integer values from a text file outfile.txt. I'm able to pass these values into an array and print the median. What i was hoping to do is repeat that process for the...
  4. sorry, will know in the future

    sorry, will know in the future
  5. Is anyone familiar with using the mmioWrite...

    Is anyone familiar with using the mmioWrite function, for example if i opened a wav file based this code and changed the line in mmioopen to MMIOREADWRITE. It would be easier then trying to create a...
  6. Replies
    4
    Views
    1,709

    Excellent, works perfectly now i think, thanks...

    Excellent, works perfectly now i think, thanks for all the help
  7. Replies
    4
    Views
    1,709

    Sorting an array of integers

    hI, Does anyone know why this wont work, All im trying to do is simply sort an array of integers, its based on the bubblesort algorithm from the code snippets section of this site


    #include...
  8. This is probably a stupid question but how come...

    This is probably a stupid question but how come the samples have to converted to signed integers, and when i tried running the program and excluding that part of the code, the samples still appear to...
  9. Replies
    10
    Views
    1,735

    Cheers, thanks for yor help

    Cheers, thanks for yor help
  10. Replies
    10
    Views
    1,735

    Excellent thanks a million, it performs the...

    Excellent thanks a million, it performs the calculation perfectly :D I've just one more small problem though if anyone could help. Would i be able to modify the it so it could read in an array of 8...
  11. Replies
    10
    Views
    1,735

    as suggested ealier i plugged in 0s at the start...

    as suggested ealier i plugged in 0s at the start and end of the array

    #define MAX 10

    int a[MAX] = {0,14,10,5,0,65531,65524,65517,65511,0};

    and changed the for loop to

    int i = 1; for(i;...
  12. Replies
    10
    Views
    1,735

    Excellent thanks, that fixed that problem and it...

    Excellent thanks, that fixed that problem and it compiles now anyway, i'm not sure what calculation it's doing exactly though but its not what i expected!


    #include <stdlib.h>
    #include <stdio.h>...
  13. Replies
    10
    Views
    1,735

    thanks, the following error came up "for loop...

    thanks, the following error came up "for loop initial declaration used outside C99 mode" :confused: ???
  14. Replies
    10
    Views
    1,735

    Maths equation

    Hi,

    I have a mathematical equation i was hoping to get some help with to get it working in C. I'ts a small part of a program and if i figured it out it , i think i could figure out the rest of it!...
  15. Replies
    7
    Views
    2,399

    cheers thanks a million i'll look into that now,...

    cheers thanks a million i'll look into that now, i'm only a novice at this sort of thing but it sounds like you've set me on the right track!
  16. Replies
    7
    Views
    2,399

    Is that a seperate program?, unfortunately i'm...

    Is that a seperate program?, unfortunately i'm limited to using C!
  17. Replies
    7
    Views
    2,399

    I was hoping somebody could help me out with a...

    I was hoping somebody could help me out with a quick question are there any functions available to delete sample values from a data chunk in a wave file. I'm not sure you can do this with mmioread or...
  18. Replies
    7
    Views
    2,399

    excellent thanks!, didnt see that thread

    excellent thanks!, didnt see that thread
  19. Replies
    7
    Views
    2,399

    displaying sample values from a wave file

    Hi i was hoping someone would be able to help me out with the following problem i've been stuck with for a while. I've researched wave files and using snippets of code have put together a program to...
Results 1 to 19 of 20