Comments (3)
Solved! I forgot to set both the Windows playback devices and recording devices to 48Khz!
PS: is there a configuration file to set 44.1khz for Flex instead of 48khz? and a configuration file to set 512 or 256 latency instead of 1024 (without recompiling)?
from flexasio.
is there a configuration file to set 44.1khz for Flex instead of 48khz?
FlexASIO (more specifically, WASAPI Shared) uses the sample rate that your devices are set to. If you change both your input and output devices to 44.1 kHz, FlexASIO will use 44.1 kHz.
That said, from looking at your log I get the impression that it's Ableton that enforces the 48 kHz sample rate here; indeed, it never calls canSampleRate()
, it just sets the sample rate to 48 kHz directly without asking FlexASIO which sample rates it supports. That can mean one of two things: either it's a setting you need to change in Ableton itself (not FlexASIO), or it tries to negotiate the sample rate with the ASIO driver in a more "subtle" way (e.g. it expects setSampleRate()
calls to fail) which FlexASIO doesn't support.
If you really think it's FlexASIO's fault, then please open a separate issue that is specifically about sample rate negotiation between Ableton and FlexASIO, and I'll see if I can take a look. I could add a configuration knob to force FlexASIO into a specific sample rate, but I'd like to make sure that's really necessary first.
a configuration file to set 512 or 256 latency instead of 1024 (without recompiling)?
Again, this is something that the ASIO host application (here, Ableton) should be able to control. FlexASIO only "suggests" a preferred buffer size; the host application can decide to set it to something else. Ableton should allow you to change it somewhere in the settings. If it does not, then please file a separate issue to request a configuration knob for it.
from flexasio.
That said, from looking at your log I get the impression that it's Ableton that enforces the 48 kHz sample rate here; indeed, it never calls canSampleRate(), it just sets the sample rate to 48 kHz directly without asking FlexASIO which sample rates it supports. That can mean one of two things: either it's a setting you need to change in Ableton itself (not FlexASIO), or it tries to negotiate the sample rate with the ASIO driver in a more "subtle" way (e.g. it expects setSampleRate() calls to fail) which FlexASIO doesn't support.
True, the previous setting in Ableton was 48 Khz (with the previously-used audio playback device):
that's why it was then trying to use 48Khz when opening Flex.
So this issue is not really a big issue: one just has to set the right sample rate before selecting Flex.
If you really think it's FlexASIO's fault, then please open a separate issue that is specifically about sample rate negotiation between Ableton and FlexASIO, and I'll see if I can take a look. I could add a configuration knob to force FlexASIO into a specific sample rate, but I'd like to make sure that's really necessary first.
Yes, in a future "release" version, this could be useful, because the end user should never see "Failed to open the device Flex", so a clever sample rate negotiation could be useful. But for now, I think it's a minor issue, because we know how to solve it (just set the right sample rate before changing the device to Flex in Ableton).
I created 2 issues as you suggested in your previous message, and I close this one here:
from flexasio.
Related Issues (20)
- Problem after install Flexasio HOT 1
- Windows 10 AudioGraph API implementation HOT 1
- Support Aggregate devices HOT 1
- On Windows ARM, the installer does not install FlexASIO 64-bit
- Sampling errors on FLAC file HOT 3
- Dorico's VSTAudioEngine hangs in config watcher cleanup HOT 7
- Use-after-free bug in FlexASIO config watcher cleanup code
- Flex Asio not working with Focusrite 4i4 4th Gen (buffer and latency issues) HOT 1
- 6 bar delay HOT 2
- Failed to initialize with Behringer UMC202HD interface HOT 3
- wasapiExclusiveMode is not being saved/displayed properly HOT 1
- "Bit-perfect" better explanation
- Stream callbacks stop firing after a couple of hours HOT 20
- not enough asio output channels available. at least 2 channels are needed HOT 4
- FlexASIO.toml "File not found" HOT 3
- FlexASIO does not work well with Qobuz or my EF500 DAC/amp HOT 2
- Support with Dante Virtual Soundcard (DVS)? HOT 2
- [REQ] Switch to a GH-compliant license HOT 2
- FlexASIO opening issue. HOT 3
- FlexASIO no longer opening after changed settings - Ableton Live 12 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexasio.