~hp/issues#28: 
Mephisto bug report

#General infos

  • Project: mephisto.lv2
  • Version: 0.18.2
  • OS: Arch Linux

#Steps to reproduce

Create a new Mephisto instance in your favourite LV2 plugin host and paste in this simple program, adapted from Faust's documentation of the waveform Faust primitive:

import("stdfaust.lib");
triangleWave = waveform{0,0.5,1,0.5,0,-0.5,-1,-.5};
triangleOsc(f) = triangleWave,int(os.phasor(8,f)) : rdtable;
process = triangleOsc(440);

#Expected outcome

Mephisto should output a mono triangle wave at 440 hertz, albeit a very low quality one. It works in the Faust web IDE.

#Actual outcome

Mephisto outputs only silence.

#Notes

This can be fixed by changing instanceInitCDSPInstance(base_voice->instance, handle->srate); on line 2272 of src/mephisto.c from the latest commit on master (1201a260ef439873d6e2382c15b39ebc42c812e9) to initCDSPInstance(base_voice->instance, handle->srate);.

Status
RESOLVED CLOSED
Submitter
~hp
Assigned to
No-one
Submitted
4 months ago
Updated
4 months ago
Labels
mephisto

~hp REPORTED CLOSED 4 months ago

Fixed by 07d6f48467d91dc9d4298c09c5698a633995ec61

Register here or Log in to comment, or comment via email.