Re: implementing loudspeaker crossovers using Sox + LADSPA plugins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Curiosity got the better of me and I ran a couple more tests.

Conclusions:
1) "-t alsa hw:0,0" works fine for 4 channel output - no ALSA plug needed
(though it doesn't hurt).
2) Adding 'delay' to each process seems seamless.  How much delay? 
Increments of 8192 samples sound darn close...  Note that very little
competition for CPU is anticipated because the Beaglebone Black is a
dedicated music player.

Question:  How would one precisely find the size of the delay added by each
of the first 3 SoX filter processes?

What is playing now:

chrt -f 45 sox -M \
 '| sox -t alsa dsnoop:1,0 -p remix 1v1 ladspa ACDf 22 1 0 640 0.707 0 0
delay 24576s' \
 '| sox -t alsa dsnoop:1,0 -p remix 1v1 ladspa ACDf 21 1 0 640 0.707 0 0
delay 16384s' \
 '| sox -t alsa dsnoop:1,0 -p remix 2v1 ladspa ACDf 22 1 0 640 0.707 0 0
delay 8192s' \
 '| sox -t alsa dsnoop:1,0 -p remix 2v1 ladspa ACDf 21 1 0 640 0.707 0 0' \
 -t alsa hw:0,0

'top' for the above command:

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                                            
  709 root     -46   0    8752   5040   4072 S  3.6  1.0   0:43.95 sox                                                                                                
  711 root     -46   0    8784   4880   3880 S  3.6  1.0   0:47.52 sox                                                                                                
  713 root     -46   0    8816   4980   3948 S  3.6  1.0   0:46.96 sox                                                                                                
  707 root     -46   0    8624   4864   3948 S  3.3  1.0   0:39.44 sox                                                                                                
  705 root     -46   0    7396   3840   3120 S  3.0  0.8   0:34.05 sox        



--
View this message in context: http://sox.10957.n7.nabble.com/implementing-loudspeaker-crossovers-using-Sox-LADSPA-plugins-tp5464p5722.html
Sent from the SoX mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux