Questions tagged [soundfont]

SoundFont is a brand name that collectively refers to a file format and associated technology that uses sample-based synthesis to play MIDI files.

43 questions
2
votes
1 answer

How I can record a stream of MIDI (soundfonts, sf2 extention) to a WAV/PCM-16/MP3 (other audio format) file?

In flutter/dart, How I can record a stream of MIDI (soundfonts, sf2 extention) to a WAV/PCM-16/MP3 (other audio format) file? In general, I'm trying to record the user selected notes (which run every X time by using stream mechanism). => And I would…
AIX
  • 61
  • 2
2
votes
0 answers

Audiokit based apps can't handle some popular soundfonts

I am trying to build a piano app with AK sdk. I have noticed my app, and as well as other AK based apps have trouble handle some popular sf2 files, such as the grand piano in the following preset which works fine in non AK based synthesizer…
FunHarmony
  • 21
  • 1
2
votes
0 answers

AKAppleSampler Change Soundfont Preset

Soundfonts can be very useful in some cases but seem to have some limitations. Surprisingly there seems to be no method exposed in AudioKit that allows to just change the preset of an already loaded soundfont which would of course be the most common…
caxix
  • 1,085
  • 1
  • 13
  • 25
2
votes
1 answer

Soundfonts play MIDI file without decay

I've been building a music notation application in Flask. On the backend I'm using Midiutil to generate midi files and Midi.js on the front end to play the files. I recorded and built my soundfont using Polyphone and converted from sf2 to JS with…
Mark Berry
  • 91
  • 9
2
votes
1 answer

Trouble replacing soundfont in Java - old soundfont still remains

I am trying to replace the default soundfont of a MIDI file with my own soundfont; however, the new soundfont plays on top of the old one rather than flat-out replacing the old one. My code: Synthesizer synthesizer =…
Anon10W1z
  • 167
  • 10
2
votes
1 answer

AVAudioUnitSampler Error loadSoundBankAtURL -> Unable to find patch 0 bank 0x0/0

Loading a soundfont is failing with 'Unable to find patch 0 bank 0x0/0' The URL to the soundfont appears correct when looking at the full resulting path. AVAudioUnitSampler inherits from AVAudioUnitMidiInstrument AVAudioUnitSampler does not have an…
robuch
  • 51
  • 7
2
votes
1 answer

Does the ChucK language support SoundFonts?

I'm starting program that will work with music files, mostly MIDI. I heard about the ChucK programming language, and even found a free course about it, and I think it fits my needs. I will have to use SoundFonts to customize and enhance the MIDI…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
2
votes
0 answers

Can we create our own composition using Soundfont and JFugue?

Can we create our own composition using Soundfont? I am using Tabla Soundfont along with JFugue to create the new composition and play it. But after loading the instruments from the Soundbank the program still plays the default sound of Piano.How to…
SubodhD
  • 306
  • 5
  • 16
2
votes
1 answer

Map MIDI notes to waves files?

I'm using NAudio to play MIDI files in my .NET project. I want to play some MIDI tracks (drum loops particularly) so each sound maps to a certain wav or mp3 file. Is that possible? I'm new to MIDI development, I just heard of the idea of…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
1
vote
0 answers

MusicXML not affecting MIDI or playback

EDIT: Added complete example at the bottom, for testing (non-working, small but complete). At the top of a MusicXML file, you can define MIDI instruments with IDs, Channel, and Program information as follows (see this w3.org page for a full…
ultraGentle
  • 5,084
  • 1
  • 19
  • 45
1
vote
0 answers

CSound breath control and soundfont

Using CSound I'm trying to change the volume of a note played by a soundfont "dynamically", i.e like if you were playing the trumpet and blowing stronger and stronger while playing the same note. I believe this would be done via the breath…
tienow
  • 171
  • 12
1
vote
1 answer

Is there a way to use custom soundfonts/soundbanks with winmm?

Is there a way to use custom soundfonts/soundbanks while playing MIDI files with winmm.dll or do I have to use something else to do that? (I'm trying to do it in FASM).
fasm14
  • 43
  • 5
1
vote
1 answer

Is it possible to, as accurately as possible, decompose an audio into MIDI, given the SoundFont that was used?

If I know the SoundFont that a MIDI to audio track has used, can I theoretically reverse the audio back into it's (most likely) MIDI components? If so, what would be one of the best approach to doing this? The end goal is to try encoding audio (even…
Sonny6155
  • 23
  • 5
1
vote
1 answer

Java Midi default soundbank playing at the same time as the new one

I'm loading a Soundbank of a TR-808 into Java and want to play that kit - the problem is I can't disable the default soundbank from playing along with the drums. Everything works when just using the GM sounds, but when loading a SoundBank everything…
Jonas
  • 381
  • 3
  • 15
1
vote
1 answer

Why does no sound emit from this soundfont midi player replication?

I am attempting to replicate the functionality of this soundfont based midi file player with verbatim javascript and html. Despite no errors (except a favicon 404 error), no sounds emit when playing a midi file. However, events are displayed in the…
ballade4op52
  • 2,142
  • 5
  • 27
  • 42