Les avertissements suivants se sont produits :
Warning [2] Undefined variable $unreadreports - Line: 33 - File: global.php(961) : eval()'d code PHP 8.2.20 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(961) : eval()'d code 33 errorHandler->error_callback
/global.php 961 eval
/showthread.php 28 require_once



Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Solution pour filtrage actif "logiciel" avec carte USB XMOS multicanal
#19
Voici le fichier de config :

Code :
## DEFAULT GENERAL SETTINGS ##
float_bits: 32;             # internal floating point precision
sampling_rate: 192000;       # sampling rate in Hz of audio interfaces
filter_length: 4096,16;      # length of filters
overflow_warnings: true;    # echo warnings to stderr if overflow occurs
show_progress: true;        # echo filtering progress to stderr
max_dither_table_size: 0;   # maximum size in bytes of precalculated dither
allow_poll_mode: false;     # allow use of input poll mode
modules_path: "/usr/local/bin/brutefir";   # extra path where to find BruteFIR modules
monitor_rate: true;        # monitor sample rate
powersave: true;           # pause filtering when input is zero
lock_memory: true;          # try to lock memory if realtime prio is set
safety_limit: 100;

## LOGIC ##

logic: "cli" { port: 3000; };

## COEFFS ##

coeff "leftwof" {
      filename: "/home/pi/brutefir_filters/left_LPF80Hz_96dbOct_192Khz32kTap.wav";
      format: "S24_4LE";
};

coeff "rightwof" {
      filename: "/home/pi/brutefir_filters/right_LPF80Hz_96dbOct_192Khz32kTap.wav";
      format: "S24_4LE";
};

coeff "leftmid" {
      filename: "/home/pi/brutefir_filters/left_LPF80Hz_HPF1k2Hz_96dbOct_192Khz32kTap.wav";
      format: "S24_4LE";
};

coeff "rightmid" {
      filename: "/home/pi/brutefir_filters/right_LPF80Hz_HPF1k2Hz_96dbOct_192Khz32kTap.wav";
      format: "S24_4LE";
};

coeff "lefttwet" {
      filename: "/home/pi/brutefir_filters/left_HPF1k2Hz_96dbOct_192Khz4kTap.wav";
      format: "S24_4LE";
};

coeff "righttwet" {
      filename: "/home/pi/brutefir_filters/right_HPF1k2Hz_96dbOct_192Khz4kTap.wav";
      format: "S24_4LE";
};

## INPUT, OUTPUT ##
input "left", "right" {
       device: "alsa" { device: "hw:CARD=USBStreamer,DEV=0";}; # ignore_xrun: true; };
       sample: "S32_LE";
       channels: 10/8,9;
};

#output "rsub", "lsub", "rlow", "llow", "rmid", "lmid", "rhigh", "lhigh", "rtoslink", "ltoslink" {
output "rlow", "llow", "rmid", "lmid", "rhigh", "lhigh" {
      device: "alsa" { device: "hw:CARD=USBStreamer,DEV=0";}; # ignore_xrun: true; };
      sample: "S32_LE";
      channels: 10/0,1,2,3,4,5;
      delay: 0,0,0,0,0,0;
      dither: false;
};

## FILTERS ##
filter "llowfilter" {
      from_inputs: "left"/0.5;
      to_outputs: "llow"/0;
      coeff: "leftwof";
};

filter "rlowfilter" {
      from_inputs: "right"/0.5;
      to_outputs: "rlow"/0;
      coeff: "rightwof";
};

filter "lmidfilter" {
      from_inputs: "left"/0.5;
      to_outputs: "lmid"/0;
      coeff: "leftmid";
};

filter "rmidfilter" {
     from_inputs: "right"/0.5;
     to_outputs: "rmid"/0;
     coeff: "rightmid";
};

filter "lhighfilter" {
     from_inputs: "left"/0.5;
     to_outputs: "lhigh"/0;
     coeff: "lefttwet";
};

filter "rhighfilter" {
     from_inputs: "right"/0.5;
     to_outputs: "rhigh"/0;
     coeff: "righttwet";
};

#filter "rtoslinkfilter" {
#      from_inputs: "right"/0.5;
#      to_outputs: "rtoslink"/0;
#      coeff: 1;
#};
#
#filter "ltoslinkfilter" {
#      from_inputs: "left"/0.5;
#      to_outputs: "ltoslink"/0;
#      coeff: 1;
#};


Tout les filtres ont été générés avec Rephase : Mono 24 Bit à 192KHz en .wav
[Image: 423794rePhase100.png]

J'oubliais...

Pour compiler brutefir il faut installer les packages suivant via la commande suivante :
Code :
sudo apt-get install libfftw3-dev flex libasound2-dev jack libjack0 libjack-dev
Enceintes: 3 voies DIY clos avec HPs Kartesian (double Sub185_vKI sur-mesures, Wom120_vMS, Twt30_vMS et son pavillon CnC alu)
Ampli: DIY 6 voies TDA7293 + alim smps 500w.
Pré+DSP+DAC: miniDSP Flex 8.
Sources: Yamaha CD-N500, Sanyo TP725UM
Répondre


Messages dans ce sujet
RE: Solution pour filtrage actif "logiciel" avec carte USB XMOS multicanal - par jtwildduck - 10-28-2016, 01:51 PM

Sujets apparemment similaires…
Sujet Auteur Réponses Affichages Dernier message
  carte USB ENGINEERED SA XU2S dematman 107 75,956 02-12-2025, 12:01 AM
Dernier message: tades
  Carte JCAT NETCARD XE VS Intel i350 V2 T2 VS Intel i350 V2 T4 jean-luc 0 628 01-19-2025, 06:32 PM
Dernier message: jean-luc
  Carte Mère SOtM - sMB-Q370 pour TARGET DIRETTA jean-luc 122 52,184 12-04-2024, 12:20 PM
Dernier message: bbill
  Projet alimentation linéaire carte Engineered E-reddock & Jcat Netcard Femto Fredouille40 6 3,429 12-19-2023, 06:42 PM
Dernier message: Fredouille40
  Adaptateur carte PCIe vers USB A PeterMan 0 1,185 10-23-2023, 09:37 PM
Dernier message: PeterMan

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)