-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration
miunau edited this page Aug 8, 2021
·
8 revisions
You can configure your WhateverDSP project using a config.ini
in your root. If you do not provide one, the default one will be used:
[modules]
usb = true
midi = true
[audio]
sample_rate = 48000 # Available options are 44100, 45000, 48000 and 50000
block_size = 16
usb = true
[audio_usb]
interface_name = "USB Audio Interface"
sample_format = s24 # Available options are f32, s24 and s16
input = true
output = true
in_pos = pre
out_pos = post
[usb]
vid = 0xDEAD
pid = 0xC0DE
device_version = 0x0100
vendor_name = "NLS"
product_name = "WhateverDSP Dev Board"
[midi]
uart = true
usb = true
[midi_usb]
interface_name = "USB MIDI Interface"
You can change any or all of the variables. The .ini file will get turned into a config.h
header file when you compile.