Hi, i was wondering if it’s possible to add the recorded audio folder (maybe inside library section) for grabbing recordings directly from webconf instead of manipulating ftp clients…
Hi @mheidt!
Recording directly to the SD card is not recommended, as it could easily end with a corrupted SD card if the systems crashes or if it’s unplugged while recording. The recording system will detect if an USB memory-stick is plugged and will try to use it for recording. If it’s not present, it will use this folder:
/zynthian/zynthian-my-data/capture
You can take a look to this script for better understanding of how it works:
/zynthian/zynthian-sys/sbin/jack_capture.sh
Regards,
I didn’t say the word “SD card”…I swear … internal memory it’s enough for quick inspiration recordings. I agree. My suggestion was just related to local folder…
could be useful a function “delete recordings” on this webconf section, over the ability to download them
but fernando did for a reason.
He knows me…I didn’t kmow that an usb stick would be considered.
Furthermore i will implement the option to delete files.
Ahahah… Conspiracy
Sorry guys!
Zynthian needs a good user’s guide, i know that.
A guide with detailed description of every feature, screenshot captures of every menu, and some video… It’s a pitty that we have’t a decent one, and it’s my fault. Y prefer developing over writing documentation
But i don’t forget it and i hope it will change very soon
Regards,
What about Glenn?
Should it only be online or locally stored as well?
So that you can read it (linked from webconf), when zynthian is not online.
Glenn has made a HUGE work in the wiki, documenting many features of Zynthian, including the UI and webconf. It’s a great base, but it’s not complete and it’s my fault because i have not given enough feedback to him. I must dedicate some time to revise carefully the current documentation, fix and complete. But i’m lazy with this kind of tasks … and it should change …
Regards,
I think that on-line is OK, but should be available in PDF format too. Perhaps we could have a “compact user’s guide” specially thought for printing. Currently the “workflow” diagrams are very well suited for that.
Regards,
I feel your pain
sorry guys, if clicking download on library/captures section, returns an error 500-internal server error…
i cannot confirm this.
On both my zynthian it works. One doesn’t have captures, the other one one internal capture.
What is your setup? Could you send us a screenshot of the webconf-dashboard, so that we see the git hashcodes?
do you have an usb stick attached?
I need the log.
systemctl stop zynthian-webconf
and start again:
cd /zynthian/zynthian-webconf/
./zynthian-webconf.sh
now call the page again and post the the message pls.
ok, there is:
DEBUG:root:CONFIG VAR: ZYNTHIAN_RECIPE_DIR=/zynthian/zynthian-sys/scripts/recipes
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_FONT_SIZE=10
DEBUG:root:CONFIG VAR: ZYNTHIAN_MY_PLUGINS_DIR=/zynthian/zynthian-my-plugins
DEBUG:root:CONFIG VAR: DISPLAY_HEIGHT=
DEBUG:root:CONFIG VAR: ZYNTHIAN_SYS_DIR=/zynthian/zynthian-sys
DEBUG:root:CONFIG VAR: ZYNTHAIN_SETUP_APT_CLEAN=TRUE
DEBUG:root:CONFIG VAR: ZYNTHIAN_DIR=/zynthian
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_SWITCHES=
DEBUG:root:CONFIG VAR: ZYNTHIAN_TOUCHOSC=1
DEBUG:root:CONFIG VAR: ZYNTHIAN_AUBIONOTES_OPTIONS=-O complex -t 0.5 -s -88 -p yinfft -l 0.5
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_ENABLE_CURSOR=1
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_TX=#ffffff
DEBUG:root:CONFIG VAR: ZYNTHIAN_SCRIPT_MIDI_PROFILE=/zynthian/zynthian-my-data/midi-profiles/default.sh
DEBUG:root:CONFIG VAR: ZYNTHIAN_AUBIONOTES=1
DEBUG:root:CONFIG VAR: CXXFLAGS=-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mvectorize-with-neon-quad
DEBUG:root:CONFIG VAR: ZYNTHIAN_DATA_DIR=/zynthian/zynthian-data
DEBUG:root:CONFIG VAR: DISPLAY_NAME=PiTFT 2.8 Resistive
DEBUG:root:CONFIG VAR: DISPLAY_CONFIG=dtoverlay=pitft28-resistive,rotate=90,speed=32000000,fps=20
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_ENCODER_B=
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_FONT_FAMILY=Audiowide
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_ENCODER_A=
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_PANEL_BG=#3a424d
DEBUG:root:CONFIG VAR: SOUNDCARD_CONFIG=dtoverlay=hifiberry-dacplus
DEBUG:root:CONFIG VAR: LV2_PATH=/zynthian/zynthian-plugins/lv2:/zynthian/zynthian-my-plugins/lv2:/zynthian/zynthian-my-data/presets/lv2:/zynthian/zynthian-my-data/presets/lv2
DEBUG:root:CONFIG VAR: ZYNTHIAN_PLUGINS_DIR=/zynthian/zynthian-plugins
DEBUG:root:CONFIG VAR: ZYNTHIAN_MY_DATA_DIR=/zynthian/zynthian-my-data
DEBUG:root:CONFIG VAR: RBPI_VERSION=/sys/firmware/devicetree/base/model
DEBUG:root:CONFIG VAR: ZYNTHIAN_SW_DIR=/zynthian/zynthian-sw
DEBUG:root:CONFIG VAR: CFLAGS=-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mvectorize-with-neon-quad
DEBUG:root:CONFIG VAR: JACKD_OPTIONS=-P 70 -t 2000 -s -d alsa -d hw:0 -r 44100 -p 256 -n 2 -X raw
DEBUG:root:CONFIG VAR: MACHINE_HW_NAME=armv7l
DEBUG:root:CONFIG VAR: FRAMEBUFFER=/dev/fb1
DEBUG:root:CONFIG VAR: ZYNTHIAN_CONFIG_DIR=/zynthian/config
DEBUG:root:CONFIG VAR: SOUNDCARD_NAME=HifiBerry DAC+
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_DIR=/zynthian/zynthian-ui
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_ON=#ff0000
DEBUG:root:CONFIG VAR: ZYNTHIAN_PLUGINS_SRC_DIR=/zynthian/zynthian-sw/plugins
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_LAYOUT=PROTOTYPE-4
DEBUG:root:CONFIG VAR: DISPLAY_WIDTH=
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_BG=#000000
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_FINE_TUNING=440
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_NETWORK_OUT_CHANNEL=02
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_PROGRAM_CHANGE_DOWN=C#00
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_FILTER_RULES=
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_PROGRAM_CHANGE_UP=C#7F
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_CHANNEL=16
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_BANK_CHANGE_DOWN=B#0000
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_NETWORK_ENABLED=0
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_BANK_CHANGE_CCNUM=32
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_NETWORK_IN_CHANNEL=02
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_PRESET_PRELOAD_NOTEON=1
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_PROGRAM_CHANGE_TYPE=Roland
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_PORTS=DISABLED_IN=\nENABLED_OUT=MIDI_out
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_BANK_CHANGE_UP=B#007F
INFO:tornado.access:200 GET / (192.168.1.139) 259.74ms
INFO:tornado.access:200 GET /img/favicon_196.png (192.168.1.139) 20.66ms
DEBUG:root:CONFIG VAR: ZYNTHIAN_RECIPE_DIR=/zynthian/zynthian-sys/scripts/recipes
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_FONT_SIZE=10
DEBUG:root:CONFIG VAR: ZYNTHIAN_MY_PLUGINS_DIR=/zynthian/zynthian-my-plugins
DEBUG:root:CONFIG VAR: DISPLAY_HEIGHT=
DEBUG:root:CONFIG VAR: ZYNTHIAN_SYS_DIR=/zynthian/zynthian-sys
DEBUG:root:CONFIG VAR: ZYNTHAIN_SETUP_APT_CLEAN=TRUE
DEBUG:root:CONFIG VAR: ZYNTHIAN_DIR=/zynthian
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_SWITCHES=
DEBUG:root:CONFIG VAR: ZYNTHIAN_TOUCHOSC=1
DEBUG:root:CONFIG VAR: ZYNTHIAN_AUBIONOTES_OPTIONS=-O complex -t 0.5 -s -88 -p yinfft -l 0.5
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_ENABLE_CURSOR=1
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_TX=#ffffff
DEBUG:root:CONFIG VAR: ZYNTHIAN_SCRIPT_MIDI_PROFILE=/zynthian/zynthian-my-data/midi-profiles/default.sh
DEBUG:root:CONFIG VAR: ZYNTHIAN_AUBIONOTES=1
DEBUG:root:CONFIG VAR: CXXFLAGS=-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mvectorize-with-neon-quad
DEBUG:root:CONFIG VAR: ZYNTHIAN_DATA_DIR=/zynthian/zynthian-data
DEBUG:root:CONFIG VAR: DISPLAY_NAME=PiTFT 2.8 Resistive
DEBUG:root:CONFIG VAR: DISPLAY_CONFIG=dtoverlay=pitft28-resistive,rotate=90,speed=32000000,fps=20
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_ENCODER_B=
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_FONT_FAMILY=Audiowide
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_ENCODER_A=
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_PANEL_BG=#3a424d
DEBUG:root:CONFIG VAR: SOUNDCARD_CONFIG=dtoverlay=hifiberry-dacplus
DEBUG:root:CONFIG VAR: LV2_PATH=/zynthian/zynthian-plugins/lv2:/zynthian/zynthian-my-plugins/lv2:/zynthian/zynthian-my-data/presets/lv2:/zynthian/zynthian-my-data/presets/lv2
DEBUG:root:CONFIG VAR: ZYNTHIAN_PLUGINS_DIR=/zynthian/zynthian-plugins
DEBUG:root:CONFIG VAR: ZYNTHIAN_MY_DATA_DIR=/zynthian/zynthian-my-data
DEBUG:root:CONFIG VAR: RBPI_VERSION=/sys/firmware/devicetree/base/model
DEBUG:root:CONFIG VAR: ZYNTHIAN_SW_DIR=/zynthian/zynthian-sw
DEBUG:root:CONFIG VAR: CFLAGS=-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mvectorize-with-neon-quad
DEBUG:root:CONFIG VAR: JACKD_OPTIONS=-P 70 -t 2000 -s -d alsa -d hw:0 -r 44100 -p 256 -n 2 -X raw
DEBUG:root:CONFIG VAR: MACHINE_HW_NAME=armv7l
DEBUG:root:CONFIG VAR: FRAMEBUFFER=/dev/fb1
DEBUG:root:CONFIG VAR: ZYNTHIAN_CONFIG_DIR=/zynthian/config
DEBUG:root:CONFIG VAR: SOUNDCARD_NAME=HifiBerry DAC+
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_DIR=/zynthian/zynthian-ui
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_ON=#ff0000
DEBUG:root:CONFIG VAR: ZYNTHIAN_PLUGINS_SRC_DIR=/zynthian/zynthian-sw/plugins
DEBUG:root:CONFIG VAR: ZYNTHIAN_WIRING_LAYOUT=PROTOTYPE-4
DEBUG:root:CONFIG VAR: DISPLAY_WIDTH=
DEBUG:root:CONFIG VAR: ZYNTHIAN_UI_COLOR_BG=#000000
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_FINE_TUNING=440
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_NETWORK_OUT_CHANNEL=02
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_PROGRAM_CHANGE_DOWN=C#00
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_FILTER_RULES=
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_PROGRAM_CHANGE_UP=C#7F
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_CHANNEL=16
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_BANK_CHANGE_DOWN=B#0000
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_NETWORK_ENABLED=0
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_BANK_CHANGE_CCNUM=32
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_NETWORK_IN_CHANNEL=02
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_PRESET_PRELOAD_NOTEON=1
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_PROGRAM_CHANGE_TYPE=Roland
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_PORTS=DISABLED_IN=\nENABLED_OUT=MIDI_out
DEBUG:root:CONFIG VAR: ZYNTHIAN_MIDI_MASTER_BANK_CHANGE_UP=B#007F
INFO:tornado.access:200 GET / (192.168.1.139) 259.74ms
INFO:tornado.access:200 GET /img/favicon_196.png (192.168.1.139) 20.66ms
That doesn’t show an error
sorry… i understood just now… you obviously want the log while i enter download captured
this is:
INFO:root:/media/usb0 not found
INFO:tornado.access:200 GET /api/lib-captures (192.168.1.139) 68.60ms
INFO:tornado.access:200 GET /img/favicon_196.png (192.168.1.139) 42.22ms
ERROR:tornado.application:Uncaught exception POST /api/lib-captures (192.168.1.139)
HTTPServerRequest(protocol='http', host='192.168.1.174', method='POST', uri='/api/lib-captures', version='HTTP/1.1', remote_ip='192.168.1.139', headers={'Origin': 'http://192.168.1.174', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundaryhPvNpaTMfWO3WuhU', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36', 'Referer': 'http://192.168.1.174/api/lib-captures', 'Cookie': 'user="2|1:0|10:1521668862|4:user|8:cm9vdA==|b185b8233e8d87484968164696b64afe429502aebdbb3996d835bf5c8990dcf8"', 'Connection': 'keep-alive', 'Content-Length': '690', 'Accept-Language': 'en-US,en;q=0.9,it;q=0.8,de;q=0.7', 'Upgrade-Insecure-Requests': '1', 'Host': '192.168.1.174', 'Cache-Control': 'max-age=0', 'Dnt': '1', 'Accept-Encoding': 'gzip, deflate'})
Traceback (most recent call last):
File "/zynthian/zynthian-webconf/lib/captures_config_handler.py", line 137, in do_download
data = f.read(4096)
File "/usr/lib/python3.4/codecs.py", line 313, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 5: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1346, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/zynthian/zynthian-webconf/lib/captures_config_handler.py", line 96, in post
}[action]()
File "/zynthian/zynthian-webconf/lib/captures_config_handler.py", line 95, in <lambda>
'DOWNLOAD': lambda: self.do_download()
File "/zynthian/zynthian-webconf/lib/captures_config_handler.py", line 143, in do_download
self.write(json_encode({'data': exc}))
NameError: name 'json_encode' is not defined
ERROR:tornado.access:500 POST /api/lib-captures (192.168.1.139) 33.64ms
INFO:tornado.access:304 GET /favicon.ico (192.168.1.139) 6.22ms
ah, sorry. I didn’t read, that you pressed the download button.
it’s fixed now.