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.
27 lines
634 B
27 lines
634 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 = NULL;
|
|
SYNTH_STATUS status = synth_create(&my_synth,"Korg", "MS20", 2);
|
|
if(status != SYNTH_STATUS_OK) {
|
|
printf("%s", status_to_string(status));
|
|
}
|
|
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, 34);
|
|
printf("%s", play_synth(my_synth));
|
|
return 0;
|
|
}
|
|
|
|
|