Hi, hoping you’re having a good day (=
I was wondering if any of you know if there’s a way to configure the sample rate from inside Sonic Pi, because it isn’t implementing the preferences from SuperCollider which are:
(
s.doWhenBooted({
s.sync;
o = Server.default.options;
o.inDevice_("ASIO : MOTU M Series");
o.outDevice_("ASIO : MOTU M Series");
s.options.numInputBusChannels = 8 ;
s.options.numOutputBusChannels = 4;
o.sampleRate_("48000");
s.sync;
Server.local.options.memSize = 2.pow(20);
Server.internal.options.memSize = 2.pow(20);
Server.default.reboot;
s.sync;
}););
when I run:
puts scsynth_info
Sonic Pi dump:
{run: 1, time: 0.0}
└─ (map sample_rate: 44100.0,
sample_dur: 2.2675736545352265e-05,
radians_per_sample: 0.00014247585204429924,
control_rate: 689.0625,
control_dur: 0.001451247138902545,
subsample_offset: 0.0,
num_output_busses: 16.0,
num_input_busses: 16.0,
num_audio_busses: 1024.0,
num_control_busses: 16384.0,
num_buffers: 4096.0)
So what I want is to change the sample rate, but I haven’t had any success.
Running on Windows 10 version 22H2
Thank you in advance, looking forward to hearing from you!