/dports/audio/csound/csound-6.15.0/Opcodes/ |
H A D | ambicode1.c | 222 ksmps = sampleCount = CS_KSMPS; in abformenc_a() 749 uint32_t ksmps = sampleCount; in abformdec_a() local 836 tabout[ksmps+sampleIndex] in abformdec_a() 839 tabout[2*ksmps+sampleIndex] in abformdec_a() 842 tabout[3*ksmps+sampleIndex] in abformdec_a() 845 tabout[4*ksmps+sampleIndex] in abformdec_a() 875 tabout[ksmps+sampleIndex] in abformdec_a() 879 tabout[2*ksmps+sampleIndex] in abformdec_a() 883 tabout[3*ksmps+sampleIndex] in abformdec_a() 948 tabout[ksmps+sampleIndex] in abformdec_a() [all …]
|
H A D | eqfil.c | 58 i, ksmps = CS_KSMPS; in equ_process() local 73 ksmps -= early; in equ_process() 74 memset(&out[ksmps], '\0', early*sizeof(MYFLT)); in equ_process() 76 for (i=0; i < ksmps; i++){ in equ_process()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/audio/csound/tests/ |
H A D | csound_filter.rs | 26 ($ksmps:expr, $ichannels:expr, $ochannels:expr, $ins:expr, $out:expr) => { 51 $ksmps, $ichannels, $ochannels, $ins, $out 98 let ksmps: usize = 32; in csound_filter_eos() localVariable 158 samples_offset = in_samples % ksmps as u64; in csound_filter_eos() 181 let samples_at_eos = (EOS_NUM_BUFFERS * EOS_NUM_SAMPLES) % ksmps; in csound_filter_eos() 211 let ksmps: usize = UNDERFLOW_NUM_SAMPLES * 2; in csound_filter_underflow() localVariable 228 &CSD!(ksmps, num_channels, num_channels, "ain in", "out ain"), in csound_filter_underflow() 292 let ksmps = 4; in csound_filter_caps_negotiation() localVariable 326 &CSD!(ksmps, ichannels, ochannels, "ain, ain2 ins", "out ain"), in csound_filter_caps_negotiation() 372 let ksmps = 4; in csound_filter_caps_negotiation_fail() localVariable [all …]
|
/dports/audio/csoundqt/CsoundQt-0.9.8.1/src/Examples/FLOSS Manual Examples/03 Csound Language/ |
H A D | 03G06_UDO_setksmps.csd | 5 ksmps = 44100 ;very high because of printing 8 setksmps 4410 ;local ksmps is 1/10 of global ksmps 14 Faster ;print 10 times per second because of local ksmps
|
H A D | 03D10_Table_to_soundfile.csd | 8 ksmps = 32 39 kcnt = kcnt+ksmps; next value (e.g. 10 if ksmps=10) 43 if kcnt <= itablen-ksmps kgoto loop; go back as long there is something to do
|
/dports/audio/csound/csound-6.15.0/Opcodes/framebuffer/ |
H A D | OLABuffer.c | 52 self->ksmps = csound->GetKsmps(csound); in OLABuffer_initialise() 98 (self->readSampleIndex + self->ksmps) % self->overlapSamplesCount; in OLABuffer_process() 104 self->readSampleIndex, self->ksmps); in OLABuffer_process() 120 int32_t secondHalfCount = self->ksmps - firstHalfCount; in OLABuffer_process() 134 self->readSampleIndex, self->ksmps); in OLABuffer_process() 137 self->overlapSampleIndex += self->ksmps; in OLABuffer_process() 139 self->readSampleIndex += self->ksmps; in OLABuffer_process()
|
H A D | Framebuffer.c | 37 self->ksmps = csound->GetKsmps(csound); in Framebuffer_initialise() 68 self->writeIndex += self->ksmps; in Framebuffer_writeBuffer() 105 Framebuffer_writeBuffer(csound, self, self->inputArgument, self->ksmps); in Framebuffer_processAudioInFrameOut() 115 Framebuffer_readBuffer(csound, self, self->outputArgument, self->ksmps); in Framebuffer_processFrameInAudioOut()
|
/dports/audio/csound/csound-6.15.0/Opcodes/chua/ |
H A D | ChuaOscillator.cpp | 176 size_t ksmps; member in ChuasOscillatorCubic 214 ksmps = opds.insdshead->ksmps; in init() 241 uint32_t nsmps = opds.insdshead->ksmps; in kontrol() 267 for (size_t i = 0; i < ksmps; i++) { in kontrol() 450 size_t ksmps; member in ChuasOscillatorPiecewise 474 ksmps = opds.insdshead->ksmps; in init() 507 ksmps -= early; in kontrol() 508 memset(&I3[ksmps], '\0', early * sizeof(MYFLT)); in kontrol() 509 memset(&V1[ksmps], '\0', early * sizeof(MYFLT)); in kontrol() 510 memset(&V2[ksmps], '\0', early * sizeof(MYFLT)); in kontrol() [all …]
|
/dports/audio/csound/csound-6.15.0/iOS/Csound iOS Obj-C Examples/csound-iOS/headers/ |
H A D | OpcodeBase.hpp | 187 return ksmps(); in kperiodEnd() 190 uint32_t ksmps() const in ksmps() function in csound::OpcodeBase 192 return opds.insdshead->ksmps; in ksmps() 299 return ksmps(); in kperiodEnd() 302 uint32_t ksmps() const in ksmps() function in csound::OpcodeNoteoffBase 304 return opds.insdshead->ksmps; in ksmps()
|
/dports/audio/csound/csound-6.15.0/iOS/Csound iOS Swift Examples/Csound iOS SwiftExamples/csound-iOS/headers/ |
H A D | OpcodeBase.hpp | 187 return ksmps(); in kperiodEnd() 190 uint32_t ksmps() const in ksmps() function in csound::OpcodeBase 192 return opds.insdshead->ksmps; in ksmps() 299 return ksmps(); in kperiodEnd() 302 uint32_t ksmps() const in ksmps() function in csound::OpcodeNoteoffBase 304 return opds.insdshead->ksmps; in ksmps()
|
/dports/audio/csound/csound-6.15.0/include/ |
H A D | OpcodeBase.hpp | 187 return ksmps(); in kperiodEnd() 190 uint32_t ksmps() const in ksmps() function in csound::OpcodeBase 192 return opds.insdshead->ksmps; in ksmps() 307 return ksmps(); in kperiodEnd() 310 uint32_t ksmps() const in ksmps() function in csound::OpcodeNoteoffBase 312 return opds.insdshead->ksmps; in ksmps()
|
H A D | plugin.h | 315 nsmps(p->insdshead->ksmps - p->insdshead->ksmps_no_end), sig(s) { 317 std::fill(sig, sig + p->insdshead->ksmps, 0); 919 nsmps = insdshead->ksmps - early; in sa_offset() 927 nsmps = insdshead->ksmps - insdshead->ksmps_no_end; in nsmps_set() 947 MYFLT ksmps() { return insdshead->ksmps; } in ksmps() function 1032 nsmps = insdshead->ksmps - early; in sa_offset() 1047 nsmps = insdshead->ksmps - insdshead->ksmps_no_end; in nsmps_set() 1067 MYFLT ksmps() { return insdshead->ksmps; } in ksmps() function
|
/dports/audio/csound/csound-6.15.0/Opcodes/stk/ |
H A D | stkOpcodes.cpp | 156 size_t ksmps; member in STKInstrumentAdapter 180 ksmps = OpcodeBase<STKInstrumentAdapter<T>>::opds.insdshead->ksmps; in init() 246 for (size_t i = offset; i < ksmps; i++) { in kontrol() 251 for (size_t i = 0; i < ksmps; i++) { in kontrol() 285 size_t ksmps; member in STKInstrumentAdapter1 309 ksmps = OpcodeBase<STKInstrumentAdapter1<T>>::opds.insdshead->ksmps; in init() 375 for (size_t i = offset; i < ksmps; i++) { in kontrol() 380 for (size_t i = 0; i < ksmps; i++) { in kontrol()
|
/dports/audio/csound/csound-6.15.0/Opcodes/fluidOpcodes/ |
H A D | fluidOpcodes.cpp | 426 int32_t ksmps; member in FluidOut 434 ksmps = opds.insdshead->ksmps; in init() 446 ksmps -= early; in audio() 447 memset(&aLeftOut[ksmps], '\0', early * sizeof(MYFLT)); in audio() 448 memset(&aRightOut[ksmps], '\0', early * sizeof(MYFLT)); in audio() 450 for (frame = offset; frame < ksmps; frame++) { in audio() 470 int32_t ksmps; member in FluidAllOut 477 ksmps = opds.insdshead->ksmps; in init() 489 ksmps -= early; in audio() 490 memset(&aLeftOut[ksmps], '\0', early * sizeof(MYFLT)); in audio() [all …]
|
/dports/audio/csound/csound-6.15.0/tests/soak/ |
H A D | poisson.csd | 13 ksmps = 441 ;ksmps set deliberately high to have few k-periods per second 29 printk (ksmps/sr),kres ;prints every k-period
|
H A D | signum.csd | 13 ksmps = 10 24 a2 = sin(2 * a_pi * 1/ksmps * a1);
|
/dports/audio/csound/csound-6.15.0/Engine/ |
H A D | csound_orc_compile.c | 558 ksmps = uval; in create_instrument0() 590 kr = sr / ksmps; in create_instrument0() 592 sr = kr * ksmps; in create_instrument0() 599 ksmps); in create_instrument0() 607 FLOAT_COMPARE(ksmps, MYFLT2LRND(ksmps)))) { in create_instrument0() 611 ksmps = floor(ksmps); in create_instrument0() 612 kr = sr/ksmps; in create_instrument0() 615 ksmps); in create_instrument0() 623 csound->ksmps = ksmps; in create_instrument0() 689 csound->ksmps = in create_instrument0() [all …]
|
H A D | csound_standard_types.c | 41 memcpy(dest, src, sizeof(MYFLT) * ((CSOUND*)csound)->ksmps); in asig_copy_value() 156 int ksmps = cs->ksmps; in updateAsigMemBlock() local 157 var->memBlockSize = CS_FLOAT_ALIGN(ksmps * sizeof (MYFLT)); in updateAsigMemBlock() 191 int ksmps; in createAsig() local 201 ksmps = csound->ksmps; in createAsig() 205 var->memBlockSize = CS_FLOAT_ALIGN(ksmps * sizeof (MYFLT)); in createAsig()
|
/dports/audio/csound/csound-6.15.0/tests/commandline/ |
H A D | test27.csd | 6 ksmps=10 10 ksmps = 100
|
H A D | test28.csd | 6 ksmps=10 10 ksmps = 100
|
H A D | test29.csd | 6 ksmps=10 10 ksmps = 100
|
H A D | test30.csd | 6 ksmps=10 10 ksmps = 100
|
H A D | test43.csd | 6 ksmps=10 10 ksmps = 100
|
/dports/audio/csound/csound-6.15.0/Opcodes/hdf5/ |
H A D | HDF5IO.c | 279 self->ksmps = csound->GetKsmps(csound); in HDF5Write_initialise() 331 int32_t vectorSize = (int32_t)(self->ksmps - offset - early); in HDF5Write_writeAudioData() 337 dataset->datasetSize[0] += self->ksmps; in HDF5Write_writeAudioData() 584 dataset->chunkDimensions[0] = self->ksmps; in HDF5Write_newArrayDataset() 641 dataset->writeType == ARATE_VAR ? self->ksmps : 1; in HDF5Write_newScalarDataset() 746 self->ksmps = csound->GetKsmps(csound); in HDF5Read_initialise() 768 size_t offset, size_t ksmps) in HDF5Read_copySampleBufferToArray() argument 773 memcpy(&arrayData[ksmps * channel + offset], in HDF5Read_copySampleBufferToArray() 840 size_t vectorSize = (int32_t)(self->ksmps - offset - early); in HDF5Read_readAudioData() 870 if (vectorSize != self->ksmps) { in HDF5Read_readAudioData() [all …]
|
/dports/audio/csoundqt/CsoundQt-0.9.8.1/examples/Useful/ |
H A D | SF_Splitter.csd | 11 ksmps = 128; if you want to avoid that some samples without sound are added at the end of the sound… 18 ;as time resolution in csound is bound to ksmps, one control period must be added to avoid omitting… 19 p3 = (ksmps == 1 ? ilen : ilen + ksmps/sr) 102 ksmps = %d 125 }}, Sfil, ksmps, inchnls, "%s_%d%s", Sfil, inchnls, ibitform, "</CsInstruments>", ilen
|