Hi all!
I’m putting together a wavetable synth example with Oopsy for a class and using the “sdcard example” in the Oopsy examples folder as a guide. My question is: can a short wavetable sample be preloaded onto the Daisy during flash using the data
object without having to read it back from an SD card? I don’t have any SD card reader breakouts to use with my students so following the example patch as is won’t work. However, the comment in the patch that reads:
“@drumloop_wav drumloop” automatically loads the content of [buffer~ drumloop] into the gen~ object’s [data drumloop_wav]"
makes me think that a file with a wavetable could be written into data
when the patch is opened and then stored on the Daisy when flashed. Is this correct or is there an additional step that I would need to take to not rely on an SD card?
ArguZ
April 16, 2023, 11:30am
2
I was wondering the same thing…
So, would the “codebox” work for this scenario ?
Could it be utilized as a data storage that can be filled for the data object to read ?
A drum loop might be excessive , as one would need to store 44000 lines per second, but if you think of a wavetable oscillator…512 samples would make a nice oscillator, no ?
One could probably store more than one of these , even without overblowing the little memory we have.
This is a great place to start and acquire the single cycle waveform from
So next we would need to convert the wav. to text i assume
That produces a nice list of all the samples in the waveform in the form of :
1, 0.949066;
2, 0.999969;
3, 0.90625;
4, 0.927551;
5, 0.927338;
6, 0.917999;
7, 0.92038;
8, 0.915161;
9, 0.913177;
10, 0.90683;
…
And maybe someone knows how to use that in a codebox so the data object could read it out…
That would be great, as i could use that kind of data storage to initialise some values in my project too
I’ve made a little bit of progress on a solution thanks to an older example by Graham (@grrrwaaa ) from a few years ago: it IS possible to copy data from an MSP buffer~
object into a gen~ data
object without manually reading/writing with codebox script. Here is my version of Graham’s original patch which I found online here:
----------begin_max5_patcher----------
2568.3oc4as0aiaiE94jeED9kclEoFhTj5x9zVL6Er.6.TfVf9PmAAxVz1ri
LkWI5boEs+1WdQRVxVTl1QwSRlfYjiHoE4224vyMw76We0jY4OPKm.9afeAb
0U+90WcktIUCWUc+USVm7v7rjR8vlLOe8ZJWL4FSeB5CBc6n2C9PFa9W.qok
kIKok.QN3Sxgu4wOMALa6hEzBPZhHA7tErhRAfwAYrRw6AKJxWC93O9CxVje
E8Pxm8qz4Bv6Joyy4o6Fp7WVR4+Y8jmw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3De21fUYvIL9sgAmMqRJkg02OkfBbiSflnUwN35F8RPOoaEv5w2spRXLY
9Ap26i5M6ndAmLweobuCNSh5uaBVmmSemcFakLeXe93ppJGr+InwZJ71R+8h
XDBtyHz9ER7ffdbbmVU.g9uoBHbvvAQNoY.qp.e3ainAkytUBA6XTOAlcINv
Hm1dkcIeq1XaIkJ85R0e+7PY91h40LaUnsftqPYVjBFuoTD+RSHexsUtIEN0
0PniqArYbOKqg.GWCJ9B0YbqYoaxYbQk.If3YNsgglyxdzzf1+DET0WmmQdQ
poVYdeUAmuifC4U4HX2c8CG3yBbHmfrBNDbvckUX7T+1+.weEjUjSPV4D3Bz
m9Ue3t6tjxJ+Sv9xy0dazor41aHNEEaz3gApOvHyq5Qc2kTEAcJ6mun6LU0W
yYw8fVZhvdF0Vy6TCG2b2yjRBzwUdM4OnCZZJSnBNX1xVGtYuow2z5BrAJlG
wI9hg1jvoY88GT1PGBJc.JeWUk6Lun7vvy6jaqd2IsuOgurpZ9g6NZs6geTG
WggJhfPjtDQgRiUwQd9ZtwO.G5QhhP9DTLF18XfuoHeSdQy6IYJoE0oGT2fi
LL495BU74A5.ws0ArH+gvcx+CDYtNQQNLQc1JcfwcbkgHyo607wd2Eah.M.Z
deegSepq5PWnG7HPOAtSOOo4Q8Ge4NmnVlHh+XLSpGRvwlIzXMSGi7HigRLA
45LAepyDzkYxaDvD1ES.ihFA1kcSjwX2Dl3vLgGELAcbiquM6ZDOei0pXyos
.2b2Sco48TM4RfwWdStXGV0Aifjy2U5AYid78C0gn4glhTwFi82c6Sbwgb0c
I7HKNj4zwJSryTSu1246QL+gxfLqaxSV1gbwMVWq0cCO+4elgGNydOsY1EaM
nwvOGxEaMvnwXlbARiwlPXjCgiLJAXAcQAI54P0zoYdOi0ijtIzEiowiA6hc
HXO3XrI.hbDRci.yjnzdm4N0br2YsauyY2gmwN6mut8Oac5yUWemoNUVtW+G
W++g4ZyeH
-----------end_max5_patcher-----------
This works for me in gen~ : I can load two data
objects with wavetables from the files you linked to @ArguZ . But, I can’t get this same gen~ patch to work on my Daisy Pod. I made a second patch that sets up param
objects for the frequency and mix between both wavetables using knob1 and knob2 of my Pod. The code compiles and flashes fine, but aside from a short “click” on load, I get no sound. Here is the first patch I made, not modified to be flashed to the Pod:
----------begin_max5_patcher----------
2578.3oc4as0aiaiE9YmeED9kNYQpgHE0s9zVLc2EKvNnKPKPenyf.YKZa1Q
lRqDctzh1e6KuHIKYKJS6n3IISvLxQjxj766b34lX9iqlLcd1CjxofuC7qfI
S9iqlLQ0jrgIU2OY5l3GVjFWpdroKx1rgv3SuQ2Gm7.W0N5Zv6SoK9LXCorL
dEoDvy.eT734O9wof4aWtjT.Rh4wf2sjVTxATFHkVxuFrrHaC3C+z+Uzh3qn
djr4+FYAG7tRxhLVxtGU7KqHr+pdxSoLwCrkoVAdUMRSTqGwP7svf5mLOluX
Mks51Bw3pgKxOXlyM.Xj5pmi7i.7LGvmp9NrsanrTBWga3tFy1xqa0Q13ed0
UxK2XIAVwOGPfEj3joGhA7PXHBFJW1X0h20UdEgLAATuPnFX5l3OlSzC8zof
OcFna9VNOi0GNhF.GPGjmbwGhTP.We8TjEvlguHdCgSJtkvhmmpfiiIPNOls
57.5xzLw72CP8bNt.CAU.EBcFVj0ORQmCRmdSCZqdjkYEahUqK+y.+Lx8Bzd
fV7eCfwPGmY8QLviSLvPkRr23pJKjURf9owDlBImCrOThFBkgPs0FkFNN3EN
JorkY+E3d9sn9.pqEhSjFuNtmiddzvHUnPK8JH+roAa9E4+orwkoz92LyU3i
yUZaeAdOEKBlYpy2PmI+UkDtI3h8F.t9AJOtXe2Ydi9N8yCh2GeGQZMrIvBs
3jIrtp62.Lcs.lQZ.54K+v2nOMudwo+QkqC7K0aNNONwTbdef9.XNgeOgv.7
6y.RtiK89T1aTYndnsgrP5gUzFxWYgLBUGXyycTYFcmiGxqENB2Z05Yo2bwD
S2HlLYSybtPt3qmaJqdtEq1wjnbGJtGWjNtm.3YRT9NNeAoJ3rwL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AhZqCXP9Cg6j+GHxrchBsXh5rU5.i63JCQ5S2
q9i8tKRGApOT+99Bl8TW0A1PO3Qfd7smddRyi7uDycNQMLQdtiwLIGD+iMSn
wZlNF44MFJwdHamI3Sclf1LSNi.lv1XBXTzHv1raxaL1Mg8rXlviBlfVtw00
jcMOGWs0pH8os.2b2Sco47TM45Ait7lbwVrp8GAImqszCxD835FnBQyAMCIi
MF6t61m3hCYq6R3QVbH8oiUjXmtldsuy0wS+GJCRut8dxxNjMtw5Zsta34O+
yL7vY14oMy1XqAMF94P1XqAFNFyjMPZL1DBCsHbjQI.KnMJHgOGplVMy6Yrd
jzMg1XLMZLXWrEA6AGiMAPjkPpaDX5Dk16L2Imi8Nqc6cN6N7L1Y970s+YqS
ct556L0Iyx8p+7p+OpFA.AC
-----------end_max5_patcher-----------
Any suggestions on what I may be doing wrong, @grrrwaaa ? I can confirm that I get no errors in the console when using Verbose logging and I can flash a different gen~ patch to my Pod, so my environment should be good.
ArguZ
April 17, 2023, 8:53am
4
Hi, the patch looks good and works hre as well…
But that is because you are feeding the wavetable to the data object in Max.
Once it is running on the pod there is no connection to those outside objects.
Hence the idea to wrap the wavetable into a codebox that can be wrapped into the code itself.
Hi Tony! Great to see you here!
Awesome to hear that you’re using the Daisy to teach in a class.
As far as I know, you would need the SD card for the Daisy to access and store a .wav file into a buffer.
One thing to remember is that anything outside of the gen~ patch will not be compiled nor flashed to the Daisy. So the solution may be to create a wavetable within gen~. As @ArguZ suggested, you could use a codebox. I believe the combination of for loop and poke
to store values for [data] operator should do the trick. I haven’t tried it but I just found an example of what I’m talking about here [sharing] poking a wavetable/list to gen~ Data in codebox - Gen Forum | Cycling '74
So I think you can get the data values of the wavetable that you have been wanting to use and copy & paste into the codebox.
I hope this helps! I would be happy to look at this more with you later.
ArguZ
April 19, 2023, 5:28pm
6
Thanks for the link Takumi, that sorted it out
So here is a basic wavetable oscillator , using hard coded values from the codebox
Sorry for the long text, would be cool if we could could just drag the patch into the forum like on Cycling’74
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2zmQ4l+LJ27Wzxc7f4i83m2g
CwdSqh289hsT3PuDaaG1pzltU1cdq7a5Vw67V41zsxsyaEsoaEsyakYS2Jyt
tUl7FElOs21KZi1qUUgRN7a8YFtrM25yK7s9zBe2Oqv2+mT3a+4Dt9oDdceF
gK2P9q+sW++BA3Zn.
-----------end_max5_patcher-----------
And here is how the codebox looks…
Check out the scroll bar at the bottom…the values in each of the three lines are actually 256 floats long
I generated the waveforms from the script above and tweaked it to be 256 values with commas in between
256 values seems to be the limit…but it does sound pretty decent already…
2 Likes
Thank you so much for exploring it further!! I should port it for my Pod