예제 #1
0
파일: TpTz.cpp 프로젝트: alltom/taps
int
TpTz::Set(char* mess, float value){
	switch (FindMsg(mess)){

	case 21:
    SetParam((double)value,m_a1,m_a2,m_b1, m_b2);
	return 1;

	case 22:
	SetParam(m_a,(double)value,m_a2,m_b1, m_b2);
    return 1;

	case 23:
	SetParam(m_a,m_a1,(double)value,m_b1, m_b2);
	return 1;

	case 24:
	SetParam(m_a,m_a1,m_a2,(double)value, m_b2);
	return 1;

    case 25:
	SetParam(m_a,m_a1,m_a2,m_b1, (double)value);
	return 1;

	default:
    return Filter::Set(mess,value);
     
	}
 }
예제 #2
0
파일: PVBlur.cpp 프로젝트: alltom/taps
int PVBlur::Set(char* mess, float value){
	switch(FindMsg(mess)){   
	case 31:
		SetBlurTime(value);
		return 1;
	default:
		return SpecMult::Set(mess,value);
	}
	
}
예제 #3
0
파일: FFT.cpp 프로젝트: johnglover/simpl
int
FFT::Connect(const char* mess, void *input){
  switch(FindMsg(mess)){

  case 24:
    SetWindow((Table *) input);
    return 1;

  default:
    return SndObj::Connect(mess, input);

  }
}
예제 #4
0
파일: MidiMap.cpp 프로젝트: dskinner/sndobj
int
MidiMap::Connect(char* mess, void* input){

  switch (FindMsg(mess)){

  case 33:
    m_maptable = (Table *) input;
    return 1;

  default:
    return MidiIn::Connect(mess,input);
     
  }
}
예제 #5
0
파일: SndObj.cpp 프로젝트: alltom/taps
int
SndObj::Connect(char* mess, void *input){

    switch (FindMsg(mess)){

	case 3:
	m_input = (SndObj *) input;
    return 1;

	default:
    return 0;

	}
}
예제 #6
0
파일: IFGram.cpp 프로젝트: dskinner/sndobj
int
IFGram::Set(char* mess, float value){

  switch(FindMsg(mess)){

  case 22:
    SetFFTSize((int) value);
    return 1;
	
  default:
    return	PVA::Set(mess, value);

  }
}
예제 #7
0
파일: AdSyn.cpp 프로젝트: alltom/taps
int
AdSyn::Set(char* mess, float value){

	switch(FindMsg(mess)){

	case 31:
	SetPitch(value);
	return 1;
	
	default:
	return SinSyn::Set(mess, value);

	}
}
예제 #8
0
int
PVTransp::Connect(char* mess, void* input){

  switch(FindMsg(mess)){

  case 31:
    SetPitch(m_pitch, (SndObj*) input);
    return 1;    

  default:
    return SpecMult::Connect(mess, input);

  }

}
예제 #9
0
파일: Lookup.cpp 프로젝트: dskinner/sndobj
int
Lookup::Connect(char* mess, void* input){

  switch(FindMsg(mess)){

  case 24:
    m_ptable = (Table *) input;
    return 1;

  default:
    return SndObj::Connect(mess, input);

  }

}
예제 #10
0
파일: Osci.cpp 프로젝트: dskinner/sndobj
int
Osci::Connect(char* mess, void* input){

  switch (FindMsg(mess)){

  case 23:
    SetTable((Table *) input);
    return 1;

  default:
    return SndObj::Connect(mess,input);
     
  }

}
예제 #11
0
////////////////// OPERATIONS ////////////////////////////////////
int
PhOscili::Connect(char* mess, void* input){

  switch (FindMsg(mess)){

  case 23:
    m_inputphase = (SndObj *) input;
    return 1;

  default:
    return Oscil::Connect(mess,input);
     
  }

}
예제 #12
0
파일: Pan.cpp 프로젝트: alltom/taps
int
Pan::Set(char* mess, float value){

	switch(FindMsg(mess)){

	case 21:
	SetPan(value);
	return 1;

	default:
	return SndObj::Set(mess, value);

	}

}
예제 #13
0
파일: Tapi.cpp 프로젝트: dskinner/sndobj
//////////////////OPERATIONS //////////////////////
int
Tapi::Connect(char* mess, void* input) {

    switch (FindMsg(mess)) {

    case 41:
        SetDelayInput((SndObj *) input);
        return 1;

    default:
        return Tap::Connect(mess,input);

    }

}
예제 #14
0
파일: Phase.cpp 프로젝트: alltom/taps
int
Phase::Connect(char* mess, void* input){

	switch (FindMsg(mess)){

	case 21:
    m_input = (SndObj *) input;
	return 1;

	default:
    return SndObj::Connect(mess,input);
     
	}

}
예제 #15
0
int
PVFilter::Set(char* mess, float value){
	
  switch(FindMsg(mess)){
		
  case 41:
    SetAmount(value, m_interpobj);
    return 1;
		
  default:
    return SpecInterp::Set(mess, value);
		
  }
	
	
}
예제 #16
0
파일: PVMask.cpp 프로젝트: alltom/taps
int
PVMask::Set(char* mess, float value) {

    switch(FindMsg(mess)) {

    case 41:
        SetMaskGain(value, m_interpobj);
        return 1;

    default:
        return SpecInterp::Set(mess, value);

    }


}
예제 #17
0
파일: PVS.cpp 프로젝트: alltom/taps
int
PVS::Set(char* mess, float value){

	switch(FindMsg(mess)){

	case 22:
	SetFFTSize((int) value);
	return 1;

	case 23:
	SetHopSize((int) value);
	return 1;
	
	default:
	return	IFFT::Set(mess, value);

	}
}
예제 #18
0
파일: Mix.cpp 프로젝트: alltom/taps
int
Mixer::Connect(char* mess, void* input){

	switch (FindMsg(mess)){

	case 21:
    AddObj((SndObj *) input);
	return 1;

    case 22:
    DeleteObj((SndObj *) input);
	return 1;
	
	default:
    return SndObj::Connect(mess,input);
     
	}
}
예제 #19
0
파일: IFGram.cpp 프로젝트: dskinner/sndobj
int
IFGram::Connect(char* mess, void* input){

  int i;

  switch(FindMsg(mess)){

  case 24:
    SetWindow((Table *) input);
    for(i=0; i<m_fftsize; i++)
      m_diffwin[i] = m_table->Lookup(i) - m_table->Lookup(i+1);
    return 1;
	
  default:
    return	PVA::Connect(mess,input);

  }
}
예제 #20
0
파일: MidiMap.cpp 프로젝트: dskinner/sndobj
int
MidiMap::Set(char* mess, float value){

  switch (FindMsg(mess)){

  case 31:
    SetRange(value, m_max);
    return 1;

  case 32:
    SetRange(m_min, value);
    return 1;

  default:
    return MidiIn::Set(mess,value);
     
  }
}
예제 #21
0
파일: SndObj.cpp 프로젝트: johnglover/simpl
int
SndObj::Set(const char* mess, double value){

  switch (FindMsg(mess)){

  case 1:
    SetSr(value);
    return 1;

  case 2:
    SetVectorSize((int) value);
    return 1;

  default:
    return 0;

  }
}
예제 #22
0
파일: IADSR.cpp 프로젝트: dskinner/sndobj
////////////////// OPERATIONS ///////////////////////////////
int
IADSR::Set(char* mess, float value){

  switch (FindMsg(mess)){

  case 31:
    SetInit(value);
    return 1;

  case 32:
    SetEnd(value);
    return 1;

  default:
    return ADSR::Set(mess,value);
  }

}
예제 #23
0
파일: Fir.cpp 프로젝트: alltom/taps
int FIR::Set(char *mess, float value)
{

	switch(FindMsg(mess)){

    case 21:
	SetDelayTime(value);
	return 1;

	case 32:
	m_size = (int) value;
    return 1;
	
	default:
    return DelayLine::Set(mess, value);

    }

}
예제 #24
0
int
SpecMult::Connect(char* mess, void* input){

  switch(FindMsg(mess)){

  case 21:
    SetInput2((SndObj*) input);
    return 1;
    
  case 22:
    SetTable((Table*) input);
    return 1;

  default:
    return SndObj::Connect(mess, input);

  }


}
예제 #25
0
파일: PVMorph.cpp 프로젝트: dskinner/sndobj
int
PVMorph::Connect(char* mess, void* input){

  switch(FindMsg(mess)){

  case 41:
    SetFreqMorph(m_offset, (SndObj*) input);
    return 1;

  case 42:
    SetAmpMorph(m_offset2, (SndObj*) input);
    return 1;

  default:
    return SpecInterp::Connect(mess, input);

  }


}
예제 #26
0
파일: Phase.cpp 프로젝트: alltom/taps
int 
Phase::Set(char* mess, float value){

	switch (FindMsg(mess)){

	case 21:
    SetFreq(value);
	return 1;

	case 22:
	SetPhase(value);
	return 1;

	default:
    return SndObj::Set(mess,value);
     
	}


}
예제 #27
0
파일: Pitch.cpp 프로젝트: alltom/taps
////////////////////OPERATIONS////////////////////
int
Pitch::Set(char* mess, float value){

	switch (FindMsg(mess)){

	case 31:
    SetPitch(value);
	return 1;

	case 32:
	SetPitch((int) value);
    return 1;

	default:
    return DelayLine::Set(mess,value);
     
	}


}
예제 #28
0
int
PVTransp::Set(char* mess, float value){

  switch(FindMsg(mess)){

  case 31:
    SetPitch(value, m_input2);
    return 1;  
	
  case 32:
    SetMode((int)value);
    return 1;

  default:
    return SpecMult::Set(mess, value);

  }


}
예제 #29
0
파일: HiPass.cpp 프로젝트: alltom/taps
int
HiPass::Set(char* mess, float value){

	switch (FindMsg(mess)){

	case 21:
    SetFreq(value);
	return 1;

    case 23:
	SetSr(value);
	return 1;

	default:
    return SndObj::Set(mess,value);
     
	}


}
예제 #30
0
파일: DelayLine.cpp 프로젝트: alltom/taps
int 
DelayLine::Set(char* mess, float value){

	switch (FindMsg(mess)){

	case 21:
    SetDelayTime(value);
	return 1;

	case 1:
    SetSr(value);
	return 1;	

	default:
    return SndObj::Set(mess,value);
     
	}


}