defaultxr / bdef

Buffer definition; audio buffer abstraction for sound synthesis systems.
MIT License
13 stars 2 forks source link

Set mono buffer as default? #6

Open kflak opened 1 month ago

kflak commented 1 month ago

Hi,

Thanks for yet another cool tool :-) This one builds fine on my system, although I haven't battle-tested it yet. I was wondering if it is possible to set mono loading as the default behavior? I almost always use mono files for my work, so it would be convenient for me to set this as the default mode, instead of converting them to stereo, or having to specify num-channels for each buffer.

defaultxr commented 1 month ago

Hi! Glad to hear it's useful :) Yes, it's possible to set mono as default; to do so, just run this:

(setf bdef:*bdef-default-num-channels* 1)