Erro ao usar fluidsynth

0

Eu instalei o fluidsynth seguindo as instruções aqui: link

... que foram apenas sudo apt-get install fluidsynth

Mas receba o seguinte erro quando tento executá-lo e não consigo acessá-lo a partir do python:

$ fluidsynth
FluidSynth version 1.1.5
Copyright (C) 2000-2011 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of E-mu Systems, Inc.

Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 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
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
JACK server starting in realtime mode with priority 10
Cannot lock down 82246176 byte memory area (Cannot allocate memory)
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Cannot use real-time scheduling (RR/10)(1: Operation not permitted)
AcquireSelfRealTime error
Cannot lock down 82246176 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
Type 'help' for help topics.
    
por Mittenchops 16.11.2013 / 19:30

1 resposta

0

A permissão em tempo real permitiria que o Jack se configurasse para uma prioridade de agendamento mais alta e impedisse a troca de memória. No entanto, Jack também é executado sem essas configurações.

Se você quer apenas uma reprodução simples, você deve configurar o fluidsynth para usar o ALSA.

    
por CL. 17.11.2013 / 00:17