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*...
Type: Posts; User: supermeew
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*...
not sure how that got in there!
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...
sorry, will know in the future
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...
Excellent, works perfectly now i think, thanks for all the help
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...
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...
Cheers, thanks for yor help
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...
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;...
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>...
thanks, the following error came up "for loop initial declaration used outside C99 mode" :confused: ???
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!...
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!
Is that a seperate program?, unfortunately i'm limited to using C!
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...
excellent thanks!, didnt see that thread
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...