Simple plugin for PaintDotNet using CSharp
$30-250 USD
Thanh toán khi bàn giao
The task is to define a function in a C# file. The C# file should be buildable by the CodeLab plugin of Paint.Net. See here for more info on CodeLab and Paint.Net.
[url removed, login to view]
The mentioned function should take a "note" structure (see below), overtone count, a line width (in pixels), distance (or "gap") between the first two tones (in pixels), and Color (as [url removed, login to view]) understands it.
Here's a prototype for the desired draw function:
void Draw(Note note, int overtoneCount, int lineWidth, int firstGap, Color color);
enum Letter
{
C, D, E, F, G, A, B;
}
struct Note
{
Letter letter;
int octave;
int semitoneOffset; // like -1 would mean "flat" and "1" would mean "sharp"
}
Attached is a simple example of what I think it would probably look like.
Here's some more info on overtones, you should grab the formula from there. Make sure to translate the [url removed, login to view] into the right frequency (even given the semitone offset). Use the most typical tuning schema that exists for Western music.
[url removed, login to view]
Include a sample so that the function is actually exercised when the CodeLab filter is applied from [url removed, login to view] itself. Middle-C would be fine.
ID dự án: #1491553