Re: A midifile player for pd that can scratch ?

Winfried Ritsch <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Organization Institut für Elektronische Musik und Akustik
Message-ID <2335981.iZASKD2KPV@ras>
Thanks for the info,

The piano roll score looks nice, is this a library object, where can I find 
this.

Tracing data also backwards would be a solution, have to look.
Midifiles for ensemble mecanique have up to 1 million notes, so effiiency might 
be an issue.

mfg winfried

Am Freitag, 9. August 2024, 12:52:37 CEST schrieb João Pais:
> >> how about a patch that reads the midifile and stores the data, which you
> >> then play as you wish? for an instalation I'm working on, I prepared a
> >> patch that reads a midifile with +50K events, puts them into a data
> >> structures "score", and then the info can be used for playback. It's not
> >> "one object", but it does what you wish.
> > 
> > Thanks, using data structures is a nice idea. Somehow once (15+ years ago)
> > used them but where slow doing tracing objects, but maybe the new
> > implementation is more usable.
> > 
> > The problem is how to handle noteon/off in reverse, there should be
> > different modes. So mabe I store it in reverse order in another text.
> 
> which new implementation? :)
> 
> I'm not sure if I know of any changes in the drawing, but I might be
> wrong. anyway this only affects the result if a) you need to see the
> structs (if you don't, there is no lag) and b) even if you need to see
> them, you might notice something only when opening the canvas for the
> first time, afterwards is no issue. My patches usually have a reading
> point marker for live visualisation as well, and doesn't affect the
> performace.
> 
> Making 2 score versions (forward + backward) might be the best idea as
> well - it's not that hard to do a forward-playing patch, but since
> [pointer] doesn't have a "previous" method, it would need lots of
> creative thinking and calculations to make that happen (although surely
> possible). Using "next" in a reversed score makes it much simpler.
> 
> Here is a picture of a small section of my canvas, for reference.
> 
> Joao
> 
> > mfg winfried
> > 
> >>> so a midifile  can be played forwards backwards with dynamic tempo.
> >>> 
> >>> If not, then maybe a message sequencer, e.g. a "text" object, otherwise
> >>> I'll probably have to write one myself...
> >>> 
> >>> and yes, I know it's not as trivial as it sounds, especially the
> >>> midifile
> >>> player.
> >>> 
> >>> I would be grateful for any advice.


-- 
- ao.Univ.Prof. DI Winfried Ritsch 
- [email protected] - http://iem.at/ritsch
- Institut fuer Elektronische Musik und Akustik,  University of Music and 
Dramatic Art Graz
- mobil: ++43-664-2439369 Tel. ++43-316-389-3510 (3170)

 ---
Pd-list - [email protected]
https://lists.iem.at/hyperkitty/list/[email protected]/message/MR2FVE5XR3UG575MTQQT7ANGBLQZG4ZL/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEYmb0uBkwFuU3tVzVXrZuCcZ6+v8FAma2cRkACgkQXrZuCcZ6
+v+YBwf+IbDKt27qk8b435JFmxJnXXoaTfvFVYlxvkNf233Pj3drY6tE2Us0rK8o
8gA2hje4BittSEEBbTH4AQWSSl1HqsZct2DWScZwegERCTl7FaOMrhHxHE6hxCA3
c+x/hzN+C1CQA6uwH6lU+DkbUR03KdTSqcQhZ35LaflLPYZ/4IaR7cHpSuM6+vLi
iF+uOb9NFU9d7k41WIVhm3/WxYpz9N46o0hgvyQ5zdZgLWefAp2c8KizUs939sJ5
bny3fuFw2Aye2jYZi0G/Vf1ASp6cMxHTcmvC7zgjhpSi6bm1BfIkmOPBJ+boqGDj
Sy2kyS+HfH7d0SduyElJBhuoU2qyBw==
=+A4O
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.