Title: Iterating over events in musical time · Issue #177 · frescobaldi/python-ly · GitHub
Open Graph Title: Iterating over events in musical time · Issue #177 · frescobaldi/python-ly
X Title: Iterating over events in musical time · Issue #177 · frescobaldi/python-ly
Description: I can't figure out how to "iterate in musical time over the music tree". After reading the documentation on ly.music, I cannot seem to decode what is meant by the phrase "Using the Music.events() method and the events module, it is possi...
Open Graph Description: I can't figure out how to "iterate in musical time over the music tree". After reading the documentation on ly.music, I cannot seem to decode what is meant by the phrase "Using the Music.events() m...
X Description: I can't figure out how to "iterate in musical time over the music tree". After reading the documentation on ly.music, I cannot seem to decode what is meant by the phrase "Using t...
Opengraph URL: https://github.com/frescobaldi/python-ly/issues/177
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Iterating over events in musical time","articleBody":"I can't figure out how to \"iterate in musical time over the music tree\".\n\nAfter reading the documentation on ly.music, I cannot seem to decode what is meant by the phrase \"Using the Music.events() method and the events module, it is possible to iterate in musical time over the music tree, e.g. to convert music to another format.\". This is precisely what I want to do.\n\nAt first, I assume that `Music.events` refers to `ly.music.Music.events()`. Well, `ly.music.Music.events()` just calls `ly.music.event.Events.traverse()`, which itself seems to call `ly.music.Music.events`. This seems to be recursive. Why does `ly.music.Music.events()` take as parameters `e`, `time`, and `scaling`? What do they mean? Is `e` an `ly.music.event.Events` object? Because if so, I can't figure out what it's doing besides returning a number. It doesn't seem to be able to record anything about what it's traversing.\n\nI would love to use this library to avoid reinventing the wheel, but I can't seem to figure out how it works from the documentation.\n\n","author":{"url":"https://github.com/mward19","@type":"Person","name":"mward19"},"datePublished":"2025-02-04T04:49:29Z","url":"https://github.com/frescobaldi/python-ly/issues/177"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b7a4cd34-76b2-d5c8-0f61-615efa323e37 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E57E:18F106:265C119:32B23F0:6B09B876 |
| html-safe-nonce | eda174d20d3e03ac486d61edfd50d4e02130a5f268a78b04f06ecb3088d9dae7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTdFOjE4RjEwNjoyNjVDMTE5OjMyQjIzRjA6NkIwOUI4NzYiLCJ2aXNpdG9yX2lkIjoiMTQwODE1NTU1NTc4NDY2OTMwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 008e8a23a34eece738960537beb67f14e6242eaa8f112af65924630b07c6c85f |
| hovercard-subject-tag | issue:2829128638 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/frescobaldi/python-ly/177/issue_layout |
| twitter:image | https://opengraph.githubassets.com/17fa0ff3f1f552578bd936cbe29c249f83817610a4f6611cccee481425f1a350/frescobaldi/python-ly/issues/177 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17fa0ff3f1f552578bd936cbe29c249f83817610a4f6611cccee481425f1a350/frescobaldi/python-ly/issues/177 |
| og:image:alt | I can't figure out how to "iterate in musical time over the music tree". After reading the documentation on ly.music, I cannot seem to decode what is meant by the phrase "Using the Music.events() m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mward19 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29e6866c4c5b6697a062df08d37fa80bbfb75810ca4280c0d277f04956012d39 |
| turbo-cache-control | no-preview |
| go-import | github.com/frescobaldi/python-ly git https://github.com/frescobaldi/python-ly.git |
| octolytics-dimension-user_id | 19853952 |
| octolytics-dimension-user_login | frescobaldi |
| octolytics-dimension-repository_id | 29728425 |
| octolytics-dimension-repository_nwo | frescobaldi/python-ly |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29728425 |
| octolytics-dimension-repository_network_root_nwo | frescobaldi/python-ly |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e72aac8801621433bb0313888fbbe243f5998abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width