Comments (5)
It sounds like polyphony is not enabled for the synthesizer. Is it a VST plugin? Which one? You might need to use synth.open_editor() to enable polyphony. Faust Processors have a num_voices integer parameter.
from dawdreamer.
It sounds like polyphony is not enabled for the synthesizer. Is it a VST plugin? Which one? You might need to use synth.open_editor() to enable polyphony. Faust Processors have a num_voices integer parameter.
Any VST, the test one I'm using is TAL-BassLine piped through a plugin processor. Does the editor have to stay on?
from dawdreamer.
Can you try code like this
import dawdreamer as daw
from scipy.io import wavfile
PLUGIN_PATH="plugins/TAL-NoiseMaker.vst"
OUTPUT_PATH="my_output.wav"
SAMPLE_RATE=44100
DURATION = 10.
BLOCK_SIZE=128
engine = daw.RenderEngine(SAMPLE_RATE, BLOCK_SIZE)
synth = engine.make_plugin_processor("synth", PLUGIN_PATH)
synth.open_editor()
# Test polyphony with 3 overlapping notes
# (MIDI note, velocity, start sec, duration sec)
synth.add_midi_note(72, 40, 0.1, 5)
synth.add_midi_note(76, 40, 1.1, 3)
synth.add_midi_note(79, 40, 2.1, 1)
graph = [(synth, [])]
engine.load_graph(graph)
engine.render(DURATION)
audio = engine.get_audio()
wavfile.write(OUTPUT_PATH, SAMPLE_RATE, audio.transpose())
When the synth UI opens you'd have to make sure polyphony is enabled. On macos, I'm using theTAL-NoiseMaker.vst
in the plugins folder and if I enable polyphony it's working correctly.
from dawdreamer.
I managed to have polyphony now. But what I want is a synth with real time render essentially. From what I read, I don't think I can achieve this with the current version of Dawdreamer just yet. Or maybe there's something I'm missing?
from dawdreamer.
Right. Itβs not a feature currently.
from dawdreamer.
Related Issues (20)
- synth.record_automation is not working HOT 1
- Import error after building wheel HOT 1
- [BUG] Unable to load plugin when using .component files HOT 9
- Multithreaded rendering HOT 1
- Unable to load plugins on MacOS
- Unexpected Behavior when Rendering Audio from Multiple Presets with PluginProcessor HOT 2
- Realtime Example HOT 1
- Strange Audio Rendering Phenomenon with Helm VST HOT 1
- Kontakt 6 UI problem caused by audio interface not being selected
- Uninitialized data input to plugin at start rendering HOT 2
- Kontakt 7.6 (newest release) not opening in DawDreamer HOT 2
- Load dx7 syx files? HOT 1
- .set_bus() doesn't seem to work properly with Kontakt and Reaktor HOT 2
- Can't load Model D VST3 (which works in pedalboard) HOT 1
- Can't create Dockerfile for ubuntu with aarm64 architecture HOT 9
- Error with x86 docker emulation under arm64 HOT 1
- Can't load lv2 plugin HOT 2
- Can't set any parameters for TAL-BassLine-101 HOT 1
- Routing MIDI generated by VSTs? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dawdreamer.