I don't see some parameters from FAUST to Scriptnode
-
@Lindon Yes, I use it as a support tool to explore different solutions in Faust, but not primarily to generate code directly. In my experience, using it to generate code from scratch can often be much more time-consuming. Instead, I focus on:
- Analyzing and better understanding the documentation
- Discussing various approaches and strategies
- Reviewing the logic of my code
- Getting suggestions for potential optimizations
-
@Mighty23 wow it really seems to be working for you - love to see what you come up with at the end...
-
@Lindon said in I don't see some parameters from FAUST to Scriptnode:
Claude
Which prompt you entered on claude ?
-
@Mighty23 as you see HISE ignores the Faust vgroup construct,
what do you mean here ?
-
@sletz
In the Faust environment you can name sliders(for example) the same as long as they are in a vgroup.... in the HISE environment you cant have two sliders with the same name, no matter where they are, or how they are grouped :Two hsliders both called "mySlider" results in only one of them showing up in the interface...
as you can see in the original post,:
pitch1 = vgroup("Voice 1", hslider("Pitch[unit:semitones]", -12, -12, 12, 1)); pitch2 = vgroup("Voice 2", hslider("Pitch[unit:semitones]", -7, -12, 12, 1)); pitch3 = vgroup("Voice 3", hslider("Pitch[unit:semitones]", -5, -12, 12, 1));
gets one just one knob called Pitch
-
@sletz meanwhile if you are here...could you look at this:
https://forum.hise.audio/topic/11165/more-than-one-faust-node-one-not-compiling-and-running-properly
-
OK then the HISE architecture machinery could possibly use "shortname", which can be generated to uniquely name same "labels" in different groups. See: https://faustdoc.grame.fr/manual/architectures/#dsp-json-description
@Christoph-Hart would this make sense ?
-
@sletz said in I don't see some parameters from FAUST to Scriptnode:
OK then the HISE architecture machinery could possibly use "shortname", which can be generated to uniquely name same "labels" in different groups. See: https://faustdoc.grame.fr/manual/architectures/#dsp-json-description
@Christoph-Hart would this make sense ?
Im not sure its that big a deal really - once you know it then you can work with it.
-
@sletz sure but then you cannot simply copy/paste Faust code and be sure it will work this can surely be improved.
-
@DabDab said in I don't see some parameters from FAUST to Scriptnode:
Which prompt you entered on claude ?
Provide prompts that clearly outline your goal and your level of expertise. Guide the AI to steer clear of common pitfalls by specifying the libraries and functions you intend to use upfront. Keep in mind that the most frequent AI errors are related to signal routing rather than syntax. Therefore, describe the 'sequential composition' you aim to achieve, even if it seems like a minor or obvious detail to you.
Have it tackle one step at a time, avoiding the assignment of multiple tasks simultaneously. Once your questions are clarified or you've obtained a portion of code that satisfies you, start a new chat and move on to the next (sub)task. -
@Mighty23 said in I don't see some parameters from FAUST to Scriptnode:
Provide prompts that clearly outline your goal and your level of expertise. Guide the AI to steer clear of common pitfalls by specifying the libraries and functions you intend to use upfront. Keep in mind that the most frequent AI errors are related to signal routing rather than syntax. Therefore, describe the 'sequential composition' you aim to achieve, even if it seems like a minor or obvious detail to you.
Have it tackle one step at a time, avoiding the assignment of multiple tasks simultaneously. Once your questions are clarified or you've obtained a portion of code that satisfies you, start a new chat and move on to the next (sub)task.Nice. I am using FAUST for the past 5-6 years. But I am curious to implement it with AI.