Search:

Type: Posts; User: rambo5330

Search: Search took 0.00 seconds.

  1. Replies
    27
    Views
    2,818

    Now when i try getting this data into exponent...

    Now when i try getting this data into exponent form it makes every value exactly the same.. what are my options here.. i suppose i have to write it in as a long int.. but that defeats what we were...
  2. Replies
    27
    Views
    2,818

    nm i just solved that part ......

    nm i just solved that part ... fread(&clip_info[k], 10000, 1, file_in);

    had to remove [k] haha so now its looking better i get a file as follows
  3. Replies
    27
    Views
    2,818

    hey thank you, I have been writing it to a text...

    hey thank you,
    I have been writing it to a text file.

    I just tried useing the edited source code and for whatever reason it does not like reading my wave file now.. i get Access violation writing...
  4. Replies
    27
    Views
    2,818

    Hey sorry for the late response, ended up falling...

    Hey sorry for the late response, ended up falling asleep! ha

    anyways I've changed my source code to what you put there and so far its working great for extracting the data out of the header .. it...
  5. Replies
    27
    Views
    2,818

    thanks for sticking with me here... this is a...

    thanks for sticking with me here... this is a simple question but its because fread is very new to me... how to i only read in one byte then?


    fread(&clip_info[k],1,6000,file_in);
    if thats the...
  6. Replies
    27
    Views
    2,818

    as of right now i am just using a wave file i...

    as of right now i am just using a wave file i recorded myself in windows sound recorder.. 16 bits mono... i do not have a specific wave file for which i know the data ... this is a good idea though...
  7. Replies
    27
    Views
    2,818

    yes i just do this now for (k=0;...

    yes i just do this now



    for (k=0; k<=6001; k++)
    {

    fread(&clip_info[k],6000,2,file_in);
  8. Replies
    27
    Views
    2,818

    Okay so instead of printing it to the screen i...

    Okay so instead of printing it to the screen i wrote the values to a .txt file... now im getting somewhere.. i get numbers such as this

    -5963985
    -10616913
    -10027213
    -2687069
    -8126540
    -1245280...
  9. Replies
    27
    Views
    2,818

    so here is the code im using to mess around with...

    so here is the code im using to mess around with trying to read this wave file and view its contents in C


    int main(void)
    {
    int k, x;
    int clip_info[10000];
    FILE * file_in;
  10. Replies
    27
    Views
    2,818

    thanks, you rock! I will play with that but will...

    thanks, you rock! I will play with that but will almost garuntee have a few more questions along the way for you... thanks a lot great explanation
  11. Replies
    27
    Views
    2,818

    Yes i've read a lot on extracting data from the...

    Yes i've read a lot on extracting data from the wave file itself and there was way to much info it lost me.. i just want the amplitudes of the audio signal every 0.00125 seconds.... how do i get that...
  12. Replies
    27
    Views
    2,818

    Speech Analysis

    Hello, I know this isn't 100% C related but I dont know where else to post this.
    In a book I have for a comp class at school we are designing a super simplistic speech recognition type software. It...
  13. thanks elysia that worked perfectly I swear i...

    thanks elysia that worked perfectly I swear i tried very similar steps before but instead of haveing the function defined as a boolean i had it a double.. maybe this is what was causeing a large part...
  14. yes I have, I have not got the chance to work...

    yes I have, I have not got the chance to work with them much and to be honest if Kbriggs says it can be done with a pointer and an array thats what im really trying to do right now to better...
  15. Thanks for the quick reply, yes the variables, it...

    Thanks for the quick reply, yes the variables, it was at a point where i was just trying everything got quite frustrated so singed up for this and posted it before cleaning everything out sorry..
    ...
  16. Returning more than one value from a function

    Hey!
    I am fairly new to C so forgive me if things arent extremely clear

    but basically I'm trying to figure out the full scope of what I can and cant do.

    I have a program that takes the...
Results 1 to 16 of 16