49 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-3
votes
0
answers
103
views
Android NDK Crash in libomp.so at __kmpc_barrier with FluidSynth and OpenMP [closed]
I'm developing an Android app using the NDK that plays MIDI files with FluidSynth, integrated with a Java frontend.
The app crashes with a native crash in libomp.so at __kmpc_barrier, and I suspect it'...
0
votes
0
answers
159
views
AttributeError: module 'fluidsynth' has no attribute 'synth'
import fluidsynth
fs = fluidsynth.synth()
fs.start(driver = 'dsound') # use DirectSound driver
sfid = fs.sfload(r'C:\Users135697円\Documents\FluidR3_GM.sf2') # replace path as needed
fs....
1
vote
0
answers
100
views
Fluidsynth midi router example not working
I'm trying to make a C program record a MIDI keyboard using fluidsynth and it's router functions from the documentation website (https://www.fluidsynth.org/api/MIDIRouter.html but for some reason it ...
2
votes
1
answer
2k
views
How to fix module 'fluidsynth' has no attribute 'Synth'
What I have tried
I've installed pip install pyfluidsynth (installed 1.23.5) and pip install fluidsynth (0.2)
I followed the solution here, but it didn't work for me. I also think that this wouldn't ...
0
votes
1
answer
122
views
Why does autostart script on Linux not work
I got an auto start bash script, to start fluidsyth and aconnect command automatically after rebooting my linux system (RPI-3):
#!/bin/bash
(STOP=$((SECONDS+5))
until [[ $SECONDS -ge $STOP || $(ps -C ...
2
votes
1
answer
2k
views
How do you use midi2audio in Python with Windows?
I need to convert a midi file into .wav or .mp3 in Python to be able to play it in a Django web app. I came across midi2audio which seemed to solve just that, but it seems like it was made for Linux ...
0
votes
4
answers
2k
views
FluidSynth() output volume is too low
In my Python script, I am using FluidSynth to convert .mid files to .wav files:
fs = FluidSynth()
fs.midi_to_audio('myfile.mid', 'myfile.wav')
FluidSynth successfully converts myfile.mid to myfile....
0
votes
1
answer
1k
views
Can you export a .midi file with a sf2 sound font file in python using fluid synth?
Using fluidsynth, can you open a midi file with a soundfont (sf2) and export the file into a .wav or a mp3 or some sort of flattened audio file?
I know you can use the -T flag which seems to export ...
0
votes
2
answers
1k
views
How to change the bit rate of audio while converting from midi file to mp3 using ffmpeg/fluidsynth
I am trying to convert midi file to mp3 using fluidsynth and ffmpeg on Windows 10 OS.
fluidsynth -a alsa -T raw -F - "FluidR3Mono_GM.sf3" simple.mid | ffmpeg -ab 192k -f s32le -i simple....
0
votes
0
answers
689
views
ctypes.util find_library() couldn't find the .dylib
I want to use a python package called mingus, but it couldn't find the FluidSynth library. However, I have already installed fluidsynth using homebrew (I'm using macOS Catalina), and it sits in the ...
1
vote
2
answers
4k
views
ImportError for FluidSynth library
The aim of this code was to create a button using QPushButton, which would then create a sound using the Pyfluidsynth library. I've imported time and pyfluidsynth but I have also tried to import ...
0
votes
2
answers
838
views
PyGame change preset soundfont
How do I change the preset soundfonts for pygame or fluidsynth?
Im using Python 3.7.3, pygame 2.0.1, fluidsynth 1.1.11 to play Midi files. When I call pygame.mixer.music.load(<midi_filepath>), I ...
0
votes
1
answer
748
views
How to export a single midi channel to wav with fluidsynth?
I'm very new to the music tech so bear with me.
There 16 channels in a midi file. I'm trying to convert only 1 channel from a midi file to wav.
Here is how it works now:
extern "C" JNIEXPORT ...
1
vote
1
answer
697
views
Pygame keyboard event too slow
I've been trying to create a MIDI keyboard using my raspberry pi 4 and I'm trying to link my keyboard events with MIDI messages. The problem is the code runs very slowly on the raspberry pi and there ...
1
vote
0
answers
214
views
Python - OSError: [WinError 193] %1 is not a valid Win32 application when trying to use fluidsynth from mingus.midi
I am Working on Windows 10 with 64 Bit.
I want to use the mingus package for python in my jupyter notebook. But i have problems running the fluidsynth library.
I followed the instructions on this ...