-
Balwyn
You divide the array size by the samplerate to get the number of seconds
-
-
Balwyn
Edit: I found it under list-abs
the easyflow has [listCompare] which may be similar
This web page to find libraries may also be of use
https://deken.puredata.info/search.html?libraries=&objects=List-compare&descriptions=However it didn't find anything for list-compare just the above.
-
Balwyn
Expanding on the vline~ driven audio player, here is a rudimentary polyphonic wavetable piano.
It seams to take a second for each clone voice to initialize so there's no sound at first.
The single 561kb wave file is limiting but sound ok in the middle to lower frequencies.
I'm curious though, as to why I need to use a samplerate of 44100 when my soundcard is 48000
Cheers
Balwyn
vline~piano.zip -
Balwyn
@whale-av said:
@Balwyn Maybe [vline~] and [tabread4~] would improve the precision?
David.Thanks David! that made all the difference, in fact just changing [line~] to [vline~] did the job with 197MB no problem.
vline-play.pdEdit:
i also added -maxsize 2e+09 to the read message, something you recommended years ago -
Balwyn
So, this is just to if it was feasible and a bit of fun
Here is an audio player that uses [line~] for audio and [line] for the control
line-play.pd
-
-
Balwyn
if you check this thread https://forum.pdpatchrepo.info/topic/377/sysex/32, the last reply from @il pleut shows that a sysex message is a list of numbers that must start with 240 and end with 247.
bearing that in mind I temporarily set the midi output to the equivalent midi input and the result is below
note messages only went midiin
sysex and note messages went to both midiin and sysexin