Csound Csound-dev Csound-tekno Search About

[Csnd] OSC receive rates and lamps

Date2022-02-17 11:36
FromAndreas Bergsland
Subject[Csnd] OSC receive rates and lamps

Hi

I have a little problem understanding how ksmps affects the receive rates for OSClisten. I am using an IMU sensor operating at 400Hz and sending OSC at the same frequency.

When I am using a ksmps =  64 everything seems to work at the correct rate, but at ksmps = 32  and lower the rate in Csound suddenly drops to about 80Hz.

Why is this happening? And what would the optimal settings be?

I have been testing with different -b and -B settings, but they have not seemed to affect the rate. When testing I have been converting to audio rate with upsamp and writing to sound file with fout.

Best, Andreas

 

-- 

Andreas Bergsland

 

Associate professor - førsteamanuensis

Music Technology Programme – Musikkteknologi

Department of Music - Institutt for musikk

Olavskvartalet

NTNU (Norwegian University of Science and Technology)

7491 Trondheim, NORWAY

 

e-mail: andreas.bergsland@ntnu.no

Office phone (Skype for business):+47 7359 0096

Mobil: +47 4566 3316

Zoom: https://NTNU.zoom.us/my/andreas.bergsland

Web: http://folk.ntnu.no/andbe

VIBRA-project: https://www.vibra.no/