-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fluidsynth: error: Unknown integer parameter 'synth.sample-rate' #236
Comments
Aha! As per this Closed i.e.
is the fix. Unclear to me why this only shows up on the Mac and not Colab. 🤔 Feel free to close this Issue. |
Should we change this: pretty-midi/pretty_midi/fluidsynth.py Line 15 in 0ada945
|
What if you just multiplied the sample rate by 1.0 when calling fluidsynth itself? e.g. on line 60 synthesizer = fluidsynth.Synth(samplerate=fs*1.0) ? |
Better to call |
Hello there, this issue seems to be fixed on pyfluidsynth 1.3.3 now |
Hi Colin. I wonder if you might have any suggestions for the following.
I'm noticing an error on my Mac with new versions of
pyfluidsynth
,pretty-midi
andfluidsynth
, when I try to run the following codeThat code still works fine on Colab (e.g. in the Tensorflow RNN MIDI demo), but running on my Mac, I get:
On the Mac, I'm getting the error message with both
pyfluidsynth
versions 1.3.1 and 1.3.2.Any idea how one might fix this? Thanks.
Screenshot from my notebook.
![Screenshot 2023-11-03 at 6 12 50 PM](https://private-user-images.githubusercontent.com/13925685/280429927-46df1361-6b01-4c92-abe0-ddbc1622722d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2Nzk2NTcsIm5iZiI6MTcyNTY3OTM1NywicGF0aCI6Ii8xMzkyNTY4NS8yODA0Mjk5MjctNDZkZjEzNjEtNmIwMS00YzkyLWFiZTAtZGRiYzE2MjI3MjJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDAzMjIzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhMWExZjE0NzEzODkwZmRkZWU3MWM5ZTEyMGFlNzE0NDIxMWZiYjVkYjRkMTA4MzhkODBiODg0ZGUzMWE2ZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7LpSX17Wo9jUiqT9xNEt6yxp8RcVkXaFr-9BMiG-kHg)
The text was updated successfully, but these errors were encountered: