Re: [frogs] How can I output Stream_event variables on the console? |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Carl Sorensen <c_sorensen@xxxxxxx>
- Subject: Re: [frogs] How can I output Stream_event variables on the console?
- From: Marc Hohl <marc@xxxxxxxxxx>
- Date: Thu, 25 Feb 2010 09:07:59 +0100
- Cc: "frogs@xxxxxxxxxxx" <frogs@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1267085280; l=853; s=domk; d=hohlart.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:CC:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=vxxlzjhyXCkHISUEtE4CXoHkAw4=; b=GFJS6PKhNxMKKXcloPOmkLfohj2r/bDZlJtoSa8HgTYbG1V0HyGpHi6V3m/m6jCp8gh X8DlReSWwVZx61rtIf27DiZ4iRyJ7AMgl00sP/DFOSxSJR8vmbZ7BmQ2HP2dS3z2hw1jt cm+Cntq7bavalPntyuU7OSnKfczz1U2M/OE=
Carl Sorensen schrieb:
[...]
Perhaps you could post some test code, and get some feedback on it.
I have uploaded a new patch set (http://codereview.appspot.com/216051)
where I need some help. It is described in the
string-bend-engraver.cc, but here's a quick summary:
1) am I on the right track? I did some changes in the roadmap, and I am
quite sure that I described the way the new engraver has to be
estabished
properly according to Carl's suggestions - or am I still missing
something?
2) I need to convert the entries in the vector string_events into integers
which serve as indices for the pitch vector. How can I achieve that?
3) I need to extract the corresponding pitch information. Would
Pitch *pitch = unsmob_pitch (note_events_[i]->get_property ("pitch"));
do what I want?
Thanks in advance.
Marc
---
----
Join the Frogs!