Rev 2065 | Rev 2097 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2065 | Rev 2067 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | #include "ui.h"
|
11 | #include "ui.h"
|
12 | #include "scale_info.h"
|
12 | #include "scale_info.h"
|
13 | #include "octave_shift_data.h"
|
13 | #include "octave_shift_data.h"
|
14 | 14 | ||
15 | struct instrument : ui { |
15 | struct instrument : ui { |
- | 16 | ||
16 | scale_info scaleinfo;
|
17 | scale_info scaleinfo;
|
17 | octave_shift_data osd;
|
18 | octave_shift_data osd;
|
- | 19 | ||
- | 20 | std::string fn; |
|
18 | int tuning; |
21 | int tuning; |
- | 22 | ||
19 | int notation; |
23 | instrument (); |
- | 24 | ~instrument (); |
|
20 | instrument () { tuning = notation = 0;} |
25 | void load (const std::string& nf); |
21 | virtual void update_waveform () {} |
26 | virtual void update_waveform () {} |
22 | virtual void update_attack () {} |
27 | virtual void update_attack () {} |
23 | virtual void update_decay () {} |
28 | virtual void update_decay () {} |
24 | virtual void load_scale (int dummy = 0) {} |
29 | virtual void load_scale (int dummy = 0) {} |
- | 30 | ||
25 | }; |
31 | }; |
26 | #endif
|
32 | #endif
|
27 | 33 | ||
28 | 34 | ||
29 | 35 |