You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
504 B
25 lines
504 B
#include "synth_shed.h"
|
|
#include <stdio.h>
|
|
|
|
|
|
//void synth_init(synth_t *sfac) {
|
|
// sfac = synth_create("UltraBoog");
|
|
//}
|
|
|
|
int main() {
|
|
init_synth_shed();
|
|
// synth_t* newsynth = NULL;
|
|
// synth_init(newsynth);
|
|
|
|
synth_t* my_synth = synth_create("Korg", "MS20", 2);
|
|
printf("brand %s\n", my_synth->brand);
|
|
printf("model %s\n", my_synth->model);
|
|
printf("%s", play_synth(my_synth));
|
|
|
|
synth_set_osc_count(my_synth, 33);
|
|
printf("%s", play_synth(my_synth));
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
|