How to store data on an sdcard


#1

Hi everybody,

actually my problem may seem stupid to the expert, but I started learning Axoloti yesterday. I'm trying to set up a music psychology experiment to test how two people interact in following a tempo (provided by a metronome) by tapping two drumpads hooked up with Axoloti. The question is, how can I store my data on the sdcard, in order to be able to elaborate them after on a statistic program on my laptop? Thank you!


#2

You could record the stuff you want to record into two table/record object. It will be recorded as .raw format, but you can easily convert it into wav by using Audacity, which is free.

Playback audio from Axoloti is limited to 4194304 samples = 87,38133333333333 seconds in one file.

But I am not sure if there is a limit to recording, havent tested it.

The recording part of the Axoloti patch could look something like this:

Both recording tables are started with the same button, so you should be able to compare them pretty precisely afterwards.

The tables sizes used are 2097152 samples long at 48khz sample rate, which is equivalant to 43,57816666666667 seconds. So recording in this setup is probably limited to that length. But I think you need to test this yourself.

DISCLAIMER Havent tested this exact patch, but I am pretty confindent that this set up will work :wink:

(Ps. You mig


#3

Thank you, grimmreefer!

I'll try and I'll let you know!


#4

Dear grimmreefer, I realized that I should have been more precise. I intended to store numerical data (the intervals between the taps) and not audio data. If anybody knows...


#5

Ok. Sorry havent ventured into that. Look through the different table types and find one that stores data and try with that.


#6

thanks a lot for tips