0
試圖初始化fluidsynth當我嘗試播放MIDI從一個樹莓派我的Python程序的聲音,但是,它errrors:pyfluidsynth上樹莓派錯運行
>>> import fluidsynth
>>> import time
>>> fs = fluidsynth.Synth()
>>> fs.start()
引起以下錯誤:
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot lock down 82278944 byte memory area (Cannot allocate memory)
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
fluidsynth: error: Failed to connect to Jack server.
我想最後的消息可以通過啓動傑克服務器是固定的,但我不能修復
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
錯誤
任何人都知道如何?
我無法從命令行獲取fluidsynth的工作。你知道如何改變在Python中的音頻驅動程序設置? – holmeswatson
不行。試試'fluidsynth -a alsa -m alsa_seq'。 –
啊在python中:fs.start(driver ='alsa') – holmeswatson