Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

meiyueh

@meiyueh
About
Posts
12
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to make radio button function
    M meiyueh

    is it possible to make the radio button click automatically in dialog application after i make the data analysis? from the books, i jst found that they teach how to make it function when we click the radio button. could anyone give me example of programming to make a button click automatically among a group of button wtht to click it manually?

    C / C++ / MFC tutorial question

  • Beginner Needs Help
    M meiyueh

    i'm also a beginner of vc++ 6. i even blur of c++ indeed. i jst hv sth share wth u, duno whether can help u or nt, bt maybe can cheer u up..hehe..c++ fundamental is very important b4 u start to learn vc++ 6. the vc++ 6 bible and teach urself vc++ 6 in 21 days and the beginning of vc++ are quite a good book. some ebook like teach urself c++ in 21 days is also very useful for me to understand some basic of c++ fast. every language is different. it takes time to learn. be patient. i believe in patient learning make ur life wonderful . i still hv one mths to pass up my vc++ project, i hope i can fulfill it with the some help of engineer as i wish. gambadei( keep up gd work)...gd luck.

    C / C++ / MFC c++ javascript php perl help

  • record Voice
    M meiyueh

    The 1st thing u hv to do is either create ur own wave class or get the function like what hv suggest by the guy who reply to u to do ur class. use msdn library to help you talking to ( do programming) the soundcard to buffer.u cn get msdn library online in vc++ developer centre or u jst buy the license or cd of it and can use offline. you can take the wavein.cpp i jst posted in jst nw as a reference too. The file is about how to get the signal frm sound card to buffer.and at the same time, could u also help me to ask others how to read the buffer to display or do signal processing later? if yes, i would be very aprreciate ur help. thx a lot.gd luck..

    C / C++ / MFC question performance help

  • read buffer problem
    M meiyueh

    my project is get the signal from pc mic to pc. below is one of the Cwavein class. i wan to read buffer to display graph and do signal processing. could anyone help me how to read the buffer? and i wan use 2dpushgraph that is in code project to display my graph. the statement is m_pushgraph.push(a,b),a is the magnitude in the buffer. b is how many line i wan display. could anyone tell me what magnitude should i put, how can i knw the magnitude(shw me example of programming), and should i put all the magnitude or jst push one magnitude and use looping for it and buffer will automatically get the data one by one in the array.thx for ur help. // WaveIn.cpp: implementation of the CWaveIn class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "xxx.h" #include "WaveIn.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// IMPLEMENT_DYNCREATE(CWaveIn, CWinThread) CWaveIn::CWaveIn(int iHertz) { memset(&m_WaveFormatEx,0x00,sizeof(m_WaveFormatEx)); // set the memory content to all zeros // configure the audio input record format m_WaveFormatEx.wFormatTag = WAVE_FORMAT_PCM; // Pulse Code Modulation m_WaveFormatEx.nChannels = 1; // mono m_WaveFormatEx.wBitsPerSample = 16; // 16-bit/sample m_WaveFormatEx.cbSize = 0; m_WaveFormatEx.nSamplesPerSec = iHertz; // sampling freq = 44.1kHz m_WaveFormatEx.nAvgBytesPerSec = m_WaveFormatEx.nSamplesPerSec*(m_WaveFormatEx.wBitsPerSample/8); m_WaveFormatEx.nBlockAlign = (m_WaveFormatEx.wBitsPerSample/8)*m_WaveFormatEx.nChannels; // initialize indicators m_bAudioIn = FALSE; m_bRecording = FALSE; // initialize pointers to NULL m_ptrWaveOut = NULL; m_ptrWaveFile = NULL; } CWaveIn::~CWaveIn() { } BOOL CWaveIn::InitInstance() { // TODO: perform any per-thread initializetion here return TRUE; } int CWaveIn::ExitInstance() { // TODO: perform any per-thread cleanup here return CWinThread::ExitInstance(); } //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// BEGIN_MESSAGE_MAP(CWaveIn, CWinThread) //{{AFX_MSG_MAP(CWaveIn) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAP ON_THREAD_MESSAGE(WM_WAVEI

    C / C++ / MFC data-structures help tutorial question c++

  • add two functions for a button
    M meiyueh

    is it i jst copy this code into the programming and no need right click the button and set its properties anymore? i'm newbie, hope you can help. thx.

    C / C++ / MFC help question

  • add two functions for a button
    M meiyueh

    i'm using dialog based application as my own gui. i'm facing problem in button. i want a button with two function. that means the button can resemble start recording and stop recording. what are the source code for that? thx a lot for your help.

    C / C++ / MFC help question

  • button in dialog based application
    M meiyueh

    is it after i set the button in the dialog based application manually, i still have to do programming to locate the button in a certain location in the dialog apllication? Thx a lot 4 help.

    C / C++ / MFC help question

  • dialog based application
    M meiyueh

    could i plot a real time signal n Spectrum in the dialog based application? Could anyone give me fast fourier transform implementation coding? i already have coding of how to detect the sound frm mic by using sound card in pc.by hw am i gng to transform the signal in analog into digital value(is it in ascii code) to do signal processing afterward? thx a lot for your help.

    C / C++ / MFC help tutorial question

  • gui problem
    M meiyueh

    Could i plot signal in the dialog box? Or it's more difficult to do it? I wan to choose mfc AppWizard(exe).i wan to display button and boxes on the gui.What type of application is suitable to create ? sdi, mdi or dialog ? Thx a lot for ur help. take care all.

    C / C++ / MFC help c++ question

  • build gui by using vc++ 6.0
    M meiyueh

    i'm fresh for vc++. Could anyone tell me where can learn the 1st steps and so on to build a gui? What book is easy to understand? thx a lot.god bless u all the time.:-D

    C / C++ / MFC c++ question learning

  • Programming of all types of visual c++
    M meiyueh

    There are many kind of visual c++. Got vc++ enterprise,.net,6.0,professional and so on. Is it the programming for all of the software is the same? my degree project is about sound recognition of coin.i will use pc microphone to detect coin dropping sound and i will use vc++ to interface with the pc sound card.moreover, in the gui in vc++, i'll do fft and artificial method to differentiate each kind of coins. i'm a beginner of programming. can anyone give some opinion what kind of vc++ is suitable for my project? thx a lot for ur help. may god bless u all.

    C / C++ / MFC c++ csharp help question learning

  • sound card libary
    M meiyueh

    i wan to interface the sound card in pc with the visual basic 2005 express edition, is it work?And where can i find the sound library before i start programming? i search for long and can't find it in any website. i wan use the visual basic 2005 express edition to do a digital signal processing project which related to memory pointer, it it work? Or other software is more suitable?thx for your help.

    Visual Basic performance help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups