Thanks, how to write the command to limit the network model….could you give me a example?
and does it matter that raspberry pi give the message that could not connect with the jack server?
as I already install the madmom package on the raspberry pi, how to change the code of package that installedon the raspberry pi? use the terminal??
Hi,
is that mean I change /beats/2016/beats_lstm_[1-8].pkl' to /beats/2016/beats_lstm_[1-2].pkl'
...../onsets/2013/onsets_rnn_[1-8].pkl' to /onsets/2013/onsets_rnn_[1-2].pkl'
........do I need to change patterns and glob >??? /patterns/2013/ballroom_pattern_[34]_4.pkl...glob.glob('%s/key/2017/key_cnn_[1-4].pkl' I will really appreciate if you could tell me ...
thank you very much.... another question is do madmom could have real-time get the music beats and automatic save to txt function... as I try to run the madmom get the real-time beats and apply to the raspberry and aruduino, I need to get the time in the txt??
The madmom is already a very good algorithm......
as I am doing my final year thesis.. I also try to understand what the madmom code and maybe try to focus on one area where could improve better?? could you give me some suggestions how to begin read the code of the madmom and which area will be good for me do to a bit research ????
I try on the raspberry pi 3 and change the models to2.... but when I run the madmom which give me warning that /madmom/audio/spectrogram.py:931: runtimewarning: invalid value encountered in maximum?? and just start and stuck ...how to deal wit this
I just watch the vedio of your raspberry pi connection, and if that you use a sound bluster which connect to your mic, and your mic produce music directly to your respeberry pi????
how to pipe the output, I a bit confuse ,is that mean use the value from the terminal?
I saw the value is in the self.processors, ?
is there anyway I could read the real-time value directly in respberry pi, because my code basically use the raspberry pi to control the Arduino ?
yeah, I use python........could give a easy example to call one of the processor? so basiclly I need to import the processor from the madmom, and get the return value??
I saw it in the bin/DBNBeattracker ..... so the thing I needed is from the out_processor ? is the value saved in is list in out_processor?? if I directly edit in this python file... .. I just run this python file will ok right? do I have to write arguments in terminal ??
beat_processor = DBNBeatTrackingProcessor(**vars(args)) out_processor = [beat_processor, write_beats] so basically my understanding is every beat_time is get from the beat_processor and save in the list of the out_processor, what is the write_beat, a node?? | |
beat_processor = DBNBeatTrackingProcessor(**vars(args)) out_processor = [beat_processor, write_beats] so basically my understanding is every beat_time is get from the beat_processor and save in the list of the out_processor, what is the write_beat, a node??
I look a bit of the code...so actually the( events = np.array(events)) events is represent the each value which I am seeking for ??
I am trying to get the each beat time value in real-time and calculate the time difference between the two nearby beat-time. so I think beats in (writes_beats) or events in (writes_events) is what I am seeking for? I change the each beats areay to value and calculate the difference with the nearby value to tell the Arduino run with the time delay.
I am trying to get the each beat time value in real-time and calculate the time difference between the two nearby beat-time. so I think beats in (writes_beats) or events in (writes_events) is what I am seeking for? I change the each beats areay to value and calculate the difference with the nearby value to tell the Arduino run with the time delay.
but is seems TempoDetector did not have the online mode?
import madmom
from madmom.models import BEATS_LSTM
proc = madmom.features.beats.DBNBeatTrackingProcessor(fps=100)
act = madmom.features.beats.RNNBeatProcessor(online=True, nn_files=[BEATS_LSTM[0]])
beat_times = proc(act)
print(beat_times)
I try to use the part of the function to get the beat of the time, but if the Online=Ture, why this code could not run in real time......I still could not know how you print the beat-time in terminal...maybe I just do some change before printout, and then I could give the value to make Arduino run..... could you tell me how you did to change the code to make your Arduino run???import madmom
from madmom.models import BEATS_LSTM
proc = madmom.features.beats.DBNBeatTrackingProcessor(fps=100)
act = madmom.features.beats.RNNBeatProcessor(online=True, nn_files=[BEATS_LSTM[0]])
beat_times = proc(act)
print(beat_times)
I try to use the part of the function to get the beat of the time, but if the Online=Ture, why this code could not run in real time......I still could not know how you print the beat-time in terminal...maybe I just do some change before printout, and then I could give the value to make Arduino run..... could you tell me how you did to change the code to make your Arduino run???