MEMLNaut Firmware: PAF Synth with NISPS
Overview
The PAF-NISPS firmware offers exploration of Phase Aligned Formant synthesis, using the Neural Interactive Shaping of Parameter Spaces approach to ML.
PAF
Phase Aligned Formant synthesis was developed my Miller Pucklette in the mid 90s. It offers methods for creating complex spectra that avoid common issues with subtractive and FM. The synth runs 4 PAF operators along with sine wave shaping, ring modulation, detuning, mixing and a delay effect. 33 sound generation parameters are controlled by the three axes of the joystick.
Inputs
The PAF synth is controlled by MIDI. It listens for note messages on channel 1. These control the frequency of the first operator; the other operators are tuned relative to this frequency. The amplitude is also controlled by these messages.
Outputs
Mono sound is output to both channels of the line out and headphone sockets.
Reinforcement Learning
When you indicate a reward, you are rewarding (negatively or positively) how a particular joystick position is mapped to a sound. As you indicate preferences for these settings, the NISPS system will start to tune the mappings towards your preference. See the NISPS documentation for further info.
Physical Controls
Rotary Encoder: Navigate betwen screens.Momentary A Up: Scramble neural networkMomentary A Down: Jolt neural networkMomentary B Up: Positive rewardMomentary B Down: Negative rewardJoystick: ExploreJoystick button: Positive reward placement - drag a sound to a different place and release to positively reward it in this positionToggle A Down: Clear replay memoryKnob X: Learning rateKnob Y: Reward scaleKnob Z: Exploration noise (turned off when all the way to the left)Knob G: Volume
Screens
Navigate between screens using the rotary encoder.
Neural Net
Info on the neural network - the outputs, the current error rate, the number of datapoints in replay memory, and the most recent command.
Voice Spaces
Choose a voice space by pushing the rotary encooder focus the selector. Move the encoder to choose a space and then push again to keep the selection.
NN Inputs
Shows the inputs to the neural network
Messages
Various messages to log interactions with the system.
Save Model
Tap on a slot to save a model (note: this doesn’t save the voice space)
Load Model
Tap on a slot to load a model
Play
Tap on the screen to trigger a note. Pitch rises from left to right. Volume rises from bottom to top.
Input Source
Choose from
- the joystick that matches your hardware (3D or 4D)
- various configurations of MIDI controllers
MIDI CC Out
Choose the CC numbers that the neural network outputs are sent on.
Levels
Input and output level meters (In L, In R, Out L, Out R), with the In Gain fader beside them. In Gain is the codec’s analog input gain, 0 to +22.5 dB in 1.5 dB steps: set it while watching the input meters. It’s saved, and applies in every firmware.
Help
This shows what the various controls do
System Info
System information about the MEMLNaut and current firmware.
MIDI
The firmware sends out the first 16 neural network outputs as MIDI controllers, so you can use the MEMLNaut to control your hardware synths.
Files
Code
https://github.com/MusicallyEmbodiedML/MEMLNaut-NISPS
Firmware Download
See the firmware guide for installation instructions