Re: [PD] MIDI in vanilla?

2020-10-26 Thread Alexandre Torres Porres
Em seg., 26 de out. de 2020 às 16:59, Roman Haefeli escreveu: > On Mon, 2020-10-26 at 16:31 -0300, Alexandre Torres Porres wrote: > > > I still thought MIDI File support was something that could be built > > in ;) and I'm not all happy with the 2 externals around and thinking > > of investing

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Roman Haefeli
On Mon, 2020-10-26 at 16:31 -0300, Alexandre Torres Porres wrote: > I still thought MIDI File support was something that could be built > in ;) and I'm not all happy with the 2 externals around and thinking > of investing more on a third one :) I thought you said you haven't tried [midifile],

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Dan Wilcox
Many advantages such as metadata, etc. If it seems hard to use, try my [c_midiplay] wrapper in https://github.com/danomatika/rc-patches > On Oct 26, 2020, at 4:31 PM, pd-list-requ...@lists.iem.at wrote: > >> On the other hand, mrpeach's [midifile] has

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Alexandre Torres Porres
Em seg., 26 de out. de 2020 às 13:47, Christof Ressi escreveu: > MAX also has wiggling cables, so... > > On a more serious note: Max/MSP is a full blown commercial production > environment. You have video playback, graphics programming, a JavaScript > interpreter, VST plugin hosting, etc. You

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Christof Ressi
MAX also has wiggling cables, so... On a more serious note: Max/MSP is a full blown commercial production environment. You have video playback, graphics programming, a JavaScript interpreter, VST plugin hosting, etc. You can't really compare it to Pd anymore. Luckily, Pd is very extendable

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Christof Ressi
You mean as it is or with your PR? Generally, most non-trivial programming tasks are a pain to do in a visual programming language. I never used it because the organization of that help file scares me. Then let's improve the help file! I have never used [cyclone/seq], so I can't compare, but

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Alexandre Torres Porres
Em seg., 26 de out. de 2020 às 10:09, Christof Ressi escreveu: > Apart from that, a MIDI file parser is not something you would typically > write in a visual programming language. That's why we have a C external for > that ;-) > not aware of the challenges but yeah... and hopefully we could

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Alexandre Torres Porres
Em seg., 26 de out. de 2020 às 08:12, Christof Ressi escreveu: > I agree that we really need a way to read/write binary data. I have > already thought about doing a PR to add such functionality to graphical > arrays. It would be as simple as adding a flag to the [read( and [write( > methods. > >

Re: [PD] MIDI in vanilla?

2020-10-26 Thread João Pais
if multiarrays with data structures are necessary, they already exist in [jmmmp/multiarray] a choice between int and float types signed and unsigned without conversion > is what you need > > Many scripting languages have a single number type. The only "problem" > with Pd is that this number type

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Christof Ressi
a choice between int and float types signed and unsigned without conversion is what you need Many scripting languages have a single number type. The only "problem" with Pd is that this number type is a float and not a double, so it's easy to run into precision issues. But for bytes, a float is

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Josh Moore
I think it comes down to PD's horrible selection of array types. Having arrays with multi dimensions that can be a choice between int and float types signed and unsigned without conversion is what you need otherwise you will run into this wall all over the place and you're looking at a c compiler

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Christof Ressi
I agree that we really need a way to read/write binary data. I have already thought about doing a PR to add such functionality to graphical arrays. It would be as simple as adding a flag to the [read( and [write( methods. In theory, it would be possible then to implement a MIDI file

Re: [PD] MIDI in vanilla?

2020-10-26 Thread Roman Haefeli
On Mon, 2020-10-26 at 03:32 -0300, Alexandre Torres Porres wrote: > It feels to me Vanilla should be able to read/write MIDI files, but I > wonder how. Any ideas on how this could work in a "vanilla way" > (light and simple)? To use Miller's words from another thread, I think reading/writing

Re: [PD] MIDI in vanilla?

2020-10-25 Thread Alexandre Torres Porres
message sent after finishing > I wonder if this was ever discussed and if it just never got any attention because we already have externals for that... Em seg., 26 de out. de 2020 às 03:32, Alexandre Torres Porres < por...@gmail.com> escreveu: > Hi, I thought it was best to start this

[PD] MIDI in vanilla?

2020-10-25 Thread Alexandre Torres Porres
Hi, I thought it was best to start this discussion here rather than as a feature request on github. It feels to me Vanilla should be able to read/write MIDI files, but I wonder how. Any ideas on how this could work in a "vanilla way" (light and simple)? As for a sequencer, maybe we could use