-
EEight
Hi all!
I have access to a space with 8 speakers, they are in multiple rooms:
The gear (showing for 6 speakers)
I want to use pure data to control the volume of each room and to also select stereo or mono (or even try to play with 4.1 for ambisonics).
Here's what I have in mind for the patch:
ADC~ --- Gate EQ COMPRESSOR hip~ (remove DC) LIMITER Mixer VU meter --- (stereo, mono, 4.1?) --- DAC~ 1-2, 3-4, 5-6 with high pass (for channel using subwoofer) DAC 7-8 for subwoofer with dedicated low pass (built-in in amp but fine-tuning)
Questions:
- Am I forgetting something important in the chain?
- Is there a patch out there to do Room calibration?
- Speakers are pointing at each other in the first room, I had in mind to invert the phase (the cables) but maybe I can use pure data to control that too (not sure)?
@whale-av I recall a patch you uploaded on this forum (like a mixer patch). Would it be interesting for me to use part of it?
Thanks for any advice!
-
EEight
@y0g1 said:
Are you still able to compile it ?
Time flies... no, but checking this tutorial, maybe you should try to checkout a specific tag for:
git clone --recursive https://github.com/espressif/esp-adf.git
maybe trying with tag 2.4.1:
https://github.com/espressif/esp-adf/tagsAlso don't get your hype too high, I had a feeling it was a proof-of-concept.
Good luck -
EEight
@whale-av Should we change the anti-spam question or it is a lost cause?
"To send the sound to your sound card in pd, what object do you use (write it without the ~ and bracket)" -
EEight
It only took years, but I finally added storage on the server... so hopefully no more 502 Bad Gateway.
Cheers~ -
EEight
Hi all!
I had some time during vacations and I wanted to try running Miller's espd version. Here's a small tutorial.
The development board I bought: ESP32-LyraT > Mouser | Aliexpress
INSTALL ESP-IDF (IoT development framework)
mkdir ~/esp && cd ~/esp git clone -b v4.4.2 --recursive https://github.com/espressif/esp-idf.git cd esp-idf ./install.sh esp32
INSTALL ESP-ADF (audio development kit)
cd ~/esp && git clone --recursive https://github.com/espressif/esp-adf.git
SETUP ENV VAR
export ADF_PATH=~/esp/esp-adf && . ~/esp/esp-idf/export.sh
ESPD
download espd: http://msp.ucsd.edu/ideas/espd/
cd espd git clone https://github.com/pure-data/pure-data.git pd cd pd git checkout 05bf346fa32510fd191fe77de24b3ea1c481f5ff git apply ../patches/*.patch Edit main/espd.h put your wifi credentials and the IP of the computer that will control espd: #define CONFIG_ESP_WIFI_SSID "..." #define CONFIG_ESP_WIFI_PASSWORD "..." #define CONFIG_ESP_WIFI_SENDADDR "...." mv sdkconfig.lyrat sdkconfig idf.py build idf.py -p /dev/ttyUSB0 flash (hold boot and then press reset on lyrat) idf.py -p /dev/ttyUSB0 monitor (Ctrl+] to exit)
HOST
- open pd installed on (SENDADDR)
- open test-patch/host-patch.pd
If connected this message (ESPD: sendtcp: waiting for socket) will stop and you will see the mac address in the host patch.
1- click on [send pf begin-new poodle .<
2- click on [line 0, auto< to send the defined patch (esp-patch.pd)
3 - click [send pd end-new<
4 - connect headphone, play with [send f 440< and [send f 660<
Custom patch:
- Use mono [dac~ 1] only
- Add this to your patch:
- in host-patch.pd change [read your-patch< -> [text define patch] redo step 1 to 3
TODO
Would love to play more with the code, right now I am not able to load complex vanilla patch. Also using the AUX (or built-in microphone) would be awesome (but I'm wondering about the round-trip latency (would it be under 15ms)).
-
-
-
EEight
@lo94 Hi, I am using PD with an old Surface Pro 3 on linux. You can also use an external HDMI + usb touchscreen monitor.
PD is not really touchscreen friendly, what you are asking (toggling multiple notes (sequencer) with a single swipe) isn't possible without some hacking.
All the best